From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3678 invoked by alias); 14 Feb 2008 19:05:49 -0000 Received: (qmail 3667 invoked by uid 22791); 14 Feb 2008 19:05:49 -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 19:05:29 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id CC0AF98213; Thu, 14 Feb 2008 19:05:27 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id AE1899811F; Thu, 14 Feb 2008 19:05:27 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JPjOh-0002pM-3e; Thu, 14 Feb 2008 14:05:27 -0500 Date: Thu, 14 Feb 2008 19:05:00 -0000 From: Daniel Jacobowitz To: Gordon Prieur Cc: gdb@sourceware.org Subject: Re: stop-on-solib-events and Cygwin (or MinGW) Message-ID: <20080214190527.GA10813@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> <20080214181353.GA7518@caradoc.them.org> <47B48F3A.7070002@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47B48F3A.7070002@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/msg00104.txt.bz2 On Thu, Feb 14, 2008 at 10:58:02AM -0800, Gordon Prieur wrote: > Its similar to 2369 but there are several differences. First off, I'm > running in mi mode > and I don't really expect it to handle breakpoints in unloaded dlls. In > command line, it > asks if it should be left "pending on future shared library load". Vladimir added support for this to GDB/MI on 2007-12-14. Vladimir, I noticed there's no NEWS entry for this. If you agree there should be, could you add one? > I've attached my sources. Since I built from NetBeans projects I'm not > including any > Makefiles. Build shared.c into a dll and reference it from app.c. Since I > didn't want > to muck with dlopen finding the dll, I hardcoded the path in app.c. > You'll need to > change it to point to the location you put libshared.dll. Thanks for the testcase. I hope someone has time to fix this. -- Daniel Jacobowitz CodeSourcery