think-o bug: c->hook_in left set?
Andrew Cagney
ac131313@cygnus.com
Sun Mar 17 09:20:00 GMT 2002
Hello,
Top.c contains:
/* If this command has been post-hooked, run the hook last. */
if ((c->hook_post) && (!c->hook_in))
{
c->hook_in = 1; /* Prevent recursive hooking */
execute_user_command (c->hook_post, (char *) 0);
c->hook_in = 0; /* allow hook to work again once it is complete */
}
If execute_user_command() throws an error, as far as I can tell, hook_in
is left set to one :-(
Andrew
More information about the Gdb
mailing list