mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
parent
f13463325a
commit
445ecba9b5
@ -2,19 +2,18 @@ source ${genode_dir}/repos/os/run/monitor_gdb.inc
|
|||||||
|
|
||||||
# sequence of GDB commands to execute at startup
|
# sequence of GDB commands to execute at startup
|
||||||
set gdb_cmds ""
|
set gdb_cmds ""
|
||||||
append gdb_cmds {-ex "set non-stop on" }
|
|
||||||
append gdb_cmds {-ex "target extended-remote $host:$port" }
|
|
||||||
|
|
||||||
# avoid pagination prompts in autopilot test
|
# avoid pagination prompts in autopilot test
|
||||||
append gdb_cmds {-ex "set pagination off" }
|
append gdb_cmds {-ex "set pagination off" }
|
||||||
|
|
||||||
# avoid color escape sequences in autopilot test
|
# avoid color escape sequences in autopilot test
|
||||||
append gdb_cmds {-ex "set style enabled off" }
|
append gdb_cmds {-ex "set style enabled off" }
|
||||||
|
|
||||||
# don't ask for y/n when loading a new symbol file
|
# don't ask for y/n when loading a new symbol file
|
||||||
append gdb_cmds {-ex "set interactive-mode off" }
|
append gdb_cmds {-ex "set interactive-mode off" }
|
||||||
# set search path for shared libraries
|
# set search path for shared libraries
|
||||||
append gdb_cmds {-ex "set solib-search-path debug" }
|
append gdb_cmds {-ex "set solib-search-path debug" }
|
||||||
|
# use non-stop mode
|
||||||
|
append gdb_cmds {-ex "set non-stop on" }
|
||||||
|
# connect to the debug monitor
|
||||||
|
append gdb_cmds {-ex "target extended-remote $host:$port" }
|
||||||
# set a breakpoint in the 'binary_ready_hook_for_gdb' function
|
# set a breakpoint in the 'binary_ready_hook_for_gdb' function
|
||||||
append gdb_cmds {-ex "b binary_ready_hook_for_gdb" }
|
append gdb_cmds {-ex "b binary_ready_hook_for_gdb" }
|
||||||
# continue execution until the breakpoint triggers
|
# continue execution until the breakpoint triggers
|
||||||
|
Loading…
Reference in New Issue
Block a user