From 6d097e655a5687059556804d993e03ac4eaff7d8 Mon Sep 17 00:00:00 2001
From: Pedro Alves <palves@redhat.com>
Date: Fri, 6 Feb 2009 01:23:00 +0000
Subject: 	* remote.c (extended_remote_can_run): Delete. 
 (init_remote_ops): Don't register it. 	* target.c (target_get_osdata): Don't
 check for target_can_run. 	Instead any target that has already been
 pushed, otherwise 	fallback to the default run target..

---
 gdb/remote.c | 10 ----------
 1 file changed, 10 deletions(-)

(limited to 'gdb/remote.c')

diff --git a/gdb/remote.c b/gdb/remote.c
index 4864dde..8cb37fa 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -8674,15 +8674,6 @@ remote_supports_multi_process (void)
   return remote_multi_process_p (rs);
 }
 
-static int
-extended_remote_can_run (void)
-{
-  if (remote_desc != NULL)
-    return 1;
-
-  return 0;
-}
-
 static void
 init_remote_ops (void)
 {
@@ -8768,7 +8759,6 @@ Specify the serial device it is connected to (e.g. /dev/ttya).";
   extended_remote_ops.to_detach = extended_remote_detach;
   extended_remote_ops.to_attach = extended_remote_attach;
   extended_remote_ops.to_kill = extended_remote_kill;
-  extended_remote_ops.to_can_run = extended_remote_can_run;
 }
 
 static int
-- 
cgit v1.1