linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* kgdb and mpc8xx (again)
@ 2003-03-10 17:42 Ibon Gotxi Garcia
  2003-03-10 21:04 ` Wolfgang Denk
  2003-03-11  0:56 ` Murray Jensen
  0 siblings, 2 replies; 3+ messages in thread
From: Ibon Gotxi Garcia @ 2003-03-10 17:42 UTC (permalink / raw)
  To: Linux PPC embedded


Hi:

I'm trying to debug a kernel on a 8xx board with kgdb, using the SMC1. I
have disabled all the outputs to the console made by the bootstrap code,
and simply running kermit, i get this line

$T0540:c0009db0;01:c01152fe;#b1

If i run ppc-linux-gdb instead of kermit, i get

0xc0009db0 in breakpoint () at ppc-stub.c:726

and the board restarts itself.

I have no idea why. Maybe:

1.- It's something related with some console output (don't know if
enabling kgdb disables all the console output in SMC1).
2.- A watchdog timeout happens (Does the kgdb code resets the
watchdog?).
3.- Do I have to do a "set endian xxx" in ppc-linux-gdb ??? (to get that
output i have done a "set endian big")


I'm using the denx kernel from the cvs and ppc-linux-gdb from ELDK 2.0.2
(on a x86 development machine)


Cheers
Ibon

--
Ibon Gotxi Garcia <igotxi@jazzfree.com>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-11  0:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-10 17:42 kgdb and mpc8xx (again) Ibon Gotxi Garcia
2003-03-10 21:04 ` Wolfgang Denk
2003-03-11  0:56 ` Murray Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).