aboutsummaryrefslogtreecommitdiff
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
commitd08950c4fce9f0be23144c7e69a0c67ae94ffbc8 (patch)
tree7d0e7bf61d801bb8a0c1cb5cecd09c8525ea1c81 /gdb/alpha-nat.c
parent9c5ea4d96566b651eb32f59813b392d5c74b6b65 (diff)
downloadgdb-d08950c4fce9f0be23144c7e69a0c67ae94ffbc8.zip
gdb-d08950c4fce9f0be23144c7e69a0c67ae94ffbc8.tar.gz
gdb-d08950c4fce9f0be23144c7e69a0c67ae94ffbc8.tar.bz2
* 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 9cede3c..caeada3 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. */