patch-gdb_common_signals_c 549 B

12345678910111213
  1. * added from https://github.com/rofl0r/sabotage
  2. --- gdb-7.5.orig/gdb/common/signals.c 2012-05-24 18:51:37.000000000 +0200
  3. +++ gdb-7.5/gdb/common/signals.c 2012-10-01 14:44:23.000000000 +0200
  4. @@ -346,6 +346,8 @@ gdb_signal_from_host (int hostsig)
  5. else if (64 <= hostsig && hostsig <= 127)
  6. return (enum gdb_signal)
  7. (hostsig - 64 + (int) GDB_SIGNAL_REALTIME_64);
  8. + else if (hostsig == 128)
  9. + return GDB_SIGNAL_UNKNOWN;
  10. else
  11. error (_("GDB bug: target.c (gdb_signal_from_host): "
  12. "unrecognized real-time signal"));