* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
[deliverable/binutils-gdb.git] / gdb / cli / cli-setshow.c
index 5904d33b85eddc1952cf645d2372d277bbdd3216..f967b0c3ebae30aea8df66a47dfa6d71ad573161 100644 (file)
@@ -345,7 +345,7 @@ do_setshow_command (char *arg, int from_tty, struct cmd_list_element *c)
     }
   else
     error ("gdb internal error: bad cmd_type in do_setshow_command");
-  (*c->function.sfunc) (NULL, from_tty, c);
+  c->func (c, NULL, from_tty);
   if (c->type == set_cmd && set_hook)
     set_hook (c);
 }
This page took 0.023993 seconds and 4 git commands to generate.