From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27781 invoked by alias); 13 Jan 2002 21:13:03 -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 27741 invoked from network); 13 Jan 2002 21:13:01 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 13 Jan 2002 21:13:01 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16Prvn-0000Kk-00; Sun, 13 Jan 2002 16:12:43 -0500 Date: Sun, 13 Jan 2002 13:13:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Petr Ledvina , gdb-patches@sources.redhat.com Subject: Re: bug in gdb/target.c:target_signal_to_name Message-ID: <20020113161243.A1272@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Petr Ledvina , gdb-patches@sources.redhat.com References: <3C41F7AD.7040708@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C41F7AD.7040708@cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00361.txt.bz2 On Sun, Jan 13, 2002 at 04:10:05PM -0500, Andrew Cagney wrote: > --- 214,223 ---- > /* I think the code which prints this will always print it along with > the string, so no need to be verbose. */ > return "?"; > ! else if ((sig >= TARGET_SIGNAL_FIRST) && (sig <= TARGET_SIGNAL_LAST)) > ! return signals[sig].name; > ! else > ! return signals[sig].name; > } > > /* Given a name, return its signal. */ That's probably not what you meant to commit, since both cases are the same. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer