This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix PR cli/2563
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 12 Dec 2008 21:37:57 +0400
- Subject: Re: RFA: fix PR cli/2563
- References: <m3y6ymek2x.fsf@fleche.redhat.com>
> 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 <tromey@redhat.com>
>
> 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 <tromey@redhat.com>
>
> * gdb.base/commands.exp (redefine_hook_test): New proc.
> Call it.
This is OK.
Thank you,
--
Joel