Source-Changes-HG archive

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

[src/trunk]: src/tools/gdb adjust for gdb-8.3



details:   https://anonhg.NetBSD.org/src/rev/050925db2d0d
branches:  trunk
changeset: 999329:050925db2d0d
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 29 01:56:06 2019 +0000

description:
adjust for gdb-8.3

diffstat:

 tools/gdb/mknative-gdb |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 448cb010d8c8 -r 050925db2d0d tools/gdb/mknative-gdb
--- a/tools/gdb/mknative-gdb    Wed May 29 01:46:49 2019 +0000
+++ b/tools/gdb/mknative-gdb    Wed May 29 01:56:06 2019 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp $
+#      $NetBSD: mknative-gdb,v 1.8 2019/05/29 01:56:06 christos Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of src/external/gpl3/gdb
@@ -106,13 +106,16 @@
        {
                getvars gdb/Makefile \
                        INTERNAL_CFLAGS LIBGDB_OBS SIM_OBS
-       } | write_mk $_GDBP/arch/$_MACHINE_SUBDIR/defs.mk
+       } | sed -e s@arch/@@g -e s@cli/@@g -e s@common/agent@common-agent@ \
+               -e s@common/@@g -e s@compile/@@g -e s@guile/@@g -e s@mi/@@g \
+               -e s@nat/@@g -e s@python/@@g -e s@target/@@g \
+               -e s@tui/@@g | write_mk $_GDBP/arch/$_MACHINE_SUBDIR/defs.mk
 
 #      getvars gdb/gdbserver/Makefile \
 #              INTERNAL_CFLAGS OBS \
 #              | write_mk $_GDB/bin/gdb/arch/$_MACHINE_SUBDIR/gdbserver.mk
 
-       for i in config.h observer.h observer.inc version.c init.c \
+       for i in config.h version.c init.c \
            xml-builtin.c build-gnulib/config.h jit-reader.h
        do
            write_c $_GDBP/arch/$_MACHINE_SUBDIR/$i \



Home | Main Index | Thread Index | Old Index