Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFC] New info command for win32 native target
Date: Wed, 06 Feb 2002 10:00:00 -0000	[thread overview]
Message-ID: <20020206180028.GC11730@redhat.com> (raw)
In-Reply-To: <Pine.SUN.3.91.1020206131131.3481B@is>

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


  parent reply	other threads:[~2002-02-06 18:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-06  2:23 Pierre Muller
2002-02-06  3:24 ` Eli Zaretskii
2002-02-06  3:58   ` Pierre Muller
2002-02-06  4:27     ` Eli Zaretskii
2002-02-06 10:00   ` Christopher Faylor [this message]
2002-02-18  6:01   ` [RFC 2nd ver] " Pierre Muller
2002-02-18 11:32     ` Eli Zaretskii
2002-02-18 19:59       ` Christopher Faylor
2002-02-19  0:57         ` Pierre Muller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020206180028.GC11730@redhat.com \
    --to=cgf@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox