diff options
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/target.h b/gdb/target.h index 36fa3c6a945..803ef2874aa 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -999,7 +999,7 @@ struct target_ops TARGET_DEFAULT_RETURN (0); /* Check whether the target supports branch tracing. */ - int (*to_supports_btrace) (struct target_ops *) + int (*to_supports_btrace) (struct target_ops *, enum btrace_format) TARGET_DEFAULT_RETURN (0); /* Enable branch tracing for PTID and allocate a branch trace target @@ -2215,8 +2215,7 @@ extern void update_target_permissions (void); /* Imported from machine dependent code. */ /* See to_supports_btrace in struct target_ops. */ -#define target_supports_btrace() \ - (current_target.to_supports_btrace (¤t_target)) +extern int target_supports_btrace (enum btrace_format); /* See to_enable_btrace in struct target_ops. */ extern struct btrace_target_info *target_enable_btrace (ptid_t ptid); |