aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 991c83a..586cdab 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -2746,7 +2746,7 @@ xcoff_initial_scan (objfile, mainline)
back_to = make_cleanup (really_free_pendings, 0);
init_minimal_symbol_collection ();
- make_cleanup ((make_cleanup_func) discard_minimal_symbols, 0);
+ make_cleanup_discard_minimal_symbols ();
/* Now that the symbol table data of the executable file are all in core,
process them and define symbols accordingly. */