From ade713343b20094ef59cfd831d3102f58ca4f8f6 Mon Sep 17 00:00:00 2001 From: Steven Kreuzer Date: Tue, 16 Nov 2010 20:39:48 +0000 Subject: 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 , swell.k@gmail.com --- devel/gdb/files/patch-gdb-i386bsd-nat.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devel/gdb/files/patch-gdb-i386bsd-nat.h (limited to 'devel/gdb/files/patch-gdb-i386bsd-nat.h') 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 */ -- cgit v1.2.3