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.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devel/gdb/files/patch-gdb-i386bsd-nat.c (limited to 'devel/gdb/files/patch-gdb-i386bsd-nat.c') 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) + { -- cgit v1.2.3