summaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-10 20:03:32 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-10 20:03:32 +0000
commit75e574a72ff084dc292379317a24d61f75fb54ac (patch)
treee9cc1185ac0f6d5706bb418db4af6ae749f06bba /gdb/symmisc.c
parent4d35af46fdf6aa8de036f16ff00ee28a900daf69 (diff)
downloadgdb-75e574a72ff084dc292379317a24d61f75fb54ac.tar.gz
2004-08-10 Andrew Cagney <cagney@gnu.org>
* defs.h (xmrealloc): Delete. * utils.c (xmrealloc): Delete. (xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc. * symmisc.c (extend_psymbol_list): Use xrealloc. * source.c (find_source_lines): Ditto. * hpread.c (hpread_lookup_type): Ditto. * dbxread.c (add_bincl_to_list): Ditto.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 6457d9c984e..1d8cdc7f51c 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -1238,8 +1238,8 @@ extend_psymbol_list (struct psymbol_allocation_list *listp,
{
new_size = listp->size * 2;
listp->list = (struct partial_symbol **)
- xmrealloc (objfile->md, (char *) listp->list,
- new_size * sizeof (struct partial_symbol *));
+ xrealloc ((char *) listp->list,
+ new_size * sizeof (struct partial_symbol *));
}
/* Next assumes we only went one over. Should be good if
program works correctly */