summaryrefslogtreecommitdiff
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
commitd8fdf8b8affafd9da50081c998f7d43b6c59cf93 (patch)
tree5264103258f29eab7ae22611c44277d7f7bd71df
parent1f1eac0dbc0cb9b62348b8c3f4a5934b6bf973a3 (diff)
downloadgdb-d8fdf8b8affafd9da50081c998f7d43b6c59cf93.tar.gz
* 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 4084a83e0a7..0034e77a8cf 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 ef35cccdb1d..d62c4f89b10 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 cbc6d1b53d7..df32977967e 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