This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help Device Crash


Hi,

I am using GDB on an embedded system. My box is crashing, but i dont have the core file. All i
have with me is that backtrace and the information of the various registers when it crashed. Can i
with the help of below do some debugging. Can i use the PC to locate the exact line where my
device crashed. I have with the given back trace, noted the functions that the code was going thru
when the device crashed. Can i use these registers/PC for more info?

Screen Shots below.

crashdump:
 0=00000000 at=82580000 v0=80003020 v1=00000000 a0=00000000 a1=80003020
a2=00006117 a3=00000000 t0=000007f6 t1=81519b80 t2=28f5c4ca t3=fffffffe
t4=00040000 t5=00000000 t6=00000020 t7=00000020 s0=8182f09c s1=00000000
s2=8182f07c s3=00000001 s4=82944880 s5=0000001f s6=56465348 s7=8182f03c
t8=00000020 t9=00000000 k0=00000000 k1=00000005 gp=00000000 sp=8182ef90
s8=fffffffc ra=81046eec lo=28f5c4ca hi=00000000
Bad VAddr   = 0x8182f09c
Exception PC= 0x81046f00
Status = 0x34000000
Cause  = 0x00000014:  Address Error on store
Faulting Stack(FP RA):            0x81046f00 <-- Faulting Address
                       0x8182efd0 0x80bc6e50
                       0x8182eff8 0x80bc24fc
                       0x8182f290 0x80bcb938
                       0x8182f4f8 0x80bc2ba8
                       0x8182f520 0x80bc1338
                       0x8182f568 0x80bc0a50
                       0x8182f5b0 0x800102dc
                       0x8182f7b0 0x80269bbc
                       0x8182f7d8 0x80269d2c
                       0x8182f7d8 0x81046eec
                       0x8182f818 0x00000000
Back Trace Stack Address:
   0x81046f00  0x80bc6e50  0x80bc24fc  0x80bcb938  0x80bc2ba8  0x80bc1338  0x80bc0a50  0x800102dc 
0x80269bbc  0x80269d2c  0x81046eec  0x00000000

Am using GDB 4.16 (sparc-sun-solaris2.5.1 --target mips64orion-elf)

Any help would be appreciated.

Regards,
Sylvia




	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]