diff options
author | Yao Qi <yao@codesourcery.com> | 2011-02-16 14:54:42 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-02-16 14:54:42 +0000 |
commit | a42244dbec4d58c5577a84215d92c85a6c067d1a (patch) | |
tree | 26c29b1b46afb067d5cc8d0fd227585b706c73d3 /gdb/inferior.h | |
parent | 3dfcbbd281d9c7f0a0f29a3aabf59e45a5142fd4 (diff) | |
download | gdb-a42244dbec4d58c5577a84215d92c85a6c067d1a.zip gdb-a42244dbec4d58c5577a84215d92c85a6c067d1a.tar.gz gdb-a42244dbec4d58c5577a84215d92c85a6c067d1a.tar.bz2 |
2011-02-16 Yao Qi <yao@qiyaows>
* infrun.c (get_displaced_step_closure_by_addr): New.
* inferior.h: Declare it.
* arm-tdep.c: (arm_pc_is_thumb): Call
get_displaced_step_closure_by_addr. Adjust MEMADDR if it
returns non-NULL.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 7cebcbf..381fd82 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -366,6 +366,8 @@ extern int debug_displaced; void displaced_step_dump_bytes (struct ui_file *file, const gdb_byte *buf, size_t len); +struct displaced_step_closure* +get_displaced_step_closure_by_addr (CORE_ADDR addr); /* Possible values for gdbarch_call_dummy_location. */ #define ON_STACK 1 |