Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/lib Add new libraries, adjust old ones
details: https://anonhg.NetBSD.org/src/rev/1e7752d1d4f0
branches: trunk
changeset: 955070:1e7752d1d4f0
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 17 16:36:38 2020 +0000
description:
Add new libraries, adjust old ones
diffstat:
external/gpl3/gdb/lib/Makefile | 5 +-
external/gpl3/gdb/lib/libctf/Makefile | 46 +
external/gpl3/gdb/lib/libctf/arch/x86_64/config.h | 189 +
external/gpl3/gdb/lib/libctf/arch/x86_64/defs.mk | 5 +
external/gpl3/gdb/lib/libgdb/Makefile | 4 +-
external/gpl3/gdb/lib/libgdbsupport/Makefile | 51 +
external/gpl3/gdb/lib/libgdbsupport/arch/x86_64/defs.mk | 5 +
external/gpl3/gdb/lib/libgdbsupport/arch/x86_64/gdbsupport/config.h | 430 +
external/gpl3/gdb/lib/libgnulib/Makefile | 45 +
external/gpl3/gdb/lib/libgnulib/arch/x86_64/defs.mk | 6 +
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/config.h | 1634 +++++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/alloca.h | 79 +
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/ctype.h | 511 +
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/dirent.h | 749 ++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/fcntl.h | 878 ++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/fnmatch.h | 590 +
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/glob.h | 661 ++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/inttypes.h | 1636 +++++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/limits.h | 126 +
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/locale.h | 785 ++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/math.h | 3012 ++++++++++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/signal.h | 967 +++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdint.h | 751 ++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdio.h | 1990 ++++++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdlib.h | 1664 +++++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/string.h | 1557 +++++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/time.h | 847 ++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/unistd.h | 2234 +++++++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/wchar.h | 1719 +++++
external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/wctype.h | 1193 +++
30 files changed, 24365 insertions(+), 4 deletions(-)
diffs (truncated from 24505 to 300 lines):
diff -r 8d719c7f1171 -r 1e7752d1d4f0 external/gpl3/gdb/lib/Makefile
--- a/external/gpl3/gdb/lib/Makefile Thu Sep 17 16:07:39 2020 +0000
+++ b/external/gpl3/gdb/lib/Makefile Thu Sep 17 16:36:38 2020 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2012/11/03 14:38:17 skrll Exp $
+# $NetBSD: Makefile,v 1.4 2020/09/17 16:36:38 christos Exp $
.include "../Makefile.inc"
-SUBDIR= libbfd libiberty libopcodes libgdb libdecnumber
+SUBDIR= libbfd libiberty libopcodes libgdb libgdbsupport libdecnumber
+SUBDIR+= libgnulib libctf
.if ${USE_LIBEDIT} == no || ${USE_TUI} == yes
SUBDIR+= libreadline
.endif
diff -r 8d719c7f1171 -r 1e7752d1d4f0 external/gpl3/gdb/lib/libctf/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gdb/lib/libctf/Makefile Thu Sep 17 16:36:38 2020 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2020/09/17 16:36:38 christos Exp $
+
+NOCTF=
+#HOSTPROG_CXX= 1
+
+.include <bsd.own.mk>
+
+.include "../Makefile.inc"
+
+LIBISPRIVATE= yes
+LIB= ctf
+GDBARCHDIR= ${.CURDIR}/arch/${GDB_MACHINE_ARCH}
+
+.include "${GDBARCHDIR}/defs.mk"
+
+SRCS= ${G_OBJECTS:.o=.c}
+GCPPFLAGS= ${G_INTERNAL_CFLAGS}
+CPPFLAGS+= -I${.CURDIR} \
+ -I${DIST} \
+ -I${DIST}/libctf \
+ -I${DIST}/gnulib/import \
+ -I${.CURDIR}/../libgnulib/arch/${GDB_MACHINE_ARCH} \
+ -I${.CURDIR}/../libgnulib/arch/${GDB_MACHINE_ARCH}/import \
+ -I${.CURDIR}/../libbfd/arch/${GDB_MACHINE_ARCH} \
+ -I${GDBARCHDIR} \
+ -I${DIST}/bfd \
+ -I${DIST}/include \
+ -Dsighandler_t=sig_t \
+ -DHAVE_DECL_STPCPY \
+ -DTARGET_SYSTEM_ROOT=\"\" \
+ -DTARGET_SYSTEM_ROOT_RELOCATABLE=0 \
+ -DBINDIR=\"${BINDIR}\" \
+ ${GCPPFLAGS:M-D*}
+
+CWARNFLAGS.clang+= -Wno-switch
+
+.include "../../Makefile.inc"
+.include <bsd.lib.mk>
+
+# Force c++
+#CWARNFLAGS.clang+= -Wno-deprecated
+#HOST_CC:= ${HOST_CXX}
+#CC:= ${CXX}
+#CFLAGS:= ${CXXFLAGS} -std=gnu++11 -Wno-error=stack-protector
+
+.PATH: ${DIST}/libctf ${GDBARCHDIR}
diff -r 8d719c7f1171 -r 1e7752d1d4f0 external/gpl3/gdb/lib/libctf/arch/x86_64/config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gdb/lib/libctf/arch/x86_64/config.h Thu Sep 17 16:36:38 2020 +0000
@@ -0,0 +1,189 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gdb,v 1.9 2020/09/17 02:14:48 christos Exp */
+/* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */
+
+/* config.h. Generated from config.h.in by configure. */
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* Enable expensive debugging of CTF deduplication type hashing */
+/* #undef ENABLE_LIBCTF_HASH_DEBUGGING */
+
+/* Define to 1 if translation of program messages to the user's native
+ language is requested. */
+#define ENABLE_NLS 1
+
+/* Whether libbfd was configured for an ELF target. */
+#define HAVE_BFD_ELF 1
+
+/* Define to 1 if you have the <byteswap.h> header file. */
+/* #undef HAVE_BYTESWAP_H */
+
+/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
+ don't. */
+#define HAVE_DECL_ASPRINTF 1
+
+/* Define to 1 if you have the declaration of `bswap_16', and to 0 if you
+ don't. */
+#define HAVE_DECL_BSWAP_16 0
+
+/* Define to 1 if you have the declaration of `bswap_32', and to 0 if you
+ don't. */
+#define HAVE_DECL_BSWAP_32 0
+
+/* Define to 1 if you have the declaration of `bswap_64', and to 0 if you
+ don't. */
+#define HAVE_DECL_BSWAP_64 0
+
+/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
+ */
+#define HAVE_DECL_STPCPY 1
+
+/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
+ don't. */
+#define HAVE_DECL_VASPRINTF 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <endian.h> header file. */
+#define HAVE_ENDIAN_H 1
+
+/* Define to 1 if you have the `getpagesize' function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Whether the platform has a definition of O_CLOEXEC. */
+#define HAVE_O_CLOEXEC 1
+
+/* Define to 1 if you have the `pread' function. */
+#define HAVE_PREAD 1
+
+/* Define to 1 if you have the `qsort_r' function. */
+/* #undef HAVE_QSORT_R */
+
+/* Whether a qsort_r exists with a void *arg as its last arg. */
+/* #undef HAVE_QSORT_R_ARG_LAST */
+
+/* Whether a qsort_r exists with the compar function as its last arg. */
+/* #undef HAVE_QSORT_R_COMPAR_LAST */
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "libctf"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "libctf"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "libctf 1.2.0"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "libctf"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "1.2.0"
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Enable extensions on AIX 3, Interix. */
+#ifndef _ALL_SOURCE
+# define _ALL_SOURCE 1
+#endif
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+/* Enable threading extensions on Solaris. */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+/* Enable extensions on HP NonStop. */
+#ifndef _TANDEM_SOURCE
+# define _TANDEM_SOURCE 1
+#endif
+/* Enable general extensions on Solaris. */
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
+#endif
+
+
+/* Version number of package */
+#define VERSION "1.2.0"
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* # undef WORDS_BIGENDIAN */
+# endif
+#endif
+
+/* Enable large inode numbers on Mac OS X 10.5. */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
+
+/* Number of bits in a file offset, on hosts where this is settable. */
+/* #undef _FILE_OFFSET_BITS */
+
+/* Define for large files, on AIX-style hosts. */
+/* #undef _LARGE_FILES */
+
+/* Define to 1 if on MINIX. */
+/* #undef _MINIX */
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+ this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+/* #undef _POSIX_SOURCE */
diff -r 8d719c7f1171 -r 1e7752d1d4f0 external/gpl3/gdb/lib/libctf/arch/x86_64/defs.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gdb/lib/libctf/arch/x86_64/defs.mk Thu Sep 17 16:36:38 2020 +0000
@@ -0,0 +1,5 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: mknative-gdb,v 1.9 2020/09/17 02:14:48 christos Exp
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
+#
+G_OBJECTS=ctf-archive.o ctf-dump.o ctf-create.o ctf-decl.o ctf-error.o ctf-hash.o ctf-labels.o ctf-dedup.o ctf-link.o ctf-lookup.o ctf-open.o ctf-sha1.o ctf-string.o ctf-subr.o ctf-types.o
ctf-util.o ctf-qsort_r.o ctf-open-bfd.o
diff -r 8d719c7f1171 -r 1e7752d1d4f0 external/gpl3/gdb/lib/libgdb/Makefile
--- a/external/gpl3/gdb/lib/libgdb/Makefile Thu Sep 17 16:07:39 2020 +0000
+++ b/external/gpl3/gdb/lib/libgdb/Makefile Thu Sep 17 16:36:38 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2020/09/17 16:06:27 christos Exp $
+# $NetBSD: Makefile,v 1.27 2020/09/17 16:36:38 christos Exp $
NOCTF=
HOSTPROG_CXX= 1
@@ -26,7 +26,7 @@
-I${DIST}/readline \
-I${DIST}/libdecnumber \
-I${.CURDIR}/../libgnulib/arch/${GDB_MACHINE_ARCH} \
- -I${.CURDIR}/../libgnulib/arch/${GDB_MACHINE_ARCH}/import \
+ -I${.CURDIR}/../libgnulib/arch/${GDB_MACHINE_ARCH}/gnulib/import \
-I${.CURDIR}/../libgdbsupport/arch/${GDB_MACHINE_ARCH} \
-I${.CURDIR}/../libbfd/arch/${GDB_MACHINE_ARCH} \
-I${.CURDIR}/../libdecnumber/arch/${GDB_MACHINE_ARCH} \
diff -r 8d719c7f1171 -r 1e7752d1d4f0 external/gpl3/gdb/lib/libgdbsupport/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gdb/lib/libgdbsupport/Makefile Thu Sep 17 16:36:38 2020 +0000
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1 2020/09/17 16:36:39 christos Exp $
+
+NOCTF=
+HOSTPROG_CXX= 1
+
+.include <bsd.own.mk>
+
+.include "../Makefile.inc"
+
+LIBISPRIVATE= yes
+LIB= gdbsupport
Home |
Main Index |
Thread Index |
Old Index