mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* top.c (context_hook): Define.
* gdbtk-hooks.c (context_hook): Don't define.
This commit is contained in:
@@ -460,6 +460,9 @@ int (*target_wait_hook) PARAMS ((int pid, struct target_waitstatus *status));
|
||||
void (*call_command_hook) PARAMS ((struct cmd_list_element *c, char *cmd,
|
||||
int from_tty));
|
||||
|
||||
/* Called when the current thread changes. Argument is thread id. */
|
||||
|
||||
void (*context_hook) PARAMS ((int id));
|
||||
|
||||
/* Takes control from error (). Typically used to prevent longjmps out of the
|
||||
middle of the GUI. Usually used in conjunction with a catch routine. */
|
||||
|
||||
Reference in New Issue
Block a user