linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ibon Gotxi Garcia <igotxi@jazzfree.com>
To: Linux PPC embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: kgdb and mpc8xx (again)
Date: 10 Mar 2003 17:42:01 +0000	[thread overview]
Message-ID: <1047318121.29389.44.camel@muse> (raw)


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/

             reply	other threads:[~2003-03-10 17:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-10 17:42 Ibon Gotxi Garcia [this message]
2003-03-10 21:04 ` kgdb and mpc8xx (again) Wolfgang Denk
2003-03-11  0:56 ` Murray Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1047318121.29389.44.camel@muse \
    --to=igotxi@jazzfree.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).