From d08950c4fce9f0be23144c7e69a0c67ae94ffbc8 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sun, 6 May 2007 23:04:26 +0000 Subject: * 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)". --- gdb/alpha-nat.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'gdb/alpha-nat.c') 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 , 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 - /* 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. */ -- cgit v1.1