From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17884 invoked by alias); 12 Jan 2004 02:05:08 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17877 invoked from network); 12 Jan 2004 02:05:07 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 12 Jan 2004 02:05:07 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AfrRz-0003Oz-8j for ; Sun, 11 Jan 2004 21:05:07 -0500 Date: Mon, 12 Jan 2004 02:05:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [obish] -Wunused-function warnings Message-ID: <20040112020507.GA8568@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <400194E8.10201@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <400194E8.10201@gnu.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-01/txt/msg00307.txt.bz2 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