diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-14 21:38:39 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-14 21:38:39 +0000 |
commit | bf5b632df7ee9b664c00a02296b9cdcbea634e55 (patch) | |
tree | 0bb501b87d44e5016b704017f17a11f1132147e3 /gdb/hppah-nat.c | |
parent | ea7f0a9ff347098fdc13feb206871f9203e812cc (diff) | |
download | fsf-binutils-gdb-bf5b632df7ee9b664c00a02296b9cdcbea634e55.zip fsf-binutils-gdb-bf5b632df7ee9b664c00a02296b9cdcbea634e55.tar.gz fsf-binutils-gdb-bf5b632df7ee9b664c00a02296b9cdcbea634e55.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/hppah-nat.c')
-rw-r--r-- | gdb/hppah-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c index 138697b..ce9fde9 100644 --- a/gdb/hppah-nat.c +++ b/gdb/hppah-nat.c @@ -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); } } |