GNU Binutils with patches for OS216
修訂 | abeead094ef75fb896c9cabce8bf7b91da0a552c (tree) |
---|---|
時間 | 2015-10-22 00:26:05 |
作者 | Antoine Tremblay <antoine.tremblay@eric...> |
Commiter | Antoine Tremblay |
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.
@@ -1,5 +1,10 @@ | ||
1 | 1 | 2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com> |
2 | 2 | |
3 | + * linux-arm-low.c (arm_supports_z_point_type): Add software | |
4 | + breakpoint support. | |
5 | + | |
6 | +2015-10-21 Antoine Tremblay <antoine.tremblay@ericsson.com> | |
7 | + | |
3 | 8 | * linux-arm-low.c: Refactor breakpoint definitions. |
4 | 9 | (arm_breakpoint_at): Adjust for arm_abi_breakpoint. |
5 | 10 | (arm_sw_breakpoint_from_kind): Adjust for arm_breakpoint. |
@@ -545,6 +545,7 @@ arm_supports_z_point_type (char z_type) | ||
545 | 545 | { |
546 | 546 | switch (z_type) |
547 | 547 | { |
548 | + case Z_PACKET_SW_BP: | |
548 | 549 | case Z_PACKET_HW_BP: |
549 | 550 | case Z_PACKET_WRITE_WP: |
550 | 551 | case Z_PACKET_READ_WP: |