MIPS Linux signals

Michael Eager eager@eagerm.com
Mon May 21 18:06:00 GMT 2012


On 05/21/2012 10:36 AM, Pedro Alves wrote:
> On 05/21/2012 03:50 PM, Michael Eager wrote:

>> This appears to be only used in gdbserver, where, on MIPS, it will
>> return the wrong result.
>
> Why will it return the wrong result on MIPS/gdbserver?  The common/signals.c
> copy built into gdbserver will naturally be built with a MIPS headers, and
> should pick up the correct signal defines (SIGINT, etc.).

Yes, you are right.  Gdbserver will be built with the correct MIPS signal defs.

> So you do have the right fix, but the reason why nobody has tripped on this before is
> that this only affects cross core debugging, not live gdbserver debugging.

Thanks.


-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



More information about the Gdb-patches mailing list