Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb Fix i386
details: https://anonhg.NetBSD.org/src/rev/fdf1e519d95e
branches: trunk
changeset: 773018:fdf1e519d95e
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 25 03:25:02 2012 +0000
description:
Fix i386
diffstat:
external/gpl3/gdb/dist/gdb/i386bsd-nat.c | 4 ++--
external/gpl3/gdb/dist/gdb/i386bsd-nat.h | 6 ++++++
external/gpl3/gdb/dist/gdb/nbsd-thread.c | 1 +
3 files changed, 9 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r e2c6c82c5e81 -r fdf1e519d95e external/gpl3/gdb/dist/gdb/i386bsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/i386bsd-nat.c Wed Jan 25 02:04:35 2012 +0000
+++ b/external/gpl3/gdb/dist/gdb/i386bsd-nat.c Wed Jan 25 03:25:02 2012 +0000
@@ -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)
{
diff -r e2c6c82c5e81 -r fdf1e519d95e external/gpl3/gdb/dist/gdb/i386bsd-nat.h
--- a/external/gpl3/gdb/dist/gdb/i386bsd-nat.h Wed Jan 25 02:04:35 2012 +0000
+++ b/external/gpl3/gdb/dist/gdb/i386bsd-nat.h Wed Jan 25 03:25:02 2012 +0000
@@ -36,4 +36,10 @@
extern unsigned long i386bsd_dr_get_status (void);
+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 */
diff -r e2c6c82c5e81 -r fdf1e519d95e external/gpl3/gdb/dist/gdb/nbsd-thread.c
--- a/external/gpl3/gdb/dist/gdb/nbsd-thread.c Wed Jan 25 02:04:35 2012 +0000
+++ b/external/gpl3/gdb/dist/gdb/nbsd-thread.c Wed Jan 25 03:25:02 2012 +0000
@@ -1123,6 +1123,7 @@
{
nbsd_thread_callbacks.proc_read = nbsd_thread_proc_read;
nbsd_thread_callbacks.proc_write = nbsd_thread_proc_write;
+/*###1126 [cc] error: assignment from incompatible pointer type%%%*/
nbsd_thread_callbacks.proc_lookup = nbsd_thread_proc_lookup;
nbsd_thread_callbacks.proc_regsize = nbsd_thread_proc_regsize;
nbsd_thread_callbacks.proc_getregs = nbsd_thread_proc_getregs;
Home |
Main Index |
Thread Index |
Old Index