*** empty log message ***
This commit is contained in:
parent
e110eeb74e
commit
9fbcbb4082
@ -1,3 +1,8 @@
|
|||||||
|
2007-02-05 Nick Roberts <nickrob@snap.net.nz>
|
||||||
|
|
||||||
|
* mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
|
||||||
|
instead of print_variable_value to print values.
|
||||||
|
|
||||||
2007-02-03 Nick Roberts <nickrob@snap.net.nz>
|
2007-02-03 Nick Roberts <nickrob@snap.net.nz>
|
||||||
|
|
||||||
* mi/mi-main.c: Numerous formatting changes.
|
* mi/mi-main.c: Numerous formatting changes.
|
||||||
|
@ -275,6 +275,7 @@ list_args_or_locals (int locals, int values, struct frame_info *fi)
|
|||||||
{
|
{
|
||||||
struct cleanup *cleanup_tuple = NULL;
|
struct cleanup *cleanup_tuple = NULL;
|
||||||
struct symbol *sym2;
|
struct symbol *sym2;
|
||||||
|
struct value *val;
|
||||||
if (values != PRINT_NO_VALUES)
|
if (values != PRINT_NO_VALUES)
|
||||||
cleanup_tuple =
|
cleanup_tuple =
|
||||||
make_cleanup_ui_out_tuple_begin_end (uiout, NULL);
|
make_cleanup_ui_out_tuple_begin_end (uiout, NULL);
|
||||||
@ -297,13 +298,17 @@ list_args_or_locals (int locals, int values, struct frame_info *fi)
|
|||||||
&& TYPE_CODE (type) != TYPE_CODE_STRUCT
|
&& TYPE_CODE (type) != TYPE_CODE_STRUCT
|
||||||
&& TYPE_CODE (type) != TYPE_CODE_UNION)
|
&& TYPE_CODE (type) != TYPE_CODE_UNION)
|
||||||
{
|
{
|
||||||
print_variable_value (sym2, fi, stb->stream);
|
val = read_var_value (sym2, fi);
|
||||||
|
common_val_print
|
||||||
|
(val, stb->stream, 0, 1, 0, Val_no_prettyprint);
|
||||||
ui_out_field_stream (uiout, "value", stb);
|
ui_out_field_stream (uiout, "value", stb);
|
||||||
}
|
}
|
||||||
do_cleanups (cleanup_tuple);
|
do_cleanups (cleanup_tuple);
|
||||||
break;
|
break;
|
||||||
case PRINT_ALL_VALUES:
|
case PRINT_ALL_VALUES:
|
||||||
print_variable_value (sym2, fi, stb->stream);
|
val = read_var_value (sym2, fi);
|
||||||
|
common_val_print
|
||||||
|
(val, stb->stream, 0, 1, 0, Val_no_prettyprint);
|
||||||
ui_out_field_stream (uiout, "value", stb);
|
ui_out_field_stream (uiout, "value", stb);
|
||||||
do_cleanups (cleanup_tuple);
|
do_cleanups (cleanup_tuple);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user