Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb adapt for vax.
details: https://anonhg.NetBSD.org/src/rev/f73437433cff
branches: trunk
changeset: 344360:f73437433cff
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 24 00:38:40 2016 +0000
description:
adapt for vax.
diffstat:
external/gpl3/gdb/dist/gdb/vaxbsd-nat.c | 5 +++--
external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h | 2 +-
external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h | 2 +-
external/gpl3/gdb/lib/libgdb/arch/vax/config.h | 2 +-
4 files changed, 6 insertions(+), 5 deletions(-)
diffs (65 lines):
diff -r 3c6b02e0d180 -r f73437433cff external/gpl3/gdb/dist/gdb/vaxbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c Thu Mar 24 00:04:05 2016 +0000
+++ b/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c Thu Mar 24 00:38:40 2016 +0000
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#define _KERNTYPES
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
@@ -63,7 +64,7 @@
}
}
-void
+static void
supply_gregset (struct regcache *regcache, const gregset_t *gregs)
{
if (ptrace (PT_SETREGS, ptid_get_pid (inferior_ptid),
@@ -71,7 +72,7 @@
perror_with_name (_("Couldn't write registers"));
}
-void
+static void
fill_gregset (const struct regcache *regcache, gregset_t *gregs, int regnum)
{
if (ptrace (PT_GETREGS, ptid_get_pid (inferior_ptid),
diff -r 3c6b02e0d180 -r f73437433cff external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h
--- a/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h Thu Mar 24 00:04:05 2016 +0000
+++ b/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h Thu Mar 24 00:38:40 2016 +0000
@@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
-/* generated for vax--netbsdelf-gcc (NetBSD nb1 20141012) 4.8.4 20141009 (prerelease) */
+/* generated for vax--netbsdelf-gcc (NetBSD nb1 20160317) 5.3.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
diff -r 3c6b02e0d180 -r f73437433cff external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h
--- a/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h Thu Mar 24 00:04:05 2016 +0000
+++ b/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h Thu Mar 24 00:38:40 2016 +0000
@@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
-/* generated for vax--netbsdelf-gcc (NetBSD nb1 20141012) 4.8.4 20141009 (prerelease) */
+/* generated for vax--netbsdelf-gcc (NetBSD nb1 20160317) 5.3.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
diff -r 3c6b02e0d180 -r f73437433cff external/gpl3/gdb/lib/libgdb/arch/vax/config.h
--- a/external/gpl3/gdb/lib/libgdb/arch/vax/config.h Thu Mar 24 00:04:05 2016 +0000
+++ b/external/gpl3/gdb/lib/libgdb/arch/vax/config.h Thu Mar 24 00:38:40 2016 +0000
@@ -219,7 +219,7 @@
#define HAVE_INTTYPES_H 1
/* Define to 1 if your system has the kinfo_getvmmap function. */
-/* #undef HAVE_KINFO_GETVMMAP */
+#define HAVE_KINFO_GETVMMAP 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
Home |
Main Index |
Thread Index |
Old Index