2011-08-04 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / cli / cli-setshow.c
index 8dbfaadde6245f5d9c11c671c4624880b061c85a..5e4846630b44c2364bab551dbe67f72971d6628f 100644 (file)
@@ -125,6 +125,8 @@ deprecated_show_value_hack (struct ui_file *ignore_file,
 void
 do_setshow_command (char *arg, int from_tty, struct cmd_list_element *c)
 {
+  struct ui_out *uiout = current_uiout;
+
   if (c->type == set_cmd)
     {
       switch (c->var_type)
@@ -411,6 +413,7 @@ void
 cmd_show_list (struct cmd_list_element *list, int from_tty, char *prefix)
 {
   struct cleanup *showlist_chain;
+  struct ui_out *uiout = current_uiout;
 
   showlist_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "showlist");
   for (; list != NULL; list = list->next)
This page took 0.025288 seconds and 4 git commands to generate.