From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9228 invoked by alias); 17 Dec 2003 18:32:09 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9175 invoked from network); 17 Dec 2003 18:32:08 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 17 Dec 2003 18:32:08 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AWgSu-0007mT-86; Wed, 17 Dec 2003 13:32:08 -0500 Date: Wed, 17 Dec 2003 18:32:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: protect breakpoint commands from being freed Message-ID: <20031217183208.GA29882@nevyn.them.org> Mail-Followup-To: Jim Blandy , gdb-patches@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-12/txt/msg00410.txt.bz2 On Sat, Dec 13, 2003 at 12:56:39AM -0500, Jim Blandy wrote: > > 2003-12-02 Jim Blandy > > * breakpoint.c (bpstat_do_actions): To ensure that > clear_proceed_status doesn't free the command tree we're > evaluating out from under us, zero the bpstat's pointer to it, and > take care of freeing it ourselves. > * cli/cli-script.c (make_cleanup_free_command_lines): Make this > function externally visible. > * cli/cli-script.h (make_cleanup_free_command_lines): New > declaration. I don't believe anyone has objected to this patch, and it looks good to me. Please check this in. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer