Module Name: src Committed By: christos Date: Sun Dec 6 03:29:03 UTC 2020
Modified Files: src/external/gpl3/gdb/dist/gdb: m68k-bsd-nat.c ppc-nbsd-nat.c sparc-tdep.h vax-bsd-nat.c Log Message: fix m68k, ppc, sparc, vax To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c \ src/external/gpl3/gdb/dist/gdb/vax-bsd-nat.c cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/sparc-tdep.h 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/m68k-bsd-nat.c diff -u src/external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c:1.8 src/external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c:1.9 --- src/external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c:1.8 Mon Sep 14 22:05:18 2020 +++ src/external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c Sat Dec 5 22:29:03 2020 @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* We define this to get types like register_t. */ -#define _KERNTYPES #include "defs.h" #include "gdbcore.h" #include "inferior.h" Index: src/external/gpl3/gdb/dist/gdb/vax-bsd-nat.c diff -u src/external/gpl3/gdb/dist/gdb/vax-bsd-nat.c:1.8 src/external/gpl3/gdb/dist/gdb/vax-bsd-nat.c:1.9 --- src/external/gpl3/gdb/dist/gdb/vax-bsd-nat.c:1.8 Mon Sep 14 22:05:19 2020 +++ src/external/gpl3/gdb/dist/gdb/vax-bsd-nat.c Sat Dec 5 22:29:03 2020 @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* We define this to get types like register_t. */ -#define _KERNTYPES #include "defs.h" #include "inferior.h" #include "regcache.h" @@ -59,7 +58,7 @@ static void vaxbsd_collect_gregset (const struct regcache *regcache, void *gregs, int regnum) { - gdb_byte *regs = (void *)gregs; + gdb_byte *regs = (gdb_byte *)gregs; int i; for (i = 0; i <= VAX_NUM_REGS; i++) Index: src/external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c diff -u src/external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c:1.10 src/external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c:1.11 --- src/external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c:1.10 Mon Sep 14 22:05:18 2020 +++ src/external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c Sat Dec 5 22:29:03 2020 @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* We define this to get types like register_t. */ -#define _KERNTYPES #include "defs.h" #include <sys/types.h> @@ -33,8 +32,6 @@ #include "inferior.h" #include "regcache.h" -#include "common/gdb_assert.h" - #include "nbsd-nat.h" #include "ppc-tdep.h" #include "ppc-nbsd-tdep.h" Index: src/external/gpl3/gdb/dist/gdb/sparc-tdep.h diff -u src/external/gpl3/gdb/dist/gdb/sparc-tdep.h:1.4 src/external/gpl3/gdb/dist/gdb/sparc-tdep.h:1.5 --- src/external/gpl3/gdb/dist/gdb/sparc-tdep.h:1.4 Mon Sep 14 22:05:19 2020 +++ src/external/gpl3/gdb/dist/gdb/sparc-tdep.h Sat Dec 5 22:29:03 2020 @@ -255,9 +255,6 @@ extern const struct sparc_gregmap sparc3 extern CORE_ADDR sparcnbsd_step_trap (struct frame_info *frame, unsigned long insn); -extern void sparc32nbsd_init_abi (struct gdbarch_info info, - struct gdbarch *gdbarch); - extern struct trad_frame_saved_reg * sparc32nbsd_sigcontext_saved_regs (struct frame_info *next_frame);