diff options
Diffstat (limited to 'gdb/command.h')
-rw-r--r-- | gdb/command.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/command.h b/gdb/command.h index c7d7b5e..9037b2e 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -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 *, |