mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
gdb: update to 7.9.
This commit is contained in:
parent
8eee461934
commit
e3138a5c22
2 changed files with 2 additions and 66 deletions
|
@ -1,64 +0,0 @@
|
||||||
diff -u -r -N gdb-7.3.1-org//gdb/amd64-linux-nat.c gdb-7.3.1-patched//gdb/amd64-linux-nat.c
|
|
||||||
--- gdb-7.3.1-org//gdb/amd64-linux-nat.c 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ gdb-7.3.1-patched//gdb/amd64-linux-nat.c 2011-09-22 22:20:23.438841813 +0000
|
|
||||||
@@ -32,7 +32,7 @@
|
|
||||||
#include "elf/common.h"
|
|
||||||
#include <sys/uio.h>
|
|
||||||
#include <sys/ptrace.h>
|
|
||||||
-#include <sys/debugreg.h>
|
|
||||||
+#include "debugreg.h"
|
|
||||||
#include <sys/syscall.h>
|
|
||||||
#include <sys/procfs.h>
|
|
||||||
#include <asm/prctl.h>
|
|
||||||
diff -u -r -N gdb-7.3.1-org//gdb/debugreg.h gdb-7.3.1-patched//gdb/debugreg.h
|
|
||||||
--- gdb-7.3.1-org//gdb/debugreg.h 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ gdb-7.3.1-patched//gdb/debugreg.h 2011-09-22 22:20:01.381841813 +0000
|
|
||||||
@@ -0,0 +1,48 @@
|
|
||||||
+#ifndef SYS_DEBUGREG_H
|
|
||||||
+#define SYS_DEBUGREG_H
|
|
||||||
+
|
|
||||||
+#include <stdint.h>
|
|
||||||
+
|
|
||||||
+#define DR_FIRSTADDR 0
|
|
||||||
+#define DR_LASTADDR 3
|
|
||||||
+
|
|
||||||
+#define DR_STATUS 6
|
|
||||||
+#define DR_CONTROL 7
|
|
||||||
+
|
|
||||||
+#define DR_TRAP0 (0x1)
|
|
||||||
+#define DR_TRAP1 (0x2)
|
|
||||||
+#define DR_TRAP2 (0x4)
|
|
||||||
+#define DR_TRAP3 (0x8)
|
|
||||||
+
|
|
||||||
+#define DR_STEP (0x4000)
|
|
||||||
+#define DR_SWITCH (0x8000)
|
|
||||||
+
|
|
||||||
+#define DR_CONTROL_SHIFT 16
|
|
||||||
+#define DR_CONTROL_SIZE 4
|
|
||||||
+
|
|
||||||
+#define DR_RW_EXECUTE (0x0)
|
|
||||||
+#define DR_RW_WRITE (0x1)
|
|
||||||
+#define DR_RW_READ (0x3)
|
|
||||||
+
|
|
||||||
+#define DR_LEN_1 (0x0)
|
|
||||||
+#define DR_LEN_2 (0x4)
|
|
||||||
+#define DR_LEN_4 (0xC)
|
|
||||||
+#define DR_LEN_8 (0x8)
|
|
||||||
+
|
|
||||||
+#define DR_LOCAL_ENABLE_SHIFT 0
|
|
||||||
+#define DR_GLOBAL_ENABLE_SHIFT 1
|
|
||||||
+#define DR_ENABLE_SIZE 2
|
|
||||||
+
|
|
||||||
+#define DR_LOCAL_ENABLE_MASK (0x55)
|
|
||||||
+#define DR_GLOBAL_ENABLE_MASK (0xAA)
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+#if SIZE_MAX > 4294967295
|
|
||||||
+# define DR_CONTROL_RESERVED (0xFFFFFFFF0000FC00UL)
|
|
||||||
+#else
|
|
||||||
+# define DR_CONTROL_RESERVED (0x00FC00U)
|
|
||||||
+#endif
|
|
||||||
+#define DR_LOCAL_SLOWDOWN (0x100)
|
|
||||||
+#define DR_GLOBAL_SLOWDOWN (0x200)
|
|
||||||
+
|
|
||||||
+#endif
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'gdb'
|
# Template file for 'gdb'
|
||||||
pkgname=gdb
|
pkgname=gdb
|
||||||
version=7.8.2
|
version=7.9
|
||||||
revision=1
|
revision=1
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -15,7 +15,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gnu.org/software/gdb/"
|
homepage="http://www.gnu.org/software/gdb/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
distfiles="http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.xz"
|
distfiles="http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.xz"
|
||||||
checksum=605954d5747d5f08ea4b7f48e958d1ebbf39265e18f7f36738deeabb83744485
|
checksum=9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gdbserver static python"
|
build_options="gdbserver static python"
|
||||||
|
|
Loading…
Add table
Reference in a new issue