Re: MIPS Linux signals

Maciej W. Rozycki
2012-05-21T22:48:46Z

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