This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MIPS Linux signals
- From: Pedro Alves <palves at redhat dot com>
- To: Michael Eager <eager at eagerm dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 21 May 2012 22:34:56 +0100
- Subject: Re: MIPS Linux signals
- References: <4FB850CA.7090701@eagerm.com>
On 05/20/2012 03:02 AM, Michael Eager wrote:
> +static int
> +mips_target_signal_to_host (struct gdbarch *gdbarch, enum target_signal signo)
> +{
> + printf ("MJE: mips_target_signal_to_host (<gdbarch>, signo=%d)\n", signo);
> +
> + switch (signo) {
> + case TARGET_SIGNAL_0: return 0;
> + case TARGET_SIGNAL_HUP: return MIPS_SIGHUP;
BTW, I wouldn't bother with gdbarch_target_signal_to_host. Nothing ever calls it.
--
Pedro Alves