summaryrefslogtreecommitdiff
path: root/gdb/alpha-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-06 23:04:26 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-06 23:04:26 +0000
commitbd22e47385379141487435d92c6160a8b6e3f430 (patch)
treeb8c7ddc93cf248ac8e2926187bd0fc0fbdbef285 /gdb/alpha-nat.c
parent908cca8cb4f09f57ba4dbebe09ee24f2576716a3 (diff)
downloadgdb-bd22e47385379141487435d92c6160a8b6e3f430.tar.gz
* 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)".
Diffstat (limited to 'gdb/alpha-nat.c')
-rw-r--r--gdb/alpha-nat.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c
index 9cede3c873e..caeada3deb9 100644
--- a/gdb/alpha-nat.c
+++ b/gdb/alpha-nat.c
@@ -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. */