* 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.
This commit is contained in:
Ian Lance Taylor
1993-07-22 19:49:44 +00:00
parent 3f93362059
commit 073c6b2b61
7 changed files with 46 additions and 3 deletions

View File

@@ -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.