diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-11-09 06:48:48 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-11-09 06:48:48 +0000 |
commit | c11c3a98c0b59a9b883970b0b7b658fdfdc06050 (patch) | |
tree | 6951458b83adac87887ab74eec4b7c0585ea384e /gdb/vax-tdep.c | |
parent | 346ceb11ed10bac316805210a6310a5821130a4e (diff) | |
download | gdb-c11c3a98c0b59a9b883970b0b7b658fdfdc06050.zip gdb-c11c3a98c0b59a9b883970b0b7b658fdfdc06050.tar.gz gdb-c11c3a98c0b59a9b883970b0b7b658fdfdc06050.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/vax-tdep.c')
-rw-r--r-- | gdb/vax-tdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c index c263ed2..ca54efe 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) |