aboutsummaryrefslogtreecommitdiff
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
commit28ae27b1a6b494ae3efd08a514c62d0d51bb9947 (patch)
tree01801a4703b16fcb5f1ad400046d2732796a3f16 /gdb
parent6ab3a9c917070eb116fdd9d2d920b3f4f7631f0a (diff)
downloadgdb-28ae27b1a6b494ae3efd08a514c62d0d51bb9947.zip
gdb-28ae27b1a6b494ae3efd08a514c62d0d51bb9947.tar.gz
gdb-28ae27b1a6b494ae3efd08a514c62d0d51bb9947.tar.bz2
* 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 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");