diff options
author | David Taylor <taylor@redhat.com> | 2000-05-23 15:56:33 +0000 |
---|---|---|
committer | David Taylor <taylor@redhat.com> | 2000-05-23 15:56:33 +0000 |
commit | 489c62fb8479a4622a8e9f6b6324a9034c5c0ea3 (patch) | |
tree | 06ed013c6df54072ba48fbcb7a4cd2ec1d241e44 /gdb/f-valprint.c | |
parent | b3a82342b20766f911ac31ba9df8c2f9852c61fa (diff) | |
download | gdb-489c62fb8479a4622a8e9f6b6324a9034c5c0ea3.tar.gz |
one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
with the printing of complex numbers (it would print the real part twice).
Diffstat (limited to 'gdb/f-valprint.c')
-rw-r--r-- | gdb/f-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index a007c871c1e..92a10f274da 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -564,7 +564,7 @@ f_val_print (type, valaddr, embedded_offset, address, stream, format, deref_ref, fputs_filtered ("(", stream); print_floating (valaddr, type, stream); fputs_filtered (",", stream); - print_floating (valaddr, type, stream); + print_floating (valaddr + TYPE_LENGTH (type), type, stream); fputs_filtered (")", stream); break; |