HP gnu source-level debugger 5992-4701 Manuale Utente Pagina 336

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 369
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 335
Regular stepping:
-exec-step
^running
(gdb)
~"2"
~"3"
*stopped,reason="end-stepping-range",thread-id="1",frame=addr="0x000029d8",
func="call",args=[name="a",name="b"],file="hello.c",line="16"
(gdb)
The -exec-step-instruction command
Synopsis
-exec-step-instruction
Asynchronous command. Resumes the inferior which executes one machine instruction.
The output, once GDB has stopped, will vary depending on whether we have stopped
in the middle of a source line or not. In the former case, the address at which the
program stopped will be printed as well.
GDB command
The corresponding GDB command is 'stepi'.
Example
(gdb)
-exec-step-instruction
^running
(gdb)
~"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
336 The GDB/MI Interface
Vedere la pagina 335
1 2 ... 331 332 333 334 335 336 337 338 339 340 341 ... 368 369

Commenti su questo manuale

Nessun commento