print symbolic version of addresses as well as hex

This commit is contained in:
Ken Raeburn 1992-07-10 00:33:05 +00:00
parent afc5505f00
commit 7eec00ed56
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
Thu Jul 9 18:44:26 1992 Ken Raeburn (raeburn@cygnus.com)
* i960-pinsn.c (mem): Variables reg[123] should point to CONST.
(print_addr): Call print_address to show symbolic version as well.
* remote-vx.c (vx_kill): Don't look for arguments; they aren't
being passed.
(vx_read_register): Declare inferior_fp_regs. Delete code for

View File

@ -328,7 +328,7 @@ mem( memaddr, word1, word2, noprint )
int len;
int mode;
int offset;
char *reg1, *reg2, *reg3;
CONST char *reg1, *reg2, *reg3;
/* This lookup table is too sparse to make it worth typing in, but not
* so large as to make a sparse array necessary. We allocate the
@ -822,7 +822,7 @@ invalid( word1 )
static void
print_addr(a)
{
fprintf( stream, "0x%x", a );
print_address (a, stream);
}
static void