This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MIPS Linux signals
On Mon, 21 May 2012, Michael Eager wrote:
> > BTW, I wouldn't bother with gdbarch_target_signal_to_host. Nothing ever
> > calls it.
>
> I hadn't noticed that. I thought that it was called to translate
> the signal number when sent to the target. Instead, target_signal_to_host()
> is called.
Shall we drop the unused gdbarch API so as to avoid further confusion
then? Shouldn't target_signal_from_host be renamed to something closer to
what it really does, e.g. signal_from_target? It's not that host signals
really ever matter unless host == target in which case they're still
target signals too (this observation applies to gdbserver as well).
Maciej