aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-28 23:42:33 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-28 23:42:33 +0000
commitaa84d1bb9b0104984e3766ae44d51190333c4ddc (patch)
treee94c16731585558264cb600781762544f4cbe9dc
parentb4d8393384e782b813e2d69be6417e601023d442 (diff)
downloadgdb-aa84d1bb9b0104984e3766ae44d51190333c4ddc.zip
gdb-aa84d1bb9b0104984e3766ae44d51190333c4ddc.tar.gz
gdb-aa84d1bb9b0104984e3766ae44d51190333c4ddc.tar.bz2
* macrotab.h: Do not include "obstack.h" or "bcache.h".
(struct obstack, struct bcache): Add opaque declarations. * Makefile.in (macrotab_h): Update
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/macrotab.h4
3 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4084a83..0034e77 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2002-06-28 Andrew Cagney <ac131313@redhat.com>
+ * macrotab.h: Do not include "obstack.h" or "bcache.h".
+ (struct obstack, struct bcache): Add opaque declarations.
+ * Makefile.in (macrotab_h): Update
+
+2002-06-28 Andrew Cagney <ac131313@redhat.com>
+
* blockframe.c (generic_find_dummy_frame): Change return type to
``struct regcache''.
(struct dummy_frame): Replace field ``registers'' with regcache, a
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ef35ccc..d62c4f8 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -637,7 +637,7 @@ inferior_h = inferior.h $(breakpoint_h)
language_h = language.h
linespec_h = linespec.h
macroexp_h = macroexp.h
-macrotab_h = macrotab.h $(obstack_h) $(bcache_h)
+macrotab_h = macrotab.h
macroscope_h = macroscope.h $(macrotab_h) $(symtab_h)
memattr_h = memattr.h
monitor_h = monitor.h
diff --git a/gdb/macrotab.h b/gdb/macrotab.h
index cbc6d1b..df32977 100644
--- a/gdb/macrotab.h
+++ b/gdb/macrotab.h
@@ -22,8 +22,8 @@
#ifndef MACROTAB_H
#define MACROTAB_H
-#include "obstack.h"
-#include "bcache.h"
+struct obstack;
+struct bcache;
/* How do we represent a source location? I mean, how should we
represent them within GDB; the user wants to use all sorts of