* configure.host (alpha*-*-osf[12]*): Remove support.

* NEWS: Mention removed configurations.

	* config/alpha/alpha-osf1.mh: Delete file.
	* config/alpha/alpha-osf2.mh: Delete file.
	* config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o
	and infptrace.o.
	* config/alpha/nm-osf.h: Delete file.
	* config/alpha/nm-osf2.h: Delete file.
	* config/alpha/nm-osf3.h: Do not include "nm-osf2.h".
	(START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h.
	(PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h.

	* alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define.
	(register_addr, kernel_u_size): Remove.
	Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
This commit is contained in:
Ulrich Weigand 2007-05-06 23:04:26 +00:00
parent 9c5ea4d965
commit d08950c4fc
10 changed files with 38 additions and 120 deletions

View file

@ -118,34 +118,7 @@ fetch_osf_core_registers (struct regcache *regcache,
}
/* Map gdb internal register number to a ptrace ``address''.
These ``addresses'' are defined in <sys/ptrace.h>, with
the exception of ALPHA_UNIQUE_PTRACE_ADDR. */
#define ALPHA_UNIQUE_PTRACE_ADDR 0
CORE_ADDR
register_addr (int regno, CORE_ADDR blockend)
{
if (regno == PC_REGNUM)
return PC;
if (regno == ALPHA_UNIQUE_REGNUM)
return ALPHA_UNIQUE_PTRACE_ADDR;
if (regno < FP0_REGNUM)
return GPR_BASE + regno;
else
return FPR_BASE + regno - FP0_REGNUM;
}
int
kernel_u_size (void)
{
return (sizeof (struct user));
}
#if defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)
#include <sys/procfs.h>
/* Prototypes for supply_gregset etc. */
#include "gregset.h"
@ -195,7 +168,6 @@ fill_fpregset (const struct regcache *regcache,
/* FPCR is in slot 32. */
alpha_fill_fp_regs (regcache, regno, regp, regp + 31);
}
#endif
/* Register that we are able to handle alpha core file formats. */