aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-08-29 17:18:27 +0000
committerMark Kettenis <kettenis@gnu.org>2003-08-29 17:18:27 +0000
commitc40d267a71c9fdfb1c3f68217608bba45a468838 (patch)
treecf099ef00ec47be06a25fc6db84424720d6d3d55
parent84fabdf6128626f3dfd9ad92b186ad3a09e7b4f3 (diff)
downloadgdb-c40d267a71c9fdfb1c3f68217608bba45a468838.zip
gdb-c40d267a71c9fdfb1c3f68217608bba45a468838.tar.gz
gdb-c40d267a71c9fdfb1c3f68217608bba45a468838.tar.bz2
* amd64-nat.h (struct regcache): Add opaque declaration.
-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;