aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
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 c74ee33..e894fa0 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 cd18676..d4a6fc0 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");