From 11cf87416416e13eff634a70b4954fe6a3912720 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 9 Nov 1999 01:23:30 +0000 Subject: import gdb-1999-11-08 snapshot --- gdb/symmisc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/symmisc.c') diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 2bf70c2..dbf64f7 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -543,7 +543,7 @@ Arguments missing: an output file name and an optional symbol file name"); outfile = gdb_fopen (filename, FOPEN_WT); if (outfile == 0) perror_with_name (filename); - make_cleanup ((make_cleanup_func) gdb_fclose, (char *) &outfile); + make_cleanup_gdb_file_delete (outfile); immediate_quit++; ALL_SYMTABS (objfile, s) @@ -780,7 +780,7 @@ maintenance_print_psymbols (args, from_tty) outfile = gdb_fopen (filename, FOPEN_WT); if (outfile == 0) perror_with_name (filename); - make_cleanup ((make_cleanup_func) gdb_fclose, &outfile); + make_cleanup_gdb_file_delete (outfile); immediate_quit++; ALL_PSYMTABS (objfile, ps) @@ -928,7 +928,7 @@ maintenance_print_msymbols (args, from_tty) outfile = gdb_fopen (filename, FOPEN_WT); if (outfile == 0) perror_with_name (filename); - make_cleanup ((make_cleanup_func) gdb_fclose, &outfile); + make_cleanup_gdb_file_delete (outfile); immediate_quit++; ALL_OBJFILES (objfile) -- cgit v1.1