This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Support "ah", "bh", "ch", "dh" in amd64


On Wed, Mar 3, 2010 at 12:53 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> AMD64 can access "ah", "bh", "ch", "dh". ?I missed them in my x86
> pseudo register support. ?This patch adds them. OK to install?
>
> Thanks.
>
>
> H.J.
> ---
> gdb/
>
> 2010-03-03 ?H.J. Lu ?<hongjiu.lu@intel.com>
>
> ? ? ? ?* amd64-tdep.c (amd64_byte_names): Add "ah", "bh", "ch", "dh".
> ? ? ? ?(amd64_pseudo_register_read): Handle "ah", "bh", "ch", "dh".
> ? ? ? ?(amd64_pseudo_register_write): Likewise.
> ? ? ? ?(amd64_init_abi): Set num_byte_regs to 20.
>
> gdb/testsuite/
>
> 2010-03-03 ?H.J. Lu ?<hongjiu.lu@intel.com>
>
> ? ? ? ?* gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
>

Any comments/suggestions?

Thanks.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]