aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h
index f58334a..ea777f2 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -2117,8 +2117,11 @@ extern int target_ranged_break_num_registers (void);
extern int target_masked_watch_num_registers (CORE_ADDR addr, CORE_ADDR mask);
/* Target can execute in reverse? */
-#define target_can_execute_reverse \
- current_top_target ()->can_execute_reverse ()
+static inline bool
+target_can_execute_reverse ()
+{
+ return current_top_target ()->can_execute_reverse ();
+}
extern const struct target_desc *target_read_description (struct target_ops *);