diff options
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 4 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 4 | ||||
-rw-r--r-- | gdb/mi/mi-out.c | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 1b863eb..9a13ac8 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -215,7 +215,7 @@ mi_cmd_stack_list_locals (char *command, char **argv, int argc) struct frame_info *frame; int raw_arg = 0; enum ext_lang_bt_status result = EXT_LANG_BT_ERROR; - int print_value; + enum print_values print_value; int oind = 0; int skip_unavailable = 0; int i; @@ -412,7 +412,7 @@ mi_cmd_stack_list_variables (char *command, char **argv, int argc) struct frame_info *frame; int raw_arg = 0; enum ext_lang_bt_status result = EXT_LANG_BT_ERROR; - int print_value; + enum print_values print_value; int oind = 0; int skip_unavailable = 0; diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 66bcd88..b2513a1 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -2755,8 +2755,8 @@ mi_cmd_trace_frame_collected (char *command, char **argv, int argc) struct collection_list tracepoint_list, stepping_list; struct traceframe_info *tinfo; int oind = 0; - int var_print_values = PRINT_ALL_VALUES; - int comp_print_values = PRINT_ALL_VALUES; + enum print_values var_print_values = PRINT_ALL_VALUES; + enum print_values comp_print_values = PRINT_ALL_VALUES; int registers_format = 'x'; int memory_contents = 0; struct ui_out *uiout = current_uiout; diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c index 20f59c3..fa8282f 100644 --- a/gdb/mi/mi-out.c +++ b/gdb/mi/mi-out.c @@ -106,8 +106,8 @@ mi_table_begin (struct ui_out *uiout, const char *tblid) { mi_open (uiout, tblid, ui_out_type_tuple); - mi_field_int (uiout, -1, -1, -1, "nr_rows", nr_rows); - mi_field_int (uiout, -1, -1, -1, "nr_cols", nr_cols); + mi_field_int (uiout, -1, -1, ui_left, "nr_rows", nr_rows); + mi_field_int (uiout, -1, -1, ui_left, "nr_cols", nr_cols); mi_open (uiout, "hdr", ui_out_type_list); } @@ -149,9 +149,9 @@ mi_table_header (struct ui_out *uiout, int width, enum ui_align alignment, return; mi_open (uiout, NULL, ui_out_type_tuple); - mi_field_int (uiout, 0, 0, 0, "width", width); - mi_field_int (uiout, 0, 0, 0, "alignment", alignment); - mi_field_string (uiout, 0, 0, 0, "col_name", col_name); + mi_field_int (uiout, 0, 0, ui_center, "width", width); + mi_field_int (uiout, 0, 0, ui_center, "alignment", alignment); + mi_field_string (uiout, 0, 0, ui_center, "col_name", col_name); mi_field_string (uiout, 0, width, alignment, "colhdr", colhdr); mi_close (uiout, ui_out_type_tuple); } |