summaryrefslogtreecommitdiff
path: root/gdb/dstread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dstread.c')
-rw-r--r--gdb/dstread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dstread.c b/gdb/dstread.c
index c10c1fe18cc..8b22b144ae7 100644
--- a/gdb/dstread.c
+++ b/gdb/dstread.c
@@ -288,7 +288,7 @@ dst_symfile_read (objfile, mainline)
error ("\"%s\": error reading debugging symbol tables\n", name);
init_minimal_symbol_collection ();
- make_cleanup (discard_minimal_symbols, 0);
+ make_cleanup_discard_minimal_symbols ();
/* Now that the executable file is positioned at symbol table,
process it and define symbols accordingly. */