summaryrefslogtreecommitdiff
path: root/devel/gdb/files/patch-gdb-i386bsd-nat.c
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2010-11-16 20:39:48 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2010-11-16 20:39:48 +0000
commitade713343b20094ef59cfd831d3102f58ca4f8f6 (patch)
treea57bc51fcd78d5afef68927cd563c9988bd2601d /devel/gdb/files/patch-gdb-i386bsd-nat.c
parentAdd fix for vmware-user-suid-wrapper failes to load vmblock.ko (diff)
GDB is a source-level debugger for Ada, C, C++, Objective-C, Pascal and
many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. This version of gdb has been modified by jhb@ to recognize freebsd threads Reviewed by: John Baldwin <jhb@FreeBSD.org>, swell.k@gmail.com
Diffstat (limited to 'devel/gdb/files/patch-gdb-i386bsd-nat.c')
-rw-r--r--devel/gdb/files/patch-gdb-i386bsd-nat.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/gdb/files/patch-gdb-i386bsd-nat.c b/devel/gdb/files/patch-gdb-i386bsd-nat.c
new file mode 100644
index 000000000000..979b34715320
--- /dev/null
+++ b/devel/gdb/files/patch-gdb-i386bsd-nat.c
@@ -0,0 +1,20 @@
+--- gdb/i386bsd-nat.c.orig 2010-10-21 11:18:03.171107000 -0400
++++ gdb/i386bsd-nat.c 2010-10-21 11:18:18.849642000 -0400
+@@ -88,7 +88,7 @@
+
+ /* Supply the general-purpose registers in GREGS, to REGCACHE. */
+
+-static void
++void
+ i386bsd_supply_gregset (struct regcache *regcache, const void *gregs)
+ {
+ const char *regs = gregs;
+@@ -107,7 +107,7 @@
+ GREGS. If REGNUM is -1, collect and store all appropriate
+ registers. */
+
+-static void
++void
+ i386bsd_collect_gregset (const struct regcache *regcache,
+ void *gregs, int regnum)
+ {