aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-04-12 16:49:32 +0100
committerPedro Alves <palves@redhat.com>2016-04-12 17:02:06 +0100
commitcfd0fbddb025d36228d02fe23e06039acc6104e4 (patch)
tree09addebcb6b1c9b5051bad642182a95035e6404d /gdb/target.h
parent585a46a2d01d25181926329f258f1d1374f93e99 (diff)
downloadgdb-cfd0fbddb025d36228d02fe23e06039acc6104e4.zip
gdb-cfd0fbddb025d36228d02fe23e06039acc6104e4.tar.gz
gdb-cfd0fbddb025d36228d02fe23e06039acc6104e4.tar.bz2
Eliminate target_check_pending_interrupt
This is no longer called anywhere. gdb/ChangeLog: 2016-04-12 Pedro Alves <palves@redhat.com> * target.c (target_check_pending_interrupt): Delete. * target.h (struct target_ops) <to_check_pending_interrupt>: Remove method. (target_check_pending_interrupt): Remove declaration. * target-delegates.c: Regenerate.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 00625fe..6b5b6e0 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -647,8 +647,6 @@ struct target_ops
TARGET_DEFAULT_IGNORE ();
void (*to_pass_ctrlc) (struct target_ops *)
TARGET_DEFAULT_FUNC (default_target_pass_ctrlc);
- void (*to_check_pending_interrupt) (struct target_ops *)
- TARGET_DEFAULT_IGNORE ();
void (*to_rcmd) (struct target_ops *,
const char *command, struct ui_file *output)
TARGET_DEFAULT_FUNC (default_rcmd);
@@ -1729,14 +1727,6 @@ extern void target_pass_ctrlc (void);
target_interrupt. */
extern void default_target_pass_ctrlc (struct target_ops *ops);
-/* Some targets install their own SIGINT handler while the target is
- running. This method is called from the QUIT macro to give such
- targets a chance to process a Ctrl-C. The target may e.g., choose
- to interrupt the (potentially) long running operation, or give up
- waiting and disconnect. */
-
-extern void target_check_pending_interrupt (void);
-
/* Send the specified COMMAND to the target's monitor
(shell,interpreter) for execution. The result of the query is
placed in OUTBUF. */