Home
last modified time | relevance | path

Searched refs:hookc (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/usr.bin/binutils/gdb/cli/
H A Dcli-script.c1086 struct cmd_list_element *c, *newc, *oldc, *hookc = 0; in define_command() local
1135 hookc = lookup_cmd (&tem, cmdlist, "", -1, 0); in define_command()
1136 if (hookc && strcmp (comname + hook_name_size, hookc->name) != 0) in define_command()
1137 hookc = 0; in define_command()
1138 if (!hookc) in define_command()
1168 if (hookc) in define_command()
1173 hookc->hook_pre = newc; /* Target gets hooked. */ in define_command()
1174 newc->hookee_pre = hookc; /* We are marked as hooking target cmd. */ in define_command()
1177 hookc->hook_post = newc; /* Target gets hooked. */ in define_command()
1178 newc->hookee_post = hookc; /* We are marked as hooking target cmd. */ in define_command()