summaryrefslogtreecommitdiff
path: root/devel/gdb/files/patch-gdb-i386bsd-nat.h
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.h
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
Notes
Notes: svn path=/head/; revision=264650
Diffstat (limited to 'devel/gdb/files/patch-gdb-i386bsd-nat.h')
-rw-r--r--devel/gdb/files/patch-gdb-i386bsd-nat.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/gdb/files/patch-gdb-i386bsd-nat.h b/devel/gdb/files/patch-gdb-i386bsd-nat.h
new file mode 100644
index 000000000000..caf5c54fa7a7
--- /dev/null
+++ b/devel/gdb/files/patch-gdb-i386bsd-nat.h
@@ -0,0 +1,15 @@
+--- gdb/i386bsd-nat.h.orig 2010-10-21 11:18:08.097659000 -0400
++++ gdb/i386bsd-nat.h 2010-10-21 11:20:49.341989000 -0400
+@@ -35,4 +35,12 @@
+
+ extern unsigned long i386bsd_dr_get_status (void);
+
++/* low level i386 register functions used in i386fbsd-nat.c. */
++
++extern void i386bsd_supply_gregset (struct regcache *regcache,
++ const void *gregs);
++
++extern void i386bsd_collect_gregset (const struct regcache *regcache,
++ void *gregs, int regnum);
++
+ #endif /* i386bsd-nat.h */