From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31909 invoked by alias); 14 Feb 2006 17:08:46 -0000 Received: (qmail 31899 invoked by uid 22791); 14 Feb 2006 17:08:46 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 14 Feb 2006 17:08:42 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k1EH8dbm031184; Tue, 14 Feb 2006 18:08:39 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id k1EH8cSP004987; Tue, 14 Feb 2006 18:08:38 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id k1EH8cF7015437; Tue, 14 Feb 2006 18:08:38 +0100 (CET) Date: Tue, 14 Feb 2006 17:08:00 -0000 Message-Id: <200602141708.k1EH8cF7015437@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: f.hackenberger@chello.at CC: gdb@sourceware.org In-reply-to: <200602141729.09355.f.hackenberger@chello.at> (message from Florian Hackenberger on Tue, 14 Feb 2006 17:29:09 +0100) Subject: Re: breakpoints in shared libraries References: <200602141729.09355.f.hackenberger@chello.at> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00131.txt.bz2 > From: Florian Hackenberger > Date: Tue, 14 Feb 2006 17:29:09 +0100 > > That tells me: > 1. The breakpoint was set. > 2. The breakpoint did not work, as I can see the output "Make the axis unit." > and that's the line where my breakpoint was supposed to interrupt the > execution. > > So that's the problem. Can anyone help me? So the breakpoint was set at the wrong location, either because the line number information generated by the compiler is wrong or GDB doesn't interpret it right. Can you post the output of $ readline -w LIB where LIB is the shared library containing the code you're trying to debug? Mark