gdbserver: turn target op 'supports_hardware_single_step' into a method
[deliverable/binutils-gdb.git] / gdbserver / target.cc
index 49302f61dfb3657fd122f38004c945a2f48387f8..09b3a633fc8308e4aedaf6026a3a272f6b03fbd9 100644 (file)
@@ -316,14 +316,6 @@ kill_inferior (process_info *proc)
   return the_target->pt->kill (proc);
 }
 
-/* Target can do hardware single step.  */
-
-int
-target_can_do_hardware_single_step (void)
-{
-  return 1;
-}
-
 /* Default implementation for breakpoint_kind_for_pc.
 
    The default behavior for targets that don't implement breakpoint_kind_for_pc
@@ -408,3 +400,72 @@ process_target::done_accessing_memory ()
 {
   /* Nop.  */
 }
+
+void
+process_target::look_up_symbols ()
+{
+  /* Nop.  */
+}
+
+bool
+process_target::supports_read_auxv ()
+{
+  return false;
+}
+
+int
+process_target::read_auxv (CORE_ADDR offset, unsigned char *myaddr,
+                          unsigned int len)
+{
+  gdb_assert_not_reached ("target op read_auxv not supported");
+}
+
+bool
+process_target::supports_z_point_type (char z_type)
+{
+  return false;
+}
+
+int
+process_target::insert_point (enum raw_bkpt_type type, CORE_ADDR addr,
+                             int size, raw_breakpoint *bp)
+{
+  return 1;
+}
+
+int
+process_target::remove_point (enum raw_bkpt_type type, CORE_ADDR addr,
+                             int size, raw_breakpoint *bp)
+{
+  return 1;
+}
+
+bool
+process_target::stopped_by_sw_breakpoint ()
+{
+  return false;
+}
+
+bool
+process_target::supports_stopped_by_sw_breakpoint ()
+{
+  return false;
+}
+
+bool
+process_target::stopped_by_hw_breakpoint ()
+{
+  return false;
+}
+
+bool
+process_target::supports_stopped_by_hw_breakpoint ()
+{
+  return false;
+}
+
+bool
+process_target::supports_hardware_single_step ()
+{
+  return false;
+}
This page took 0.041972 seconds and 4 git commands to generate.