diff options
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r-- | gdb/elfread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index db66a25..3788fb4 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -205,7 +205,7 @@ elf_symtab_read (abfd, addr, objfile) if (storage_needed > 0) { - symbol_table = (asymbol **) bfd_xmalloc (storage_needed); + symbol_table = (asymbol **) xmalloc (storage_needed); back_to = make_cleanup (free, symbol_table); number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table); |