aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-arm-low.c
diff options
context:
space:
mode:
authorAntoine Tremblay <antoine.tremblay@ericsson.com>2015-10-21 11:13:42 -0400
committerAntoine Tremblay <antoine.tremblay@ericsson.com>2015-10-21 11:26:05 -0400
commitabeead094ef75fb896c9cabce8bf7b91da0a552c (patch)
treec51bf256ead9601e1bc25f1b409237ccc6c05708 /gdb/gdbserver/linux-arm-low.c
parentb0b4b5019484fbf1dd074527270f193703411498 (diff)
downloadgdb-abeead094ef75fb896c9cabce8bf7b91da0a552c.zip
gdb-abeead094ef75fb896c9cabce8bf7b91da0a552c.tar.gz
gdb-abeead094ef75fb896c9cabce8bf7b91da0a552c.tar.bz2
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.
Diffstat (limited to 'gdb/gdbserver/linux-arm-low.c')
-rw-r--r--gdb/gdbserver/linux-arm-low.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbserver/linux-arm-low.c b/gdb/gdbserver/linux-arm-low.c
index 09ea4cc..d3ae9f4 100644
--- a/gdb/gdbserver/linux-arm-low.c
+++ b/gdb/gdbserver/linux-arm-low.c
@@ -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: