* tracepoint.c (end_actions_pseudocommand): Make it static.
	(while_stepping_pseudocommand): Likewise.
	* tracepoint.h (end_actions_pseudocommand): Remove the
	declaration.
	(while_stepping_pseudocommand): Likewise.
This commit is contained in:
Yao Qi 2013-02-14 03:57:13 +00:00
parent 55015247e3
commit 7b3ae3a66f
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2013-02-14 Yao Qi <yao@codesourcery.com>
* tracepoint.c (end_actions_pseudocommand): Make it static.
(while_stepping_pseudocommand): Likewise.
* tracepoint.h (end_actions_pseudocommand): Remove the
declaration.
(while_stepping_pseudocommand): Likewise.
2013-02-14 Yao Qi <yao@codesourcery.com>
* cli/cli-decode.c (help_cmd): Remove the declaration of

View File

@ -565,13 +565,13 @@ save_trace_state_variables (struct ui_file *fp)
it means that somebody issued the "command" at the top level,
which is always an error. */
void
static void
end_actions_pseudocommand (char *args, int from_tty)
{
error (_("This command cannot be used at the top level."));
}
void
static void
while_stepping_pseudocommand (char *args, int from_tty)
{
error (_("This command can only be used in a tracepoint actions list."));

View File

@ -244,9 +244,6 @@ extern void encode_actions (struct breakpoint *t, struct bp_location *tloc,
extern void validate_actionline (char **, struct breakpoint *);
extern void end_actions_pseudocommand (char *args, int from_tty);
extern void while_stepping_pseudocommand (char *args, int from_tty);
extern struct trace_state_variable *find_trace_state_variable (const char *name);
extern struct trace_state_variable *create_trace_state_variable (const char *name);