* breakpoint.c (check_no_tracepoint_commands): Use
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 23 Mar 2010 21:36:05 +0000 (21:36 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 23 Mar 2010 21:36:05 +0000 (21:36 +0000)
current spelling of 'teval'.

gdb/ChangeLog
gdb/breakpoint.c

index f801b41..cbc8eb6 100644 (file)
@@ -1,5 +1,10 @@
 2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
 
+       * breakpoint.c (check_no_tracepoint_commands): Use
+       current spelling of 'teval'.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
        Unify actions and commands
 
        * defs.h (read_command_lines, read_command_lines_1): New
index 41fe09a..f47d63c 100644 (file)
@@ -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"));
     }
 }