From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24635 invoked by alias); 21 May 2012 18:06:17 -0000 Received: (qmail 24621 invoked by uid 22791); 21 May 2012 18:06:16 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from shell4.bayarea.net (HELO shell4.bayarea.net) (209.128.82.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 May 2012 18:06:03 +0000 Received: (qmail 30024 invoked from network); 21 May 2012 11:06:02 -0700 Received: from c-76-102-3-160.hsd1.ca.comcast.net (HELO redwood.eagercon.com) (76.102.3.160) by shell4.bayarea.net with SMTP; 21 May 2012 11:06:02 -0700 Message-ID: <4FBA840A.3080406@eagerm.com> Date: Mon, 21 May 2012 18:06:00 -0000 From: Michael Eager User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Pedro Alves CC: "gdb-patches@sourceware.org" Subject: Re: MIPS Linux signals References: <4FB850CA.7090701@eagerm.com> <4FBA2111.8010801@redhat.com> <4FBA5651.4070909@eagerm.com> <4FBA7D30.50500@redhat.com> In-Reply-To: <4FBA7D30.50500@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00781.txt.bz2 On 05/21/2012 10:36 AM, Pedro Alves wrote: > On 05/21/2012 03:50 PM, Michael Eager wrote: >> This appears to be only used in gdbserver, where, on MIPS, it will >> return the wrong result. > > Why will it return the wrong result on MIPS/gdbserver? The common/signals.c > copy built into gdbserver will naturally be built with a MIPS headers, and > should pick up the correct signal defines (SIGINT, etc.). Yes, you are right. Gdbserver will be built with the correct MIPS signal defs. > So you do have the right fix, but the reason why nobody has tripped on this before is > that this only affects cross core debugging, not live gdbserver debugging. Thanks. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077