From: Andrew Cagney <ac131313@ges.redhat.com>
To: Mark Kettenis <kettenis@chello.nl>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfc] 16 bit real-mode for the i386
Date: Fri, 30 Aug 2002 12:47:00 -0000 [thread overview]
Message-ID: <3D6FCB35.8070205@ges.redhat.com> (raw)
In-Reply-To: <86n0r5pacf.fsf@elgar.kettenis.dyndns.org>
> Andrew Cagney <ac131313@ges.redhat.com> writes:
>
>
>> Hello,
>>
>> The attached modifies i386-tdep.c so that there is a ``set i386
>> real-mode'' command (doco to go).
>>
>> When real-mode is enabled, GDB computes the ``20 bit'' ``stop address''
>> (aka PC but not to be confused with $pc ... :-) from both the $cs and
>> $pc registers. That way, core GDB sees a cannonical PC address that
>> (regardless of $cs) will match a ``20 bit'' breakpoint address.
>>
>> Thoughts?
>
>
> Looks OK to me. Just two nits: could you consider
> s/CS_REGNUM/I386_CS_REGNUM/? And I believe the GNU coding standards
> say that one shouldn't introduce unecessary whitespace. Therefore I
> have some problems with the extra newlines you're introducing.
I'll change the macro^D^Denum. Many of the new lines are consistent with
whats around (but I'll prune those that look excessive little).
> Are you planning to add this before we cut the branch? I'm a little
> uncomfortable with adding any new features just before doing so.
I'm not expecting to really follow this up until after the branch is
cut. (And I still need to think up a testcase :-)
Andrew
prev parent reply other threads:[~2002-08-30 19:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-29 13:33 Andrew Cagney
2002-08-29 14:37 ` Daniel Jacobowitz
2002-08-29 14:46 ` Kevin Buettner
2002-08-29 14:52 ` Daniel Jacobowitz
2002-08-29 14:46 ` Andrew Cagney
2002-08-30 12:31 ` Eli Zaretskii
2002-08-29 15:36 ` Mark Kettenis
2002-08-30 12:47 ` Andrew Cagney [this message]
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=3D6FCB35.8070205@ges.redhat.com \
--to=ac131313@ges.redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@chello.nl \
/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