aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-16 04:07:39 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-16 04:07:39 +0000
commit56e290f494ab802bbc5c26c445dad0d1e6a7f37b (patch)
tree3c7c935437ec8b5f5c8e517536e64c4f031fb6ae /gdb/elfread.c
parent1ed2a1352d4af2d840b285a741bc02d4584c24f1 (diff)
downloadgdb-56e290f494ab802bbc5c26c445dad0d1e6a7f37b.zip
gdb-56e290f494ab802bbc5c26c445dad0d1e6a7f37b.tar.gz
gdb-56e290f494ab802bbc5c26c445dad0d1e6a7f37b.tar.bz2
Cleanup discard_minimal_symbols cleanup.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 60f7988..4d9376d 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -591,7 +591,7 @@ elf_symfile_read (objfile, mainline)
CORE_ADDR offset;
init_minimal_symbol_collection ();
- back_to = make_cleanup ((make_cleanup_func) discard_minimal_symbols, 0);
+ back_to = make_cleanup_discard_minimal_symbols ();
memset ((char *) &ei, 0, sizeof (ei));