From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3800 invoked by alias); 13 Dec 2003 18:56:46 -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 3793 invoked from network); 13 Dec 2003 18:56:45 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 13 Dec 2003 18:56:45 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A8BCF2B8F; Sat, 13 Dec 2003 13:55:58 -0500 (EST) Message-ID: <3FDB60BE.1080308@gnu.org> Date: Sat, 13 Dec 2003 18:56:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: protect breakpoint commands from being freed References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00357.txt.bz2 > 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. > Didn't Don Howard fix this? Andrew