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).