> Andrew Cagney writes: > > Hello, > > > > Attached is a list of all the -Wunused-function warnings that I'm > > seeing. Since all these functions are unreachable (i.e., dead code), I > > think their removal is pretty obvious. > > > src/gdb/dwarf2read.c:615: warning: `dwarf2_unsupported_at_frame_base_complaint' defined but not used > > yes > > > src/gdb/sh64-tdep.c:835: warning: `sh64_get_gdb_regnum' defined but not used > > yes > > > src/gdb/stabsread.c:199: warning: `lrs_general_complaint' defined but not used > > yes, leftover from live range splitting cleanup. > > > src/gdb/stabsread.c:540: warning: `ref_search_value' defined but not used > > ditto > > > src/gdb/stabsread.c:92: warning: `get_substring' declared `static' but never defined > > leftover from cfront cleanup function was deleted but proto is still there. > > > src/gdb/symfile.c:208: warning: `compare_symbols' defined but not used > > leftover from David's cleanups. > > So all ok. Ya! I've committed the attached. Andrew