Re: [PATCH] Disallow pseudo-registers in agent expression.

Jim Blandy
2008-02-05T16:07:31Z

I've committed the following, to fix the second issue. I don't think
this change is large enough to need a copyright assignment.

Thank you very much, Andrzej!

gdb/ChangeLog:
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)

Index: gdb/tracepoint.c
===================================================================
RCS file: /cvs/src/src/gdb/tracepoint.c,v
retrieving revision 1.100
diff -u -r1.100 tracepoint.c
--- gdb/tracepoint.c 11 Jan 2008 13:34:15 -0000 1.100
+++ gdb/tracepoint.c 5 Feb 2008 16:05:30 -0000
@@ -862,7 +862,10 @@
line = gdb_readline (0);

if (!line)
- line = "end";
+ {
+ line = xstrdup ("end");
+ printf_filtered ("end\n");
+ }

linetype = validate_actionline (&line, t);
if (linetype == BADLINE)