2013-05-22 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Wed, 22 May 2013 12:27:13 +0000 (12:27 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Wed, 22 May 2013 12:27:13 +0000 (12:27 +0000)
commit54eb231c4bca046e8b8cd73461f695e02c5620d5
treeffd98f21e79be72c3ecdfa5a6a2ffa898dd4dbe1
parent19ce2a293b87ea4c6991137292d7a4a38a0b8433
2013-05-22  Phil Muldoon  <pmuldoon@redhat.com>

* ui-out.c: Create typedef ui_out_level_p and define vector
operations for that type.
(struct ui_out): Use a vector instead of an array.
(current_level): Return level from a vector.
(push_level): Create a level in a vector.
(pop_level): Delete a level in a vector.
(ui_out_new): Create initial level zero level, and store in a
vector.
(ui_out_destroy): Add vector cleanup.
gdb/ChangeLog
gdb/ui-out.c