A ton of changes to improve C++ debugging. See ChangeLog.
[deliverable/binutils-gdb.git] / gdb / remote-adapt.c
index 6c22422285a24a2b56a3cc52e239d132baa7ba34..a21cbb823b49ee045f22111cb1e24ce4d5beeaaa 100644 (file)
@@ -1,5 +1,5 @@
 /* Remote debugging interface for AMD 290*0 Adapt Monitor Version 2.1d18. 
-   Copyright 1990, 1991 Free Software Foundation, Inc.
+   Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
    Contributed by David Wood at New York University (wood@lab.ultra.nyu.edu).
    Adapted from work done at Cygnus Support in remote-eb.c.
 
@@ -29,11 +29,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
        o - I can't get 19200 baud rate to work. 
    7/91 o - Freeze mode tracing can be done on a 29050.  */
 
-#include <stdio.h>
-#include <string.h>
 #include "defs.h"
-#include "tm.h"
-#include "param-no-tm.h"
+#include <string.h>
 #include "inferior.h"
 #include "wait.h"
 #include "value.h"
@@ -48,15 +45,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* External data declarations */
 extern int stop_soon_quietly;           /* for wait_for_inferior */
 
-/* External function declarations */
-extern struct value *call_function_by_hand();
-
 /* Forward data declarations */
 extern struct target_ops adapt_ops;            /* Forward declaration */
 
 /* Forward function declarations */
 static void adapt_fetch_registers ();
-static int  adapt_store_registers ();
+static void adapt_store_registers ();
 static void adapt_close ();
 static int  adapt_clear_breakpoints();
 
@@ -976,7 +970,7 @@ adapt_fetch_registers ()
   {
     int val = -1;
     supply_register (FPE_REGNUM, &val);
-    supply_register (INT_REGNUM, &val);
+    supply_register (INTE_REGNUM, &val);
     supply_register (FPS_REGNUM, &val);
     supply_register (EXO_REGNUM, &val);
   }
@@ -1012,7 +1006,7 @@ adapt_fetch_register (regno)
 
 /* Store the remote registers from the contents of the block REGS.  */
 
-static int 
+static void
 adapt_store_registers ()
 {
   int i, j;
@@ -1069,7 +1063,7 @@ adapt_store_registers ()
 
 /* Store register REGNO, or all if REGNO == -1.
    Return errno value.  */
-int
+void
 adapt_store_register (regno)
      int regno;
 {
@@ -1091,7 +1085,6 @@ adapt_store_register (regno)
       expect_prompt ();
     }
   DEXIT("adapt_store_registers()");
-  return 0;
 }
 
 /* Get ready to modify the registers array.  On machines which store
@@ -1429,7 +1422,6 @@ struct target_ops adapt_ops = {
        0, 0, 0, 0, 0,          /* Terminal handling */
        adapt_kill,             /* FIXME, kill */
        adapt_load, 
-       call_function_by_hand,
        0,                      /* lookup_symbol */
        adapt_create_inferior,  /* create_inferior */ 
        adapt_mourn,            /* mourn_inferior FIXME */
This page took 0.024426 seconds and 4 git commands to generate.