From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10312 invoked by alias); 5 Feb 2008 16:07:31 -0000 Received: (qmail 10304 invoked by uid 22791); 5 Feb 2008 16:07:31 -0000 X-Spam-Check-By: sourceware.org Received: from fk-out-0910.google.com (HELO fk-out-0910.google.com) (209.85.128.184) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Feb 2008 16:07:13 +0000 Received: by fk-out-0910.google.com with SMTP id 26so2405408fkx.10 for ; Tue, 05 Feb 2008 08:07:10 -0800 (PST) Received: by 10.82.184.2 with SMTP id h2mr15680071buf.22.1202227630245; Tue, 05 Feb 2008 08:07:10 -0800 (PST) Received: by 10.82.165.12 with HTTP; Tue, 5 Feb 2008 08:07:10 -0800 (PST) Message-ID: <8f2776cb0802050807y4ff782dcy4613687e9852c749@mail.gmail.com> Date: Tue, 05 Feb 2008 16:07:00 -0000 From: "Jim Blandy" To: "andrzej zaborowski" Subject: Re: [PATCH] Disallow pseudo-registers in agent expression. Cc: gdb-patches@sources.redhat.com In-Reply-To: <8f2776cb0802050758o1d3b80cfw11e88ec413f0c423@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8f2776cb0801271007r125463e0la1cf8a7c9d1efef@mail.gmail.com> <8f2776cb0801281728v2ff40d50y2be92664b2c28de5@mail.gmail.com> <8f2776cb0802050734x1f79a335kfa3eaa104f25fedc@mail.gmail.com> <8f2776cb0802050758o1d3b80cfw11e88ec413f0c423@mail.gmail.com> X-Google-Sender-Auth: 2a3fba41c5a4aeff X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00106.txt.bz2 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 * 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)