Restore missing space lost when switching to UI_OUT.
authorAndrew Cagney <cagney@redhat.com>
Fri, 12 Jan 2001 09:45:57 +0000 (09:45 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 12 Jan 2001 09:45:57 +0000 (09:45 +0000)
gdb/ChangeLog
gdb/infcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.exp

index 9f951e139bb00d76facd97962546c128619a3a3b..500b5b7273122bd3338de41e331ae749411efb55 100644 (file)
@@ -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,
index fb788f86e0a06f7166cd09a7da21c43bb4c0bd07..cd18676a11ac5daea3497486c321a66ee0aaeafa 100644 (file)
@@ -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");
index c598a072a840afabed337c1448ac06477c47162c..ace11607dbc413a14d126e8d3e9ee2087c0befa3 100644 (file)
@@ -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.
index eab99dd6dc6072d9887cb1239c05276adaa2a391..fbd311f8af4f2eaf0795cb5787da193eaba89682 100644 (file)
@@ -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.*" \
This page took 0.033111 seconds and 4 git commands to generate.