From: Nick Roberts Date: Wed, 23 Jan 2008 06:13:44 +0000 (+0000) Subject: (mi_cmd_var_set_format): Add value field to output. X-Git-Tag: sid-snapshot-20080201~123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00ee63486b0b19591c1f5a5f03577b230b73353f;p=platform%2Fupstream%2Fbinutils.git (mi_cmd_var_set_format): Add value field to output. --- diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c index 2b5cd6d..96d01f5 100644 --- a/gdb/mi/mi-cmd-var.c +++ b/gdb/mi/mi-cmd-var.c @@ -231,6 +231,9 @@ mi_cmd_var_set_format (char *command, char **argv, int argc) /* Report the new current format */ ui_out_field_string (uiout, "format", varobj_format_string[(int) format]); + + /* Report the value in the new format */ + ui_out_field_string (uiout, "value", varobj_get_value (var)); return MI_CMD_DONE; }