X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/1ab3bf1b148d31aad66735f52f9ff72af8769cd0..51db2323667f1495d8c51b72bc32e3498418f3c4:/gdb/coredep.c diff --git a/gdb/coredep.c b/gdb/coredep.c index 62644c6aef..059d23e73a 100644 --- a/gdb/coredep.c +++ b/gdb/coredep.c @@ -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 +#include "defs.h" #include #include -#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++) {