aboutsummaryrefslogtreecommitdiff
path: root/gdb/coredep.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-22 19:49:44 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-22 19:49:44 +0000
commit073c6b2b6152200cc53a5108255cb4c24b544f5c (patch)
treea01b023695f5b79ddbcff5e28d31588e22f69555 /gdb/coredep.c
parent3f933620596157539aaae2b2577e6c83b9683fba (diff)
downloadfsf-binutils-gdb-073c6b2b6152200cc53a5108255cb4c24b544f5c.zip
fsf-binutils-gdb-073c6b2b6152200cc53a5108255cb4c24b544f5c.tar.gz
fsf-binutils-gdb-073c6b2b6152200cc53a5108255cb4c24b544f5c.tar.bz2
* coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
(can't include it in nm-*.h file because it causes conflicts with a.out symbol definitions). * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete. * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and corelow.o. * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined. (REGISTER_U_ADDR): Defined. * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of HAVE_TERMIO. * config/pa/xm-hppah.h: Likewise.
Diffstat (limited to 'gdb/coredep.c')
-rw-r--r--gdb/coredep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/coredep.c b/gdb/coredep.c
index 87c2228..d94fd98 100644
--- a/gdb/coredep.c
+++ b/gdb/coredep.c
@@ -40,6 +40,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif /* NO_PTRACE_H */
#endif
+#ifdef NEED_SYS_CORE_H
+#include <sys/core.h>
+#endif
+
/* Extract the register values out of the core file and store
them where `read_register' will find them.