Debuging using core dump and PC



I'm trying to debug my application which is crashing at unknown
location .
In case of normal crash , i can trace the instruction due to which
program crashes using
PC (program counter) printed by OS at the time of crash.
For which i use "gdb exename corefile".
But in this case my program crashes with PC=0x000000 ,
so that I could not trace the instruction due to which program is
crashing .
So Please Suggest me some steps/way using which i can trace instruction
due to which Application
is crashing .
Thanks in advance .

Regards,
Yogesh D.

.



Relevant Pages

  • Re: Debuging using core dump and PC
    ... In case of normal crash, i can trace the instruction due to which ... But in this case my program crashes with PC=0x000000, ... so that I could not trace the instruction due to which program is ...
    (comp.lang.c)
  • Re: Whats more important optimisations or debugging?
    ... Continuous single-stepping (whether by using the trace facility of many larger processors, or with external help such as a debugger or your suggested interrupt trick) will let you trace program flow, but not data ... effects" the instruction had on the memory contents. ... in registers, so taking a register snapshot after each instruction ...
    (comp.arch.embedded)
  • Re: Kernel Mode vs. User Mode
    ... Please let me know if I'm wrong, but if I can't trace through ... the "trap-code" (which I presume is the boundary between kernel and user ... CALL instruction, unwind the EIP and continue, etc. ... >> I'm thinking of other ways to trace the execution of a program. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: [PATCH -rt] powerpc update
    ... Here's the kernel messages ... My PPC32 board doesn't boot with 2.6.18-rt6, I'm getting this nice trace: ... Unable to handle kernel paging request for instruction fetch ...
    (Linux-Kernel)
  • Re: IIS Admin & IIS hang regularly / PHP IIS 5 win 2k server
    ... That's why I try to trace that problem to it's origin instead of changegin ... > It depends on what is crashing. ... IIS State would be a useful tool ... > catch the crash, grab a stack trace, and give clues on what is causing the ...
    (microsoft.public.inetserver.iis)