From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9501 invoked by alias); 12 Dec 2008 17:38:45 -0000 Received: (qmail 9493 invoked by uid 22791); 12 Dec 2008 17:38:44 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Dec 2008 17:38:09 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8CABA2A9693; Fri, 12 Dec 2008 12:38:07 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4xJ483JKZ7m8; Fri, 12 Dec 2008 12:38:07 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id F05CE2A9698; Fri, 12 Dec 2008 12:38:06 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id D104AE7ACD; Fri, 12 Dec 2008 18:37:57 +0100 (CET) Date: Fri, 12 Dec 2008 17:38:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: RFA: fix PR cli/2563 Message-ID: <20081212173757.GC6866@adacore.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i 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-12/txt/msg00231.txt.bz2 > Joel pointed this out in response to my fix for PR 1815. The bug is > that redefining a hooked command does not preserve the hook. Thanks for fixing this bug, Tom! > 2008-12-11 Tom Tromey > > PR cli/2563: > * cli/cli-decode.c (delete_cmd): Add hook-related out parameters. > (add_cmd): Update. Install hooks into new command. > (add_alias_cmd): Update. > > 2008-12-11 Tom Tromey > > * gdb.base/commands.exp (redefine_hook_test): New proc. > Call it. This is OK. Thank you, -- Joel