Fix Windows/SPU/NTO/Lynx gdbserver builds
authorPedro Alves <palves@redhat.com>
Thu, 5 Mar 2015 10:24:58 +0000 (10:24 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 5 Mar 2015 10:24:58 +0000 (10:24 +0000)
I forgot to update these target_ops instances when I added these new
hooks.

I confirmed mingw32-w64 builds again at least.

gdb/gdbserver/ChangeLog:
2015-03-05  Pedro Alves  <palves@redhat.com>

* lynx-low.c (lynx_target_ops): Install NULL hooks for
stopped_by_sw_breakpoint, supports_stopped_by_sw_breakpoint,
stopped_by_hw_breakpoint, supports_stopped_by_hw_breakpoint.
* nto-low.c (nto_target_ops): Likewise.
* spu-low.c (spu_target_ops): Likewise.
* win32-low.c (win32_target_ops): Likewise.

gdb/gdbserver/ChangeLog
gdb/gdbserver/lynx-low.c
gdb/gdbserver/nto-low.c
gdb/gdbserver/spu-low.c
gdb/gdbserver/win32-low.c

index 2f1c9937189ee7d8c84097cd0b46505269508188..7a99838ce876f3e545edbad7ab216931d7b97886 100644 (file)
@@ -1,3 +1,12 @@
+2015-03-05  Pedro Alves  <palves@redhat.com>
+
+       * lynx-low.c (lynx_target_ops): Install NULL hooks for
+       stopped_by_sw_breakpoint, supports_stopped_by_sw_breakpoint,
+       stopped_by_hw_breakpoint, supports_stopped_by_hw_breakpoint.
+       * nto-low.c (nto_target_ops): Likewise.
+       * spu-low.c (spu_target_ops): Likewise.
+       * win32-low.c (win32_target_ops): Likewise.
+
 2015-03-04  Pedro Alves  <palves@redhat.com>
 
         * linux-low.c (check_stopped_by_breakpoint) [USE_SIGTRAP_SIGINFO]:
index 460346c71c8eef80f46abec13d563c86fbb3dea5..2f858297d0bdddd4f70ee86ae7a4950f5bf14ec0 100644 (file)
@@ -742,6 +742,10 @@ static struct target_ops lynx_target_ops = {
   NULL,  /* supports_z_point_type */
   NULL,  /* insert_point */
   NULL,  /* remove_point */
+  NULL,  /* stopped_by_sw_breakpoint */
+  NULL,  /* supports_stopped_by_sw_breakpoint */
+  NULL,  /* stopped_by_hw_breakpoint */
+  NULL,  /* supports_stopped_by_hw_breakpoint */
   NULL,  /* stopped_by_watchpoint */
   NULL,  /* stopped_data_address */
   NULL,  /* read_offsets */
index 589c32c10240a46f847157bb762d44eac25facd9..801d76a7c4491ad84c9c2c24be1f2ac21dea5836 100644 (file)
@@ -945,6 +945,10 @@ static struct target_ops nto_target_ops = {
   nto_supports_z_point_type,
   nto_insert_point,
   nto_remove_point,
+  NULL, /* stopped_by_sw_breakpoint */
+  NULL, /* supports_stopped_by_sw_breakpoint */
+  NULL, /* stopped_by_hw_breakpoint */
+  NULL, /* supports_stopped_by_hw_breakpoint */
   nto_stopped_by_watchpoint,
   nto_stopped_data_address,
   NULL, /* nto_read_offsets */
index af19adb6e193f6ef1dd3d7094bb61d810318fff3..73f17860807b2de5b385f863d9687eec585c7f60 100644 (file)
@@ -658,6 +658,10 @@ static struct target_ops spu_target_ops = {
   NULL,  /* supports_z_point_type */
   NULL,
   NULL,
+  NULL, /* stopped_by_sw_breakpoint */
+  NULL, /* supports_stopped_by_sw_breakpoint */
+  NULL, /* stopped_by_hw_breakpoint */
+  NULL, /* supports_stopped_by_hw_breakpoint */
   NULL,
   NULL,
   NULL,
index e3fb618e17aac607cd3f03aab75e0c624eb5a21e..2b24c8717bc725143accdb37a06cbc35252b82ac 100644 (file)
@@ -1807,6 +1807,10 @@ static struct target_ops win32_target_ops = {
   win32_supports_z_point_type,
   win32_insert_point,
   win32_remove_point,
+  NULL, /* stopped_by_sw_breakpoint */
+  NULL, /* supports_stopped_by_sw_breakpoint */
+  NULL, /* stopped_by_hw_breakpoint */
+  NULL, /* supports_stopped_by_hw_breakpoint */
   win32_stopped_by_watchpoint,
   win32_stopped_data_address,
   NULL, /* read_offsets */