Module Name: src Committed By: rin Date: Fri Aug 18 01:00:02 UTC 2023
Modified Files: src/external/gpl3/gdb/dist/gdb: ppc-netbsd-tdep.c ppc-netbsd-tdep.h Log Message: gdb/ppc: Resolve static v.s. extern confusion found in upstream. NFC. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c:1.3 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c:1.4 --- src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c:1.3 Thu Aug 17 05:53:45 2023 +++ src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c Fri Aug 18 01:00:02 2023 @@ -34,7 +34,7 @@ #include "solib-svr4.h" /* Register offsets from <machine/reg.h>. */ -ppc_reg_offsets ppcnbsd_reg_offsets; +static ppc_reg_offsets ppcnbsd_reg_offsets; /* Core file support. */ Index: src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h diff -u src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h:1.1.1.1 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h:1.2 --- src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h:1.1.1.1 Sun Jul 30 22:44:44 2023 +++ src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h Fri Aug 18 01:00:02 2023 @@ -22,9 +22,6 @@ struct regset; -/* Register offsets for NetBSD/powerpc. */ -extern struct ppc_reg_offsets ppcnbsd_reg_offsets; - /* Register sets for NetBSD/powerpc. */ extern const struct regset ppcnbsd_gregset; extern const struct regset ppcnbsd_fpregset;