All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@lvl7.com>
To: Rudolf Ladyzhenskii <rudolf.ladyzhenskii@act-aus.net>
Cc: "Linuxppc-Embedded (E-mail)" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: BDI2000 breakpoints in dynamically loaded modules
Date: Wed, 23 Jan 2002 09:03:19 -0500	[thread overview]
Message-ID: <3C4EC2A7.282CB112@lvl7.com> (raw)
In-Reply-To: B164B53F5BD6D511888D009027732E1A024A20@ntserver.act.domain


Just a guess...when you do the "add-symbol-file", do you specify the
address for the .text (and possibly other) section(s)?  If you don't,
I'm not sure what it will default to be, but it will almost certainly be
wrong.

When you do the insmod, use the -m parameter and redirect the output to
the file.  Near the top of that file it will tell you where the .text
section starts.

Good luck!

John

Rudolf Ladyzhenskii wrote:
>
> Hi, all
>
> I am using BDI2000 to debug dynamically loaded module under Linux. When I
> put a breakpoint, it never goes off, but code does execute.
>
> At the moment the only 8260 board we have is used 100% of the time, so I do
> not have much chance to do any investigation.
> I'll describe what I do, may be this will help.
>
> I load the moule under Linux and then use "add-symbol-file" command. This
> allows me to view the source of my module. Then I put a breakpoint either
> through IDE (DDD) or from GDB prompt. Breakpoint appears in DDD, but never
> goes off. All memory translation is working.
>
> I can not remember if it worked before, I only briefly tried modules while
> ago. I recently upgraded DDD and BDI2000 firmware to the latest versions.
> May be this caused it?
>
> Any ideas are appreciated.,
>
> Thanks,
>
> Rudolf
>

--
John W. Linville
LVL7 Systems, Inc.

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

  reply	other threads:[~2002-01-23 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23  1:13 BDI2000 breakpoints in dynamically loaded modules Rudolf Ladyzhenskii
2002-01-23 14:03 ` John W. Linville [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-23 22:06 Rudolf Ladyzhenskii

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=3C4EC2A7.282CB112@lvl7.com \
    --to=linville@lvl7.com \
    --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.