aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-01-12 09:45:57 +0000
committerAndrew Cagney <cagney@redhat.com>2001-01-12 09:45:57 +0000
commit9549d9c176b98ec8566c8cea02e281ae81efa078 (patch)
treed02193ae068c442c997595a9e088c0a175b41fb8 /gdb
parent15f33b666dcf1fedc25c3a719561763f6ec12c13 (diff)
downloadgdb-9549d9c176b98ec8566c8cea02e281ae81efa078.zip
gdb-9549d9c176b98ec8566c8cea02e281ae81efa078.tar.gz
gdb-9549d9c176b98ec8566c8cea02e281ae81efa078.tar.bz2
Restore missing space lost when switching to UI_OUT.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infcmd.c2
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.exp2
4 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9f951e1..500b5b7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * infcmd.c (print_return_value): Restore space lost by switch to
+ UIOUT. ``$NN='' should be ``$NN =''.
+
2001-01-08 Nicholas Duffek <nsd@redhat.com>
* regcache.c (set_register_cached, register_buffer,
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index fb788f8..cd18676 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1017,7 +1017,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");
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c598a07..ace1160 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
+
2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp
index eab99dd..fbd311f 100644
--- a/gdb/testsuite/gdb.base/callfuncs.exp
+++ b/gdb/testsuite/gdb.base/callfuncs.exp
@@ -334,7 +334,7 @@ if ![gdb_test "bt 2" \
# make sure we are back at main and still have the same register contents.
gdb_test "print add(4,5)" "The program being debugged stopped while.*" ""
gdb_test "finish" \
- "Value returned is.* = 9" \
+ "Value returned is .* = 9" \
"finish from call dummy breakpoint returns correct value"
if ![gdb_test "bt 2" \
"#0 main.*" \