From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20620 invoked by alias); 6 Jan 2006 01:37:11 -0000 Received: (qmail 20613 invoked by uid 22791); 6 Jan 2006 01:37:10 -0000 X-Spam-Check-By: sourceware.org Received: from smtp01.mrf.mail.rcn.net (HELO smtp01.mrf.mail.rcn.net) (207.172.4.61) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Jan 2006 01:37:09 +0000 Received: from 207-237-137-20.c3-0.80w-ubr16.nyr-80w.ny.cable.rcn.com (HELO [127.0.0.1]) ([207.237.137.20]) by smtp01.mrf.mail.rcn.net with ESMTP; 05 Jan 2006 20:37:05 -0500 X-IronPort-AV: i="3.99,336,1131339600"; d="scan'208"; a="150123274:sNHT85186132" Message-ID: <43BDC9B8.3010906@ajrh.net> Date: Fri, 06 Jan 2006 01:37:00 -0000 From: Anthony Heading User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) MIME-Version: 1.0 To: Kris Warkentin , gdb@sources.redhat.com Subject: Re: debugging shared libraries References: <3518719F06577C4F85DA618E3C37AB9101CFC9FC@nimbus.ott.qnx.com> In-Reply-To: <3518719F06577C4F85DA618E3C37AB9101CFC9FC@nimbus.ott.qnx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00028.txt.bz2 Hi Kris, Kris Warkentin wrote: > GDB has support for deferred breakpoints. Try: > [...] Yup, I know about that. 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). Though I guess thinking about it, maybe a GUI front end could load the shared lib, let you identify the breakpoint, and then behind the scenes save the name of the breakpoint symbol, load the main executable and set it as a deferred breakpoint. Do any of the GUIs do that? Rgds Anthony