nindy bug fixes (function types) and opcode library inclusion
[deliverable/binutils-gdb.git] / gdb / remote-eb.c
index 9609b65eb54f94f265106099b2d816751928b8d8..a4124b3ac659cd126e3eea6a74f9b45810d65bc0 100644 (file)
@@ -1,5 +1,5 @@
 /* Remote debugging interface for AMD 29000 EBMON on IBM PC, for GDB.
-   Copyright 1990, 1991 Free Software Foundation, Inc.
+   Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
    Contributed by Cygnus Support.  Written by Jim Kingdon for Cygnus.
 
 This file is part of GDB.
@@ -25,11 +25,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
    has PC/NFS, so it can access the same executables that gdb can,
    over the net in real time.  */
 
-#include <stdio.h>
-#include <string.h>
-
 #define         TM_FILE_OVERRIDE
 #include "defs.h"
+#include <string.h>
 #include "tm-29k.h"
 
 #include "inferior.h"
@@ -43,8 +41,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "target.h"
 #include "gdbcore.h"
 
-extern struct value *call_function_by_hand();
-
 extern struct target_ops eb_ops;               /* Forward declaration */
 
 static void eb_close();
@@ -722,7 +718,7 @@ eb_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);
   }
@@ -794,7 +790,7 @@ eb_store_registers ()
 
 /* Store register REGNO, or all if REGNO == 0.
    Return errno value.  */
-int
+void
 eb_store_register (regno)
      int regno;
 {
@@ -814,7 +810,6 @@ eb_store_register (regno)
        registers_changed ();
       expect_prompt ();
     }
-  return 0;
 }
 
 /* Get ready to modify the registers array.  On machines which store
@@ -989,7 +984,6 @@ executable as it exists on the remote computer.  For example,\n\
        0, 0, 0, 0, 0,  /* Terminal handling */
        eb_kill,
        0,      /* load */
-       call_function_by_hand,
        0, /* lookup_symbol */
        eb_create_inferior,
        eb_mourn_inferior,
This page took 0.02418 seconds and 4 git commands to generate.