aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-07-29 22:55:26 +0000
committerAndrew Cagney <cagney@redhat.com>2002-07-29 22:55:26 +0000
commit04ea0df192c8d83d525c352062261438b6b703d9 (patch)
treeacda4cff2540a302c29cd31f421efda9a4494b3d /gdb/symtab.h
parent70a3140046a45ac1976a1bfe27ab0fdf5e4b0909 (diff)
downloadgdb-04ea0df192c8d83d525c352062261438b6b703d9.zip
gdb-04ea0df192c8d83d525c352062261438b6b703d9.tar.gz
gdb-04ea0df192c8d83d525c352062261438b6b703d9.tar.bz2
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file. * symtab.h: Include "gdb_obstack.h" instead of "obstack.h". (obstack_chunk_alloc, obstack_chunk_free): Delete macros. * objfiles.h: Include "gdb_obstack.h". * Makefile.in (gdb_obstack_h): Define. (symtab_h): Add $(gdb_obstack_h). (objfiles_h): Add $(gdb_obstack_h). * objfiles.c: Include "gdb_obstack.h" instead of "obstack.h". * macrotab.c, cp-valprint.c, dbxread.c: Ditto. * ch-typeprint.c, ch-valprint.c, dstread.c: Ditto. * macroexp.c, p-typeprint.c, stabsread.c: Ditto. * symtab.c, f-typeprint.c, mdebugread.c: Ditto. * p-valprint.c, symmisc.c, typeprint.c: Ditto. * symfile.c, coffread.c, c-typeprint.c: Ditto. * buildsym.c, bcache.c, ada-typeprint.c: Ditto. * Makefile.in (bcache.o): Update dependencies. (buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto. (ch-valprint.o, coffread.o, cp-valprint.o): Ditto. (dbxread.o, dstread.o, f-typeprint.o): Ditto. (objfiles.o, p-typeprint.o, p-valprint.o): Ditto. (stabsread.o, symfile.o, symmisc.o): Ditto. (symtab.o, typeprint.o, macroexp.o): Ditto. (macrotab.o, mdebugread.o): Ditto. (f_lang_h, coff_sym_h, coff_symconst_h): Define. (coff_ecoff_h, aout_aout64_h): Define. (aout_stabs_gnu_h, libaout_h): Define.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 6ea5538..c6da736 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -25,9 +25,7 @@
/* Some definitions and declarations to go with use of obstacks. */
-#include "obstack.h"
-#define obstack_chunk_alloc xmalloc
-#define obstack_chunk_free xfree
+#include "gdb_obstack.h"
/* Don't do this; it means that if some .o's are compiled with GNU C
and some are not (easy to do accidentally the way we configure