Restore missing space lost when switching to UI_OUT.

This commit is contained in:
Andrew Cagney 2001-01-12 09:45:57 +00:00
parent 15f33b666d
commit 9549d9c176
4 changed files with 11 additions and 2 deletions

View 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,

View 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");

View 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.

View 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.*" \