X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fdevel%2Fgdb%2Fpatches%2F001-siginfo_t.patch;fp=package%2Fdevel%2Fgdb%2Fpatches%2F001-siginfo_t.patch;h=33aacd870199059d9b39162f548d2fd676f84545;hp=0000000000000000000000000000000000000000;hb=bb96890d836cff51e19ec3e7e37d1dcbdbdfa4e5;hpb=2d5a1e171625305bd12b3215a8bc0505acb8aa3a diff --git a/package/devel/gdb/patches/001-siginfo_t.patch b/package/devel/gdb/patches/001-siginfo_t.patch new file mode 100644 index 0000000000..33aacd8701 --- /dev/null +++ b/package/devel/gdb/patches/001-siginfo_t.patch @@ -0,0 +1,12 @@ +diff -urN gdb-6.8/gdb/linux-nat.h gdb-6.8a.new/gdb/linux-nat.h +--- gdb-6.8/gdb/linux-nat.h 2008-01-23 12:26:28.000000000 +0100 ++++ gdb-6.8a.new/gdb/linux-nat.h 2012-09-19 16:37:10.468916796 +0200 +@@ -60,7 +60,7 @@ + + /* Non-zero si_signo if this LWP stopped with a trap. si_addr may + be the address of a hardware watchpoint. */ +- struct siginfo siginfo; ++ siginfo_t siginfo; + + /* If WAITSTATUS->KIND != TARGET_WAITKIND_SPURIOUS, the waitstatus + for this LWP's last event. This may correspond to STATUS above,