Tracing a core dump with gdb
Anthony Symons
symons@citr.com.au
Thu Sep 10 14:21:00 GMT 1998
Hi all,
I am trying to compile some X and Motif applications
with cyg-gcc b19
My application fails with a seg violation.
However, the stack trace core file which is left is
just a text file of the stack frame with addresses in
hex.
gdb cannot read this in. My problem is that I do not know
how to relate these addresses back to actual function
calls.
As well, when I run the application under gdb, when I hit
the seg violation, I cannot do a where - gdb says
that it cannot access memory at xxxxxx.
As this error seems to be hidden ~ 15 levels into a large loop
I have not even been able to get near to determining where
the problem is.
Is it possible to either
1. get a core file that gdb can under stand
2. set a break point on some system call which is
invoked when the seg violation occurs
3. set strace to a useful value which will help
Any help will be greatly appreciated
Cheers
Anthony
--
--------------------------------------------------------
Dr Anthony Symons | Phone: +61-73-259-2365
CiTR Pty Ltd | Fax: +61-73-259-2259
John Oxley Centre |
339 Coronation Drive | Email: a.symons@citr.com.au
MILTON |
QLD 4064 AUSTRALIA | Postal: PO Box 1643
--------------------------------------------------------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list