On Thursday 24 August 2006 05:59, Pirasenna Velandai Thiyagarajan wrote:
> Hi Amit,
> I'm attempting to use KGDB to debug by linux kernel 2.4.31.
> I applied the patch and built the target and development machine.  It was
> working fine earlier, but recently, after I attach to the target system, I
> get the following error.  Any insight is greatly appreciated.
> Thanks,
> Piras
>
> (gdb) shell echo -e "\003" > /dev/ttyS0
> (gdb) set remotebaud 38400
> (gdb) target remote /dev/ttyS0
> Remote debugging using /dev/ttyS0
> 0xc012ff17 in pack_threadid (pkt=0x1 <Address 0x1 out of bounds>,
>     id=0xc01a8240) at kgdbstub.c:280
> 280             *pkt++ = hexchars[(byte & 0xf)];
> Cannot access memory at address 0xb60f084d

This is not necessarily a problem. GDB may not have been able to access the 
memory at this address because it interpreted a frame incorrectly. Are you a 
ble to do any debugging at all?

-Amit

> (gdb) p pkt
> $1 = 0x1 <Address 0x1 out of bounds>
> (gdb) where
> #0  0xc012ff17 in pack_threadid (pkt=0x1 <Address 0x1 out of bounds>,
>     id=0xc01a8240) at kgdbstub.c:280
> #1  0xc01a8454 in extract_entropy (r=0xc02b6b00, buf=0xc0374ac0, nbytes=0,
>     flags=-1070118464) at random.c:1352
> #2  0xc03168bc in __devicestr_116a7800 ()
> #3  0xc02b6b00 in cpdext ()
> #4  0xc0374ac0 in irq_2_pin ()
> (gdb)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to