aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index a7be1ed..33c3308 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -162,9 +162,11 @@ typedef void (table_body_ftype) (struct ui_out * uiout);
typedef void (table_end_ftype) (struct ui_out * uiout);
typedef void (table_header_ftype) (struct ui_out * uiout, int width,
enum ui_align align, char *colhdr);
+/* Note: level 0 is the top-level so LEVEL is always greater than
+ zero. */
typedef void (list_begin_ftype) (struct ui_out * uiout,
- int list_flag, char *lstid);
-typedef void (list_end_ftype) (struct ui_out * uiout, int list_flag);
+ int level, char *lstid);
+typedef void (list_end_ftype) (struct ui_out * uiout, int level);
typedef void (field_int_ftype) (struct ui_out * uiout, int fldno, int width,
enum ui_align align, char *fldname, int value);
typedef void (field_skip_ftype) (struct ui_out * uiout, int fldno, int width,