2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
* ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware breakpoint support correctly.
This commit is contained in:
parent
cc1c52ad65
commit
572f65559b
|
@ -1,3 +1,8 @@
|
|||
2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
|
||||
|
||||
* ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
|
||||
breakpoint support correctly.
|
||||
|
||||
2014-07-14 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* utils.c (prompt_for_continue): Call target_terminal_ours.
|
||||
|
|
|
@ -1473,6 +1473,11 @@ ppc_linux_can_use_hw_breakpoint (struct target_ops *self,
|
|||
}
|
||||
else if (type == bp_hardware_breakpoint)
|
||||
{
|
||||
if (total_hw_bp == 0)
|
||||
{
|
||||
/* No hardware breakpoint support. */
|
||||
return 0;
|
||||
}
|
||||
if (cnt > total_hw_bp)
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue