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 | 0efffb96a98349f8305e81ec4103dacec4e59baf (patch) | |
tree | 4af60090c4ba9651755ddfc0f40251a351edc16b /gdb/hpread.c | |
parent | 7936743b083af802de53a9483c450d917e991d46 (diff) | |
download | gdb-0efffb96a98349f8305e81ec4103dacec4e59baf.zip gdb-0efffb96a98349f8305e81ec4103dacec4e59baf.tar.gz gdb-0efffb96a98349f8305e81ec4103dacec4e59baf.tar.bz2 |
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 8370a7f..70070d8 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, |