ports/devel/gdb6/files/patch-amd64-tdep.h
David E. O'Brien b6267d7a4b 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.
2004-05-13 04:28:38 +00:00

16 lines
522 B
C

--- 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