summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-01-18 16:11:22 +0000
committerMark Kettenis <kettenis@gnu.org>2001-01-18 16:11:22 +0000
commit3cc08f787f18c4637cdbe2eb9c5de08567754ee5 (patch)
treed90a20fe4087a85ccbbf623b9ba0697247693716 /gdb
parent9a740b3fb4b15a41cfbdbf6689d4685c6ae48ab5 (diff)
downloadgdb-3cc08f787f18c4637cdbe2eb9c5de08567754ee5.tar.gz
* infcmd.c (print_return_value): Restore another space lost by
switch to UIOUT. ``$NN='' should be ``$NN =''.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infcmd.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c74ee33f303..e894fa0bb64 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-18 Mark Kettenis <kettenis@gnu.org>
+
+ * infcmd.c (print_return_value): Restore another space lost by
+ switch to UIOUT. ``$NN='' should be ``$NN =''.
+
Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
* target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index cd18676a11a..d4a6fc0834e 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1049,7 +1049,7 @@ print_return_value (int structure_return, struct type *value_type)
stb = ui_out_stream_new (uiout);
ui_out_text (uiout, "Value returned is ");
ui_out_field_fmt (uiout, "gdb-result-var", "$%d", record_latest_value (value));
- ui_out_text (uiout, "= ");
+ ui_out_text (uiout, " = ");
value_print (value, stb->stream, 0, Val_no_prettyprint);
ui_out_field_stream (uiout, "return-value", stb);
ui_out_text (uiout, "\n");