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.
This commit is contained in:
Yao Qi
2011-02-16 14:54:42 +00:00
parent 3dfcbbd281
commit a42244dbec
4 changed files with 42 additions and 0 deletions

View File

@@ -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