From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24508 invoked by alias); 16 Feb 2012 12:08:29 -0000 Received: (qmail 24492 invoked by uid 22791); 16 Feb 2012 12:08:26 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from ihemail4.lucent.com (HELO ihemail4.lucent.com) (135.245.0.39) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Feb 2012 12:07:49 +0000 Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id q1GC7a9T023176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Feb 2012 06:07:36 -0600 (CST) Received: from destgd0d00539.de.alcatel-lucent.com (destgd0d00539.de.alcatel-lucent.com [149.204.131.198]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id q1GC7YIq018174; Thu, 16 Feb 2012 06:07:34 -0600 To: Jan Kratochvil Cc: "gdb\@sourceware.org" Subject: Re: Remote debugging: setting breakpoints in shared libraries Reply-To: Klaus.Zeitler@alcatel-lucent.com References: <20120208194140.GA16126@host2.jankratochvil.net> From: Klaus Zeitler Date: Thu, 16 Feb 2012 12:08:00 -0000 In-Reply-To: <20120208194140.GA16126@host2.jankratochvil.net> (Jan Kratochvil's message of "Wed\, 8 Feb 2012 20\:41\:40 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 2012-02/txt/msg00050.txt.bz2 Hello, >>>>> "Jan" =3D=3D Jan Kratochvil writes: Jan> Jan> On Tue, 31 Jan 2012 17:16:30 +0100, Klaus Zeitler wrote: >> Now when I try running the same sequence with gdbserver on a remote = host >> (and localhost replaced accordingly), gdb doesn't stop at the >> breakpoint. My test program doesn't stop. Jan> Jan> It may be affected for example by not yet fixed in that version: Jan> [patch] [i386] Fix {,un}prelinked libraries for attach/core-load Jan> http://sourceware.org/ml/gdb-patches/2011-02/msg00630.html Jan> http://sourceware.org/ml/gdb-patches/2011-04/msg00272.html Jan> Jan> While there exist other methods for simplicity of the Jan> troubleshooting I would connect the remote system via NFS and Jan> use `set sysroot' to that mounted directory. The sources are distributed over a few clearcase vobs. Maybe it's easier if I just install a newer gdb. Since the patch above is quite new, I wonder if it already made it into the last official release (7.4)? Thanks Klaus --=20 ------------------------------------------------------------------- | Klaus Zeitler Alcatel-Lucent | | Lorenzstrasse 10 70435 Stuttgart, Germany | | Department: Building: 005 Office: 3/171 | | Telefon: +49 711821 43898 | | Email: klaus.zeitler@alcatel-lucent.com | | | | Alcatel-Lucent Deutschland AG | | Sitz der Gesellschaft: Stuttgart =C2=B7 Amtsgericht Stuttgart HRB 4026 | | Vorsitzender des Aufsichtsrates: Michael Oppenhoff | | Vorstand: | | Alf Henryk Wulf (Vorsitzender) =C2=B7 Dr. Rainer Fechner | ------------------------------------------------------------------- --- You can learn many things from children. How much patience you have, for instance. -- Franklin P. Jones