2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>

* tracepoint.c (read_actions): Handle end-of-text indicator
	in action list properly.  (Committed by Jim Blandy)
This commit is contained in:
Jim Blandy 2008-02-05 16:05:56 +00:00
parent 85ecb32b7a
commit d844e34bca
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
* tracepoint.c (read_actions): Handle end-of-text indicator
in action list properly. (Committed by Jim Blandy)
2008-02-05 Jim Blandy <jimb@red-bean.com>
* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a

View File

@ -862,7 +862,10 @@ read_actions (struct tracepoint *t)
line = gdb_readline (0);
if (!line)
line = "end";
{
line = xstrdup ("end");
printf_filtered ("end\n");
}
linetype = validate_actionline (&line, t);
if (linetype == BADLINE)