aboutsummaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>1999-02-02 23:53:54 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>1999-02-02 23:53:54 +0000
commit17c9273aa103d06d24ff173475f7e31448216043 (patch)
tree16ef98a69ee6d0644df6baaf28478a9ff0e0e34e /gdb/somread.c
parent64381ab4ee3428a297f88996415a365c3d6badc6 (diff)
downloadgdb-17c9273aa103d06d24ff173475f7e31448216043.zip
gdb-17c9273aa103d06d24ff173475f7e31448216043.tar.gz
gdb-17c9273aa103d06d24ff173475f7e31448216043.tar.bz2
Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg passed to make_cleanup to the correct type. (hpread_quick_traverse): Change fifth arg to call to hpread_end_psymtab to be 0. Compare CURR_MODULE_END to 0 rather than NULL. Get rid of ifdef'ed out code. (scan_procs): Get rid of ifdef'ed out code. * somread.c (som_symfile_read): Coerce first argument passed to make_cleanup to the correct type.
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 19e3ff1..c03abd0 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -366,7 +366,7 @@ som_symfile_read (objfile, section_offsets, mainline)
do_pxdb (symfile_bfd_open (objfile->name));
init_minimal_symbol_collection ();
- back_to = make_cleanup (discard_minimal_symbols, 0);
+ back_to = make_cleanup ((make_cleanup_func) discard_minimal_symbols, 0);
/* Read in the import list and the export list. Currently
the export list isn't used; the import list is used in