linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddededge.com>
To: Matt Porter <porter@cox.net>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: Move kgdb init code?
Date: Wed, 26 Jun 2002 10:47:26 -0400	[thread overview]
Message-ID: <3D19D3FE.700@embeddededge.com> (raw)
In-Reply-To: 20020626012524.A16050@home.com


Matt Porter wrote:

> .... At any rate, every
> one of them is potentially different and so should be calling
> early_serial_init from the <board>.c or <board>_setup.c to pass in
> the board-specific UART values.

I see.  I was wondering if we should move the kgdb start up
back into the board specific setup again......That way we can
choose to start up kgdb at any point in there according to board
initialization.  Of course, I still like to use xmon, and it uses
the same serial port functions as kdgb, so if we move the kgdb
initialization we should also move xmon.


> Damn people. :)

My experience has been it usually gets fixed as the last required
feature before a product ships to a customer :-)


> So, my concern at the beginning is whether moving it from before
> ppc_md.setup_arch to after that call would have adverse effects
> on those using kgdb.

Let's move it back into the board specific setup.  IMHO, it doesn't
really affect what we can debug with kgdb/xmon.  I just didn't want it
to go all of the way back to the way it was........

I'm surprised more people don't use xmon.  That is the first debugger
I usually use, since you can make it easily understand some complex
kernel data structures and associations.

Thanks.


	-- Dan


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

      reply	other threads:[~2002-06-26 14:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-25  5:10 Move kgdb init code? Matt Porter
2002-06-25 16:19 ` Frank Rowand
2002-06-25 20:50   ` Matt Porter
2002-06-25 21:02     ` Frank Rowand
2002-06-25 22:05     ` Dan Malek
2002-06-25 22:39       ` Matt Porter
2002-06-26  2:50         ` Dan Malek
2002-06-26  8:25           ` Matt Porter
2002-06-26 14:47             ` Dan Malek [this message]

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=3D19D3FE.700@embeddededge.com \
    --to=dan@embeddededge.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=porter@cox.net \
    /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).