diff options
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gdb/target.c b/gdb/target.c index d2f0050..569c999 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -3398,9 +3398,9 @@ target_supports_btrace (enum btrace_format format) /* See target.h. */ struct btrace_target_info * -target_enable_btrace (ptid_t ptid) +target_enable_btrace (ptid_t ptid, const struct btrace_config *conf) { - return current_target.to_enable_btrace (¤t_target, ptid); + return current_target.to_enable_btrace (¤t_target, ptid, conf); } /* See target.h. */ @@ -3431,6 +3431,14 @@ target_read_btrace (struct btrace_data *btrace, /* See target.h. */ +const struct btrace_config * +target_btrace_conf (const struct btrace_target_info *btinfo) +{ + return current_target.to_btrace_conf (¤t_target, btinfo); +} + +/* See target.h. */ + void target_stop_recording (void) { |