Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb fix sh3, regen some more



details:   https://anonhg.NetBSD.org/src/rev/d9b458d3c7ee
branches:  trunk
changeset: 946683:d9b458d3c7ee
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 06 04:08:51 2020 +0000

description:
fix sh3, regen some more

diffstat:

 external/gpl3/gdb/dist/gdb/sh-nbsd-nat.c                             |   7 +-
 external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c                            |   2 -
 external/gpl3/gdb/lib/libbfd/arch/m68000/targmatch.h                 |  33 +---------
 external/gpl3/gdb/lib/libbfd/arch/m68k/targmatch.h                   |  33 +---------
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h              |   4 +-
 external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h               |  33 +---------
 external/gpl3/gdb/lib/libbfd/arch/mips64el/targmatch.h               |  33 +---------
 external/gpl3/gdb/lib/libbfd/arch/mipsel/targmatch.h                 |  33 +---------
 external/gpl3/gdb/lib/libbfd/arch/sh3eb/targmatch.h                  |  33 +---------
 external/gpl3/gdb/lib/libbfd/arch/sparc/targmatch.h                  |  33 +---------
 external/gpl3/gdb/lib/libbfd/arch/sparc64/bfd_stdint.h               |   4 +-
 external/gpl3/gdb/lib/libbfd/arch/sparc64/targmatch.h                |  33 +---------
 external/gpl3/gdb/lib/libbfd/arch/vax/targmatch.h                    |  33 +---------
 external/gpl3/gdb/lib/libdecnumber/arch/mips64eb/gstdint.h           |   4 +-
 external/gpl3/gdb/lib/libdecnumber/arch/sparc64/gstdint.h            |   4 +-
 external/gpl3/gdb/lib/libgdb/Makefile                                |   8 ++-
 external/gpl3/gdb/lib/libgdb/arch/m68000/config.h                    |   4 +-
 external/gpl3/gdb/lib/libgdb/arch/m68k/config.h                      |   4 +-
 external/gpl3/gdb/lib/libgdb/arch/mips64eb/config.h                  |   6 +-
 external/gpl3/gdb/lib/libgdb/arch/mipsel/config.h                    |   4 +-
 external/gpl3/gdb/lib/libgdb/arch/sparc/config.h                     |   4 +-
 external/gpl3/gdb/lib/libgdb/arch/sparc64/config.h                   |  16 ++--
 external/gpl3/gdb/lib/libgdb/arch/sparc64/defs.mk                    |   6 +-
 external/gpl3/gdb/lib/libgdb/arch/sparc64/init.c                     |  16 +----
 external/gpl3/gdb/lib/libgdbsupport/arch/sparc64/gdbsupport/config.h |   6 +-
 external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/config.h          |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/unistd.h   |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/config.h            |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/unistd.h     |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/config.h        |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/unistd.h |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/config.h          |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/unistd.h   |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/config.h           |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/unistd.h    |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/sparc64/defs.mk                 |   4 +-
 external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/config.h         |   6 +-
 external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/unistd.h  |   4 +-
 38 files changed, 99 insertions(+), 351 deletions(-)

diffs (truncated from 1182 to 300 lines):

diff -r 609779fbdfce -r d9b458d3c7ee external/gpl3/gdb/dist/gdb/sh-nbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/sh-nbsd-nat.c  Sun Dec 06 03:46:23 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/sh-nbsd-nat.c  Sun Dec 06 04:08:51 2020 +0000
@@ -21,6 +21,7 @@
 
 #include "defs.h"
 #include "inferior.h"
+#include "gdbarch.h"
 
 #include <sys/types.h>
 #include <sys/ptrace.h>
@@ -62,7 +63,7 @@
       struct reg regs;
 
       if (ptrace (PT_GETREGS, pid,
-                 (PTRACE_TYPE_ARG3) &inferior_registers, lwp) == -1)
+                 (PTRACE_TYPE_ARG3) &regs, lwp) == -1)
        perror_with_name (_("Couldn't get registers"));
 
       sh_corefile_supply_regset (&sh_corefile_gregset, regcache, regno,
@@ -85,7 +86,7 @@
       struct reg regs;
 
       if (ptrace (PT_GETREGS, pid,
-                 (PTRACE_TYPE_ARG3) &inferior_registers, lwp) == -1)
+                 (PTRACE_TYPE_ARG3) &regs, lwp) == -1)
        perror_with_name (_("Couldn't get registers"));
 
       sh_corefile_collect_regset (&sh_corefile_gregset, regcache, regno,
@@ -93,7 +94,7 @@
                                  SHNBSD_SIZEOF_GREGS);
 
       if (ptrace (PT_SETREGS, pid,
-                 (PTRACE_TYPE_ARG3) &inferior_registers, lwp) == -1)
+                 (PTRACE_TYPE_ARG3) &regs, lwp) == -1)
        perror_with_name (_("Couldn't set registers"));
 
       if (regno != -1)
diff -r 609779fbdfce -r d9b458d3c7ee external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c Sun Dec 06 03:46:23 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/sh-nbsd-tdep.c Sun Dec 06 04:08:51 2020 +0000
@@ -30,8 +30,6 @@
 #include "trad-frame.h"
 #include "tramp-frame.h"
 
-#include "common/gdb_assert.h"
-
 #include "solib-svr4.h"
 
 #include "sh-tdep.h"
diff -r 609779fbdfce -r d9b458d3c7ee external/gpl3/gdb/lib/libbfd/arch/m68000/targmatch.h
--- a/external/gpl3/gdb/lib/libbfd/arch/m68000/targmatch.h      Sun Dec 06 03:46:23 2020 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/m68000/targmatch.h      Sun Dec 06 04:08:51 2020 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gdb,v 1.12 2020/09/17 16:54:31 christos Exp  */
+/* Generated from: NetBSD: mknative-gdb,v 1.15 2020/12/05 21:27:31 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 #ifdef BFD64
@@ -42,15 +42,6 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
 
-{ "aarch64-*-netbsd*",
-&aarch64_elf64_le_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
-
 { "aarch64-*-fuchsia*",
 &aarch64_elf64_le_vec },
 #endif
@@ -69,7 +60,7 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
 
-{ "aarch64-*-linux*",
+{ "aarch64-*-linux*", NULL },{ "aarch64-*-netbsd*",
 &aarch64_elf64_le_vec },
 #endif
 
@@ -78,25 +69,7 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_be_vec)
 
-{ "aarch64_be-*-linux*",
-&aarch64_elf64_be_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
-
-{ "aarch64-*-netbsd*",
-&aarch64_elf64_le_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_be_vec)
-
-{ "aarch64_be-*-netbsd*",
+{ "aarch64_be-*-linux*", NULL },{ "aarch64_be-*-netbsd*",
 &aarch64_elf64_be_vec },
 #endif
 
diff -r 609779fbdfce -r d9b458d3c7ee external/gpl3/gdb/lib/libbfd/arch/m68k/targmatch.h
--- a/external/gpl3/gdb/lib/libbfd/arch/m68k/targmatch.h        Sun Dec 06 03:46:23 2020 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/m68k/targmatch.h        Sun Dec 06 04:08:51 2020 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gdb,v 1.12 2020/09/17 16:54:31 christos Exp  */
+/* Generated from: NetBSD: mknative-gdb,v 1.15 2020/12/05 21:27:31 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 #ifdef BFD64
@@ -42,15 +42,6 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
 
-{ "aarch64-*-netbsd*",
-&aarch64_elf64_le_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
-
 { "aarch64-*-fuchsia*",
 &aarch64_elf64_le_vec },
 #endif
@@ -69,7 +60,7 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
 
-{ "aarch64-*-linux*",
+{ "aarch64-*-linux*", NULL },{ "aarch64-*-netbsd*",
 &aarch64_elf64_le_vec },
 #endif
 
@@ -78,25 +69,7 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_be_vec)
 
-{ "aarch64_be-*-linux*",
-&aarch64_elf64_be_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
-
-{ "aarch64-*-netbsd*",
-&aarch64_elf64_le_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_be_vec)
-
-{ "aarch64_be-*-netbsd*",
+{ "aarch64_be-*-linux*", NULL },{ "aarch64_be-*-netbsd*",
 &aarch64_elf64_be_vec },
 #endif
 
diff -r 609779fbdfce -r d9b458d3c7ee external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h
--- a/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h   Sun Dec 06 03:46:23 2020 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/mips64eb/bfd_stdint.h   Sun Dec 06 04:08:51 2020 +0000
@@ -1,8 +1,8 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gdb,v 1.8 2019/05/29 01:56:06 christos Exp  */
+/* Generated from: NetBSD: mknative-gdb,v 1.15 2020/12/05 21:27:31 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
-/* generated for  mips64--netbsd-gcc (NetBSD nb3 20190319) 7.4.0 */
+/* generated for  mips64--netbsd-gcc (NetBSD nb1 20190930) 8.3.0 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1
diff -r 609779fbdfce -r d9b458d3c7ee external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h
--- a/external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h    Sun Dec 06 03:46:23 2020 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/mips64eb/targmatch.h    Sun Dec 06 04:08:51 2020 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gdb,v 1.12 2020/09/17 16:54:31 christos Exp  */
+/* Generated from: NetBSD: mknative-gdb,v 1.15 2020/12/05 21:27:31 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 #ifdef BFD64
@@ -42,15 +42,6 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
 
-{ "aarch64-*-netbsd*",
-&aarch64_elf64_le_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
-
 { "aarch64-*-fuchsia*",
 &aarch64_elf64_le_vec },
 #endif
@@ -69,7 +60,7 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
 
-{ "aarch64-*-linux*",
+{ "aarch64-*-linux*", NULL },{ "aarch64-*-netbsd*",
 &aarch64_elf64_le_vec },
 #endif
 
@@ -78,25 +69,7 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_be_vec)
 
-{ "aarch64_be-*-linux*",
-&aarch64_elf64_be_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
-
-{ "aarch64-*-netbsd*",
-&aarch64_elf64_le_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_be_vec)
-
-{ "aarch64_be-*-netbsd*",
+{ "aarch64_be-*-linux*", NULL },{ "aarch64_be-*-netbsd*",
 &aarch64_elf64_be_vec },
 #endif
 
diff -r 609779fbdfce -r d9b458d3c7ee external/gpl3/gdb/lib/libbfd/arch/mips64el/targmatch.h
--- a/external/gpl3/gdb/lib/libbfd/arch/mips64el/targmatch.h    Sun Dec 06 03:46:23 2020 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/mips64el/targmatch.h    Sun Dec 06 04:08:51 2020 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gdb,v 1.12 2020/09/17 16:54:31 christos Exp  */
+/* Generated from: NetBSD: mknative-gdb,v 1.15 2020/12/05 21:27:31 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 #ifdef BFD64
@@ -42,15 +42,6 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
 
-{ "aarch64-*-netbsd*",
-&aarch64_elf64_le_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
-
 { "aarch64-*-fuchsia*",
 &aarch64_elf64_le_vec },
 #endif
@@ -69,7 +60,7 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
 
-{ "aarch64-*-linux*",
+{ "aarch64-*-linux*", NULL },{ "aarch64-*-netbsd*",
 &aarch64_elf64_le_vec },
 #endif
 
@@ -78,25 +69,7 @@
     
 #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_be_vec)
 
-{ "aarch64_be-*-linux*",
-&aarch64_elf64_be_vec },
-#endif
-
-
-
-    
-#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
-
-{ "aarch64-*-netbsd*",
-&aarch64_elf64_le_vec },



Home | Main Index | Thread Index | Old Index