On 06/01/2012 01:53 PM, Maciej W. Rozycki wrote: > Hi Michael, > >> This patch adds a target function to translate MIPS Linux signals >> to GDB internal signal numbers. >> >> 2012-06-01 Michael Eager >> >> * mips-linux-tdep.c (mips_gdb_signal_from_target): New >> * mips-linux-tdep.h (mips_signals): New > > Thanks, please make a unified diff (`diff -up') next time. Further notes > below. Revised patch attached. Some of the awkward code in translating REALTIME signals is due to the fact that the GDB_SIGNAL_REALTIME block is not contiguous. I recast the section of code copied from signals.c in terms of MIPS_SIGRTMIN & MIPS_SIGRTMAX, but it isn't clear to me that this is an improvement, since it is now different from the similar code in signals.c. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077