Module Name: src Committed By: christos Date: Wed Jan 25 03:25:02 UTC 2012
Modified Files: src/external/gpl3/gdb/dist/gdb: i386bsd-nat.c i386bsd-nat.h nbsd-thread.c Log Message: Fix i386 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdb/i386bsd-nat.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/i386bsd-nat.h cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gdb/dist/gdb/nbsd-thread.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gdb/dist/gdb/i386bsd-nat.c diff -u src/external/gpl3/gdb/dist/gdb/i386bsd-nat.c:1.2 src/external/gpl3/gdb/dist/gdb/i386bsd-nat.c:1.3 --- src/external/gpl3/gdb/dist/gdb/i386bsd-nat.c:1.2 Sun Sep 25 12:30:24 2011 +++ src/external/gpl3/gdb/dist/gdb/i386bsd-nat.c Tue Jan 24 22:25:02 2012 @@ -88,7 +88,7 @@ static int have_ptrace_xmmregs = -1; /* 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 @@ i386bsd_supply_gregset (struct regcache 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) { Index: src/external/gpl3/gdb/dist/gdb/i386bsd-nat.h diff -u src/external/gpl3/gdb/dist/gdb/i386bsd-nat.h:1.1.1.1 src/external/gpl3/gdb/dist/gdb/i386bsd-nat.h:1.2 --- src/external/gpl3/gdb/dist/gdb/i386bsd-nat.h:1.1.1.1 Sat Sep 24 16:10:46 2011 +++ src/external/gpl3/gdb/dist/gdb/i386bsd-nat.h Tue Jan 24 22:25:02 2012 @@ -36,4 +36,10 @@ extern void i386bsd_dr_reset_addr (int r 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 */ Index: src/external/gpl3/gdb/dist/gdb/nbsd-thread.c diff -u src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.5 src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.6 --- src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.5 Thu Oct 13 17:11:57 2011 +++ src/external/gpl3/gdb/dist/gdb/nbsd-thread.c Tue Jan 24 22:25:02 2012 @@ -1123,6 +1123,7 @@ init_nbsd_proc_callbacks (void) { 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;