aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorJohn R. Moore <jmoore@redhat.com>2001-02-02 20:01:16 +0000
committerJohn R. Moore <jmoore@redhat.com>2001-02-02 20:01:16 +0000
commit338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978 (patch)
tree312aaa3e2890cc0489ba149a944435086943ad5d /gdb/symtab.h
parent2b5436af18f524fe06dc946353b455c2e7179669 (diff)
downloadgdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.zip
gdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.tar.gz
gdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.tar.bz2
Changed free() to xfree() where appropriate. Also changed Copyright to
include 2001.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 09f08ab..bacf9b3 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1,5 +1,5 @@
/* Symbol table definitions for GDB.
- Copyright 1986, 89, 91, 92, 93, 94, 95, 96, 1998
+ Copyright 1986, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 2001
Free Software Foundation, Inc.
This file is part of GDB.
@@ -26,7 +26,7 @@
#include "obstack.h"
#define obstack_chunk_alloc xmalloc
-#define obstack_chunk_free free
+#define obstack_chunk_free xfree
#include "bcache.h"
/* Don't do this; it means that if some .o's are compiled with GNU C
@@ -182,7 +182,7 @@ extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, asection *);
SYMBOL_LANGUAGE (symbol) = language_cplus; \
SYMBOL_CPLUS_DEMANGLED_NAME (symbol) = \
obsavestring (demangled, strlen (demangled), (obstack)); \
- free (demangled); \
+ xfree (demangled); \
} \
else \
{ \
@@ -199,7 +199,7 @@ extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, asection *);
SYMBOL_LANGUAGE (symbol) = language_java; \
SYMBOL_CPLUS_DEMANGLED_NAME (symbol) = \
obsavestring (demangled, strlen (demangled), (obstack)); \
- free (demangled); \
+ xfree (demangled); \
} \
else \
{ \
@@ -217,7 +217,7 @@ extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, asection *);
SYMBOL_LANGUAGE (symbol) = language_chill; \
SYMBOL_CHILL_DEMANGLED_NAME (symbol) = \
obsavestring (demangled, strlen (demangled), (obstack)); \
- free (demangled); \
+ xfree (demangled); \
} \
else \
{ \