From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19310 invoked by alias); 16 Feb 2012 13:35:04 -0000 Received: (qmail 19225 invoked by uid 22791); 16 Feb 2012 13:35:02 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Feb 2012 13:34:28 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1GDYPxQ004220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Feb 2012 08:34:25 -0500 Received: from host2.jankratochvil.net (ovpn-116-26.ams2.redhat.com [10.36.116.26]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q1GDYLnu019496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 16 Feb 2012 08:34:24 -0500 Date: Thu, 16 Feb 2012 13:35:00 -0000 From: Jan Kratochvil To: Klaus Zeitler Cc: "gdb@sourceware.org" Subject: Re: Remote debugging: setting breakpoints in shared libraries Message-ID: <20120216133420.GA1380@host2.jankratochvil.net> References: <20120208194140.GA16126@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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/msg00051.txt.bz2 On Thu, 16 Feb 2012 13:07:08 +0100, Klaus Zeitler wrote: > 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. Source files do not matter for GDB operations, they are only displayed to the user. Library files (*.so*) matter for breakpoints placing/hit. > 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)? Yes; you can see the patch in gdb/ChangeLog there. Regards, Jan