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 m68k, ppc, sparc, vax



details:   https://anonhg.NetBSD.org/src/rev/de8f1b701ef2
branches:  trunk
changeset: 946681:de8f1b701ef2
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 06 03:29:03 2020 +0000

description:
fix m68k, ppc, sparc, vax

diffstat:

 external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c |  1 -
 external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c |  3 ---
 external/gpl3/gdb/dist/gdb/sparc-tdep.h   |  3 ---
 external/gpl3/gdb/dist/gdb/vax-bsd-nat.c  |  3 +--
 4 files changed, 1 insertions(+), 9 deletions(-)

diffs (64 lines):

diff -r e245f56eb737 -r de8f1b701ef2 external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c Sun Dec 06 03:28:25 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/m68k-bsd-nat.c Sun Dec 06 03:29:03 2020 +0000
@@ -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"
diff -r e245f56eb737 -r de8f1b701ef2 external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c Sun Dec 06 03:28:25 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/ppc-nbsd-nat.c Sun Dec 06 03:29:03 2020 +0000
@@ -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"
diff -r e245f56eb737 -r de8f1b701ef2 external/gpl3/gdb/dist/gdb/sparc-tdep.h
--- a/external/gpl3/gdb/dist/gdb/sparc-tdep.h   Sun Dec 06 03:28:25 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/sparc-tdep.h   Sun Dec 06 03:29:03 2020 +0000
@@ -255,9 +255,6 @@
 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);
 
diff -r e245f56eb737 -r de8f1b701ef2 external/gpl3/gdb/dist/gdb/vax-bsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/vax-bsd-nat.c  Sun Dec 06 03:28:25 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/vax-bsd-nat.c  Sun Dec 06 03:29:03 2020 +0000
@@ -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 @@
 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++)



Home | Main Index | Thread Index | Old Index