[GDBServer][AArch64] Enable support for Z0 packets
authorPierre Langlois <pierre.langlois@arm.com>
Mon, 29 Jun 2015 09:36:55 +0000 (10:36 +0100)
committerPierre Langlois <pierre.langlois@arm.com>
Mon, 29 Jun 2015 09:37:09 +0000 (10:37 +0100)
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.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch64-low.c

index 8dad98ef3c2b6f8a48993415ade9e91bec6b12c9..eea8be5510e8b3211c39cb5e4338d97f152dbe93 100644 (file)
@@ -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>
 
        * linux-aarch64-low.c: Remove comment about endianness.
index b0a277528df4478914b7b64b8ce7d8de45a23d5a..8a30b00029388cf237307e3dff2f3691b8f388ae 100644 (file)
@@ -952,13 +952,13 @@ aarch64_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:
     case Z_PACKET_ACCESS_WP:
       return 1;
     default:
-      /* Leave the handling of sw breakpoints with the gdb client.  */
       return 0;
     }
 }
This page took 0.032709 seconds and 4 git commands to generate.