aboutsummaryrefslogtreecommitdiff
path: root/gdb/hp300ux-nat.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/hp300ux-nat.c
parent3f933620596157539aaae2b2577e6c83b9683fba (diff)
downloadgdb-073c6b2b6152200cc53a5108255cb4c24b544f5c.zip
gdb-073c6b2b6152200cc53a5108255cb4c24b544f5c.tar.gz
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/hp300ux-nat.c')
-rw-r--r--gdb/hp300ux-nat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/hp300ux-nat.c b/gdb/hp300ux-nat.c
index 0f392ab..d5248fc 100644
--- a/gdb/hp300ux-nat.c
+++ b/gdb/hp300ux-nat.c
@@ -212,6 +212,11 @@ store_inferior_registers (regno)
}
+#if 0
+
+/* This function is no longer used. The version in coredep.c is used
+ instead. */
+
/* Take the register values out of a core file and store
them where `read_register' will find them. */
@@ -256,6 +261,8 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
}
}
+#endif /* 0 */
+
int
getpagesize ()
{