aboutsummaryrefslogtreecommitdiff
path: root/gdb/score-tdep.c
diff options
context:
space:
mode:
authorDon Lee <don.lee@sunplusct.com>2009-10-19 08:44:28 +0000
committerDon Lee <don.lee@sunplusct.com>2009-10-19 08:44:28 +0000
commit8dcb1aa7ca9439cfee66ec00a2343fbe5c35e37f (patch)
tree547fa35fb6d7ea8396e2b69d8131fc0aa2416287 /gdb/score-tdep.c
parentcedb97b6d0491c7cae2cf559e8a6fc5f1c4aee33 (diff)
* gdb/score-tdep.c: Delete dead codes.
Diffstat (limited to 'gdb/score-tdep.c')
-rw-r--r--gdb/score-tdep.c52
1 files changed, 0 insertions, 52 deletions
diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c
index ccbcc3a812..89fbeaf4e5 100644
--- a/gdb/score-tdep.c
+++ b/gdb/score-tdep.c
@@ -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)
{