gcc and strace [Archive] - C Board

PDA

View Full Version : gcc and strace


Shogun
10-09-2003, 11:48 PM
I'm trying to debug a program (part where I free the memory in a loop) but it doesn't crash when I step trough it using gdb but when I try not to step trough it it crashes giving me a core dump, I've hurd you could use strace for finding out the reason but I don't understand the man page for it :( and how do you acces a core dump from gdb since I could probably use it to find out why it crashes aswell...

Hammer
10-10-2003, 04:37 AM
http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=gdb+tutorial+core+dump

Shogun
10-10-2003, 06:56 AM
found alot of good stuff there :) thx a ton :)