From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12677 invoked by alias); 9 Oct 2008 03:04:26 -0000 Received: (qmail 12668 invoked by uid 22791); 9 Oct 2008 03:04:25 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Oct 2008 03:03:50 +0000 Received: from mailhost5.vmware.com (mailhost5.vmware.com [10.16.68.131]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 5566543004; Wed, 8 Oct 2008 20:03:49 -0700 (PDT) Received: from [10.20.92.59] (promb-2s-dhcp59.eng.vmware.com [10.20.92.59]) by mailhost5.vmware.com (Postfix) with ESMTP id 49DE7DC05D; Wed, 8 Oct 2008 20:03:49 -0700 (PDT) Message-ID: <48ED740F.6020901@vmware.com> Date: Thu, 09 Oct 2008 03:04:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: teawater CC: "gdb-patches@sourceware.org" Subject: Re: [reverse RFA] Reset after push_target References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-10/txt/msg00273.txt.bz2 Sounds good. teawater wrote: > Hi Michael, > > This patch make record_open reset after push_target because > push_target will call record_close that use some reset variables. > > 2008-10-08 Hui Zhu > > * record.c (record_open): Reset after push_target. > > Thanks, > Hui > > > ------------------------------------------------------------------------ > > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,7 @@ > +2008-10-08 Hui Zhu > + > + * record.c (record_open): Reset after push_target. > + > 2008-10-07 Hui Zhu > > * inflow.c (kill_command): Remove query special for > --- a/record.c > +++ b/record.c > @@ -413,12 +413,12 @@ record_open (char *name, int from_tty) > } > } > > + push_target (&record_ops); > + > /* Reset */ > record_insn_num = 0; > record_list = &record_first; > record_list->next = NULL; > - > - push_target (&record_ops); > } > > static void