Mail Archives: djgpp/1997/02/22/02:51:32
Alex Demko wrote:
>
> I noticed that rhide can show you a call stack when a program bombs
> under it.
>
> Now lets say a person sent me a screen dump (see bottom of this message)
> of that GPF screen that occured in a program I wrote. Can I somehow
> recreate a call stack from that info to aid me in finding the bug?
If you and the person who experienced the crash both have _exactly_ the
same build of the program, then all you need to do is the following:
- put the complete core dump into a file
- make sure your version is compiled with debugging info ('-g')
- type "symify -i <corefile> myprog.exe"
This will output a readable stack trace.
BTW, you seem to be making the common mistake of thinking of RHIDE as a
compiler. It isn't - it's just an editor that is capable of invoking
the compiler tools. The core dump you see is generated by the
_program_; RHIDE reads it and uses its own 'symify' to generate a
readable stack trace. It may even use DJGPP's symify; I'm not sure.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Call me for your free AOL disk! | http://www.cs.com/fighteer |
| Chain letters, work-at-home schemes, free long distance, etc., |
| are ILLEGAL! Keep the Internet litter-free... don't SPAM. |
---------------------------------------------------------------------
- Raw text -