From b6267d7a4b10e4fa51ae0240b39a73b9302db924 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 13 May 2004 04:28:38 +0000 Subject: Update to the 2004-05-11 snapshot. Also enable kgdb and thread support! This is missing IA64 support, and the AMD64 kgdb support is hokey and needs a few more bits filled in. --- devel/gdb66/files/patch-amd64-tdep.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devel/gdb66/files/patch-amd64-tdep.h (limited to 'devel/gdb66/files/patch-amd64-tdep.h') diff --git a/devel/gdb66/files/patch-amd64-tdep.h b/devel/gdb66/files/patch-amd64-tdep.h new file mode 100644 index 000000000000..2ad017060331 --- /dev/null +++ b/devel/gdb66/files/patch-amd64-tdep.h @@ -0,0 +1,16 @@ +--- gdb/amd64-tdep.h.orig Wed May 5 10:48:28 2004 ++++ gdb/amd64-tdep.h Wed May 5 11:02:33 2004 +@@ -59,6 +59,13 @@ + /* Number of general purpose registers. */ + #define AMD64_NUM_GREGS 24 + ++#define AMD64_NUM_FREGS 16 ++#define AMD64_NUM_XREGS 17 ++#define AMD64_NUM_REGS_TOTAL (AMD64_NUM_GREGS + AMD64_NUM_FREGS \ ++ + AMD64_NUM_XREGS) ++ ++extern int amd64_num_regs (void); ++ + extern void amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch); + + /* Fill register REGNUM in REGCACHE with the appropriate -- cgit v1.2.3