diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-05-09 00:23:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-05-09 00:23:23 +0000 |
commit | 80f49b30cf8b59d9c3c513f399892125ad7bcb53 (patch) | |
tree | 4032caa41cb6b9d538c573e92b07a6091879ccde /gdb/ui-out.h | |
parent | 7aedc9f8b2e8e0720348c50ab4b63581abf18625 (diff) | |
download | gdb-80f49b30cf8b59d9c3c513f399892125ad7bcb53.zip gdb-80f49b30cf8b59d9c3c513f399892125ad7bcb53.tar.gz gdb-80f49b30cf8b59d9c3c513f399892125ad7bcb53.tar.bz2 |
Use a stack of structures (instead of a simple array) to keep track of
the top list.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r-- | gdb/ui-out.h | 6 |
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, |