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 powerpc



details:   https://anonhg.NetBSD.org/src/rev/a153863aac70
branches:  trunk
changeset: 946706:a153863aac70
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 06 14:26:40 2020 +0000

description:
fix powerpc

diffstat:

 external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c                           |    1 +
 external/gpl3/gdb/lib/libbfd/arch/powerpc/bfd_stdint.h               |    4 +-
 external/gpl3/gdb/lib/libbfd/arch/powerpc/targmatch.h                |   33 +--
 external/gpl3/gdb/lib/libdecnumber/arch/powerpc/gstdint.h            |    4 +-
 external/gpl3/gdb/lib/libgdb/arch/powerpc/config.h                   |   79 ++++--
 external/gpl3/gdb/lib/libgdb/arch/powerpc/defs.mk                    |    4 +-
 external/gpl3/gdb/lib/libgdb/arch/powerpc/init.c                     |  114 +++++++--
 external/gpl3/gdb/lib/libgdb/arch/powerpc/jit-reader.h               |    2 +-
 external/gpl3/gdb/lib/libgdb/arch/powerpc/version.c                  |    4 +-
 external/gpl3/gdb/lib/libgdb/arch/powerpc/xml-builtin.c              |   21 +-
 external/gpl3/gdb/lib/libgdbsupport/arch/powerpc/defs.mk             |    1 +
 external/gpl3/gdb/lib/libgdbsupport/arch/powerpc/gdbsupport/config.h |    6 +-
 external/gpl3/gdb/lib/libgnulib/arch/powerpc/defs.mk                 |    4 +-
 external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/config.h         |    6 +-
 external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/unistd.h  |    4 +-
 15 files changed, 173 insertions(+), 114 deletions(-)

diffs (truncated from 815 to 300 lines):

diff -r 9ee66c0a7fad -r a153863aac70 external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c        Sun Dec 06 14:20:20 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/ppc-nbsd-tdep.c        Sun Dec 06 14:26:40 2020 +0000
@@ -29,6 +29,7 @@
 
 #include "ppc-tdep.h"
 #include "nbsd-tdep.h"
+#include "ppc-nbsd-tdep.h"
 #include "ppc-tdep.h"
 #include "solib-svr4.h"
 
diff -r 9ee66c0a7fad -r a153863aac70 external/gpl3/gdb/lib/libbfd/arch/powerpc/bfd_stdint.h
--- a/external/gpl3/gdb/lib/libbfd/arch/powerpc/bfd_stdint.h    Sun Dec 06 14:20:20 2020 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/powerpc/bfd_stdint.h    Sun Dec 06 14:26:40 2020 +0000
@@ -1,8 +1,8 @@
 /* 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  */
 
-/* generated for  powerpc--netbsd-gcc (NetBSD nb1 20200311) 8.4.0 */
+/* generated for  powerpc--netbsd-gcc (NetBSD nb1 20200907) 9.3.0 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1
diff -r 9ee66c0a7fad -r a153863aac70 external/gpl3/gdb/lib/libbfd/arch/powerpc/targmatch.h
--- a/external/gpl3/gdb/lib/libbfd/arch/powerpc/targmatch.h     Sun Dec 06 14:20:20 2020 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/powerpc/targmatch.h     Sun Dec 06 14:26:40 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 9ee66c0a7fad -r a153863aac70 external/gpl3/gdb/lib/libdecnumber/arch/powerpc/gstdint.h
--- a/external/gpl3/gdb/lib/libdecnumber/arch/powerpc/gstdint.h Sun Dec 06 14:20:20 2020 +0000
+++ b/external/gpl3/gdb/lib/libdecnumber/arch/powerpc/gstdint.h Sun Dec 06 14:26:40 2020 +0000
@@ -1,8 +1,8 @@
 /* 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  */
 
-/* generated for  powerpc--netbsd-gcc (NetBSD nb1 20200311) 8.4.0 */
+/* generated for  powerpc--netbsd-gcc (NetBSD nb1 20200907) 9.3.0 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1
diff -r 9ee66c0a7fad -r a153863aac70 external/gpl3/gdb/lib/libgdb/arch/powerpc/config.h
--- a/external/gpl3/gdb/lib/libgdb/arch/powerpc/config.h        Sun Dec 06 14:20:20 2020 +0000
+++ b/external/gpl3/gdb/lib/libgdb/arch/powerpc/config.h        Sun Dec 06 14:26:40 2020 +0000
@@ -22,6 +22,9 @@
    */
 /* #undef CRAY_STACKSEG_END */
 
+/* Define to 1 if std::thread works. */
+#define CXX_STD_THREAD 1
+
 /* Define to 1 if using `alloca.c'. */
 /* #undef C_ALLOCA */
 
@@ -38,6 +41,9 @@
 /* Define to BFD's default target vector. */
 #define DEFAULT_BFD_VEC powerpc_elf32_vec
 
+/* Handle .ctf type-info sections */
+#define ENABLE_LIBCTF 1
+
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
 #define ENABLE_NLS 1
@@ -71,7 +77,7 @@
 /* #undef GDB_OSABI_DEFAULT */
 
 /* Define if self-testing features should be enabled */
-/* #undef GDB_SELF_TEST */
+#define GDB_SELF_TEST 1
 
 /* Define to 1 if you have `alloca', as a function or macro. */
 #define HAVE_ALLOCA 1
@@ -111,18 +117,10 @@
    don't. */
 /* #undef HAVE_DECL_GETTHRDS */
 
-/* Define to 1 if you have the declaration of `ptrace', and to 0 if you don't.
-   */
-#define HAVE_DECL_PTRACE 1
-
 /* Define to 1 if you have the declaration of `snprintf', and to 0 if you
    don't. */
 #define HAVE_DECL_SNPRINTF 1
 
-/* Define to 1 if you have the declaration of `strerror', and to 0 if you
-   don't. */
-#define HAVE_DECL_STRERROR 1
-
 /* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
    */
 #define HAVE_DECL_STRSTR 1
@@ -233,6 +231,9 @@
 /* Define if you have the babeltrace library. */
 /* #undef HAVE_LIBBABELTRACE */
 
+/* Define to 1 if debuginfod is enabled. */
+/* #undef HAVE_LIBDEBUGINFOD */
+
 /* Define if you have the expat library. */
 #define HAVE_LIBEXPAT 1
 
@@ -248,27 +249,15 @@
 /* Define to 1 if you have the `m' library (-lm). */
 #define HAVE_LIBM 1
 
-/* Define to 1 if you have the `mcheck' library (-lmcheck). */
-/* #undef HAVE_LIBMCHECK */
-
 /* Define if you have the mpfr library. */
 /* #undef HAVE_LIBMPFR */
 
-/* Define if Python 2.4 is being used. */
-/* #undef HAVE_LIBPYTHON2_4 */
-
-/* Define if Python 2.5 is being used. */
-/* #undef HAVE_LIBPYTHON2_5 */
-
-/* Define if Python 2.6 is being used. */
-/* #undef HAVE_LIBPYTHON2_6 */
-
-/* Define if Python 2.7 is being used. */
-/* #undef HAVE_LIBPYTHON2_7 */
-
 /* Define to 1 if you have the <libunwind-ia64.h> header file. */
 /* #undef HAVE_LIBUNWIND_IA64_H */
 
+/* Define if you have the xxhash library. */
+/* #undef HAVE_LIBXXHASH */
+
 /* Define to 1 if you have the <linux/elf.h> header file. */
 /* #undef HAVE_LINUX_ELF_H */
 
@@ -353,6 +342,15 @@
 /* Define if <sys/procfs.h> has psaddr_t. */
 /* #undef HAVE_PSADDR_T */
 
+/* Have PTHREAD_PRIO_INHERIT. */
+#define HAVE_PTHREAD_PRIO_INHERIT 1
+
+/* Define to 1 if you have the `pthread_setname_np' function. */
+#define HAVE_PTHREAD_SETNAME_NP 1
+
+/* Define to 1 if you have the `pthread_sigmask' function. */
+#define HAVE_PTHREAD_SIGMASK 1
+
 /* Define to 1 if you have the `ptrace64' function. */
 /* #undef HAVE_PTRACE64 */
 
@@ -479,12 +477,6 @@
 /* Define to 1 if `td_pcb' is a member of `struct thread'. */
 /* #undef HAVE_STRUCT_THREAD_TD_PCB */
 
-/* Define to 1 if `fs_base' is a member of `struct user_regs_struct'. */
-/* #undef HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE */
-
-/* Define to 1 if `gs_base' is a member of `struct user_regs_struct'. */
-/* #undef HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE */
-
 /* Define to 1 if you have the <sys/debugreg.h> header file. */
 /* #undef HAVE_SYS_DEBUGREG_H */
 
@@ -581,6 +573,9 @@
 /* Define to 1 if you have the `wresize' function. */
 #define HAVE_WRESIZE 1
 
+/* Define to 1 if you have the <ws2tcpip.h> header file. */
+/* #undef HAVE_WS2TCPIP_H */
+
 /* Define to 1 if you have the `XML_StopParser' function. */
 #define HAVE_XML_STOPPARSER 1
 
@@ -639,6 +634,10 @@
 /* Define to 1 if the "%ll" format works to print long longs. */
 /* #undef PRINTF_HAS_LONG_LONG */
 
+/* Define to necessary symbol if this constant uses a non-standard name on
+   your system. */
+/* #undef PTHREAD_CREATE_JOINABLE */
+
 /* Define to the type of arg 1 for ptrace. */
 #define PTRACE_TYPE_ARG1 int
 
@@ -654,6 +653,10 @@
 /* Define as the return type of ptrace. */
 #define PTRACE_TYPE_RET int
 
+/* Define if the python lib directory should be relocated when GDB is moved.
+   */
+/* #undef PYTHON_LIBDIR_RELOCATABLE */
+
 /* Define if the python directory should be relocated when GDB is moved. */
 /* #undef PYTHON_PATH_RELOCATABLE */
 
@@ -661,7 +664,7 @@
 /* #undef RELOC_SRCDIR */
 
 /* Bug reporting address */
-#define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
+#define REPORT_BUGS_TO "<https://www.gnu.org/software/gdb/bugs/>"
 
 /* Define to 1 if the "%Lg" format works to scan long doubles. */
 /* #undef SCANF_HAS_LONG_DOUBLE */
@@ -698,6 +701,13 @@
 /* automatically load a system-wide gdbinit file */
 #define SYSTEM_GDBINIT ""
 
+/* automatically load system-wide gdbinit files from this directory */
+#define SYSTEM_GDBINIT_DIR ""
+
+/* Define if the system-gdbinit-dir directory should be relocated when GDB is
+   moved. */
+#define SYSTEM_GDBINIT_DIR_RELOCATABLE 0
+
 /* Define if the system-gdbinit directory should be relocated when GDB is
    moved. */
 #define SYSTEM_GDBINIT_RELOCATABLE 0
@@ -750,6 +760,10 @@
 /* Define if the PPC simulator is being linked in. */
 #define WITH_PPC_SIM 1
 
+/* Directory containing Python's standard libraries from --with-python-libdir.
+   */
+/* #undef WITH_PYTHON_LIBDIR */
+
 /* Define if --with-python provides a path, either directly or via
    python-config.py --exec-prefix. */
 /* #undef WITH_PYTHON_PATH */
@@ -790,6 +804,9 @@
 /* Define to 1 if you need to in order for `stat' and other things to work. */
 /* #undef _POSIX_SOURCE */
 
+/* Use structured /proc on Solaris. */
+#define _STRUCTURED_PROC 1
+
 /* Define to empty if `const' does not conform to ANSI C. */
 /* #undef const */
 
diff -r 9ee66c0a7fad -r a153863aac70 external/gpl3/gdb/lib/libgdb/arch/powerpc/defs.mk
--- a/external/gpl3/gdb/lib/libgdb/arch/powerpc/defs.mk Sun Dec 06 14:20:20 2020 +0000



Home | Main Index | Thread Index | Old Index