mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user