From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24016 invoked by alias); 23 Jan 2007 17:32:54 -0000 Received: (qmail 24007 invoked by uid 22791); 23 Jan 2007 17:32:54 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 23 Jan 2007 17:32:48 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H9PVl-000518-K5; Tue, 23 Jan 2007 12:32:45 -0500 Date: Tue, 23 Jan 2007 17:32:00 -0000 From: Daniel Jacobowitz To: Patrick Zou Cc: gdb@sources.redhat.com Subject: Re: GDB caused segmentation fault when stepping into C++ code in shared library Message-ID: <20070123173244.GA19197@nevyn.them.org> Mail-Followup-To: Patrick Zou , gdb@sources.redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) 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-01/txt/msg00295.txt.bz2 On Tue, Jan 23, 2007 at 05:23:08PM +0000, Patrick Zou wrote: > I even set a breakpoint in the shared library, but not hit either. > Wondering the lib is not mapped correctly. Some of you must have made > this work, I believe. Any idea? is the way I compile my codes or some > GDB configuration ? Sorry, there is not enough information here to help you. A testcase would be nice; failing that, we will need at least a full transcript of the session. -- Daniel Jacobowitz CodeSourcery