Mon Dec 21 12:40:10 1992 Ian Lance Taylor (ian@cygnus.com)
[binutils-gdb.git] / gdb / coredep.c
index 62644c6aefe39dafb85133ae8516b363000b7472..059d23e73ab19caa249c94cdc247b4f6a878fae1 100644 (file)
@@ -20,10 +20,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* core.c is supposed to be the more machine-independent aspects of this;
    this file is more machine-specific.  */
 
-#include <stdio.h>
+#include "defs.h"
 #include <sys/types.h>
 #include <sys/param.h>
-#include "defs.h"
 #include "gdbcore.h"
 
 /* These are needed on various systems to expand REGISTER_U_ADDR.  */
@@ -68,8 +67,6 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
      NOP.  */
   if (reg_ptr > core_reg_size)
     reg_ptr -= KERNEL_U_ADDR;
-  if (reg_ptr > core_reg_size)
-    fprintf (stderr, "Can't find registers in core file\n");
 
   for (regno = 0; regno < NUM_REGS; regno++)
     {