diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 11:15:21 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:47:36 -0700 |
commit | fe31bf5b9e1b6fcfc5f083228328a84b6af19ad8 (patch) | |
tree | 4d4d8f6e2695bcd30281a195745b5ebf2d219ca7 /gdb/target.c | |
parent | 53e1cfc77f60479a222bf52261b6a1f77bc3a445 (diff) | |
download | gdb-fe31bf5b9e1b6fcfc5f083228328a84b6af19ad8.zip gdb-fe31bf5b9e1b6fcfc5f083228328a84b6af19ad8.tar.gz gdb-fe31bf5b9e1b6fcfc5f083228328a84b6af19ad8.tar.bz2 |
convert to_execution_direction
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (update_current_target): Don't inherit or default
to_execution_direction.
* target.h (struct target_ops) <to_execution_direction>: Use
TARGET_DEFAULT_FUNC.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/target.c b/gdb/target.c index 1f60aa0..7fe28e3 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -89,6 +89,9 @@ static int find_default_can_async_p (struct target_ops *ignore); static int find_default_is_async_p (struct target_ops *ignore); +static enum exec_direction_kind default_execution_direction + (struct target_ops *self); + #include "target-delegates.c" static void init_dummy_target (void); @@ -674,7 +677,7 @@ update_current_target (void) /* Do not inherit to_goto_bookmark. */ /* Do not inherit to_get_thread_local_address. */ /* Do not inherit to_can_execute_reverse. */ - INHERIT (to_execution_direction, t); + /* Do not inherit to_execution_direction. */ INHERIT (to_thread_architecture, t); /* Do not inherit to_read_description. */ INHERIT (to_get_ada_task_ptid, t); @@ -861,7 +864,6 @@ update_current_target (void) de_fault (to_augmented_libraries_svr4_read, (int (*) (struct target_ops *)) return_zero); - de_fault (to_execution_direction, default_execution_direction); #undef de_fault |