HP gnu source-level debugger 5992-4701 Manual do Utilizador Página 46

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 369
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 45
On some operating systems, a program cannot be executed outside GDB while you
have breakpoints set on it inside GDB. You can use the kill command in this situation
to permit running your program outside the debugger.
The kill command is also useful if you wish to recompile and relink your program,
since on many systems it is impossible to modify an executable file while it is running
in a process. In this case, when you next type run, GDB notices that the file has changed,
and reads the symbol table again (while trying to preserve your current breakpoint
settings).
4.9 Debugging programs with multiple threads
In some operating systems, such as HP-UX and Solaris, a single program may have
more than one thread of execution. The precise semantics of threads differ from one
operating system to another, but in general the threads of a single program are akin to
multiple processes―except that they share one address space (that is, they can all
examine and modify the same variables). On the other hand, each thread has its own
registers and execution stack, and private memory.
GDB provides these facilities for debugging multi-thread programs:
automatic notification of new threads
thread-specific breakpoints
WARNING! These facilities are not yet available on every GDB configuration where
the operating system supports threads. If your GDB does not support threads, these
commands have no effect. For example, a system without thread support shows no
output from 'info threads', and always rejects the thread command, like this:
((gdb)) info threads
((gdb)) thread 1
Thread ID 1 not known. Use the "info threads" command to
see the IDs of currently known threads.
Following commands are used to debug multi-threaded programs:
'thread threadno', a command to switch among threads
'info threads', a command to inquire about existing threads
'thread apply [threadno] [all] args', a command to apply a command
to a list of threads
The GDB thread debugging facility allows you to observe all threads while your
program runs―but whenever GDB takes control, one thread in particular is always
the focus of debugging. This thread is called the current thread. Debugging commands
show program information from the perspective of the current thread.
Whenever GDB detects a new thread in your program, it displays the target system's
identification for the thread with a message in the form '[New systag]'. systag is a
46 Running Programs Under GDB
Vista de página 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 368 369

Comentários a estes Manuais

Sem comentários

DeVilbiss COMPACT P2-11 manuály

Uživatelské manuály a uživatelské příručky pro Stříkací barva DeVilbiss COMPACT P2-11.
Poskytujeme 2 manuály pdf DeVilbiss COMPACT P2-11 ke stažení zdarma podle typů dokumentů: Uživatelský manuál, Specifikace






Další produkty a příručky pro Stříkací barva DeVilbiss

Modely Typ Dokumentu
SB-2-001-F Uživatelský manuál   SB-2-259-B JGA-504 CONVENTIONAL SPRAY GUN [en] , 8 stránky
SB-2-001-F Uživatelský manuál   SB-2-362 - Coast Industrial Systems, Inc., 6 stránky
HVLP Gravity Feed Spraygun Uživatelský manuál   BINKS SV100 HVLP GRAVITY FEED SPRAY GUN, 8 stránky
SB-E-2-534 Uživatelský manuál   DEVILBISS COMPACT – Gravity Feed Spraygun, 12 stránky
FAC752-3 Provozní pokyny   DeVilbiss FAC752-3 Operating instructions, 12 stránky
SB-2-546 Uživatelský manuál   parts breakdown, 1 stránky
SB-2-546 Uživatelský manuál   SB-2-199-F, 8 stránky
SB-E-2-534 Uživatelský manuál     CONV-GRAV ENG-FR-GER-534 iss2.pub, 32 stránky
SB-2-001-F Uživatelský manuál   SB-2-246-G JGHV-531 HIGH VOLUME LOW PRESSURE SPRAY, 6 stránky
SB-2-546 Uživatelský manuál   For Waterborne Materials, 34 stránky