From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16951 invoked by alias); 19 Feb 2002 08:57:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16768 invoked from network); 19 Feb 2002 08:56:52 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by sources.redhat.com with SMTP; 19 Feb 2002 08:56:52 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (8.9.3/8.8.7) with ESMTP id JAA31943 for ; Tue, 19 Feb 2002 09:56:44 +0100 Message-Id: <4.2.0.58.20020219090201.00ad0760@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Tue, 19 Feb 2002 00:57:00 -0000 To: gdb-patches@sources.redhat.com From: Pierre Muller Subject: Re: [RFC 2nd ver] New info command for win32 native target In-Reply-To: <20020219035908.GA32680@redhat.com> References: <2947-Mon18Feb2002212931+0200-eliz@is.elta.co.il> <4.2.0.58.20020206103131.00ad1898@ics.u-strasbg.fr> <4.2.0.58.20020218143531.013a7fa8@ics.u-strasbg.fr> <2947-Mon18Feb2002212931+0200-eliz@is.elta.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-SW-Source: 2002-02/txt/msg00490.txt.bz2 At 04:59 19/02/2002 , Christopher Faylor a écrit: >[Hmm. I never saw the original of this message] >On Mon, Feb 18, 2002 at 09:29:31PM +0200, Eli Zaretskii wrote: > >> Date: Mon, 18 Feb 2002 14:59:37 +0100 > >> From: Pierre Muller > >> > >> After the remarks from Eli and Christopher, I > >> change my patch to try to complete their requests. > > > >Thanks! > > > >> +@node Win32 Native > > > >I suggest "Windows" instead of "Win32". Some people, including some > >that belong to The Powers That Be, don't like calling Windows ``a > >win'', and we don't want to rewrite large portions of the manual > >every time they look at our documentation ;-) > >Actually, I think it should be called Cygwin. We don't call it "MS-DOS" immediately >above. But while the Cygwin port is compilable only with the Cygwin tools, it can debug any win32 API executable, compiled with Cygwin (i.e. using the cygwin dll) or with mingw32 (which uses msvcrt.dll) or even other compiled by commercial compilers (but it might not be able to use the debug info created by those compilers). I remember that there are some problems with PE executable that don't have .code and .data sections, but where they are called CODE and DATA. That is the reason why I didn't like to call it Cygwin, but you might be right that Iwe should call the node Cygwin native and stress inside it that it can debug any windows PE executable. > >>+@cindex @sc{Win32} debugging > > > >It's not recommended to use @sc on a string that involves both lower- > >and upper-case letters. Should I change this into @sc{win32} ? > >> +@item info w32 selector > >> +This command displays information returned by > >> +the Win32 API GetThreadSelectorEntry function. > > > >The string "GetThreadSelectorEntry" is a name of a function, so it > >should be in @code. > > > >> +@item new-group > >> +This boolean value controls whether the debuggee should > >> +start a new group or stay in the same group as the debugger. > >> +This affects the handling of certain Win32 exceptions. > > > >I think this description should be expanded a bit (what exceptions? > >affects how?). > >I think it basically gives the inferior process its own process group. >I think that means that if gdb sees a CTRL-C, it won't be automatically >passed to the inferior. > >FWIW, the "info dll" command is actually the same thing as "info >shared", if you want to add that description, too. dll-symbols loads >symbols from a dll similarly to add-sym but without the need to specify >a base address. > >With the above changes, I think this is fine to check in. I committed already the win32-nat.c code and I will resubmit the docu change. Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99