From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31878 invoked by alias); 16 Jun 2008 07:13:38 -0000 Received: (qmail 31867 invoked by uid 22791); 16 Jun 2008 07:13:36 -0000 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Jun 2008 07:13:16 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id m5G7DC0L059108 for ; Mon, 16 Jun 2008 09:13:12 +0200 (CEST) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402::142]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id m5G7DCWa010419 for ; Mon, 16 Jun 2008 09:13:12 +0200 (CEST) Received: from d620muller (laocoon.u-strasbg.fr [130.79.112.72]) by mailserver.u-strasbg.fr (8.13.8/jtpda-5.5pre1) with ESMTP id m5G7D9Tu050920 for ; Mon, 16 Jun 2008 09:13:12 +0200 (CEST) From: "Pierre Muller" To: References: <000001c8cd57$c9cf3d30$5d6db790$@u-strasbg.fr> <200806131532.22427.pedro_alves@portugalmail.pt> <000001c8cda0$ec693b40$c53bb1c0$@u-strasbg.fr> <200806132354.59705.pedro@codesourcery.com> <000101c8cdaa$3717cc20$a5476460$@u-strasbg.fr> <20080615225330.GA7678@ednor.casa.cgf.cx> In-Reply-To: <20080615225330.GA7678@ednor.casa.cgf.cx> Subject: RE: [RFA-v3] win32-nat.c: Add dll names if debugevents is on Date: Mon, 16 Jun 2008 11:43:00 -0000 Message-ID: <003301c8cf80$71574f50$5405edf0$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::155]); Mon, 16 Jun 2008 09:13:13 +0200 (CEST) X-Virus-Status: Clean Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00308.txt.bz2 Hi Christopher, I don't debug dynamically linked executables on other systems than Windows, thus I can't answer your question. The reason for adding this is simple: the change only affects debugevents option, which is off by default, thus I want that debug option to give me as useful information as possible. But until now, we get an EVENT for dll loading, but we do not know which dll was loaded, and idem for unloading. The added value of this patch is that you can see=20 which dll were loaded/unloaded without need to interrupt the debuggee and use 'info dll'. It might be a good thing to have the same for other targets, but this is not my priority...=20 I mainly use cygwin/mingw32 gdb and I am trying to=20 get better results for those targets. Pierre Muller Pascal language support maintainer for GDB =20=20 -----Message d'origine----- De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware.org] De la part de Christopher Faylor Envoy=E9=A0: Monday, June 16, 2008 12:54 AM =C0=A0: gdb-patches@sourceware.org Objet=A0: Re: [RFA-v3] win32-nat.c: Add dll names if debugevents is on On Sat, Jun 14, 2008 at 01:07:12AM +0200, Pierre Muller wrote: > Thanks Pedro, > > this is my trouble as I am mainly a pascal programmer:=20 >I am always lost in implicit typecast/conversion rules :( > > The patch is thus even simpler: I guess my basic question here is why is this needed at all? Does the non-windows version of gdb have something similar? If so, this should be patterned after that. If not, why is Windows special? cgf