OSDN Git Service

gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 10 Jul 2009 14:18:12 +0000 (14:18 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 10 Jul 2009 14:18:12 +0000 (14:18 +0000)
commitfb5aaaf14787f396f1b53cca47fb3b33b791befe
tree009d8af9ed59e8c08cf0ce550f7f66fa424196c2
parent3e2231a42fa8454b61641ca11e56ad8d94ca13d7
gdb/
Tidy up the code.
* mi/mi-cmd-var.c (mi_cmd_var_update): Remove variable nv.  Move
variables var, rootlist and cr to their local sub-block.  Move the
make_cleanup_ui_out_tuple_begin_end, make_cleanup_ui_out_list_begin_end
and do_cleanups calls to the common base block.  Remove the zero NV
check.
gdb/ChangeLog
gdb/mi/mi-cmd-var.c