From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16755 invoked by alias); 6 Jan 2006 08:10:39 -0000 Received: (qmail 16748 invoked by uid 22791); 6 Jan 2006 08:10:38 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.207) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Jan 2006 08:10:36 +0000 Received: by zproxy.gmail.com with SMTP id l1so3413940nzf for ; Fri, 06 Jan 2006 00:10:35 -0800 (PST) Received: by 10.36.146.15 with SMTP id t15mr7897263nzd; Fri, 06 Jan 2006 00:10:34 -0800 (PST) Received: by 10.37.2.42 with HTTP; Fri, 6 Jan 2006 00:10:34 -0800 (PST) Message-ID: <8f2776cb0601060010l18ef2664laa60f4f9b3149ead@mail.gmail.com> Date: Fri, 06 Jan 2006 08:10:00 -0000 From: Jim Blandy To: Anthony Heading Subject: Re: debugging shared libraries Cc: Kris Warkentin , gdb@sources.redhat.com In-Reply-To: <43BDC9B8.3010906@ajrh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3518719F06577C4F85DA618E3C37AB9101CFC9FC@nimbus.ott.qnx.com> <43BDC9B8.3010906@ajrh.net> X-IsSubscribed: yes 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-01/txt/msg00031.txt.bz2 On 1/5/06, Anthony Heading wrote: > The problem I see, as I tried to allude to but maybe didn't > make clear, is e.g. that tab-completion of the breakpoint symbol > obviously doesn't work. And although that might not seem > a major problem, I assumed that made it very difficult for the > GUI front ends to gdb (kdbg / eclipse / whatever) to be started > against a shared library. (Which is my real ideal). One of the problems here is that, technically, we don't know which shared library the dynamic linker will actually load until the program starts running, so we can't offer completion on its symbols. We could try to guess what the dynamic linker was going to do, but that's kind of a mess.