daily update
[deliverable/binutils-gdb.git] / gdb / remote-sds.c
index fd4e6572b8517a7dae21f96bfdb45b228f7912b7..507ac5be208a0a8ee8e90403c227bda3439d2bb7 100644 (file)
@@ -1,5 +1,7 @@
 /* Remote target communications for serial-line targets using SDS' protocol.
-   Copyright 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+   Copyright 1997, 1998, 1999, 2000, 2001, 2002 Free Software
+   Foundation, Inc.
 
    This file is part of GDB.
 
@@ -403,7 +405,7 @@ interrupt_query (void)
 Give up (and stop debugging it)? "))
     {
       target_mourn_inferior ();
-      return_to_top_level (RETURN_QUIT);
+      throw_exception (RETURN_QUIT);
     }
 
   target_terminal_inferior ();
@@ -658,8 +660,7 @@ sds_read_bytes (CORE_ADDR memaddr, char *myaddr, int len)
 /* ARGSUSED */
 static int
 sds_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write,
-                struct mem_attrib *attrib ATTRIBUTE_UNUSED,
-                struct target_ops *target ATTRIBUTE_UNUSED)
+                struct mem_attrib *attrib, struct target_ops *target)
 {
   int res;
 
This page took 0.030064 seconds and 4 git commands to generate.