This is the mail archive of the gdb@sourceware.org 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]

kgdb help pls!


I'm not sure if this is a correct mailing list for kgdb. If not could
anyone point me to the correct list?

I'm trying to use KGDB to debug kernel 2.6.14. I applied kgdb patch
linux-2.6.13-kgdb-2.3 to it (no all but core-lite.patch,
ppc-lite.patch, 8250.patch, cfi_annotations.patch and
sysrq_bugfix.patch).  My cpu is MPC8343E. After choosing kernel
hacking options and compiling kernel, it just hangs and my gdb client
cannot connect to it. Following are message from linux booting and GDB
client, could anyone shed some lights on it? What could be the
problem? Thanks!

Message of linux booting:

## Booting image at ff300000 ...

loaded at:     FF300000 FFB71124
relocated to:  00800000 01071124
board data at: 007FFF70 007FFFF8
relocated to:  00805114 0080519C
zimage at:     00805915 00926A5E
initrd at:     00927000 0106E242
avail ram:     01072000 01472000

Linux/PPC load: mem=248M
Uncompressing Linux...done.
Now booting the kernel
mpc834x_sys_init(): exit
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem

Message from GDB client:
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Malformed response to offset query, timeout
(gdb)


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