All of lore.kernel.org
 help / color / mirror / Atom feed
* BDI2000 breakpoints in dynamically loaded modules
@ 2002-01-23  1:13 Rudolf Ladyzhenskii
  2002-01-23 14:03 ` John W. Linville
  0 siblings, 1 reply; 3+ messages in thread
From: Rudolf Ladyzhenskii @ 2002-01-23  1:13 UTC (permalink / raw)
  To: Linuxppc-Embedded (E-mail)


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


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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: BDI2000 breakpoints in dynamically loaded modules
@ 2002-01-23 22:06 Rudolf Ladyzhenskii
  0 siblings, 0 replies; 3+ messages in thread
From: Rudolf Ladyzhenskii @ 2002-01-23 22:06 UTC (permalink / raw)
  To: 'John W. Linville', Rudolf Ladyzhenskii
  Cc: Linuxppc-Embedded (E-mail)


> 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.
>


Yes, I specify the address.
If I do not, I will not be able to set a breakpoint.

Rudolf

** 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:[~2002-01-23 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-23  1:13 BDI2000 breakpoints in dynamically loaded modules Rudolf Ladyzhenskii
2002-01-23 14:03 ` John W. Linville
  -- strict thread matches above, loose matches on Subject: below --
2002-01-23 22:06 Rudolf Ladyzhenskii

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.