From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16886 invoked by alias); 14 Jun 2013 20:36:08 -0000 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 Received: (qmail 16839 invoked by uid 89); 14 Jun 2013 20:36:02 -0000 X-Spam-SWARE-Status: No, score=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 14 Jun 2013 20:36:01 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5EKZuT9002156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Jun 2013 16:35:56 -0400 Received: from psique (ovpn-113-133.phx2.redhat.com [10.3.113.133]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5EKZsM6006414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 14 Jun 2013 16:35:55 -0400 From: Sergio Durigan Junior To: Pedro Alves Cc: Pierre Muller , "'GDB Patches'" Subject: Re: [RFC/PATCH] Add new internal variable $_signo References: <002801ce68dd$845cd2e0$8d1678a0$@muller@ics-cnrs.unistra.fr> <51BB7B58.9030007@redhat.com> X-URL: http://www.redhat.com Date: Sat, 15 Jun 2013 06:46:00 -0000 In-Reply-To: <51BB7B58.9030007@redhat.com> (Pedro Alves's message of "Fri, 14 Jun 2013 21:21:44 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-06/txt/msg00343.txt.bz2 On Friday, June 14 2013, Pedro Alves wrote: > gdb_signal_to_host is the fallback (and having a fallback is sort of a > hack). The right signal number is the target's not the host's. We > have gdbarch_gdb_signal_from_target for the opposite direction, but not > gdbarch_gdb_signal_to_target... Having to bake the target OS's signal > numbers into GDB is a bit unfortunate, though we could get around it > at some point if we wanted by extending the RSP, and/or adding a python > hook. I was looking for a target variant but found none. I'm not sure what you mean with your comment. Are you suggesting that I take care of this as well? In the meantime, I will leave the code as-is, i.e., without doing any kind of conversion on infrun.c -- Sergio