This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Add x32 support to GDB
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GDB <gdb-patches at sourceware dot org>
- Date: Mon, 2 Apr 2012 09:10:33 -0700
- Subject: Add x32 support to GDB
Support for the x32 psABI:
http://sites.google.com/site/x32abi/
is added in Linux kernel 3.4-rc1. X32 uses the ILP32 model for x86-64
instruction set with size of long and pointers == 4 bytes. X32 is
already supported in GCC 4.7.0 and binutils 2.22. I will submit a
series of patches to enable x32 support in GDB. My patches extend
x86 target to support x32. All my changes are x86 specific. My patches
should gradually add x32 support without breaking any other targets and
x32 should be enabled with the last patch applied.
Thanks.
--
H.J.