This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
think-o bug: c->hook_in left set?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb at sources dot redhat dot com
- Date: Sun, 17 Mar 2002 12:19:59 -0500
- Subject: think-o bug: c->hook_in left set?
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