aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-02-02 16:39:06 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2016-02-02 16:40:38 -0500
commit6456a18b717e7b1ae96d77a2549fbf4da60d6617 (patch)
tree0679291c9dab95fb34e07c5613431408d684e84b /gdb/ui-out.c
parentfb06f1c0f25d27006b28a94e54273a6bb35b5926 (diff)
downloadgdb-6456a18b717e7b1ae96d77a2549fbf4da60d6617.zip
gdb-6456a18b717e7b1ae96d77a2549fbf4da60d6617.tar.gz
gdb-6456a18b717e7b1ae96d77a2549fbf4da60d6617.tar.bz2
ui-out.c: Remove unused enum
This is unused since 54eb231c4bca046e8b8cd73461f695e02c5620d5, where static arrays of ui_out_levels were replaced with vectors. gdb/ChangeLog: * ui-out.c (MAX_UI_OUT_LEVELS): Remove.
Diffstat (limited to 'gdb/ui-out.c')
-rw-r--r--gdb/ui-out.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index aa6d6fe..e5a2bf1 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -37,12 +37,6 @@ struct ui_out_hdr
struct ui_out_hdr *next;
};
-/* Maintain a stack so that the info applicable to the inner most list
- is always available. Stack/nested level 0 is reserved for the
- top-level result. */
-
-enum { MAX_UI_OUT_LEVELS = 8 };
-
struct ui_out_level
{
/* Count each field; the first element is for non-list fields. */