diff --git a/external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c b/external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c
index 8a8273934c4e..18a2b3436183 100644
--- a/external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c
+++ b/external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c
@@ -18,7 +18,6 @@
along with this program. If not, see . */
/* We define this to get types like register_t. */
-#define _KERNTYPES
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
diff --git a/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c b/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
index ef862ee3b63a..8328839399a8 100644
--- a/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
+++ b/external/gpl3/gdb/dist/gdb/alpha-nbsd-tdep.c
@@ -22,6 +22,7 @@
#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
+#include "gdbarch.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
@@ -336,7 +337,6 @@ alphanbsd_init_abi (struct gdbarch_info info,
/* NetBSD/alpha has SVR4-style shared libraries. */
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
- set_gdbarch_skip_solib_resolver (gdbarch, nbsd_skip_solib_resolver);
#ifdef notyet
tdep->dynamic_sigtramp_offset = alphanbsd_sigtramp_offset;
diff --git a/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c b/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c
index 099c287b2037..e66b2c68d765 100644
--- a/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c
+++ b/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c
@@ -166,9 +166,6 @@ arm_netbsd_elf_init_abi (struct gdbarch_info info,
/* NetBSD ELF uses SVR4-style shared libraries. */
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
-
- /* for single stepping; see PR/50773 */
- set_gdbarch_skip_solib_resolver (gdbarch, nbsd_skip_solib_resolver);
}
void _initialize_arm_netbsd_tdep ();
diff --git a/external/gpl3/gdb/dist/gdb/nbsd-nat.c b/external/gpl3/gdb/dist/gdb/nbsd-nat.c
index b12d86e82564..9f1a0274b6f2 100644
--- a/external/gpl3/gdb/dist/gdb/nbsd-nat.c
+++ b/external/gpl3/gdb/dist/gdb/nbsd-nat.c
@@ -458,6 +458,7 @@ nbsd_nat_target::info_proc (const char *args, enum info_proc_what what)
return true;
}
+#ifdef PT_STEP
/* Resume execution of a specified PTID, that points to a process or a thread
within a process. If one thread is specified, all other threads are
suspended. If STEP is nonzero, single-step it. If SIGNAL is nonzero,
@@ -520,6 +521,7 @@ nbsd_resume(nbsd_nat_target *target, ptid_t ptid, int step,
if (ptrace (request, ptid.pid (), (void *)1, gdb_signal_to_host (signal)) == -1)
perror_with_name (("ptrace"));
}
+#endif
/* Resume execution of thread PTID, or all threads of all inferiors
if PTID is -1. If STEP is nonzero, single-step it. If SIGNAL is nonzero,
@@ -528,6 +530,7 @@ nbsd_resume(nbsd_nat_target *target, ptid_t ptid, int step,
void
nbsd_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
{
+#ifdef PT_STEP
if (minus_one_ptid != ptid)
nbsd_resume (this, ptid, step, signal);
else
@@ -535,6 +538,11 @@ nbsd_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
for (inferior *inf : all_non_exited_inferiors (this))
nbsd_resume (this, ptid_t (inf->pid, 0, 0), step, signal);
}
+#else
+ if (ptid.pid () == -1)
+ ptid = inferior_ptid;
+ inf_ptrace_target::resume (ptid, step, signal);
+#endif
}
/* Implement a safe wrapper around waitpid(). */
diff --git a/external/gpl3/gdb/lib/libbfd/arch/alpha/bfd_stdint.h b/external/gpl3/gdb/lib/libbfd/arch/alpha/bfd_stdint.h
index f35e0b58cd97..d6a21ee39fd1 100644
--- a/external/gpl3/gdb/lib/libbfd/arch/alpha/bfd_stdint.h
+++ b/external/gpl3/gdb/lib/libbfd/arch/alpha/bfd_stdint.h
@@ -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 alpha--netbsd-gcc (NetBSD nb3 20190319) 7.4.0 */
+/* generated for alpha--netbsd-gcc (NetBSD nb1 20200907) 9.3.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
diff --git a/external/gpl3/gdb/lib/libbfd/arch/alpha/targmatch.h b/external/gpl3/gdb/lib/libbfd/arch/alpha/targmatch.h
index a574466710a0..a85139a321f6 100644
--- a/external/gpl3/gdb/lib/libbfd/arch/alpha/targmatch.h
+++ b/external/gpl3/gdb/lib/libbfd/arch/alpha/targmatch.h
@@ -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
@@ -40,15 +40,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*",
@@ -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 --git a/external/gpl3/gdb/lib/libbfd/arch/armeb/bfd_stdint.h b/external/gpl3/gdb/lib/libbfd/arch/armeb/bfd_stdint.h
index 5bc791f91f2e..916540a23eb7 100644
--- a/external/gpl3/gdb/lib/libbfd/arch/armeb/bfd_stdint.h
+++ b/external/gpl3/gdb/lib/libbfd/arch/armeb/bfd_stdint.h
@@ -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 armv7eb--netbsdelf-eabi-gcc (NetBSD nb1 20200907) 9.3.0 */
+/* generated for armeb--netbsdelf-gcc (NetBSD nb1 20200311) 8.4.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
diff --git a/external/gpl3/gdb/lib/libbfd/arch/armeb/targmatch.h b/external/gpl3/gdb/lib/libbfd/arch/armeb/targmatch.h
index a574466710a0..a85139a321f6 100644
--- a/external/gpl3/gdb/lib/libbfd/arch/armeb/targmatch.h
+++ b/external/gpl3/gdb/lib/libbfd/arch/armeb/targmatch.h
@@ -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
@@ -40,15 +40,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*",
@@ -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 --git a/external/gpl3/gdb/lib/libdecnumber/arch/alpha/gstdint.h b/external/gpl3/gdb/lib/libdecnumber/arch/alpha/gstdint.h
index f35e0b58cd97..d6a21ee39fd1 100644
--- a/external/gpl3/gdb/lib/libdecnumber/arch/alpha/gstdint.h
+++ b/external/gpl3/gdb/lib/libdecnumber/arch/alpha/gstdint.h
@@ -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 alpha--netbsd-gcc (NetBSD nb3 20190319) 7.4.0 */
+/* generated for alpha--netbsd-gcc (NetBSD nb1 20200907) 9.3.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
diff --git a/external/gpl3/gdb/lib/libdecnumber/arch/armeb/gstdint.h b/external/gpl3/gdb/lib/libdecnumber/arch/armeb/gstdint.h
index 5bc791f91f2e..916540a23eb7 100644
--- a/external/gpl3/gdb/lib/libdecnumber/arch/armeb/gstdint.h
+++ b/external/gpl3/gdb/lib/libdecnumber/arch/armeb/gstdint.h
@@ -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 armv7eb--netbsdelf-eabi-gcc (NetBSD nb1 20200907) 9.3.0 */
+/* generated for armeb--netbsdelf-gcc (NetBSD nb1 20200311) 8.4.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
diff --git a/external/gpl3/gdb/lib/libgdb/arch/alpha/defs.mk b/external/gpl3/gdb/lib/libgdb/arch/alpha/defs.mk
index 2aeda1f1b4eb..b74ed1c325a2 100644
--- a/external/gpl3/gdb/lib/libgdb/arch/alpha/defs.mk
+++ b/external/gpl3/gdb/lib/libgdb/arch/alpha/defs.mk
@@ -1,7 +1,7 @@
# 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
#
-G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../readline/readline/.. -I${GNUHOSTDIST}/gdb/../zlib -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/../gnulib/import -I../gnulib/import -I${GNUHOSTDIST}/gdb/.. -I.. -DTUI=1 -I${GNUHOSTDIST}/gdb/.. -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -Werror
+G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../readline/readline/.. -I${GNUHOSTDIST}/gdb/../zlib -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/../gnulib/import -I../gnulib/import -I${GNUHOSTDIST}/gdb/.. -I.. -DTUI=1 -I${GNUHOSTDIST}/gdb/.. -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -Werror
G_LIBGDB_OBS=ada-exp.o ada-lang.o ada-tasks.o ada-typeprint.o ada-valprint.o ada-varobj.o addrmap.o agent.o alloc.o alpha-bsd-nat.o alpha-bsd-tdep.o alpha-mdebug-tdep.o alpha-nbsd-tdep.o alpha-tdep.o annotate.o arch-utils.o async-event.o auto-load.o auxv.o ax-gdb.o ax-general.o bcache.o bfd-target.o block.o blockframe.o break-catch-sig.o break-catch-syscall.o break-catch-throw.o breakpoint.o bsd-kvm.o btrace.o build-id.o buildsym-legacy.o buildsym.o c-exp.o c-lang.o c-typeprint.o c-valprint.o c-varobj.o charset.o cli-out.o cli-cmds.o cli-decode.o cli-dump.o cli-interp.o cli-logging.o cli-option.o cli-script.o cli-setshow.o cli-style.o cli-utils.o coff-pe-read.o coffread.o compile-c-support.o compile-c-symbols.o compile-c-types.o compile-cplus-symbols.o compile-cplus-types.o compile-loc2c.o compile-object-load.o compile-object-run.o compile.o complaints.o completer.o continuations.o copying.o corefile.o corelow.o cp-abi.o cp-name-parser.o cp-namespace.o cp-support.o cp-valprint.o ctfread.o d-exp.o d-lang.o d-namespace.o d-valprint.o dbxread.o dcache.o debug.o debuginfod-support.o dictionary.o disasm-selftests.o disasm.o dtrace-probe.o dummy-frame.o abbrev.o attribute.o comp-unit.o dwz.o expr.o frame-tailcall.o frame.o index-cache.o index-common.o index-write.o leb.o line-header.o loc.o macro.o read.o section.o stringify.o elfread.o eval.o event-top.o exceptions.o exec.o expprint.o extension.o f-exp.o f-lang.o f-typeprint.o f-valprint.o filename-seen-cache.o filesystem.o findcmd.o findvar.o fork-child.o frame-base.o frame-unwind.o frame.o gcore.o gdb-demangle.o gdb_bfd.o gdb_obstack.o gdb_regex.o gdbarch-selftests.o gdbarch.o gdbtypes.o gnu-v2-abi.o gnu-v3-abi.o go-exp.o go-lang.o go-typeprint.o go-valprint.o guile.o inf-child.o inf-loop.o inf-ptrace.o infcall.o infcmd.o inferior.o inflow.o infrun.o inline-frame.o interps.o jit.o language.o linespec.o location.o m2-exp.o m2-lang.o m2-typeprint.o m2-valprint.o macrocmd.o macroexp.o macroscope.o macrotab.o main.o maint-test-options.o maint-test-settings.o maint.o mdebugread.o mem-break.o memattr.o memory-map.o memrange.o mi-cmd-break.o mi-cmd-catch.o mi-cmd-disas.o mi-cmd-env.o mi-cmd-file.o mi-cmd-info.o mi-cmd-stack.o mi-cmd-target.o mi-cmd-var.o mi-cmds.o mi-common.o mi-console.o mi-getopt.o mi-interp.o mi-main.o mi-out.o mi-parse.o mi-symbol-cmds.o minidebug.o minsyms.o mipsread.o namespace.o fork-inferior.o netbsd-nat.o nbsd-nat.o nbsd-tdep.o objc-lang.o objfiles.o observable.o opencl-lang.o osabi.o osdata.o p-exp.o p-lang.o p-typeprint.o p-valprint.o parse.o posix-hdep.o printcmd.o probe.o process-stratum-target.o producer.o progspace-and-thread.o progspace.o prologue-value.o psymtab.o python.o record-btrace.o record-full.o record.o regcache-dump.o regcache.o reggroups.o registry.o remote-fileio.o remote-notif.o remote.o reverse.o run-on-main-thread.o rust-exp.o rust-lang.o selftest-arch.o sentinel-frame.o ser-base.o ser-event.o ser-pipe.o ser-tcp.o ser-uds.o ser-unix.o serial.o skip.o solib-svr4.o solib-target.o solib.o source-cache.o source.o stabsread.o stack.o stap-probe.o std-regs.o symfile-debug.o symfile.o symmisc.o symtab.o target-connection.o target-dcache.o target-descriptions.o target-float.o target-memory.o target.o waitstatus.o test-target.o thread-iter.o thread.o tid-parse.o top.o tracectf.o tracefile-tfile.o tracefile.o tracepoint.o trad-frame.o tramp-frame.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-wingeneral.o tui-winsource.o tui.o type-stack.o typeprint.o ui-file.o ui-out.o ui-style.o array-view-selftests.o child-path-selftests.o cli-utils-selftests.o command-def-selftests.o common-utils-selftests.o copy_bitwise-selftests.o environ-selftests.o filtered_iterator-selftests.o format_pieces-selftests.o function-view-selftests.o lookup_name_info-selftests.o main-thread-selftests.o memory-map-selftests.o memrange-selftests.o mkdir-recursive-selftests.o observable-selftests.o offset-type-selftests.o optional-selftests.o parse-connection-spec-selftests.o ptid-selftests.o rsp-low-selftests.o scoped_fd-selftests.o scoped_mmap-selftests.o scoped_restore-selftests.o string_view-selftests.o style-selftests.o tracepoint-selftests.o tui-selftests.o unpack-selftests.o utils-selftests.o vec-utils-selftests.o xml-utils-selftests.o user-regs.o utils.o valarith.o valops.o valprint.o value.o varobj.o version.o xml-builtin.o xml-support.o xml-syscall.o xml-tdesc.o init.o
G_SIM_OBS=
diff --git a/external/gpl3/gdb/lib/libgdb/arch/armeb/defs.mk b/external/gpl3/gdb/lib/libgdb/arch/armeb/defs.mk
index 4c29dd52581d..5ec2991565a8 100644
--- a/external/gpl3/gdb/lib/libgdb/arch/armeb/defs.mk
+++ b/external/gpl3/gdb/lib/libgdb/arch/armeb/defs.mk
@@ -1,7 +1,7 @@
# 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
#
-G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../readline/readline/.. -I${GNUHOSTDIST}/gdb/../zlib -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/../gnulib/import -I../gnulib/import -I${GNUHOSTDIST}/gdb/.. -I.. -DTUI=1 -I${GNUHOSTDIST}/gdb/.. -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -Werror
+G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../readline/readline/.. -I${GNUHOSTDIST}/gdb/../zlib -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/../gnulib/import -I../gnulib/import -I${GNUHOSTDIST}/gdb/.. -I.. -DTUI=1 -I${GNUHOSTDIST}/gdb/.. -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -Werror
G_LIBGDB_OBS=aarch32-tdep.o ada-exp.o ada-lang.o ada-tasks.o ada-typeprint.o ada-valprint.o ada-varobj.o addrmap.o agent.o alloc.o annotate.o arch-utils.o aarch32.o arm-get-next-pcs.o arm.o arm-bsd-tdep.o arm-nbsd-nat.o arm-nbsd-tdep.o arm-tdep.o async-event.o auto-load.o auxv.o ax-gdb.o ax-general.o bcache.o bfd-target.o block.o blockframe.o break-catch-sig.o break-catch-syscall.o break-catch-throw.o breakpoint.o bsd-kvm.o btrace.o build-id.o buildsym-legacy.o buildsym.o c-exp.o c-lang.o c-typeprint.o c-valprint.o c-varobj.o charset.o cli-out.o cli-cmds.o cli-decode.o cli-dump.o cli-interp.o cli-logging.o cli-option.o cli-script.o cli-setshow.o cli-style.o cli-utils.o coff-pe-read.o coffread.o compile-c-support.o compile-c-symbols.o compile-c-types.o compile-cplus-symbols.o compile-cplus-types.o compile-loc2c.o compile-object-load.o compile-object-run.o compile.o complaints.o completer.o continuations.o copying.o corefile.o corelow.o cp-abi.o cp-name-parser.o cp-namespace.o cp-support.o cp-valprint.o ctfread.o d-exp.o d-lang.o d-namespace.o d-valprint.o dbxread.o dcache.o debug.o debuginfod-support.o dictionary.o disasm-selftests.o disasm.o dtrace-probe.o dummy-frame.o abbrev.o attribute.o comp-unit.o dwz.o expr.o frame-tailcall.o frame.o index-cache.o index-common.o index-write.o leb.o line-header.o loc.o macro.o read.o section.o stringify.o elfread.o eval.o event-top.o exceptions.o exec.o expprint.o extension.o f-exp.o f-lang.o f-typeprint.o f-valprint.o filename-seen-cache.o filesystem.o findcmd.o findvar.o fork-child.o frame-base.o frame-unwind.o frame.o gcore.o gdb-demangle.o gdb_bfd.o gdb_obstack.o gdb_regex.o gdbarch-selftests.o gdbarch.o gdbtypes.o gnu-v2-abi.o gnu-v3-abi.o go-exp.o go-lang.o go-typeprint.o go-valprint.o guile.o inf-child.o inf-loop.o inf-ptrace.o infcall.o infcmd.o inferior.o inflow.o infrun.o inline-frame.o interps.o jit.o language.o linespec.o location.o m2-exp.o m2-lang.o m2-typeprint.o m2-valprint.o macrocmd.o macroexp.o macroscope.o macrotab.o main.o maint-test-options.o maint-test-settings.o maint.o mdebugread.o mem-break.o memattr.o memory-map.o memrange.o mi-cmd-break.o mi-cmd-catch.o mi-cmd-disas.o mi-cmd-env.o mi-cmd-file.o mi-cmd-info.o mi-cmd-stack.o mi-cmd-target.o mi-cmd-var.o mi-cmds.o mi-common.o mi-console.o mi-getopt.o mi-interp.o mi-main.o mi-out.o mi-parse.o mi-symbol-cmds.o minidebug.o minsyms.o mipsread.o namespace.o fork-inferior.o netbsd-nat.o nbsd-nat.o nbsd-tdep.o objc-lang.o objfiles.o observable.o opencl-lang.o osabi.o osdata.o p-exp.o p-lang.o p-typeprint.o p-valprint.o parse.o posix-hdep.o printcmd.o probe.o process-stratum-target.o producer.o progspace-and-thread.o progspace.o prologue-value.o psymtab.o python.o record-btrace.o record-full.o record.o regcache-dump.o regcache.o reggroups.o registry.o remote-fileio.o remote-notif.o remote.o reverse.o run-on-main-thread.o rust-exp.o rust-lang.o selftest-arch.o sentinel-frame.o ser-base.o ser-event.o ser-pipe.o ser-tcp.o ser-uds.o ser-unix.o serial.o skip.o solib-svr4.o solib-target.o solib.o source-cache.o source.o stabsread.o stack.o stap-probe.o std-regs.o symfile-debug.o symfile.o symmisc.o symtab.o target-connection.o target-dcache.o target-descriptions.o target-float.o target-memory.o target.o waitstatus.o test-target.o thread-iter.o thread.o tid-parse.o top.o tracectf.o tracefile-tfile.o tracefile.o tracepoint.o trad-frame.o tramp-frame.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-wingeneral.o tui-winsource.o tui.o type-stack.o typeprint.o ui-file.o ui-out.o ui-style.o array-view-selftests.o child-path-selftests.o cli-utils-selftests.o command-def-selftests.o common-utils-selftests.o copy_bitwise-selftests.o environ-selftests.o filtered_iterator-selftests.o format_pieces-selftests.o function-view-selftests.o lookup_name_info-selftests.o main-thread-selftests.o memory-map-selftests.o memrange-selftests.o mkdir-recursive-selftests.o observable-selftests.o offset-type-selftests.o optional-selftests.o parse-connection-spec-selftests.o ptid-selftests.o rsp-low-selftests.o scoped_fd-selftests.o scoped_mmap-selftests.o scoped_restore-selftests.o string_view-selftests.o style-selftests.o tracepoint-selftests.o tui-selftests.o unpack-selftests.o utils-selftests.o vec-utils-selftests.o xml-utils-selftests.o user-regs.o utils.o valarith.o valops.o valprint.o value.o varobj.o version.o xml-builtin.o xml-support.o xml-syscall.o xml-tdesc.o init.o
G_SIM_OBS=
diff --git a/external/gpl3/gdb/lib/libgdb/arch/armeb/version.c b/external/gpl3/gdb/lib/libgdb/arch/armeb/version.c
index 4a053c7dfb4d..a59dfded36ed 100644
--- a/external/gpl3/gdb/lib/libgdb/arch/armeb/version.c
+++ b/external/gpl3/gdb/lib/libgdb/arch/armeb/version.c
@@ -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 */
#include "gdbsupport/version.h"
const char version[] = "11.0.50.20200914-git";
-const char host_name[] = "armv7eb--netbsdelf-eabi";
-const char target_name[] = "armv7eb--netbsdelf-eabi";
+const char host_name[] = "armeb--netbsdelf";
+const char target_name[] = "armeb--netbsdelf";
diff --git a/external/gpl3/gdb/lib/libgnulib/arch/alpha/defs.mk b/external/gpl3/gdb/lib/libgnulib/arch/alpha/defs.mk
index ecbbca00986f..5dc4ea548982 100644
--- a/external/gpl3/gdb/lib/libgnulib/arch/alpha/defs.mk
+++ b/external/gpl3/gdb/lib/libgnulib/arch/alpha/defs.mk
@@ -1,6 +1,6 @@
# 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
#
-G_OBJS=canonicalize-lgpl.o chdir-long.o error.o fnmatch.o getcwd.o getcwd-lgpl.o getrandom.o glob.o glob_pattern_p.o globfree.o lc-charset-dispatch.o localtime-buffer.o mbrtowc.o mbsinit.o mbsrtowcs.o mbsrtowcs-state.o mbtowc-lock.o memmem.o mempcpy.o rawmemchr.o setlocale-lock.o strerror.o strerror-override.o strerror_r.o strstr.o wmempcpy.o
+G_OBJS=canonicalize-lgpl.o chdir-long.o error.o fnmatch.o getcwd.o getcwd-lgpl.o glob.o glob_pattern_p.o globfree.o lc-charset-dispatch.o localtime-buffer.o mbrtowc.o mbsinit.o mbsrtowcs.o mbsrtowcs-state.o mbtowc-lock.o memmem.o mempcpy.o rawmemchr.o setlocale-lock.o strerror.o strerror-override.o strerror_r.o strstr.o wmempcpy.o
G_OBJECTS=openat-proc.o cloexec.o count-one-bits.o dirname-lgpl.o basename-lgpl.o stripslash.o exitfail.o fd-hook.o fd-safer-flag.o dup-safer-flag.o filenamecat-lgpl.o getprogname.o hard-locale.o localcharset.o lock.o malloca.o math.o openat-die.o save-cwd.o scratch_buffer_grow.o scratch_buffer_grow_preserve.o scratch_buffer_set_array_size.o setlocale_null.o stat-time.o strnlen1.o sys_socket.o tempname.o threadlib.o unistd.o dup-safer.o fd-safer.o pipe-safer.o wctype-h.o
diff --git a/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/config.h b/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/config.h
index 75aea50a028e..19913d9760ab 100644
--- a/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/config.h
+++ b/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/config.h
@@ -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 */
/* config.h. Generated from config.in by configure. */
@@ -523,7 +523,7 @@
#define HAVE_GETPWNAM_R 1
/* Define to 1 if you have the `getrandom' function. */
-/* #undef HAVE_GETRANDOM */
+#define HAVE_GETRANDOM 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
@@ -796,7 +796,7 @@
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the header file. */
-/* #undef HAVE_SYS_RANDOM_H */
+#define HAVE_SYS_RANDOM_H 1
/* Define to 1 if you have the header file. */
#define HAVE_SYS_SOCKET_H 1
diff --git a/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/unistd.h b/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/unistd.h
index 351b6c1df749..be7964e270a8 100644
--- a/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/unistd.h
+++ b/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/unistd.h
@@ -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 */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
@@ -129,7 +129,7 @@
#if (0 || defined GNULIB_POSIXCHECK) \
&& ((defined __APPLE__ && defined __MACH__) || defined __sun \
|| defined __ANDROID__) \
- && 0 \
+ && 1 \
&& !defined __GLIBC__
# include
#endif
diff --git a/external/gpl3/gdb/lib/libgnulib/arch/armeb/defs.mk b/external/gpl3/gdb/lib/libgnulib/arch/armeb/defs.mk
index b918c6ce0b27..a5ad326c5e94 100644
--- a/external/gpl3/gdb/lib/libgnulib/arch/armeb/defs.mk
+++ b/external/gpl3/gdb/lib/libgnulib/arch/armeb/defs.mk
@@ -1,6 +1,6 @@
# 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
#
-G_OBJS=canonicalize-lgpl.o chdir-long.o error.o fnmatch.o getcwd.o getcwd-lgpl.o glob.o glob_pattern_p.o globfree.o lc-charset-dispatch.o localtime-buffer.o mbrtowc.o mbsinit.o mbsrtowcs.o mbsrtowcs-state.o mbtowc-lock.o memmem.o mempcpy.o rawmemchr.o setlocale-lock.o strerror.o strerror-override.o strerror_r.o strstr.o wmempcpy.o
+G_OBJS=canonicalize-lgpl.o chdir-long.o error.o fnmatch.o getcwd.o getcwd-lgpl.o getrandom.o glob.o glob_pattern_p.o globfree.o lc-charset-dispatch.o localtime-buffer.o mbrtowc.o mbsinit.o mbsrtowcs.o mbsrtowcs-state.o mbtowc-lock.o memmem.o mempcpy.o rawmemchr.o setlocale-lock.o strerror.o strerror-override.o strerror_r.o strstr.o wmempcpy.o
G_OBJECTS=openat-proc.o cloexec.o count-one-bits.o dirname-lgpl.o basename-lgpl.o stripslash.o exitfail.o fd-hook.o fd-safer-flag.o dup-safer-flag.o filenamecat-lgpl.o getprogname.o hard-locale.o localcharset.o lock.o malloca.o math.o openat-die.o save-cwd.o scratch_buffer_grow.o scratch_buffer_grow_preserve.o scratch_buffer_set_array_size.o setlocale_null.o stat-time.o strnlen1.o sys_socket.o tempname.o threadlib.o unistd.o dup-safer.o fd-safer.o pipe-safer.o wctype-h.o
diff --git a/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/config.h b/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/config.h
index 9e603bf5ff41..650921c9c042 100644
--- a/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/config.h
+++ b/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/config.h
@@ -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 */
/* config.h. Generated from config.in by configure. */
@@ -523,7 +523,7 @@
#define HAVE_GETPWNAM_R 1
/* Define to 1 if you have the `getrandom' function. */
-#define HAVE_GETRANDOM 1
+/* #undef HAVE_GETRANDOM */
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
@@ -796,7 +796,7 @@
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the header file. */
-#define HAVE_SYS_RANDOM_H 1
+/* #undef HAVE_SYS_RANDOM_H */
/* Define to 1 if you have the header file. */
#define HAVE_SYS_SOCKET_H 1
diff --git a/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/unistd.h b/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/unistd.h
index b10196306a08..f582486e6fba 100644
--- a/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/unistd.h
+++ b/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/unistd.h
@@ -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 */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
@@ -129,7 +129,7 @@
#if (0 || defined GNULIB_POSIXCHECK) \
&& ((defined __APPLE__ && defined __MACH__) || defined __sun \
|| defined __ANDROID__) \
- && 1 \
+ && 0 \
&& !defined __GLIBC__
# include
#endif