mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:11:46 +02:00
[package] gdb: fix build with recent eglibc.
struct siginfo is deprecated in favor of siginfo_t. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33737 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a761a9b382
commit
83743f9e5c
12
package/gdb/patches/001-siginfo_t.patch
Normal file
12
package/gdb/patches/001-siginfo_t.patch
Normal file
@ -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,
|
Loading…
Reference in New Issue
Block a user