diff options
author | Jim Blandy <jimb@codesourcery.com> | 2008-02-05 16:05:56 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2008-02-05 16:05:56 +0000 |
commit | d844e34bca5ee23fcda39c8808633a97a330cbd5 (patch) | |
tree | 72271333e18ebabc04d127f23b2d296da91f4d92 /gdb/tracepoint.c | |
parent | 85ecb32b7a1b91d10b9047a76751252a8b2e8af4 (diff) | |
download | gdb-d844e34bca5ee23fcda39c8808633a97a330cbd5.zip gdb-d844e34bca5ee23fcda39c8808633a97a330cbd5.tar.gz gdb-d844e34bca5ee23fcda39c8808633a97a330cbd5.tar.bz2 |
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)
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 2d744ae..fbb1b27 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -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) |