From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15373 invoked by alias); 6 Feb 2002 18:00:16 -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 15259 invoked from network); 6 Feb 2002 18:00:05 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (12.107.208.154) by sources.redhat.com with SMTP; 6 Feb 2002 18:00:05 -0000 Received: from cgf.cipe.redhat.com (dhcpd153.meridian.redhat.com [172.16.47.153]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g16I04I25582 for ; Wed, 6 Feb 2002 13:00:04 -0500 Received: (from cgf@localhost) by cgf.cipe.redhat.com (8.11.6/8.8.7) id g16I0SA11921 for gdb-patches@sources.redhat.com; Wed, 6 Feb 2002 13:00:28 -0500 Date: Wed, 06 Feb 2002 10:00:00 -0000 From: Christopher Faylor To: gdb-patches@sources.redhat.com Subject: Re: [RFC] New info command for win32 native target Message-ID: <20020206180028.GC11730@redhat.com> Mail-Followup-To: gdb-patches@sources.redhat.com References: <4.2.0.58.20020206103131.00ad1898@ics.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23.1i X-SW-Source: 2002-02/txt/msg00172.txt.bz2 On Wed, Feb 06, 2002 at 01:22:55PM +0200, Eli Zaretskii wrote: > >On Wed, 6 Feb 2002, Pierre Muller wrote: > >> This patch adds a new win32 native specific command: >> "info sel" > >Thanks. A couple of comments: > > - this command needs to be documented in gdb.texinfo, similarly to > "info dos ldt" and friends (and in the same chapter, but in a > different subsection); Agree. > - since it's a Windows-specific command, I suggest to name it > "info w32 sel" or "info windows sel" or maybe "info cygwin sel": > something that will tell it's not available on every platform > (actually, using ``seg'' instead of ``sel'' might probably be even > better, since the information you show is about a segment whose > selector is passed as an argument); Agree. Probably w32 is a good choice since this could potentially work on mingw. > - I think it's a good idea to make the format used to print the segment > as similar as possible to the one used by "info dos ..." commands; Agree. If there is a similar command, it should certainly use it. > - why do you only print CS, DS, and FS if no argument is given? why not > all of the segment registers? I think at least SS and GS might be > interesting > >Finally, will this work on non-x86 systems running MS-Windows (assuming >Cygwin supports such systems)? The register names are x86-specific, >right? Cygwin only works on x86 system. That's not likely to change anytime soon. cgf