* alpha-tdep.c (alpha_software_single_step): Do not call write_pc
when removing single-step breakpoints.
This commit is contained in:
parent
0cc3409506
commit
06a862851c
|
@ -1,3 +1,8 @@
|
||||||
|
2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* alpha-tdep.c (alpha_software_single_step): Do not call write_pc
|
||||||
|
when removing single-step breakpoints.
|
||||||
|
|
||||||
2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
|
2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
|
||||||
|
|
||||||
* varobj.h (varobj_set_frozen): New
|
* varobj.h (varobj_set_frozen): New
|
||||||
|
|
|
@ -1521,7 +1521,7 @@ alpha_next_pc (CORE_ADDR pc)
|
||||||
int
|
int
|
||||||
alpha_software_single_step (enum target_signal sig, int insert_breakpoints_p)
|
alpha_software_single_step (enum target_signal sig, int insert_breakpoints_p)
|
||||||
{
|
{
|
||||||
static CORE_ADDR next_pc;
|
CORE_ADDR next_pc;
|
||||||
CORE_ADDR pc;
|
CORE_ADDR pc;
|
||||||
|
|
||||||
if (insert_breakpoints_p)
|
if (insert_breakpoints_p)
|
||||||
|
@ -1534,7 +1534,6 @@ alpha_software_single_step (enum target_signal sig, int insert_breakpoints_p)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
remove_single_step_breakpoints ();
|
remove_single_step_breakpoints ();
|
||||||
write_pc (next_pc);
|
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue