Use ui_out_emit_tuple in more places
[deliverable/binutils-gdb.git] / gdb / mi / mi-cmd-file.c
index 2b3522b7b16645fd02993fda14fdead9bc854553..a39ef3b35b43f032dabfdb04230784061aac423f 100644 (file)
@@ -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);
     }
 }
This page took 0.023655 seconds and 4 git commands to generate.