Alle Freunde zeigen
Bildkommentare zu lizenzfreien Bildern von bt-media
Die letzten 3 Bildkommentare von bt-media:
www.aboutpixel.deShow all friends
images comments for royalty free images by bt-media
Last 3 image comments by bt-media:
www.aboutpixel.deManchmal ist es ganz nützlich zu sehen, wie eine Funktion aufgerufen wurde, da bei komplexen Programmen das eigentliche Problem schon sehr viel weiter oben auf dem Aufruf-Stack aufgetreten sein könnte.
Der Befehl bt veranlaßt den gdb dazu, einen Backtrace des Aufruf-Stacks auszugeben:
(gdb) bt #0 0x164a in bazz (anint=0x5) at temp.c:17 #1 0xefbfd888 in end () #2 0x162c in main () at temp.c:11 (gdb)
www.freebsd.orgSometimes it is useful to be able to see how a function was called, as the problem could have occurred a long way up the call stack in a complex program.
The bt command causes gdb to print out a back-trace of the call stack:
(gdb) bt #0 0x164a in bazz (anint=0x5) at temp.c:17 #1 0xefbfd888 in end () #2 0x162c in main () at temp.c:11 (gdb)
www.freebsd.org您想添加一个词、一个短语或一段译文吗?
请发送新条目。