(the_low_target): Add arm_reinsert_addr.
+2003-07-24 Daniel Jacobowitz <drow@mvista.com>
+
+ * linux-arm-low.c (arm_reinsert_addr): New function.
+ (the_low_target): Add arm_reinsert_addr.
+
2003-07-08 Mark Kettenis <kettenis@gnu.org>
* mem-break.c: Remove whitespace at end of file.
return 0;
}
+/* We only place breakpoints in empty marker functions, and thread locking
+ is outside of the function. So rather than importing software single-step,
+ we can just run until exit. */
+static CORE_ADDR
+arm_reinsert_addr ()
+{
+ unsigned long pc;
+ collect_register_by_name ("lr", &pc);
+ return pc;
+}
+
struct linux_target_ops the_low_target = {
arm_num_regs,
arm_regmap,
arm_set_pc,
(const char *) &arm_breakpoint,
arm_breakpoint_len,
- NULL,
+ arm_reinsert_addr,
0,
arm_breakpoint_at,
};