From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24168 invoked by alias); 28 Feb 2002 03:11:49 -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 24101 invoked from network); 28 Feb 2002 03:11:48 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 28 Feb 2002 03:11:48 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16gGyz-00081n-00 for ; Wed, 27 Feb 2002 22:11:49 -0500 Date: Wed, 27 Feb 2002 19:11:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: [rfa] Always define all of TARGET_SIGNAL_* Message-ID: <20020227221148.A30753@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00730.txt.bz2 I've been meaning to fix this since I noticed it last summer. These numbers are part of the remote protocol. While I think the last ones are never sent over the wire, they could be (with the exception of TARGET_SIGNAL_LAST which is -not- part of the protocol, as I understand it). Having them jump around is bad. OK? -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer 2002-02-27 Daniel Jacobowitz * defs.h (enum target_signal): Do not let conditional compilation affect signal numbers. Index: defs.h =================================================================== RCS file: /cvs/src/src/gdb/defs.h,v retrieving revision 1.81 diff -u -p -r1.81 defs.h --- defs.h 2002/02/26 03:29:55 1.81 +++ defs.h 2002/02/28 03:09:09 @@ -404,7 +404,6 @@ enum target_signal TARGET_SIGNAL_REALTIME_126, TARGET_SIGNAL_REALTIME_127, -#if defined(MACH) || defined(__MACH__) /* Mach exceptions */ TARGET_EXC_BAD_ACCESS, TARGET_EXC_BAD_INSTRUCTION, @@ -412,7 +411,7 @@ enum target_signal TARGET_EXC_EMULATION, TARGET_EXC_SOFTWARE, TARGET_EXC_BREAKPOINT, -#endif + TARGET_SIGNAL_INFO, /* Some signal we don't know about. */