From c11c3a98c0b59a9b883970b0b7b658fdfdc06050 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 9 Nov 2000 06:48:48 +0000 Subject: [PATCH] * MAINTAINERS: Specify the vax-dec-vms5.5 target tupple. * vax-tdep.c: Include "gdbcore.h", "frame.h" and "value.h". (vax_print_insn): Change ``d'' to a const char pointer. --- gdb/ChangeLog | 6 ++++++ gdb/MAINTAINERS | 2 +- gdb/vax-tdep.c | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dc8f14f2aef..9963c7076ee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Thu Nov 9 17:16:29 2000 Andrew Cagney + + * MAINTAINERS: Specify the vax-dec-vms5.5 target tupple. + * vax-tdep.c: Include "gdbcore.h", "frame.h" and "value.h". + (vax_print_insn): Change ``d'' to a const char pointer. + 2000-11-08 Michael Snyder * gdbarch.sh: Spelling correction: registrary -> registry. diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index cc4715ab3f9..e589db18f2e 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -92,7 +92,7 @@ maintainer works with the native maintainer when resolving API issues. tic80 maintenance only (tic80-coff) v850 maintenance only (v850-elf) - vax maintenance only (?) + vax maintenance only (vax-dec-vms5.5) w65 maintenance only (?) z8k maintenance only (?) diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c index c263ed2d5fc..ca54efe8b88 100644 --- a/gdb/vax-tdep.c +++ b/gdb/vax-tdep.c @@ -21,6 +21,9 @@ #include "defs.h" #include "symtab.h" #include "opcode/vax.h" +#include "gdbcore.h" +#include "frame.h" +#include "value.h" /* Vax instructions are never longer than this. */ #define MAXLEN 62 @@ -80,7 +83,7 @@ vax_print_insn (CORE_ADDR memaddr, disassemble_info *info) unsigned char buffer[MAXLEN]; register int i; register unsigned char *p; - register char *d; + const char *d; int status = (*info->read_memory_func) (memaddr, buffer, MAXLEN, info); if (status != 0) -- 2.30.2