genode/repos/ports/recipes/raw/gdb_x86/gdb.config

88 lines
2.2 KiB
Plaintext
Raw Normal View History

<config>
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="File_system"/>
<service name="Timer"/>
<service name="Terminal"/>
</parent-provides>
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
<default caps="100"/>
<start name="vfs" caps="150">
<resource name="RAM" quantum="12M"/>
<provides><service name="File_system"/></provides>
<config>
<vfs>
<tar name="gdb.tar"/>
</vfs>
<policy label_prefix="vfs_rom" root="/"/>
<default-policy root="/" writeable="yes"/>
</config>
</start>
<start name="vfs_rom">
<resource name="RAM" quantum="16M"/>
<binary name="cached_fs_rom"/>
<provides> <service name="ROM"/> </provides>
<config/>
<route>
<service name="File_system"> <child name="vfs"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
<start name="gdb" caps="200">
<binary name="/bin/genode-x86-gdb"/>
<resource name="RAM" quantum="28M" />
<config>
<vfs>
<dir name="dev">
<log/>
<inline name="rtc">2018-01-01 00:01</inline>
<terminal name="monitor" label="monitor"/>
<terminal name="tty" label="ui"/>
</dir>
<dir name="pipe"> <pipe/> </dir>
<dir name="target"> <fs label="target"/> </dir>
<fs/>
</vfs>
<libc stdin="/dev/tty"
stdout="/dev/tty"
stderr="/dev/tty"
pipe="/pipe"
rtc="/dev/rtc"/>
<arg value="genode-x86-gdb"/>
<arg value="-ex"/> <arg value="set non-stop on"/>
<arg value="-ex"/> <arg value="target extended-remote /dev/monitor"/>
</config>
<route>
<service name="File_system" label="target">
<parent label="target"/>
</service>
<service name="File_system">
<child name="vfs"/>
</service>
<service name="ROM" label_suffix=".lib.so">
<parent/>
</service>
<service name="ROM" label_last="/bin/genode-x86-gdb">
<child name="vfs_rom"/>
</service>
<service name="Terminal" label="monitor">
<parent label="monitor"/>
</service>
<service name="Terminal" label="ui">
<parent label="ui"/>
</service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
</config>