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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 369
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 353
GDB command
The equivalent GDB command is 'info threads'.
Example
N.A.
The -thread-list-ids command
Synopsis
-thread-list-ids
Produces a list of the currently known GDB thread ids. At the end of the list it also
prints the total number of such threads.
GDB command
Part of 'info threads' supplies the same information.
Example
No threads present, besides the main process:
(gdb)
-thread-list-ids
^done,thread-ids={},number-of-threads="0"
(gdb)
Several threads:
(gdb)
-thread-list-ids
^done,thread-ids={thread-id="3",thread-id="2",thread-id="1"},
number-of-threads="3"
(gdb)
The -thread-select command
Synopsis
-thread-select threadnum
Make threadnum the current thread. It prints the number of the new current thread,
and the topmost frame for that thread.
GDB command
The corresponding GDB command is 'thread'.
Example
(gdb)
-exec-next
354 The GDB/MI Interface
Vedere la pagina 353
1 2 ... 349 350 351 352 353 354 355 356 357 358 359 ... 368 369

Commenti su questo manuale

Nessun commento