diff options
author | qiyao <qiyao> | 2011-02-16 14:54:39 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2011-02-16 14:54:39 +0000 |
commit | 48d7883334d3a2d3f3fec543dd6636a32dd4230f (patch) | |
tree | 90e058c55394b4ee2d3ffb89a154e4d7b8d4a3ad /gdb/inferior.h | |
parent | dd1ced47463d49196deb4d46c687dbb468622505 (diff) | |
download | gdb-48d7883334d3a2d3f3fec543dd6636a32dd4230f.tar.gz |
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 7cebcbf6bfa..381fd8274db 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 |