Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)
~"2"
~"3"
*stopped,reason="end-stepping-range",thread-id="1",frame=addr="0x000029dc",
func="call",args=[name="a",name="b"],file="hello.c",line="16"
(gdb)
-exec-step-instruction
^running
(gdb)
*stopped,reason="end-stepping-range",
frame={addr="0x000100f4",func="foo",args=[],file="try.c",line="10"}
(gdb)
The -exec-until command
Synopsis
-exec-until [ location ]
Asynchronous command. Executes the inferior until the location specified in the argument is
reached. If there is no argument, the inferior executes until a source line greater than the current
one is reached. The reason for stopping in this case will be 'location-reached'.
GDB command
The corresponding GDB command is 'until'.
Example
(gdb)
-exec-until recursive2.c:6
^running
(gdb)
x = 55
*stopped,reason="location-reached",thread-id="1",frame=addr="0x00002a24",func="main",args=[],
file="recursive2.c",line="6"
(gdb)
The -file-exec-and-symbols command
Synopsis
-file-exec-and-symbols file
Specify the executable file to be debugged. This file is the one from which the symbol table is also
read. If no file is specified, the command clears the executable and symbol information. If
breakpoints are set when using this command with no arguments, GDB will produce error messages.
Otherwise, no output is produced, except a completion notification.
GDB command
The corresponding GDB command is 'file'.
Example
(gdb)
-file-exec-and-symbols /kwikemart/marge/ezannoni/TRUNK/mbx/hello.mbx
^done
(gdb)
21.7 GDB/MI program control 267