diff options
Diffstat (limited to 'gdb/ch-valprint.c')
-rw-r--r-- | gdb/ch-valprint.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |