Redo the previous alpha change differently (don't add a new file since we need ifdefs anyway), and regen.diff -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c
(christos)
--- src/external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c 2018/01/08 04:00:00 1.4
+++ src/external/gpl3/gdb/dist/gdb/alpha-bsd-nat.c 2018/01/08 18:56:20 1.5
@@ -15,26 +15,30 @@ | @@ -15,26 +15,30 @@ | |||
15 | GNU General Public License for more details. | 15 | GNU General Public License for more details. | |
16 | 16 | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | |
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
19 | 19 | |||
20 | #include "defs.h" | 20 | #include "defs.h" | |
21 | #include "inferior.h" | 21 | #include "inferior.h" | |
22 | #include "regcache.h" | 22 | #include "regcache.h" | |
23 | 23 | |||
24 | #include "alpha-tdep.h" | 24 | #include "alpha-tdep.h" | |
25 | #include "alpha-bsd-tdep.h" | 25 | #include "alpha-bsd-tdep.h" | |
26 | #include "inf-ptrace.h" | 26 | #include "inf-ptrace.h" | |
27 | 27 | |||
28 | #ifdef __NetBSD__ | |||
29 | #include "nbsd-nat.h" | |||
30 | #endif | |||
31 | ||||
28 | #include <sys/types.h> | 32 | #include <sys/types.h> | |
29 | #include <sys/ptrace.h> | 33 | #include <sys/ptrace.h> | |
30 | #include <machine/reg.h> | 34 | #include <machine/reg.h> | |
31 | 35 | |||
32 | #ifdef HAVE_SYS_PROCFS_H | 36 | #ifdef HAVE_SYS_PROCFS_H | |
33 | #include <sys/procfs.h> | 37 | #include <sys/procfs.h> | |
34 | #endif | 38 | #endif | |
35 | 39 | |||
36 | #ifndef HAVE_GREGSET_T | 40 | #ifndef HAVE_GREGSET_T | |
37 | typedef struct reg gregset_t; | 41 | typedef struct reg gregset_t; | |
38 | #endif | 42 | #endif | |
39 | 43 | |||
40 | #ifndef HAVE_FPREGSET_T | 44 | #ifndef HAVE_FPREGSET_T | |
@@ -185,34 +189,36 @@ alphabsd_supply_pcb (struct regcache *re | @@ -185,34 +189,36 @@ alphabsd_supply_pcb (struct regcache *re | |||
185 | 189 | |||
186 | return 1; | 190 | return 1; | |
187 | } | 191 | } | |
188 | 192 | |||
189 | struct target_ops * | 193 | struct target_ops * | |
190 | alphabsd_target (void) | 194 | alphabsd_target (void) | |
191 | { | 195 | { | |
192 | struct target_ops *t; | 196 | struct target_ops *t; | |
193 | 197 | |||
194 | t = inf_ptrace_target (); | 198 | t = inf_ptrace_target (); | |
195 | t->to_fetch_registers = alphabsd_fetch_inferior_registers; | 199 | t->to_fetch_registers = alphabsd_fetch_inferior_registers; | |
196 | t->to_store_registers = alphabsd_store_inferior_registers; | 200 | t->to_store_registers = alphabsd_store_inferior_registers; | |
197 | 201 | |||
198 | /* Support debugging kernel virtual memory images. */ | |||
199 | bsd_kvm_add_target (alphabsd_supply_pcb); | |||
200 | ||||
201 | return t; | 202 | return t; | |
202 | } | 203 | } | |
203 | 204 | |||
204 | 205 | |||
205 | 206 | |||
206 | /* Provide a prototype to silence -Wmissing-prototypes. */ | 207 | /* Provide a prototype to silence -Wmissing-prototypes. */ | |
207 | void _initialize_alphabsd_nat (void); | 208 | void _initialize_alphabsd_nat (void); | |
208 | 209 | |||
209 | void | 210 | void | |
210 | _initialize_alphabsd_nat (void) | 211 | _initialize_alphabsd_nat (void) | |
211 | { | 212 | { | |
212 | #ifndef __NetBSD__ | |||
213 | struct target_ops *t; | 213 | struct target_ops *t; | |
214 | 214 | |||
215 | t = alphabsd_target (); | 215 | t = alphabsd_target (); | |
216 | #ifndef __NetBSD__ | |||
216 | add_target (t); | 217 | add_target (t); | |
218 | #else | |||
219 | nbsd_nat_add_target (t); | |||
217 | #endif | 220 | #endif | |
221 | ||||
222 | /* Support debugging kernel virtual memory images. */ | |||
223 | bsd_kvm_add_target (alphabsd_supply_pcb); | |||
218 | } | 224 | } |
--- src/external/gpl3/gdb/dist/gdb/alpha-bsd-tdep.h 2018/01/08 03:07:16 1.2
+++ src/external/gpl3/gdb/dist/gdb/alpha-bsd-tdep.h 2018/01/08 18:56:20 1.3
@@ -27,16 +27,14 @@ void alphabsd_fill_reg (const struct reg | @@ -27,16 +27,14 @@ void alphabsd_fill_reg (const struct reg | |||
27 | 27 | |||
28 | void alphabsd_supply_fpreg (struct regcache *, const char *, int); | 28 | void alphabsd_supply_fpreg (struct regcache *, const char *, int); | |
29 | void alphabsd_fill_fpreg (const struct regcache *, char *, int); | 29 | void alphabsd_fill_fpreg (const struct regcache *, char *, int); | |
30 | 30 | |||
31 | 31 | |||
32 | /* Functions exported from alpha-nbsd-tdep.c. */ | 32 | /* Functions exported from alpha-nbsd-tdep.c. */ | |
33 | 33 | |||
34 | /* Iterate over supported core file register note sections. */ | 34 | /* Iterate over supported core file register note sections. */ | |
35 | void alphanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, | 35 | void alphanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, | |
36 | iterate_over_regset_sections_cb *cb, | 36 | iterate_over_regset_sections_cb *cb, | |
37 | void *cb_data, | 37 | void *cb_data, | |
38 | const struct regcache *regcache); | 38 | const struct regcache *regcache); | |
39 | 39 | |||
40 | struct target_ops *alphabsd_target (void); | |||
41 | ||||
42 | #endif /* alpha-bsd-tdep.h */ | 40 | #endif /* alpha-bsd-tdep.h */ |
--- src/external/gpl3/gdb/dist/gdb/configure.tgt 2018/01/08 03:07:16 1.17
+++ src/external/gpl3/gdb/dist/gdb/configure.tgt 2018/01/08 18:56:20 1.18
@@ -62,28 +62,27 @@ aarch64*-*-netbsd*) | @@ -62,28 +62,27 @@ aarch64*-*-netbsd*) | |||
62 | 62 | |||
63 | alpha*-*-osf*) | 63 | alpha*-*-osf*) | |
64 | # Target: Little-endian Alpha running OSF/1 | 64 | # Target: Little-endian Alpha running OSF/1 | |
65 | gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o" | 65 | gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o" | |
66 | ;; | 66 | ;; | |
67 | alpha*-*-linux*) | 67 | alpha*-*-linux*) | |
68 | # Target: Little-endian Alpha running Linux | 68 | # Target: Little-endian Alpha running Linux | |
69 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \ | 69 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \ | |
70 | linux-tdep.o solib-svr4.o" | 70 | linux-tdep.o solib-svr4.o" | |
71 | ;; | 71 | ;; | |
72 | alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) | 72 | alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) | |
73 | # Target: NetBSD/alpha | 73 | # Target: NetBSD/alpha | |
74 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o \ | 74 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o \ | |
75 | alpha-nbsd-tdep.o alpha-nbsd-nat.o nbsd-tdep.o \ | 75 | alpha-nbsd-tdep.o nbsd-tdep.o solib-svr4.o" | |
76 | solib-svr4.o" | |||
77 | ;; | 76 | ;; | |
78 | alpha*-*-openbsd*) | 77 | alpha*-*-openbsd*) | |
79 | # Target: OpenBSD/alpha | 78 | # Target: OpenBSD/alpha | |
80 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o \ | 79 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o \ | |
81 | alpha-nbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o \ | 80 | alpha-nbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o \ | |
82 | obsd-tdep.o solib-svr4.o" | 81 | obsd-tdep.o solib-svr4.o" | |
83 | ;; | 82 | ;; | |
84 | alpha*-*-*) | 83 | alpha*-*-*) | |
85 | # Target: Alpha | 84 | # Target: Alpha | |
86 | gdb_target_obs="alpha-tdep.o" | 85 | gdb_target_obs="alpha-tdep.o" | |
87 | ;; | 86 | ;; | |
88 | 87 | |||
89 | am33_2.0*-*-linux*) | 88 | am33_2.0*-*-linux*) |
--- src/external/gpl3/gdb/dist/gdb/config/alpha/Attic/nbsd.mh 2018/01/08 03:07:16 1.6
+++ src/external/gpl3/gdb/dist/gdb/config/alpha/Attic/nbsd.mh 2018/01/08 18:56:20 1.7
@@ -1,5 +1,4 @@ | @@ -1,5 +1,4 @@ | |||
1 | # Host: NetBSD/alpha | 1 | # Host: NetBSD/alpha | |
2 | NATDEPFILES= fork-child.o inf-ptrace.o alpha-bsd-nat.o bsd-kvm.o nbsd-nat.o \ | 2 | NATDEPFILES= fork-child.o inf-ptrace.o alpha-bsd-nat.o bsd-kvm.o nbsd-nat.o | |
3 | alpha-nbsd-tdep.o alpha-nbsd-nat.o | |||
4 | 3 | |||
5 | LOADLIBES= -lkvm | 4 | LOADLIBES= -lkvm |
--- src/external/gpl3/gdb/lib/libbfd/arch/alpha/bfd_stdint.h 2016/10/16 08:23:05 1.7
+++ src/external/gpl3/gdb/lib/libbfd/arch/alpha/bfd_stdint.h 2018/01/08 18:56:20 1.8
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | /* This file is automatically generated. DO NOT EDIT! */ | 1 | /* This file is automatically generated. DO NOT EDIT! */ | |
2 | /* Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp */ | 2 | /* Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp */ | |
3 | /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */ | 3 | /* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */ | |
4 | 4 | |||
5 | /* generated for alpha--netbsd-gcc (NetBSD nb1 20160606) 5.4.0 */ | 5 | /* generated for alpha--netbsd-gcc (NetBSD nb1 20171112) 5.5.0 */ | |
6 | 6 | |||
7 | #ifndef GCC_GENERATED_STDINT_H | 7 | #ifndef GCC_GENERATED_STDINT_H | |
8 | #define GCC_GENERATED_STDINT_H 1 | 8 | #define GCC_GENERATED_STDINT_H 1 | |
9 | 9 | |||
10 | #include <sys/types.h> | 10 | #include <sys/types.h> | |
11 | #include <stdint.h> | 11 | #include <stdint.h> | |
12 | /* glibc uses these symbols as guards to prevent redefinitions. */ | 12 | /* glibc uses these symbols as guards to prevent redefinitions. */ | |
13 | #ifdef __int8_t_defined | 13 | #ifdef __int8_t_defined | |
14 | #define _INT8_T | 14 | #define _INT8_T | |
15 | #define _INT16_T | 15 | #define _INT16_T | |
16 | #define _INT32_T | 16 | #define _INT32_T | |
17 | #endif | 17 | #endif | |
18 | #ifdef __uint32_t_defined | 18 | #ifdef __uint32_t_defined |
--- src/external/gpl3/gdb/lib/libdecnumber/arch/alpha/gstdint.h 2016/10/16 08:23:06 1.7
+++ src/external/gpl3/gdb/lib/libdecnumber/arch/alpha/gstdint.h 2018/01/08 18:56:20 1.8
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | /* This file is automatically generated. DO NOT EDIT! */ | 1 | /* This file is automatically generated. DO NOT EDIT! */ | |
2 | /* Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp */ | 2 | /* Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp */ | |
3 | /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */ | 3 | /* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */ | |
4 | 4 | |||
5 | /* generated for alpha--netbsd-gcc (NetBSD nb1 20160606) 5.4.0 */ | 5 | /* generated for alpha--netbsd-gcc (NetBSD nb1 20171112) 5.5.0 */ | |
6 | 6 | |||
7 | #ifndef GCC_GENERATED_STDINT_H | 7 | #ifndef GCC_GENERATED_STDINT_H | |
8 | #define GCC_GENERATED_STDINT_H 1 | 8 | #define GCC_GENERATED_STDINT_H 1 | |
9 | 9 | |||
10 | #include <sys/types.h> | 10 | #include <sys/types.h> | |
11 | #include <stdint.h> | 11 | #include <stdint.h> | |
12 | /* glibc uses these symbols as guards to prevent redefinitions. */ | 12 | /* glibc uses these symbols as guards to prevent redefinitions. */ | |
13 | #ifdef __int8_t_defined | 13 | #ifdef __int8_t_defined | |
14 | #define _INT8_T | 14 | #define _INT8_T | |
15 | #define _INT16_T | 15 | #define _INT16_T | |
16 | #define _INT32_T | 16 | #define _INT32_T | |
17 | #endif | 17 | #endif | |
18 | #ifdef __uint32_t_defined | 18 | #ifdef __uint32_t_defined |
--- src/external/gpl3/gdb/lib/libgdb/arch/alpha/defs.mk 2018/01/08 04:00:31 1.11
+++ src/external/gpl3/gdb/lib/libgdb/arch/alpha/defs.mk 2018/01/08 18:56:20 1.12
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | # This file is automatically generated. DO NOT EDIT! | 1 | # This file is automatically generated. DO NOT EDIT! | |
2 | # Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp | 2 | # Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp | |
3 | # Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp | 3 | # Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp | |
4 | # | 4 | # | |
5 | G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../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 -Ibuild-gnulib/import -DTUI=1 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wformat-nonliteral | 5 | G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../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 -Ibuild-gnulib/import -DTUI=1 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wformat-nonliteral | |
6 | G_LIBGDB_OBS=alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o alpha-nbsd-tdep.o alpha-nbsd-nat.o nbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o alpha-bsd-nat.o bsd-kvm.o nbsd-nat.o alpha-nbsd-tdep.o alpha-nbsd-nat.o ax-gdb.o ax-general.o ctf.o dcache.o remote.o remote-fileio.o remote-notif.o tracefile.o tracefile-tfile.o tracepoint.o cli-cmds.o cli-decode.o cli-dump.o cli-interp.o cli-logging.o cli-script.o cli-setshow.o cli-utils.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-console.o mi-getopt.o mi-interp.o mi-main.o mi-out.o mi-parse.o mi-symbol-cmds.o tui.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-windata.o tui-wingeneral.o tui-winsource.o python.o guile.o elfread.o stap-probe.o dtrace-probe.o posix-hdep.o posix-strerror.o ada-exp.o c-exp.o cp-name-parser.o d-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o rust-exp.o ada-lang.o ada-tasks.o ada-typeprint.o ada-valprint.o ada-varobj.o addrmap.o agent.o annotate.o arch-utils.o auto-load.o auxv.o bcache.o bfd-target.o block.o blockframe.o break-catch-sig.o break-catch-syscall.o break-catch-throw.o breakpoint.o btrace.o btrace-common.o buffer.o build-id.o buildsym.o c-lang.o c-typeprint.o c-valprint.o c-varobj.o charset.o cleanups.o cli-out.o coff-pe-read.o coffread.o common-agent.o common-debug.o common-exceptions.o common-regcache.o common-utils.o complaints.o completer.o continuations.o copying.o corefile.o corelow.o cp-abi.o cp-namespace.o cp-support.o cp-valprint.o d-lang.o d-namespace.o d-valprint.o dbxread.o debug.o demangle.o dfp.o dictionary.o disasm.o disasm-selftests.o doublest.o dummy-frame.o dwarf2-frame.o dwarf2-frame-tailcall.o dwarf2expr.o dwarf2loc.o dwarf2read.o environ.o errors.o eval.o event-loop.o event-top.o exceptions.o exec.o expprint.o extension.o f-lang.o f-typeprint.o f-valprint.o fileio.o filestuff.o filesystem.o findcmd.o findvar.o format.o frame.o frame-base.o frame-unwind.o gcore.o gdb_bfd.o gdb-dlfcn.o gdb_obstack.o gdb_usleep.o gdb_vecs.o gdbarch.o gdbtypes.o gnu-v2-abi.o gnu-v3-abi.o go-lang.o go-typeprint.o go-valprint.o inf-child.o inf-loop.o infcall.o infcmd.o inferior.o infrun.o inline-frame.o interps.o jit.o language.o linespec.o location.o m2-lang.o m2-typeprint.o m2-valprint.o macrocmd.o macroexp.o macroscope.o macrotab.o main.o maint.o mdebugread.o mem-break.o memattr.o memory-map.o memrange.o mi-common.o minidebug.o minsyms.o mipsread.o namespace.o new-op.o objc-lang.o objfiles.o observer.o opencl-lang.o osabi.o osdata.o p-lang.o p-typeprint.o p-valprint.o parse.o print-utils.o printcmd.o probe.o progspace.o prologue-value.o psymtab.o ptid.o record.o record-btrace.o record-full.o regcache.o reggroups.o registry.o reverse.o rsp-low.o run-time-clock.o rust-lang.o selftest.o selftest-arch.o sentinel-frame.o ser-event.o serial.o signals.o signals-state-save-restore.o skip.o solib.o solib-target.o source.o stabsread.o stack.o std-regs.o symfile.o symfile-debug.o symmisc.o symtab.o target.o target-dcache.o target-descriptions.o target-memory.o thread.o thread-fsm.o tid-parse.o top.o trad-frame.o tramp-frame.o typeprint.o ui-file.o ui-out.o user-regs.o utils.o utils-selftests.o valarith.o valops.o valprint.o value.o varobj.o vec.o version.o waitstatus.o xml-builtin.o xml-support.o xml-syscall.o xml-tdesc.o xml-utils.o compile.o compile-c-support.o compile-c-symbols.o compile-c-types.o compile-loc2c.o compile-object-load.o compile-object-run.o inflow.o init.o | 6 | G_LIBGDB_OBS=alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o alpha-nbsd-tdep.o nbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o alpha-bsd-nat.o bsd-kvm.o nbsd-nat.o ax-gdb.o ax-general.o ctf.o dcache.o remote.o remote-fileio.o remote-notif.o tracefile.o tracefile-tfile.o tracepoint.o cli-cmds.o cli-decode.o cli-dump.o cli-interp.o cli-logging.o cli-script.o cli-setshow.o cli-utils.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-console.o mi-getopt.o mi-interp.o mi-main.o mi-out.o mi-parse.o mi-symbol-cmds.o tui.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-windata.o tui-wingeneral.o tui-winsource.o python.o guile.o elfread.o stap-probe.o dtrace-probe.o posix-hdep.o posix-strerror.o ada-exp.o c-exp.o cp-name-parser.o d-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o rust-exp.o ada-lang.o ada-tasks.o ada-typeprint.o ada-valprint.o ada-varobj.o addrmap.o agent.o annotate.o arch-utils.o auto-load.o auxv.o bcache.o bfd-target.o block.o blockframe.o break-catch-sig.o break-catch-syscall.o break-catch-throw.o breakpoint.o btrace.o btrace-common.o buffer.o build-id.o buildsym.o c-lang.o c-typeprint.o c-valprint.o c-varobj.o charset.o cleanups.o cli-out.o coff-pe-read.o coffread.o common-agent.o common-debug.o common-exceptions.o common-regcache.o common-utils.o complaints.o completer.o continuations.o copying.o corefile.o corelow.o cp-abi.o cp-namespace.o cp-support.o cp-valprint.o d-lang.o d-namespace.o d-valprint.o dbxread.o debug.o demangle.o dfp.o dictionary.o disasm.o disasm-selftests.o doublest.o dummy-frame.o dwarf2-frame.o dwarf2-frame-tailcall.o dwarf2expr.o dwarf2loc.o dwarf2read.o environ.o errors.o eval.o event-loop.o event-top.o exceptions.o exec.o expprint.o extension.o f-lang.o f-typeprint.o f-valprint.o fileio.o filestuff.o filesystem.o findcmd.o findvar.o format.o frame.o frame-base.o frame-unwind.o gcore.o gdb_bfd.o gdb-dlfcn.o gdb_obstack.o gdb_usleep.o gdb_vecs.o gdbarch.o gdbtypes.o gnu-v2-abi.o gnu-v3-abi.o go-lang.o go-typeprint.o go-valprint.o inf-child.o inf-loop.o infcall.o infcmd.o inferior.o infrun.o inline-frame.o interps.o jit.o language.o linespec.o location.o m2-lang.o m2-typeprint.o m2-valprint.o macrocmd.o macroexp.o macroscope.o macrotab.o main.o maint.o mdebugread.o mem-break.o memattr.o memory-map.o memrange.o mi-common.o minidebug.o minsyms.o mipsread.o namespace.o new-op.o objc-lang.o objfiles.o observer.o opencl-lang.o osabi.o osdata.o p-lang.o p-typeprint.o p-valprint.o parse.o print-utils.o printcmd.o probe.o progspace.o prologue-value.o psymtab.o ptid.o record.o record-btrace.o record-full.o regcache.o reggroups.o registry.o reverse.o rsp-low.o run-time-clock.o rust-lang.o selftest.o selftest-arch.o sentinel-frame.o ser-event.o serial.o signals.o signals-state-save-restore.o skip.o solib.o solib-target.o source.o stabsread.o stack.o std-regs.o symfile.o symfile-debug.o symmisc.o symtab.o target.o target-dcache.o target-descriptions.o target-memory.o thread.o thread-fsm.o tid-parse.o top.o trad-frame.o tramp-frame.o typeprint.o ui-file.o ui-out.o user-regs.o utils.o utils-selftests.o valarith.o valops.o valprint.o value.o varobj.o vec.o version.o waitstatus.o xml-builtin.o xml-support.o xml-syscall.o xml-tdesc.o xml-utils.o compile.o compile-c-support.o compile-c-symbols.o compile-c-types.o compile-loc2c.o compile-object-load.o compile-object-run.o inflow.o init.o | |
7 | G_SIM_OBS= | 7 | G_SIM_OBS= |
--- src/external/gpl3/gdb/lib/libgdb/arch/alpha/init.c 2018/01/08 04:00:31 1.12
+++ src/external/gpl3/gdb/lib/libgdb/arch/alpha/init.c 2018/01/08 18:56:20 1.13
@@ -1,25 +1,24 @@ | @@ -1,25 +1,24 @@ | |||
1 | /* This file is automatically generated. DO NOT EDIT! */ | 1 | /* This file is automatically generated. DO NOT EDIT! */ | |
2 | /* Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp */ | 2 | /* Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp */ | |
3 | /* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */ | 3 | /* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */ | |
4 | 4 | |||
5 | /* Do not modify this file. */ | 5 | /* Do not modify this file. */ | |
6 | /* It is created automatically by the Makefile. */ | 6 | /* It is created automatically by the Makefile. */ | |
7 | #include "defs.h" /* For initialize_file_ftype. */ | 7 | #include "defs.h" /* For initialize_file_ftype. */ | |
8 | extern void initialize_all_files(void); | 8 | extern void initialize_all_files(void); | |
9 | extern initialize_file_ftype _initialize_gdbtypes; | 9 | extern initialize_file_ftype _initialize_gdbtypes; | |
10 | extern initialize_file_ftype _initialize_alpha_tdep; | 10 | extern initialize_file_ftype _initialize_alpha_tdep; | |
11 | extern initialize_file_ftype _initialize_alphanbsd_tdep; | 11 | extern initialize_file_ftype _initialize_alphanbsd_tdep; | |
12 | extern initialize_file_ftype _initialize_alphanbsd_nat; | |||
13 | extern initialize_file_ftype _initialize_svr4_solib; | 12 | extern initialize_file_ftype _initialize_svr4_solib; | |
14 | extern initialize_file_ftype _initialize_ser_hardwire; | 13 | extern initialize_file_ftype _initialize_ser_hardwire; | |
15 | extern initialize_file_ftype _initialize_ser_pipe; | 14 | extern initialize_file_ftype _initialize_ser_pipe; | |
16 | extern initialize_file_ftype _initialize_ser_tcp; | 15 | extern initialize_file_ftype _initialize_ser_tcp; | |
17 | extern initialize_file_ftype _initialize_fork_child; | 16 | extern initialize_file_ftype _initialize_fork_child; | |
18 | extern initialize_file_ftype _initialize_alphabsd_nat; | 17 | extern initialize_file_ftype _initialize_alphabsd_nat; | |
19 | extern initialize_file_ftype _initialize_nbsd_nat; | 18 | extern initialize_file_ftype _initialize_nbsd_nat; | |
20 | extern initialize_file_ftype _initialize_ax_gdb; | 19 | extern initialize_file_ftype _initialize_ax_gdb; | |
21 | extern initialize_file_ftype _initialize_ctf; | 20 | extern initialize_file_ftype _initialize_ctf; | |
22 | extern initialize_file_ftype _initialize_dcache; | 21 | extern initialize_file_ftype _initialize_dcache; | |
23 | extern initialize_file_ftype _initialize_remote; | 22 | extern initialize_file_ftype _initialize_remote; | |
24 | extern initialize_file_ftype _initialize_notif; | 23 | extern initialize_file_ftype _initialize_notif; | |
25 | extern initialize_file_ftype _initialize_tracefile; | 24 | extern initialize_file_ftype _initialize_tracefile; | |
@@ -157,27 +156,26 @@ extern initialize_file_ftype _initialize | @@ -157,27 +156,26 @@ extern initialize_file_ftype _initialize | |||
157 | extern initialize_file_ftype _initialize_tui_layout; | 156 | extern initialize_file_ftype _initialize_tui_layout; | |
158 | extern initialize_file_ftype _initialize_tui_regs; | 157 | extern initialize_file_ftype _initialize_tui_regs; | |
159 | extern initialize_file_ftype _initialize_tui_stack; | 158 | extern initialize_file_ftype _initialize_tui_stack; | |
160 | extern initialize_file_ftype _initialize_tui_win; | 159 | extern initialize_file_ftype _initialize_tui_win; | |
161 | extern initialize_file_ftype _initialize_python; | 160 | extern initialize_file_ftype _initialize_python; | |
162 | extern initialize_file_ftype _initialize_guile; | 161 | extern initialize_file_ftype _initialize_guile; | |
163 | extern initialize_file_ftype _initialize_compile; | 162 | extern initialize_file_ftype _initialize_compile; | |
164 | void | 163 | void | |
165 | initialize_all_files (void) | 164 | initialize_all_files (void) | |
166 | { | 165 | { | |
167 | _initialize_gdbtypes (); | 166 | _initialize_gdbtypes (); | |
168 | _initialize_alpha_tdep (); | 167 | _initialize_alpha_tdep (); | |
169 | _initialize_alphanbsd_tdep (); | 168 | _initialize_alphanbsd_tdep (); | |
170 | _initialize_alphanbsd_nat (); | |||
171 | _initialize_svr4_solib (); | 169 | _initialize_svr4_solib (); | |
172 | _initialize_ser_hardwire (); | 170 | _initialize_ser_hardwire (); | |
173 | _initialize_ser_pipe (); | 171 | _initialize_ser_pipe (); | |
174 | _initialize_ser_tcp (); | 172 | _initialize_ser_tcp (); | |
175 | _initialize_fork_child (); | 173 | _initialize_fork_child (); | |
176 | _initialize_alphabsd_nat (); | 174 | _initialize_alphabsd_nat (); | |
177 | _initialize_nbsd_nat (); | 175 | _initialize_nbsd_nat (); | |
178 | _initialize_ax_gdb (); | 176 | _initialize_ax_gdb (); | |
179 | _initialize_ctf (); | 177 | _initialize_ctf (); | |
180 | _initialize_dcache (); | 178 | _initialize_dcache (); | |
181 | _initialize_remote (); | 179 | _initialize_remote (); | |
182 | _initialize_notif (); | 180 | _initialize_notif (); | |
183 | _initialize_tracefile (); | 181 | _initialize_tracefile (); |