diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-19 08:19:41 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:48:38 -0700 |
commit | 6dc7fcf4c1e9cbea86ebd067ce226ffdffa16c08 (patch) | |
tree | 79b9bfc2d0a5ad16d46667625aeec725301350b8 /gdb/target.h | |
parent | eb5b20d4902e973cad84b9ba8eef2e404a6804d5 (diff) | |
download | gdb-6dc7fcf4c1e9cbea86ebd067ce226ffdffa16c08.zip gdb-6dc7fcf4c1e9cbea86ebd067ce226ffdffa16c08.tar.gz gdb-6dc7fcf4c1e9cbea86ebd067ce226ffdffa16c08.tar.bz2 |
convert to_enable_btrace
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (target_enable_btrace): Unconditionally delegate.
* target.h (struct target_ops) <to_enable_btrace>: Use
TARGET_DEFAULT_NORETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h index 13090e1..bbc0ecd 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -1001,7 +1001,8 @@ struct target_ops /* Enable branch tracing for PTID and allocate a branch trace target information struct for reading and for disabling branch trace. */ struct btrace_target_info *(*to_enable_btrace) (struct target_ops *, - ptid_t ptid); + ptid_t ptid) + TARGET_DEFAULT_NORETURN (tcomplain ()); /* Disable branch tracing and deallocate TINFO. */ void (*to_disable_btrace) (struct target_ops *, |