From 7b3ae3a66fc5e88b441ab616ef728e00d11c249e Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 14 Feb 2013 03:57:13 +0000 Subject: [PATCH] gdb/ * tracepoint.c (end_actions_pseudocommand): Make it static. (while_stepping_pseudocommand): Likewise. * tracepoint.h (end_actions_pseudocommand): Remove the declaration. (while_stepping_pseudocommand): Likewise. --- gdb/ChangeLog | 8 ++++++++ gdb/tracepoint.c | 4 ++-- gdb/tracepoint.h | 3 --- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 42c10e52dae..655e7edc0e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2013-02-14 Yao Qi + + * 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 * cli/cli-decode.c (help_cmd): Remove the declaration of diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index b45863e3e67..d4b0549cc92 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -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.")); diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h index 2e1d83acd0e..f95bb545b2c 100644 --- a/gdb/tracepoint.h +++ b/gdb/tracepoint.h @@ -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); -- 2.30.2