mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 07:38:28 +00:00
committed by
Norman Feske
parent
d66e55ec37
commit
23b21812dd
@ -62,8 +62,8 @@ set config {
|
|||||||
<policy label_prefix="gdb_monitor" uart="1"/>
|
<policy label_prefix="gdb_monitor" uart="1"/>
|
||||||
</config>
|
</config>
|
||||||
</start>
|
</start>
|
||||||
<start name="gdb_monitor" caps="200">
|
<start name="gdb_monitor" caps="1000">
|
||||||
<resource name="RAM" quantum="8M"/>
|
<resource name="RAM" quantum="9M"/>
|
||||||
<config>
|
<config>
|
||||||
<target name="test-gdb_monitor">
|
<target name="test-gdb_monitor">
|
||||||
<config>
|
<config>
|
||||||
@ -71,7 +71,7 @@ set config {
|
|||||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||||
</config>
|
</config>
|
||||||
</target>
|
</target>
|
||||||
<preserve name="RAM" quantum="4M"/>
|
<preserve name="RAM" quantum="5M"/>
|
||||||
<vfs>
|
<vfs>
|
||||||
<dir name="dev"> <log/> <terminal/> </dir>
|
<dir name="dev"> <log/> <terminal/> </dir>
|
||||||
<dir name="pipe"> <pipe/> </dir>
|
<dir name="pipe"> <pipe/> </dir>
|
||||||
@ -97,7 +97,7 @@ proc binary_name_gdbserver_platform_lib_so { } {
|
|||||||
set boot_modules {
|
set boot_modules {
|
||||||
core init timer
|
core init timer
|
||||||
ld.lib.so libc.lib.so libm.lib.so vfs.lib.so stdcxx.lib.so
|
ld.lib.so libc.lib.so libm.lib.so vfs.lib.so stdcxx.lib.so
|
||||||
pc_uart_drv vfs_pipe.lib.so
|
pc_uart_drv posix.lib.so vfs_pipe.lib.so
|
||||||
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
|
gdb_monitor gdbserver_platform.lib.so test-gdb_monitor
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ build_boot_image $boot_modules
|
|||||||
set local_port 5555
|
set local_port 5555
|
||||||
|
|
||||||
# qemu config
|
# qemu config
|
||||||
append qemu_args " -nographic "
|
append qemu_args " -display none "
|
||||||
|
|
||||||
# connect comport 0 to stdio
|
# connect comport 0 to stdio
|
||||||
append qemu_args " -serial stdio "
|
append qemu_args " -serial stdio "
|
||||||
@ -146,7 +146,7 @@ append gdb_cmds {-ex "set interactive-mode auto" }
|
|||||||
|
|
||||||
puts "command: [gdb] debug/ld.lib.so $gdb_cmds"
|
puts "command: [gdb] debug/ld.lib.so $gdb_cmds"
|
||||||
|
|
||||||
exec [terminal] -e "bash -lc \"[gdb] debug/ld.lib.so $gdb_cmds\"" &
|
exec [terminal] -e "bash -lc \'[gdb] debug/ld.lib.so $gdb_cmds\'" &
|
||||||
|
|
||||||
interact -i [output_spawn_id]
|
interact -i [output_spawn_id]
|
||||||
|
|
||||||
|
@ -61,8 +61,8 @@ set config {
|
|||||||
<policy label_prefix="gdb_monitor" uart="1"/>
|
<policy label_prefix="gdb_monitor" uart="1"/>
|
||||||
</config>
|
</config>
|
||||||
</start>
|
</start>
|
||||||
<start name="gdb_monitor" caps="200">
|
<start name="gdb_monitor" caps="1000">
|
||||||
<resource name="RAM" quantum="8M"/>
|
<resource name="RAM" quantum="9M"/>
|
||||||
<config>
|
<config>
|
||||||
<target name="test-gdb_monitor_target_config">
|
<target name="test-gdb_monitor_target_config">
|
||||||
<config>
|
<config>
|
||||||
@ -71,7 +71,7 @@ set config {
|
|||||||
<test_config_subnode/>
|
<test_config_subnode/>
|
||||||
</config>
|
</config>
|
||||||
</target>
|
</target>
|
||||||
<preserve name="RAM" quantum="3M"/>
|
<preserve name="RAM" quantum="5M"/>
|
||||||
<vfs>
|
<vfs>
|
||||||
<dir name="dev"> <log/> <terminal/> </dir>
|
<dir name="dev"> <log/> <terminal/> </dir>
|
||||||
<dir name="pipe"> <pipe/> </dir>
|
<dir name="pipe"> <pipe/> </dir>
|
||||||
@ -144,7 +144,7 @@ append gdb_cmds [gdb_initial_breakpoint_cmds $gdb_target_binary]
|
|||||||
# continue execution
|
# continue execution
|
||||||
append gdb_cmds {-ex "c" }
|
append gdb_cmds {-ex "c" }
|
||||||
|
|
||||||
exec [terminal] -e "bash -lc \"[gdb] debug/ld.lib.so $gdb_cmds\"" &
|
exec [terminal] -e "bash -lc \'[gdb] debug/ld.lib.so $gdb_cmds\'" &
|
||||||
|
|
||||||
interact -i [output_spawn_id]
|
interact -i [output_spawn_id]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user