aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-19 08:17:16 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:35 -0700
commit8dc292d3217b0cb85ada1b531f9e7e3249b5075e (patch)
tree956a0c3eeb8be629ce0c4f4a195080871639b9de /gdb/target.h
parent58a5184e2aa7a9fcc2a796b44bae124d173cec1a (diff)
downloadgdb-8dc292d3217b0cb85ada1b531f9e7e3249b5075e.zip
gdb-8dc292d3217b0cb85ada1b531f9e7e3249b5075e.tar.gz
gdb-8dc292d3217b0cb85ada1b531f9e7e3249b5075e.tar.bz2
convert to_disable_btrace
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_disable_btrace): Unconditionally delegate. * target.h (struct target_ops) <to_disable_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 4474f43..eed1d66 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1005,7 +1005,8 @@ struct target_ops
/* Disable branch tracing and deallocate TINFO. */
void (*to_disable_btrace) (struct target_ops *,
- struct btrace_target_info *tinfo);
+ struct btrace_target_info *tinfo)
+ TARGET_DEFAULT_NORETURN (tcomplain ());
/* Disable branch tracing and deallocate TINFO. This function is similar
to to_disable_btrace, except that it is called during teardown and is