* cli/cli-decode.c (cmd_cfunc_eq): New function.
[deliverable/binutils-gdb.git] / gdb / command.h
index c7d7b5eeaaf8487ff4f25ab3ffbaaa253343f7f9..9037b2e0d01df981f67369a830bedccde6995751 100644 (file)
@@ -292,6 +292,10 @@ extern void set_cmd_sfunc (struct cmd_list_element *cmd,
                           void (*sfunc) (char *args, int from_tty,
                                          struct cmd_list_element * c));
 
+/* HACK: cagney/2002-02-23: Code, mostly in tracepoints.c, grubs
+   around in cmd objects to test the value of the commands sfunc().  */
+extern int cmd_cfunc_eq (struct cmd_list_element *cmd,
+                        void (*cfunc) (char *args, int from_tty));
 
 extern struct cmd_list_element *lookup_cmd (char **,
                                            struct cmd_list_element *, char *,
This page took 0.023223 seconds and 4 git commands to generate.