diff options
author | Tom Tromey <tom@tromey.com> | 2017-08-11 15:02:04 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-09 13:46:05 -0600 |
commit | 76f9c9cfd42eb8df90ce8455a92109c0f71b41e1 (patch) | |
tree | 412125e3a8e7f78d909430fbed1cd045e332828a /gdb/mi/mi-cmd-file.c | |
parent | dc9fe180a4437b437015a8b835d05e32d64dff3d (diff) | |
download | gdb-76f9c9cfd42eb8df90ce8455a92109c0f71b41e1.zip gdb-76f9c9cfd42eb8df90ce8455a92109c0f71b41e1.tar.gz gdb-76f9c9cfd42eb8df90ce8455a92109c0f71b41e1.tar.bz2 |
Use ui_out_emit_tuple in more places
This changes more places to use ui_out_emit_tuple, removing cleanups.
ChangeLog
2017-09-09 Tom Tromey <tom@tromey.com>
* target.c (flash_erase_command): Use ui_out_emit_tuple.
* stack.c (print_frame): Use ui_out_emit_tuple.
* spu-tdep.c (info_spu_event_command): Use ui_out_emit_tuple.
(info_spu_mailbox_command, info_spu_dma_command)
(info_spu_proxydma_command): Likewise.
* mi/mi-main.c (mi_cmd_trace_frame_collected): Use
ui_out_emit_tuple, gdb::byte_vector, bin2hex.
* mi/mi-cmd-file.c (mi_cmd_file_list_shared_libraries): Use
ui_out_emit_tuple.
* breakpoint.c (print_it_watchpoint): Use ui_out_emit_tuple.
Diffstat (limited to 'gdb/mi/mi-cmd-file.c')
-rw-r--r-- | gdb/mi/mi-cmd-file.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmd-file.c b/gdb/mi/mi-cmd-file.c index 2b3522b..a39ef3b 100644 --- a/gdb/mi/mi-cmd-file.c +++ b/gdb/mi/mi-cmd-file.c @@ -153,10 +153,7 @@ mi_cmd_file_list_shared_libraries (const char *command, char **argv, int argc) if (pattern != NULL && !re_exec (so->so_name)) continue; - struct cleanup *tuple_clean_up - = make_cleanup_ui_out_tuple_begin_end (uiout, NULL); + ui_out_emit_tuple tuple_emitter (uiout, NULL); mi_output_solib_attribs (uiout, so); - - do_cleanups (tuple_clean_up); } } |