X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/8970a55ee6584844b31833582b477129fc5edb58..0ff5d3a69a7d61d3cd1550c0c96238c9bbaff197:/gdb/coredep.c?ds=sidebyside diff --git a/gdb/coredep.c b/gdb/coredep.c index 059d23e73a..ae309800c8 100644 --- a/gdb/coredep.c +++ b/gdb/coredep.c @@ -24,6 +24,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include "gdbcore.h" +#include "value.h" /* For supply_register. */ /* These are needed on various systems to expand REGISTER_U_ADDR. */ #ifndef USG @@ -31,7 +32,17 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include -#include +#ifndef NO_PTRACE_H +# ifdef PTRACE_IN_WRONG_PLACE +# include +# else /* !PTRACE_IN_WRONG_PLACE */ +# include +# endif /* !PTRACE_IN_WRONG_PLACE */ +#endif /* NO_PTRACE_H */ +#endif + +#ifdef NEED_SYS_CORE_H +#include #endif /* Extract the register values out of the core file and store