diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-08-10 20:03:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-08-10 20:03:32 +0000 |
commit | 75e574a72ff084dc292379317a24d61f75fb54ac (patch) | |
tree | e9cc1185ac0f6d5706bb418db4af6ae749f06bba /gdb/hpread.c | |
parent | 4d35af46fdf6aa8de036f16ff00ee28a900daf69 (diff) | |
download | gdb-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/hpread.c')
-rw-r--r-- | gdb/hpread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c index 8370a7f325e..70070d8fe74 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -3042,8 +3042,7 @@ hpread_lookup_type (dnttpointer hp_type, struct objfile *objfile) if (size_changed) { DNTT_TYPE_VECTOR (objfile) = (struct type **) - xmrealloc (objfile->md, - (char *) DNTT_TYPE_VECTOR (objfile), + xrealloc ((char *) DNTT_TYPE_VECTOR (objfile), (DNTT_TYPE_VECTOR_LENGTH (objfile) * sizeof (struct type *))); memset (&DNTT_TYPE_VECTOR (objfile)[old_len], 0, |