crash: update to 7.1.1.
This commit is contained in:
parent
23f98f42a7
commit
8dd145f3d0
2 changed files with 33 additions and 3 deletions
30
srcpkgs/crash/files/gdb-linux_nat.patch
Normal file
30
srcpkgs/crash/files/gdb-linux_nat.patch
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
the first chunk fixes build errors,
|
||||||
|
the non_stop part below fixes thread debugging being available
|
||||||
|
by default without setting any breakpoints or usage of libthread_db.
|
||||||
|
|
||||||
|
--- gdb-7.4.org/gdb/linux-nat.c 2013-08-10 05:24:24.651000003 +0000
|
||||||
|
+++ gdb-7.4/gdb/linux-nat.c 2013-08-10 05:25:50.966000003 +0000
|
||||||
|
@@ -71,6 +71,14 @@
|
||||||
|
# endif
|
||||||
|
#endif /* HAVE_PERSONALITY */
|
||||||
|
|
||||||
|
+#ifndef __SIGRTMIN
|
||||||
|
+#define __SIGRTMIN SIGRTMIN
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#ifndef W_STOPCODE
|
||||||
|
+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
/* This comment documents high-level logic of this file.
|
||||||
|
|
||||||
|
Waiting for events in sync mode
|
||||||
|
@@ -2265,7 +2273,7 @@
|
||||||
|
status = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (non_stop)
|
||||||
|
+ if (1)
|
||||||
|
{
|
||||||
|
/* Add the new thread to GDB's lists as soon as possible
|
||||||
|
so that:
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'crash'
|
# Template file for 'crash'
|
||||||
pkgname=crash
|
pkgname=crash
|
||||||
version=7.1.0
|
version=7.1.1
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
makedepends="ncurses-devel zlib-devel lzo-devel"
|
makedepends="ncurses-devel zlib-devel lzo-devel"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://people.redhat.com/anderson/"
|
homepage="http://people.redhat.com/anderson/"
|
||||||
distfiles="http://people.redhat.com/anderson/${pkgname}-${version}.tar.gz"
|
distfiles="http://people.redhat.com/anderson/${pkgname}-${version}.tar.gz"
|
||||||
checksum=12e17267985ad1339b5da931143d4997fa4dafb82027d5664d4b7826175a21ec
|
checksum=ff5d7a2ecc7bc675e1cd08d3460dd2c6998ef13fb222d86cd10905ade2f2f116
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
|
Loading…
Reference in a new issue