mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 05:12:28 +08:00
2001-03-13 Fernando Nasser <fnasser@redhat.com>
From Steven Johnson <sjohnson@neurizon.net> * cli/cli-script.c (define_command): Fix setting of post hooks.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-03-13 Fernando Nasser <fnasser@redhat.com>
|
||||||
|
|
||||||
|
From Steven Johnson <sjohnson@neurizon.net>
|
||||||
|
* cli/cli-script.c (define_command): Fix setting of post hooks.
|
||||||
|
|
||||||
2001-03-13 Mark Kettenis <kettenis@gnu.org>
|
2001-03-13 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* i386-linux-tdep.c: Fix formatting and clarify comments.
|
* i386-linux-tdep.c: Fix formatting and clarify comments.
|
||||||
|
@ -1166,8 +1166,8 @@ define_command (char *comname, int from_tty)
|
|||||||
newc->hookee_pre = hookc; /* We are marked as hooking target cmd. */
|
newc->hookee_pre = hookc; /* We are marked as hooking target cmd. */
|
||||||
break;
|
break;
|
||||||
case CMD_POST_HOOK:
|
case CMD_POST_HOOK:
|
||||||
hookc->hook_pre = newc; /* Target gets hooked. */
|
hookc->hook_post = newc; /* Target gets hooked. */
|
||||||
newc->hookee_pre = hookc; /* We are marked as hooking target cmd. */
|
newc->hookee_post = hookc; /* We are marked as hooking target cmd. */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Should never come here as hookc would be 0. */
|
/* Should never come here as hookc would be 0. */
|
||||||
|
Reference in New Issue
Block a user