freebsd-ports/devel/gdb/files/patch-gdb-i386bsd-nat.h
Steven Kreuzer ade713343b 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
2010-11-16 20:39:48 +00:00

15 lines
495 B
C

--- 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 */