This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
stack trace and breaking before crash
- From: "Taras D" <taras dot di at gmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 10 Mar 2008 23:24:12 +0800
- Subject: stack trace and breaking before crash
- References: <4024fa2d0803100747g289cf2abl248dbc80b007356a@mail.gmail.com>
Hi everyone,
I have two questions:
1) A program that crashes is writing a stack trace. However, the stack
trace is in heaxadecimal. Is there anyway of replacing the hexadecimal
numbers with symbols?
2) Is it possible to get gdb to break before the program crashes? In
VS 2003, the program breaks execution before the crash allowing
inspection of the stack/variables/etc. The exception I'm getting is:
Exception: STATUS_ACCESS_VIOLATION at eip=610AE0E9. I've tried typing
in bt after the crash occurs but the output doesn't seem to be a stack
trace of the running program.
I'm running gdb on cygwin.
Thanks
Taras