diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-12-02 22:08:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-12-02 22:08:47 +0000 |
commit | 4c17829508ff57f839698eb08f6adf8fdf2526a1 (patch) | |
tree | 61d96be2cbfc95df53f91c6e1477363352f3b37e /gdb/jv-lang.c | |
parent | 7ef2d4e7832342c472494a8a51f3c810b48cae75 (diff) | |
download | gdb-4c17829508ff57f839698eb08f6adf8fdf2526a1.zip gdb-4c17829508ff57f839698eb08f6adf8fdf2526a1.tar.gz gdb-4c17829508ff57f839698eb08f6adf8fdf2526a1.tar.bz2 |
mrealloc() -> xmrealloc().
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r-- | gdb/jv-lang.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index 81cea0a..97f3cdf 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -136,10 +136,9 @@ add_class_symtab_symbol (struct symbol *sym) { /* Need to re-allocate. */ class_symtab_space *= 2; - bl = (struct block *) - mrealloc (symtab->objfile->md, bl, - sizeof (struct block) - + ((class_symtab_space - 1) * sizeof (struct symbol *))); + bl = xmrealloc (symtab->objfile->md, bl, + sizeof (struct block) + + ((class_symtab_space - 1) * sizeof (struct symbol *))); class_symtab->free_ptr = (char *) bl; BLOCKVECTOR_BLOCK (bv, GLOBAL_BLOCK) = bl; } |