This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Stopped due to shared library event
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.