This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

insight still uses make_cleanup_func


Isn't this a problem, Andrew?

% grep make_cleanup_func **/*.[ch]
gdbtk/generic/gdbtk-cmds.c:  old_chain = make_cleanup ((make_cleanup_func) free_current_contents, &expr);
gdbtk/generic/gdbtk-cmds.c:  old_cleanups = make_cleanup ((make_cleanup_func) bfd_close, loadfile_bfd);
gdbtk/generic/gdbtk-cmds.c:    old_chain = make_cleanup ((make_cleanup_func) free_search_symbols, ss);
gdbtk/generic/gdbtk.c:  old_chain = make_cleanup ((make_cleanup_func) cleanup_init, 0);

Today's build of gdb is failing for me:

i686-pc-cygwin-gcc -c -O2    -I. -I/cygnus/netrel/src/gdb-20000608/gdb -I/cygnus/netrel/src/gdb-20000608/gdb/config -DHAVE_CONFIG_H -I/cygnus/netrel/src/gdb-20000608/gdb/../include/opcode -I/cygnus/netrel/src/gdb-20000608/gdb/../readline/.. -I../bfd -I/cygnus/netrel/src/gdb-20000608/gdb/../bfd  -I/cygnus/netrel/src/gdb-20000608/gdb/../include -I../intl -I/cygnus/netrel/src/gdb-20000608/gdb/../intl -DGDBTK -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  -I/cygnus/netrel/src/gdb-20000608/gdb/../libgui/src  -I/cygnus/netrel/src/gdb-20000608/itcl/itcl/generic \
        -I/cygnus/netrel/src/gdb-20000608/itcl/itk/generic -I/cygnus/netrel/src/gdb-20000608/tix/generic \
-I/cygnus/netrel/src/gdb-20000608/tcl/generic -I/cygnus/netrel/src/gdb-20000608/tk/generic -I/cygnus/netrel/src/gdb-20000608/tk/generic -I/cygnus/netrel/src/gdb-20000608/tk/xlib -I/cygnus/netrel/src/gdb-20000608/tk/xlib \
        /cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c -DGDBTK_LIBRARY=\"/usr/share/gdbtcl\"
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c: In function `close_bfds':
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c:180: warning: implicit declaration of function `bfd_cache_close'
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c: In function `gdbtk_init':
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c:374: `make_cleanup_func' undeclared (first use in this function)
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c:374: (Each undeclared identifier is reported only once
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c:374: for each function it appears in.)
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c:374: parse error before `cleanup_init'
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c:360: warning: `old_chain' might be used uninitialized in this function
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c: In function `_initialize_gdbtk':
/cygnus/netrel/src/gdb-20000608/gdb/gdbtk/generic/gdbtk.c:604: warning: implicit declaration of function `cygwin32_attach_handle_to_

-- 
cgf@cygnus.com                        Cygnus Solutions, a Red Hat company
http://sourceware.cygnus.com/         http://www.redhat.com/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]