All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Rudolf Ladyzhenskii <rudolf.ladyzhenskii@act-aus.net>
Cc: "Linuxppc-Embedded (E-mail)" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Problem setting breakpoints with BDI2000
Date: Tue, 21 May 2002 08:42:02 -0700	[thread overview]
Message-ID: <20020521154202.GC1209@opus.bloom.county> (raw)
In-Reply-To: <B164B53F5BD6D511888D009027732E1A4D11CC@ntserver.act.domain>


On Tue, May 21, 2002 at 12:38:01PM +1000, Rudolf Ladyzhenskii wrote:
>
> Hi, all
>
> I have BDI2000 with software version v1.11
> I have problems setting a breakpoint. I am trying to set a breakpoint in the
> start_kernel() function to debug misbehaving kernel.
> So, at command line I type:
> bi 0xXXXXXXXX, where 0xXXXXXXXX is address of start_kernel out of map file.
> BDI does not stop there, it passes this breakpoint. IO tried it with HARD
> and SOFT breakpoints.

What order did you do it in?  That's important.  You need to 'halt',
'load', 'bi 0xabcdef12', 'go'

If you use hard breakpoints, make sure to do a 'ci' and then 'break
soft' either just before attaching with GDB or after attaching but
before you do anything else.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

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

      parent reply	other threads:[~2002-05-21 15:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-21  2:38 Problem setting breakpoints with BDI2000 Rudolf Ladyzhenskii
2002-05-21  3:25 ` Chris Hallinan
2002-05-21 15:42 ` Tom Rini [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=20020521154202.GC1209@opus.bloom.county \
    --to=trini@kernel.crashing.org \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=rudolf.ladyzhenskii@act-aus.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.