From aa84d1bb9b0104984e3766ae44d51190333c4ddc Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 28 Jun 2002 23:42:33 +0000 Subject: [PATCH] * macrotab.h: Do not include "obstack.h" or "bcache.h". (struct obstack, struct bcache): Add opaque declarations. * Makefile.in (macrotab_h): Update --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 2 +- gdb/macrotab.h | 4 ++-- 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 + * 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 + * 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 -- 2.7.4