diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-14 17:44:43 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-14 17:44:43 +0000 |
commit | 4cf46804f3a6d4ab31cbb59831b7ee18fae99498 (patch) | |
tree | 98ca64f5f2a87afc9edb183c00ba4d99123a8584 /gdb/remote.c | |
parent | 683f2885af8be6282b3a89b77b0bf06a616c0040 (diff) | |
download | gdb-4cf46804f3a6d4ab31cbb59831b7ee18fae99498.zip gdb-4cf46804f3a6d4ab31cbb59831b7ee18fae99498.tar.gz gdb-4cf46804f3a6d4ab31cbb59831b7ee18fae99498.tar.bz2 |
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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index fac4d48..88cde58 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -1037,11 +1037,6 @@ static int use_threadextra_query; 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); @@ -3096,11 +3091,6 @@ remote_resume (ptid_t ptid, int step, enum target_signal siggnal) 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 (); @@ -3376,11 +3366,6 @@ remote_wait (ptid_t ptid, struct target_waitstatus *status) 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]) @@ -3610,11 +3595,6 @@ remote_async_wait (ptid_t ptid, struct target_waitstatus *status) 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. */ |