Tips and tricks
General tips and tricks related to programming, linux administration, etc...
dimecres, 22 de setembre del 2010
GDB debugging tips
These are several hints when using gdb that are seldom used enough to forget them, but often still important and useful:
Debugging child processes (e.g. allowing a breakpoint to work once the process forks):
set follow-fork-mode child
.
Setting a hardware watchpoint:
watch *(&<address>)
.
Cap comentari:
Publica un comentari a l'entrada
Entrada més recent
Entrada més antiga
Inici
Subscriure's a:
Comentaris del missatge (Atom)
Cap comentari:
Publica un comentari a l'entrada