ports/devel/gdb66/files/patch-amd64-tdep.c
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

15 lines
342 B
C

--- gdb/amd64-tdep.c.orig Fri Apr 9 16:24:05 2004
+++ gdb/amd64-tdep.c Wed May 5 10:56:22 2004
@@ -126,6 +126,12 @@
#define AMD64_NUM_REGS \
(sizeof (amd64_register_info) / sizeof (amd64_register_info[0]))
+int
+amd64_num_regs(void)
+{
+ return AMD64_NUM_REGS;
+}
+
/* Return the name of register REGNUM. */
static const char *