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: [RFA/RFC] Process record amd64 instruction set support


Please goto http://sourceware.org/ml/gdb-patches/2009-06/msg00796.html
to get the new version.

On Thu, Jun 11, 2009 at 19:58, Hui Zhu<teawater@gmail.com> wrote:
> Hi guys,
>
> This is process record amd64 instruction set support patch. ?I am
> still working AMD64 syscall support.
> Please send me your comments. ?Thanks.
>
> 2009-06-11 ?Hui Zhu ?<teawater@gmail.com>
>
> ? ? ? ?Add AMD64 process record instruction set support.
>
> ? ? ? ?* i386-tdep.h (gdbarch_tdep): Add record_regmap for registers
> ? ? ? ?because the AMD64's registers order in GDB is not same with
> ? ? ? ?I386 instructions.
> ? ? ? ?(record_i386_regnum): Number for record_regmap.
> ? ? ? ?* i386-tdep.c (OT_QUAD): For 64 bits.
> ? ? ? ?(i386_record_s): Add rex_x, rex_b, rip_offset and
> ? ? ? ?popl_esp_hack for AMD64 instruction set. And regmap for
> ? ? ? ?record_regmap.
> ? ? ? ?(i386_record_lea_modrm_addr): Support AMD64 instruction set
> ? ? ? ?64 bits lea.
> ? ? ? ?(i386_record_lea_modrm): Ditto.
> ? ? ? ?(i386_record_push): New function. ?Record the execution log
> ? ? ? ?of push.
> ? ? ? ?(I386_RECORD_ARCH_LIST_ADD_REG): New macro to record the
> ? ? ? ?register.
> ? ? ? ?(i386_process_record): Support AMD64 instruction set.
> ? ? ? ?amd64-tdep.c (amd64_record_regmap): For record_regmap.
> ? ? ? ?(amd64_init_abi): Set amd64_record_regmap to record_regmap.
> ? ? ? ?amd64-linux-tdep.c (amd64_linux_init_abi): Call
> ? ? ? ?set_gdbarch_process_record to AMD64 Linux support process
> ? ? ? ?record.
>
> Hui
>


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