* 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

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