aboutsummaryrefslogtreecommitdiffstats
path: root/package/gdb
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-10-12 14:42:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-10-12 14:42:32 +0000
commit1eb14badf2bcac84c3fe3b7131f4866b29fe6eec (patch)
tree0313f8ad4f2633c5a97749c3eebf2fea8dffab4a /package/gdb
parenta72cadbbb4e7586289de69491a4298a7aac9cc8a (diff)
downloadupstream-1eb14badf2bcac84c3fe3b7131f4866b29fe6eec.tar.gz
upstream-1eb14badf2bcac84c3fe3b7131f4866b29fe6eec.tar.bz2
upstream-1eb14badf2bcac84c3fe3b7131f4866b29fe6eec.zip
gdb: fix build with recent eglibc.
struct siginfo is deprecated in favor of siginfo_t. SVN-Revision: 33737
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/patches/001-siginfo_t.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gdb/patches/001-siginfo_t.patch b/package/gdb/patches/001-siginfo_t.patch
new file mode 100644
index 0000000000..33aacd8701
--- /dev/null
+++ b/package/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,