X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fcli%2Fcli-cmds.h;h=94e210a84ebb444445527fccf795506bead8487c;hb=fdbc98707b0ab48fd8ca3ac37acefa120496baf6;hp=63b8c4018cea089f61cf588d2bd6556603382b76;hpb=c6ac893109fdc2c3fce2b7457adccdc10f235354;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h index 63b8c4018c..94e210a84e 100644 --- a/gdb/cli/cli-cmds.h +++ b/gdb/cli/cli-cmds.h @@ -142,4 +142,19 @@ extern gdb::optional extern int source_verbose; extern int trace_commands; +/* Common code for the "with" and "maintenance with" commands. + SET_CMD_PREFIX is the spelling of the corresponding "set" command + prefix: i.e., "set " or "maintenance set ". SETLIST is the command + element for the same "set" command prefix. */ +extern void with_command_1 (const char *set_cmd_prefix, + cmd_list_element *setlist, + const char *args, int from_tty); + +/* Common code for the completers of the "with" and "maintenance with" + commands. SET_CMD_PREFIX is the spelling of the corresponding + "set" command prefix: i.e., "set " or "maintenance set ". */ +extern void with_command_completer_1 (const char *set_cmd_prefix, + completion_tracker &tracker, + const char *text); + #endif /* CLI_CLI_CMDS_H */