ports/devel/gdb/files/patch-gdb-i386bsd-nat.c
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

20 lines
548 B
C

--- 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)
{