* gdb/score-tdep.c: Delete dead codes.
authorDon Lee <don.lee@sunplusct.com>
Mon, 19 Oct 2009 08:44:28 +0000 (08:44 +0000)
committerDon Lee <don.lee@sunplusct.com>
Mon, 19 Oct 2009 08:44:28 +0000 (08:44 +0000)
gdb/ChangeLog
gdb/score-tdep.c

index 9e624b679629bb721318adab06e937cff5c91bcc..1803dc5677961be7b08e08ef6111be921cce2d8a 100644 (file)
@@ -1,3 +1,7 @@
+2009-10-19  Don Lee  <don.lee@sunplusct.com>
+
+       * score-tdep.c: Delete dead codes.
+
 2009-10-15  Michael Snyder  <msnyder@vmware.com>
 
        * record.c (struct record_reg_entry): Replace ptr with union 
index ccbcc3a81255b7df7ef89a2eb5fed7efe8eec4a5..89fbeaf4e52dd36461621045679714c4695d54a6 100644 (file)
@@ -56,58 +56,6 @@ struct score_frame_cache
 
 static int target_mach = bfd_mach_score7;
 
-#if 0
-int
-score_target_can_use_watch (int type, int cnt, int othertype)
-{
-  if (strcmp (current_target.to_shortname, "sim") == 0)
-      return soc_gh_can_use_watch (type, cnt);
-  return (*current_target.to_can_use_hw_breakpoint) (type, cnt, othertype);
-}
-
-int
-score_stopped_by_watch (void)
-{
-  if (strcmp (current_target.to_shortname, "sim") == 0)
-      return soc_gh_stopped_by_watch ();
-  return (*current_target.to_stopped_by_watchpoint) ();
-}
-
-int
-score_target_insert_watchpoint (CORE_ADDR addr, int len, int type)
-{
-  if (strcmp (current_target.to_shortname, "sim") == 0)
-      return soc_gh_add_watch (addr, len, type);
-  return (*current_target.to_insert_watchpoint) (addr, len, type); 
-}
-
-int
-score_target_remove_watchpoint (CORE_ADDR addr, int len, int type)
-{
-  if (strcmp (current_target.to_shortname, "sim") == 0)
-      return soc_gh_del_watch (addr, len, type);
-  return (*current_target.to_remove_watchpoint) (addr, len, type); 
-}
-
-int
-score_target_insert_hw_breakpoint (struct gdbarch *gdbarch,
-                                  struct bp_target_info * bp_tgt)
-{
-  if (strcmp (current_target.to_shortname, "sim") == 0)
-      return soc_gh_add_hardbp (bp_tgt->placed_address);
-  return (*current_target.to_insert_hw_breakpoint) (gdbarch, bp_tgt);
-}
-
-int
-score_target_remove_hw_breakpoint (struct gdbarch *gdbarch,
-                                  struct bp_target_info * bp_tgt)
-{
-  if (strcmp (current_target.to_shortname, "sim") == 0)
-      return soc_gh_del_hardbp (bp_tgt->placed_address);
-  return (*current_target.to_remove_hw_breakpoint) (gdbarch, bp_tgt); 
-}
-#endif
-
 static struct type *
 score_register_type (struct gdbarch *gdbarch, int regnum)
 {