Add the target_ops needed for software breakpoints in GDBServer.
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-low.h
index f8f6e78a00170f1f01a13387062df1a7bd1b209b..28dd4db126353b9c1f2ec14fd37f602e1238e522 100644 (file)
@@ -141,8 +141,13 @@ struct linux_target_ops
 
   CORE_ADDR (*get_pc) (struct regcache *regcache);
   void (*set_pc) (struct regcache *regcache, CORE_ADDR newpc);
-  const unsigned char *breakpoint;
-  int breakpoint_len;
+
+  /* See target.h for details.  */
+  int (*breakpoint_kind_from_pc) (CORE_ADDR *pcptr);
+
+  /* See target.h for details.  */
+  const gdb_byte *(*sw_breakpoint_from_kind) (int kind, int *size);
+
   CORE_ADDR (*breakpoint_reinsert_addr) (void);
 
   int decr_pc_after_break;
This page took 0.025323 seconds and 4 git commands to generate.