forked from Imagelibrary/binutils-gdb
* 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user