+2008-03-14 Vladimir Prus <vladimir@codesourcery.com>
+
+ Remove unused remote.c hooks.
+ * remote.c (deprecated_target_resume_hook)
+ (deprecated_target_wait_loop_hook): Remove.
+ (remote_resume): Do not call deprecated_target_resume_hook.
+ (remote_wait): Do not call deprecated_target_wait_loop_hook.
+ (remote_async_wait): Likewise.
+
2008-03-14 Vladimir Prus <vladimir@codesourcery.com>
Implement MI notification for new threads.
static struct async_signal_handler *sigint_remote_twice_token;
static struct async_signal_handler *sigint_remote_token;
-/* These are pointers to hook functions that may be set in order to
- modify resume/wait behavior for a particular architecture. */
-
-void (*deprecated_target_resume_hook) (void);
-void (*deprecated_target_wait_loop_hook) (void);
\f
last_sent_signal = siggnal;
last_sent_step = step;
- /* A hook for when we need to do something at the last moment before
- resumption. */
- if (deprecated_target_resume_hook)
- (*deprecated_target_resume_hook) ();
-
/* Update the inferior on signals to silently pass, if they've changed. */
remote_pass_signals ();
buf = rs->buf;
- /* This is a hook for when we need to do something (perhaps the
- collection of trace data) every time the target stops. */
- if (deprecated_target_wait_loop_hook)
- (*deprecated_target_wait_loop_hook) ();
-
remote_stopped_by_watchpoint_p = 0;
switch (buf[0])
buf = rs->buf;
- /* This is a hook for when we need to do something (perhaps the
- collection of trace data) every time the target stops. */
- if (deprecated_target_wait_loop_hook)
- (*deprecated_target_wait_loop_hook) ();
-
switch (buf[0])
{
case 'E': /* Error of some sort. */