PATCH: Support x86 pseudo registers

H.J. Lu hjl.tools@gmail.com
Tue Mar 2 15:37:00 GMT 2010


On Tue, Mar 2, 2010 at 7:04 AM, Daniel Jacobowitz <dan@codesourcery.com> wrote:
> On Tue, Mar 02, 2010 at 06:08:37AM -0800, H.J. Lu wrote:
>> On Tue, Mar 2, 2010 at 5:55 AM, Daniel Jacobowitz <dan@codesourcery.com> wrote:
>> > On Mon, Mar 01, 2010 at 09:01:52AM -0800, H.J. Lu wrote:
>> >> Hi,
>> >>
>> >> This patch supports 8bit, 16bit and 32bit x86 pseudo registers. OK
>> >> to install?
>> >
>> > IMO, this is useful enough for a NEWS entry.
>> >
>>
>> Like this?
>>
>> diff --git a/gdb/NEWS b/gdb/NEWS
>> index 6cec32a..b29fa6c 100644
>> --- a/gdb/NEWS
>> +++ b/gdb/NEWS
>> @@ -3,6 +3,10 @@
>>
>>  *** Changes since GDB 7.1
>>
>> +* X86 pseudo registers
>> +
>> +  GDB now supports 8bit, 16bit and 32bit x86 pseudo registers.
>> +
>>  * Python scripting
>>
>>  The GDB Python API now has access to symbols, symbol tables, and
>>
>
> That won't mean anything to users; they don't know what a pseudo
> register is.  Does the architecture have a standard name for these

SDM mentions 8bit/byte, 16bit/word and 32bit/doubleword general
purpose registers.

> things?  Partial registers or something like that?
>

"Partial registers" are too vague.  We may not access upper bits directly.


-- 
H.J.



More information about the Gdb-patches mailing list