From: Vladimir Prus Date: Tue, 23 Mar 2010 21:36:05 +0000 (+0000) Subject: * breakpoint.c (check_no_tracepoint_commands): Use X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51661e93bc86f652d6e6df2fb5663680e33ca4d0;p=binutils-gdb.git * breakpoint.c (check_no_tracepoint_commands): Use current spelling of 'teval'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f801b41e2be..cbc8eb62295 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-03-24 Vladimir Prus + + * breakpoint.c (check_no_tracepoint_commands): Use + current spelling of 'teval'. + 2010-03-24 Vladimir Prus Unify actions and commands diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 41fe09a498d..f47d63cbb8b 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -716,8 +716,8 @@ check_no_tracepoint_commands (struct command_line *commands) if (strstr (c->line, "collect ") == c->line) error (_("The 'collect' command can only be used for tracepoints")); - if (strstr (c->line, "eval ") == c->line) - error (_("The 'eval' command can only be used for tracepoints")); + if (strstr (c->line, "teval ") == c->line) + error (_("The 'teval' command can only be used for tracepoints")); } }