* ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print

address, not addr.

	* hppah-nat.c (store_inferior_registers): Don't print i in cases
	where we aren't using it.
This commit is contained in:
Jim Kingdon 1993-07-14 21:38:39 +00:00
parent ea7f0a9ff3
commit bf5b632df7
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,11 @@
Wed Jul 14 13:51:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
address, not addr.
* hppah-nat.c (store_inferior_registers): Don't print i in cases
where we aren't using it.
* a29k-tdep.c (get_saved_register): Fix typo.
Wed Jul 14 09:45:52 1993 Doug Evans (dje@canuck.cygnus.com)

View File

@ -185,7 +185,9 @@ chill_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
}
if (addressprint && format != 's')
{
fprintf_filtered (stream, "H'%x ", addr);
/* This used to say `addr', which is unset at this point.
Is `address' what is meant? */
fprintf_filtered (stream, "H'%x ", address);
}
i = TYPE_LENGTH (type);
LA_PRINT_STRING (stream, valaddr, i, 0);

View File

@ -121,7 +121,7 @@ store_inferior_registers (regno)
scratch, 0);
if (errno != 0)
{
sprintf (buf, "writing register number %d(%d)", regno, i);
sprintf (buf, "writing register number %d", regno);
perror_with_name (buf);
}
}
@ -154,7 +154,7 @@ store_inferior_registers (regno)
scratch, 0);
if (errno != 0)
{
sprintf (buf, "writing register number %d(%d)", regno, i);
sprintf (buf, "writing register number %d", regno);
perror_with_name (buf);
}
}