gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 10 Jul 2009 14:18:14 +0000 (14:18 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 10 Jul 2009 14:18:14 +0000 (14:18 +0000)
commit6e9ef2a82d0dcbe60b0d877dec44f47da2973efe
treec03ff3dbaa8595b6f619b5cb7cc455b4b9879bf0
parent1d7708459220fa4c011f7e7bea9e58a808cb2289
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