This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4] [nto] Setup signals.
- From: Aleksandar Ristovski <aristovski at qnx dot com>
- To: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 22 Oct 2015 10:32:51 -0400
- Subject: Re: [PATCH 4/4] [nto] Setup signals.
- Authentication-results: sourceware.org; auth=none
- Newsgroups: gmane.comp.gdb.patches
- References: <1444752074-878-1-git-send-email-aristovski at qnx dot com> <1444752074-878-5-git-send-email-aristovski at qnx dot com> <562122C5 dot 6040803 at redhat dot com>
On 15-10-16 12:16 PM, Pedro Alves wrote:
> On 10/13/2015 05:01 PM, Aleksandar Ristovski wrote:
>> Add new file with neutrino signal numerical values.
>>
>> * i386-nto-tdep.c (i386nto_init_abi): Setup new
>> nto_gdb_signal_from_target and nto_gdb_signal_to_target.
>> * nto-tdep.c (signals): New definition.
>> (nto_gdb_signal_to_target, nto_gdb_signal_from_target): New functions.
>> * nto-tdep.h (nto_gdb_signal_to_target, nto_gdb_signal_from_target):
>> New declarations.
>> * nto_signals.def: New file.
>> * include/gdb/signals.def (GDB_SIGNAL_SELECT): New gdb signal enum.
>> (GDB_SIGNAL_LAST): Bump numeric value up.
>
> What does this fix? I assume more than just adding the SIGSELECT signal?
>
I have had similar hack for a long time. The purpose was addressing core
signal translation, and more recently I figured I'd need it for
gdbserver. However, it is not needed for gdbserver at all, and I'm not
ready to submit patches for nto/core support, so dropping this patch.
Thank you,
Aleksandar Ristovski