This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS Linux signals


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]