summaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 2dfdcd248a4..69a30c455d8 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -536,9 +536,9 @@ struct target_ops
CORE_ADDR *found_addrp);
/* Set execution direction (forward/reverse). */
- int (*to_set_execdir) (enum exec_direction_kind);
+ int (*to_set_exec_direction) (enum exec_direction_kind);
/* Get execution direction (forward/reverse). */
- enum exec_direction_kind (*to_get_execdir) (void);
+ enum exec_direction_kind (*to_get_exec_direction) (void);
/* Default value is 0. Mean that this target doesn't support record wait.
Need the help of infrun.c(handle_inferior_event). Set to 1 if this
@@ -1147,12 +1147,12 @@ extern int target_stopped_data_address_p (struct target_ops *);
These will only be implemented by a target that supports reverse execution.
*/
#define target_get_execution_direction() \
- (current_target.to_get_execdir ? \
- (*current_target.to_get_execdir) () : EXEC_ERROR)
+ (current_target.to_get_exec_direction ? \
+ (*current_target.to_get_exec_direction) () : EXEC_ERROR)
#define target_set_execution_direction(DIR) \
- (current_target.to_set_execdir ? \
- (*current_target.to_set_execdir) (DIR) : EXEC_ERROR)
+ (current_target.to_set_exec_direction ? \
+ (*current_target.to_set_exec_direction) (DIR) : EXEC_ERROR)
extern const struct target_desc *target_read_description (struct target_ops *);