aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-19 08:18:04 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:36 -0700
commit9ace480d62cd71d27f3a6701a413de0c7e46655a (patch)
treefac2bb2575d8b155f1a942df7bcc293eb112cfbc /gdb/target.h
parent8dc292d3217b0cb85ada1b531f9e7e3249b5075e (diff)
downloadgdb-9ace480d62cd71d27f3a6701a413de0c7e46655a.zip
gdb-9ace480d62cd71d27f3a6701a413de0c7e46655a.tar.gz
gdb-9ace480d62cd71d27f3a6701a413de0c7e46655a.tar.bz2
convert to_teardown_btrace
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_teardown_btrace): Unconditionally delegate. * target.h (struct target_ops) <to_teardown_btrace>: 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 eed1d66..8898438 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1013,7 +1013,8 @@ struct target_ops
only allowed to perform actions that are safe. A counter-example would
be attempting to talk to a remote target. */
void (*to_teardown_btrace) (struct target_ops *,
- struct btrace_target_info *tinfo);
+ struct btrace_target_info *tinfo)
+ TARGET_DEFAULT_NORETURN (tcomplain ());
/* Read branch trace data for the thread indicated by BTINFO into DATA.
DATA is cleared before new trace is added.