summaryrefslogtreecommitdiff
path: root/gdb/somread.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
commit74e98f490bc9e06f6dbef4bcc0b7fdf9fa15eaec (patch)
tree584a202e1d3c9e1c38a6409a92e61245e91beab7 /gdb/somread.c
parent4feb1296e35584661d22d2db3b44239201565372 (diff)
downloadgdb-74e98f490bc9e06f6dbef4bcc0b7fdf9fa15eaec.tar.gz
Cleanup discard_minimal_symbols cleanup.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r--gdb/somread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/somread.c b/gdb/somread.c
index 8dda58df9cd..b1370abffa0 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -366,7 +366,7 @@ som_symfile_read (objfile, mainline)
do_pxdb (symfile_bfd_open (objfile->name));
init_minimal_symbol_collection ();
- back_to = make_cleanup ((make_cleanup_func) discard_minimal_symbols, 0);
+ back_to = make_cleanup_discard_minimal_symbols ();
/* Read in the import list and the export list. Currently
the export list isn't used; the import list is used in