This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Disallow pseudo-registers in agent expression.
- From: "Jim Blandy" <jimb at red-bean dot com>
- To: "andrzej zaborowski" <balrogg at gmail dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 5 Feb 2008 08:07:10 -0800
- Subject: Re: [PATCH] Disallow pseudo-registers in agent expression.
- References: <fb249edb0801261107s6444f842s45ef63860c38f4d3@mail.gmail.com> <fb249edb0801261110g75922f69o948a2e2fd6b08dfa@mail.gmail.com> <8f2776cb0801271007r125463e0la1cf8a7c9d1efef@mail.gmail.com> <fb249edb0801281551o68911a0cw5e6d2051247722ab@mail.gmail.com> <8f2776cb0801281728v2ff40d50y2be92664b2c28de5@mail.gmail.com> <8f2776cb0802050734x1f79a335kfa3eaa104f25fedc@mail.gmail.com> <8f2776cb0802050758o1d3b80cfw11e88ec413f0c423@mail.gmail.com>
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)