* 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.
This commit is contained in:
Andrew Cagney
2000-11-09 06:48:48 +00:00
parent 346ceb11ed
commit c11c3a98c0
3 changed files with 11 additions and 2 deletions

View File

@@ -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)