Support software breakpoints for ARM linux in GDBServer.
This patch enables software breakpoints via GDB's Z0 packets on ARM. No regressions, tested on ubuntu 14.04 ARMv7 and x86. With gdbserver-{native,extended} / { -marm -mthumb } gdb/gdbserver/ChangeLog: * linux-arm-low.c (arm_supports_z_point_type): Add software breakpoint support.
This commit is contained in:
parent
b0b4b50194
commit
abeead094e
@ -1,3 +1,8 @@
|
||||
2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com>
|
||||
|
||||
* linux-arm-low.c (arm_supports_z_point_type): Add software
|
||||
breakpoint support.
|
||||
|
||||
2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com>
|
||||
|
||||
* linux-arm-low.c: Refactor breakpoint definitions.
|
||||
|
@ -545,6 +545,7 @@ arm_supports_z_point_type (char z_type)
|
||||
{
|
||||
switch (z_type)
|
||||
{
|
||||
case Z_PACKET_SW_BP:
|
||||
case Z_PACKET_HW_BP:
|
||||
case Z_PACKET_WRITE_WP:
|
||||
case Z_PACKET_READ_WP:
|
||||
|
Loading…
x
Reference in New Issue
Block a user