aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/amd64-nat.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index db28175..b2b6558 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2003-08-29 Mark Kettenis <kettenis@gnu.org>
+ * amd64-nat.h (struct regcache): Add opaque declaration.
+
* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
* x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h".
Change "register array" to "register cache" in comments.
diff --git a/gdb/amd64-nat.h b/gdb/amd64-nat.h
index e2c9379..edf6df8 100644
--- a/gdb/amd64-nat.h
+++ b/gdb/amd64-nat.h
@@ -22,6 +22,8 @@
#ifndef AMD64_NAT_H
#define AMD64_NAT_H 1
+struct regcache;
+
/* General-purpose register set description for native 32-bit code. */
extern int *amd64_native_gregset32_reg_offset;
extern int amd64_native_gregset32_num_regs;