Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@codesourcery.com>
To: Roman.Rycerz@us.contiautomotive.com
Cc: gdb@sourceware.org
Subject: Re: Stopped due to shared library event
Date: Thu, 25 Oct 2007 19:01:00 -0000	[thread overview]
Message-ID: <m38x5rm32n.fsf@codesourcery.com> (raw)
In-Reply-To: <OFE7A8D7CD.01B46147-ON8625737F.006261B4-8625737F.0062D49F@contiteves.com> (Roman Rycerz's message of "Thu, 25 Oct 2007 12:59:28 -0500")


Roman.Rycerz at us.contiautomotive.com writes:
> I am debugging a embedded program and after i do a stepi   i get a "stopped
> due to shared library event"
>
> I am not sure what this means.... the embedded code does not use shared
> libraries...  is this a problem with my target
> or with gdb ???

What version of GDB are you using?  How did you configure and build it?

> (gdb) stepi
> Sending packet: $Z0,3fffa310,4#70...Ack
> Packet received:
> Packet Z0 (software-breakpoint) is NOT supported
> Sending packet: $m3fffa310,4#27...Ack
> Packet received: 3c801000
> Sending packet: $X3fffa310,4:}]\202\020\b#c0...Ack
> Packet received: OK
> Sending packet: $Hc0#db...Ack
> Packet received: OK
> Sending packet: $s#73...Ack
> Packet received: T0540:3fffa310;01:3fff2504;
> Sending packet: $X3fffa310,4:<\200\020\000#18...Ack
> Packet received: OK
> Stopped due to shared library event
> Current language:  auto; currently asm

This looks to me as if GDB believes there is a dynamic linker in your
program with its event-reporting function at 0x3fffa310.  If you're
using a properly configured GDB, I'm not sure why it would think that.


      reply	other threads:[~2007-10-25 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-25 17:59 Roman.Rycerz
2007-10-25 19:01 ` Jim Blandy [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=m38x5rm32n.fsf@codesourcery.com \
    --to=jimb@codesourcery.com \
    --cc=Roman.Rycerz@us.contiautomotive.com \
    --cc=gdb@sourceware.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