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:
parent
85ecb32b7a
commit
d844e34bca
@ -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>
|
2008-02-05 Jim Blandy <jimb@red-bean.com>
|
||||||
|
|
||||||
* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
|
* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
|
||||||
|
@ -862,7 +862,10 @@ read_actions (struct tracepoint *t)
|
|||||||
line = gdb_readline (0);
|
line = gdb_readline (0);
|
||||||
|
|
||||||
if (!line)
|
if (!line)
|
||||||
line = "end";
|
{
|
||||||
|
line = xstrdup ("end");
|
||||||
|
printf_filtered ("end\n");
|
||||||
|
}
|
||||||
|
|
||||||
linetype = validate_actionline (&line, t);
|
linetype = validate_actionline (&line, t);
|
||||||
if (linetype == BADLINE)
|
if (linetype == BADLINE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user