This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [obish] -Wunused-function warnings
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 11 Jan 2004 21:05:07 -0500
- Subject: Re: [obish] -Wunused-function warnings
- References: <400194E8.10201@gnu.org>
On Sun, Jan 11, 2004 at 01:24:40PM -0500, Andrew Cagney wrote:
> src/gdb/arm-tdep.c:1196: warning: `arm_push_return_address' defined but not used
> src/gdb/arm-tdep.c:1205: warning: `arm_push_dummy_frame' defined but not used
> src/gdb/arm-tdep.c:1287: warning: `arm_fix_call_dummy' defined but not used
I'm not the ARM maintainer, but I was the last person to touch this.
I'm pretty sure I either rendered these obsolete or they already were
unnecessary, so they can probably go.
> src/gdb/breakpoint.c:6009: warning: `ep_parse_optional_filename' defined but not used
Did you test on a target without SOLIB_ADD? These are conditionally
used. Things to do: finish multi-arching solibs...
> src/gdb/infrun.c:65: warning: `set_follow_fork_mode_command' declared `static' but never defined
Yeah, dead. Probably since add_set_enum_cmd.
> src/gdb/mips-tdep.c:661: warning: `mips_convert_register_p' defined but not used
> src/gdb/mips-tdep.c:672: warning: `mips_register_to_value' defined but not used
> src/gdb/mips-tdep.c:680: warning: `mips_value_to_register' defined but not used
Ya!
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer