From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16286 invoked by alias); 15 Jan 2004 18:46:09 -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 16216 invoked from network); 15 Jan 2004 18:46:05 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 15 Jan 2004 18:46:05 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 23C321A440D; Thu, 15 Jan 2004 13:44:20 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16390.57220.51774.395649@localhost.redhat.com> Date: Thu, 15 Jan 2004 18:46:00 -0000 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [obish] -Wunused-function warnings In-Reply-To: <400194E8.10201@gnu.org> References: <400194E8.10201@gnu.org> X-SW-Source: 2004-01/txt/msg00389.txt.bz2 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. elena