This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: fix PR cli/2563


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]