mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
[GDBServer][AArch64] Enable support for Z0 packets
This patch lets GDBServer handle software breakpoints instead of relying on GDB. gdb/gdbserver/ChangeLog: * linux-aarch64-low.c (aarch64_supports_z_point_type): Enable for Z_PACKET_SW_BP.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-06-29 Pierre Langlois <pierre.langlois@arm.com>
|
||||||
|
|
||||||
|
* linux-aarch64-low.c (aarch64_supports_z_point_type): Enable for
|
||||||
|
Z_PACKET_SW_BP.
|
||||||
|
|
||||||
2015-06-29 Pierre Langlois <pierre.langlois@arm.com>
|
2015-06-29 Pierre Langlois <pierre.langlois@arm.com>
|
||||||
|
|
||||||
* linux-aarch64-low.c: Remove comment about endianness.
|
* linux-aarch64-low.c: Remove comment about endianness.
|
||||||
|
@ -952,13 +952,13 @@ aarch64_supports_z_point_type (char z_type)
|
|||||||
{
|
{
|
||||||
switch (z_type)
|
switch (z_type)
|
||||||
{
|
{
|
||||||
|
case Z_PACKET_SW_BP:
|
||||||
case Z_PACKET_HW_BP:
|
case Z_PACKET_HW_BP:
|
||||||
case Z_PACKET_WRITE_WP:
|
case Z_PACKET_WRITE_WP:
|
||||||
case Z_PACKET_READ_WP:
|
case Z_PACKET_READ_WP:
|
||||||
case Z_PACKET_ACCESS_WP:
|
case Z_PACKET_ACCESS_WP:
|
||||||
return 1;
|
return 1;
|
||||||
default:
|
default:
|
||||||
/* Leave the handling of sw breakpoints with the gdb client. */
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user