stack trace and breaking before crash

Taras D
2008-03-10T15:24:33Z

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