mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
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
20 lines
548 B
C
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)
|
|
{
|