Add support for FreeBSD/i386 ELF.
[deliverable/binutils-gdb.git] / gdb / solib.c
index 1094277d517dcaa63ddecf6d40b9e930997de12c..a0af4b615a35bbd4c350fb1f5d974aa7ff302ce1 100644 (file)
@@ -445,7 +445,7 @@ solib_add_common_symbols (rtc_symp)
     }
 
   init_minimal_symbol_collection ();
-  make_cleanup ((make_cleanup_func) discard_minimal_symbols, 0);
+  make_cleanup_discard_minimal_symbols ();
 
   while (rtc_symp)
     {
@@ -984,7 +984,7 @@ open_symbol_file_object (from_ttyp)
       return 0;
     }
 
-  make_cleanup ((make_cleanup_func) free, (void *) filename);
+  make_cleanup (free, filename);
   /* Have a pathname: read the symbol file.  */
   symbol_file_command (filename, *from_ttyp);
 
This page took 0.02821 seconds and 4 git commands to generate.