This is the mail archive of the
mailing list for the GDB project.
Working on the x86_64-windows native port...
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb at sourceware dot org
- Date: Thu, 13 Nov 2008 14:44:31 -0800
- Subject: Working on the x86_64-windows native port...
[ChrisF, I noticed you prefer if we don't Cc you in addition to reaching
through the mailing-list. I work a little differently, so hopefully
you'll see this message]
Just a quick message to say that I started looking at porting GDB to
x86_64-windows. Currently, if I use a 32bit compiler and configure
GDB as a i686-pc-mingw32, I get a fine debugger.
Things get a little more interesting when I use a 64bit compiler
and configure GDB with x86_64-pc-mingw32 . Basically, the root
of the issues I am seeing comes from the fact that win32-nat has
some ia32-specific code, in particular in terms of the registers
(see the CONTEXT structure for instance).
My intentions are to split off the 32bit-specific parts to
i386-windows-nat.c, and write the equivalent x86_64-windows-nat.c.
I hope that's OK with everyone (Chris?).
: Currently, config.guess (IIRC) doesn't like mingw64. For now,
I'll keep mingw32 as meaning either 32bit or 64bit. I'll probably
fix this too, but later.