diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-08 18:11:49 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-09 07:39:32 +0100 |
commit | b8ae02c5ff75edb638ab67e487227973bc34fb2f (patch) | |
tree | 86e7f7258796aa13f95969e00312884bf39e2299 /package/gdb/patches/7.8.2/patch-gdb_common_signals_c | |
parent | d1c7e084c6ac11bc8d45f24ce6e3a8b659f902b2 (diff) |
add support for gdbserver on AVR32 devices
Happily I got the old gdb tarball from buildroot source
repository. (thx Yann)
Mirror the package and make it compile for native gdbserver.
Patches need to be shuffled to version directories.
Diffstat (limited to 'package/gdb/patches/7.8.2/patch-gdb_common_signals_c')
-rw-r--r-- | package/gdb/patches/7.8.2/patch-gdb_common_signals_c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gdb/patches/7.8.2/patch-gdb_common_signals_c b/package/gdb/patches/7.8.2/patch-gdb_common_signals_c new file mode 100644 index 000000000..114f5b867 --- /dev/null +++ b/package/gdb/patches/7.8.2/patch-gdb_common_signals_c @@ -0,0 +1,13 @@ +* added from https://github.com/rofl0r/sabotage + +--- gdb-7.5.orig/gdb/common/signals.c 2012-05-24 18:51:37.000000000 +0200 ++++ gdb-7.5/gdb/common/signals.c 2012-10-01 14:44:23.000000000 +0200 +@@ -346,6 +346,8 @@ gdb_signal_from_host (int hostsig) + else if (64 <= hostsig && hostsig <= 127) + return (enum gdb_signal) + (hostsig - 64 + (int) GDB_SIGNAL_REALTIME_64); ++ else if (hostsig == 128) ++ return GDB_SIGNAL_UNKNOWN; + else + error (_("GDB bug: target.c (gdb_signal_from_host): " + "unrecognized real-time signal")); |