From bf5b632df7ee9b664c00a02296b9cdcbea634e55 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 14 Jul 1993 21:38:39 +0000 Subject: * 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. --- gdb/ch-valprint.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/ch-valprint.c') diff --git a/gdb/ch-valprint.c b/gdb/ch-valprint.c index e779758..23891e8 100644 --- a/gdb/ch-valprint.c +++ b/gdb/ch-valprint.c @@ -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); -- cgit v1.1