aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-10 19:37:47 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-10 19:37:47 +0000
commit7936743b083af802de53a9483c450d917e991d46 (patch)
tree308c3878dd6db1628a33e4c990a67cf68cd842a8 /gdb/defs.h
parent902f2ccb3d3c265dfd20a64f35839df9a6c7655a (diff)
downloadgdb-7936743b083af802de53a9483c450d917e991d46.zip
gdb-7936743b083af802de53a9483c450d917e991d46.tar.gz
gdb-7936743b083af802de53a9483c450d917e991d46.tar.bz2
2004-08-10 Andrew Cagney <cagney@gnu.org>
* utils.c (xmmalloc): Delete. (xmalloc): Inline xmmalloc and mmalloc calls. (msavestring): Use xmalloc. * defs.h (xmmalloc): Delete declaration. * xcoffread.c (xcoff_symfile_init): Use xmalloc instead of xmmalloc. * symmisc.c (extend_psymbol_list): Ditto. * symfile.c (init_psymbol_list): Ditto. * source.c (find_source_lines): Ditto. * hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto. * elfread.c (elf_symtab_read): Ditto. * dbxread.c (dbx_symfile_init, init_bincl_list): Ditto. * coffread.c (coff_symfile_init): Ditto.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 7ec9b1e..3e076e0 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -875,7 +875,6 @@ extern char *mstrsave (void *, const char *);
/* Robust versions of same. Throw an internal error when no memory,
guard against stray NULL arguments. */
-extern void *xmmalloc (void *md, size_t size);
extern void *xmrealloc (void *md, void *ptr, size_t size);
extern void *xmcalloc (void *md, size_t number, size_t size);
extern void xmfree (void *md, void *ptr);