aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2010-03-23 21:36:05 +0000
committerVladimir Prus <vladimir@codesourcery.com>2010-03-23 21:36:05 +0000
commit51661e93bc86f652d6e6df2fb5663680e33ca4d0 (patch)
treee86e485378fbd931823cbb9242a2154dfd9e4480 /gdb/breakpoint.c
parent58ddf7c9cd631e783da62b342e03b9781933fe3c (diff)
downloadgdb-51661e93bc86f652d6e6df2fb5663680e33ca4d0.zip
gdb-51661e93bc86f652d6e6df2fb5663680e33ca4d0.tar.gz
gdb-51661e93bc86f652d6e6df2fb5663680e33ca4d0.tar.bz2
* breakpoint.c (check_no_tracepoint_commands): Use
current spelling of 'teval'.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 41fe09a..f47d63c 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"));
}
}