From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4941 invoked by alias); 25 Oct 2007 19:01:09 -0000 Received: (qmail 4932 invoked by uid 22791); 25 Oct 2007 19:01:08 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 25 Oct 2007 19:01:06 +0000 Received: (qmail 17679 invoked from network); 25 Oct 2007 19:01:04 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Oct 2007 19:01:04 -0000 To: Roman.Rycerz@us.contiautomotive.com Cc: gdb@sourceware.org Subject: Re: Stopped due to shared library event References: From: Jim Blandy Date: Thu, 25 Oct 2007 19:01:00 -0000 In-Reply-To: (Roman Rycerz's message of "Thu, 25 Oct 2007 12:59:28 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00239.txt.bz2 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.