aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-20 10:30:13 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:40 -0700
commit86a0854a691a220419785b2008bf2fb0ddd6e46f (patch)
tree4561db932f0c9839a0dd6b960c664df577465616 /gdb/target.h
parentee97f592f2d9edf4ae720a68893af5cbaedd1be9 (diff)
downloadgdb-86a0854a691a220419785b2008bf2fb0ddd6e46f.zip
gdb-86a0854a691a220419785b2008bf2fb0ddd6e46f.tar.gz
gdb-86a0854a691a220419785b2008bf2fb0ddd6e46f.tar.bz2
convert to_disconnect
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_disconnect): Unconditionally delegate. * target.h (struct target_ops) <to_disconnect>: Use TARGET_DEFAULT_NORETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 1437cc4..1ceb74d 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -409,7 +409,8 @@ struct target_ops
TARGET_DEFAULT_IGNORE ();
void (*to_detach) (struct target_ops *ops, const char *, int)
TARGET_DEFAULT_IGNORE ();
- void (*to_disconnect) (struct target_ops *, char *, int);
+ void (*to_disconnect) (struct target_ops *, char *, int)
+ TARGET_DEFAULT_NORETURN (tcomplain ());
void (*to_resume) (struct target_ops *, ptid_t, int, enum gdb_signal)
TARGET_DEFAULT_NORETURN (noprocess ());
ptid_t (*to_wait) (struct target_ops *,