diff options
author | Tom Tromey <tromey@redhat.com> | 1998-08-31 22:43:21 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1998-08-31 22:43:21 +0000 |
commit | d5adad6aa25e787acb17d78229a9ef930c102f9e (patch) | |
tree | a6a655362de646868df2cbd315483979e58905d4 | |
parent | c2242569d0da0874ba6a732dcb086ff23f706dcc (diff) | |
download | fsf-binutils-gdb-d5adad6aa25e787acb17d78229a9ef930c102f9e.zip fsf-binutils-gdb-d5adad6aa25e787acb17d78229a9ef930c102f9e.tar.gz fsf-binutils-gdb-d5adad6aa25e787acb17d78229a9ef930c102f9e.tar.bz2 |
* top.c (context_hook): Define.
* gdbtk-hooks.c (context_hook): Don't define.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/ChangeLog-gdbtk | 4 | ||||
-rw-r--r-- | gdb/gdbtk-hooks.c | 1 | ||||
-rw-r--r-- | gdb/top.c | 3 |
4 files changed, 12 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 49150fd..ba0b361 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,7 +1,11 @@ +Mon Aug 31 15:42:10 1998 Tom Tromey <tromey@cygnus.com> + + * top.c (context_hook): Define. + Tue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com> * ax-gdb.c (gen_var_ref): Allow for typedef types. - (gen_cast, gen_bitfield_ref, gen_expr): ditto. + (gen_cast, gen_bitfield_ref, gen_expr, gen_deref): ditto. Mon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com> diff --git a/gdb/ChangeLog-gdbtk b/gdb/ChangeLog-gdbtk index 2beed22..d4baa25 100644 --- a/gdb/ChangeLog-gdbtk +++ b/gdb/ChangeLog-gdbtk @@ -1,3 +1,7 @@ +Mon Aug 31 15:42:10 1998 Tom Tromey <tromey@cygnus.com> + + * gdbtk-hooks.c (context_hook): Don't define. + 1998-08-31 Keith Seitz <keiths@cygnus.com> * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors" diff --git a/gdb/gdbtk-hooks.c b/gdb/gdbtk-hooks.c index d4a9fa1..8f6f19c 100644 --- a/gdb/gdbtk-hooks.c +++ b/gdb/gdbtk-hooks.c @@ -111,7 +111,6 @@ static void pc_changed PARAMS ((void)); static void tracepoint_notify PARAMS ((struct tracepoint *, const char *)); static void gdbtk_selected_frame_changed PARAMS ((int)); static void gdbtk_context_change PARAMS ((int)); -void (*context_hook) PARAMS ((int)); /* * gdbtk_fputs can't be static, because we need to call it in gdbtk.c. @@ -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. */ |