From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9125 invoked by alias); 14 Feb 2008 18:14:16 -0000 Received: (qmail 9116 invoked by uid 22791); 14 Feb 2008 18:14:15 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Feb 2008 18:13:55 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id CC0A698140; Thu, 14 Feb 2008 18:13:53 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id B3F639811F; Thu, 14 Feb 2008 18:13:53 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JPian-0001yM-2b; Thu, 14 Feb 2008 13:13:53 -0500 Date: Thu, 14 Feb 2008 18:14:00 -0000 From: Daniel Jacobowitz To: Gordon Prieur Cc: gdb@sourceware.org Subject: Re: stop-on-solib-events and Cygwin (or MinGW) Message-ID: <20080214181353.GA7518@caradoc.them.org> Mail-Followup-To: Gordon Prieur , gdb@sourceware.org References: <47B473F8.5050401@sun.com> <20080214170852.GA3552@caradoc.them.org> <47B47D3B.8050708@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47B47D3B.8050708@sun.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-02/txt/msg00102.txt.bz2 On Thu, Feb 14, 2008 at 09:41:15AM -0800, Gordon Prieur wrote: > Its customer driven. In NetBeans, breakpoints persist outside of a gdb > session. > The simplified scenario I'm using in my test cases contains 2 files, > main.c and > shared.c (shared.c builds into a dll). If I link main.c with the shared > library then > when I start debugging main, all breakpoints in shared.c are active. > > If I don't link the dll into main but explicitly dlopen it, the > breakpoints aren't > active unless I set them after the dlopen. That sounds like a bug in GDB. We need a test case. Actually, it sounds like win32/2369. Anyway, there is no reason this should not work from GDB without your having to do anything special. > Will this be part of gbd 6.8? Yes. > From my point of view, its only fixed when > I can > recommend a specific version of Cygwin and/or MinGW to my customers. Even > then, I'll need to support legacy versions without this feature. So even > if its > fixed, I think I'll need to maintain my alternate Windows implementation for > a while. If you don't want to ship your own GDB, or require a new release, then we can't help you with GDB bugs - if you find a time machine sitting around somewhere, do let me know :-) -- Daniel Jacobowitz CodeSourcery