From: Jason Molenda Date: Tue, 3 Mar 1998 22:38:38 +0000 (+0000) Subject: Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=716e3a4f19379266610804523609c919d1e6b1d5;p=binutils-gdb.git Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * alpha-nat.c (fetch_osf_core_registers): Renamed from fetch_aout_core_registers. (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change flavour to bfd_target_unknown_flavour for OSF core files. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2d22e4de7cc..2c552416fd8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * alpha-nat.c (fetch_osf_core_registers): Renamed from + fetch_aout_core_registers. + (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change + flavour to bfd_target_unknown_flavour for OSF core files. + start-sanitize-vr4320 Tue Mar 3 11:12:39 1998 Gavin Koch diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c index 4da9cbeadb0..609d6873300 100644 --- a/gdb/alpha-nat.c +++ b/gdb/alpha-nat.c @@ -1,5 +1,5 @@ /* Low level Alpha interface, for GDB when running native. - Copyright 1993, 1995, 1996 Free Software Foundation, Inc. + Copyright 1993, 1995, 1996, 1998 Free Software Foundation, Inc. This file is part of GDB. @@ -30,7 +30,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #endif #include -static void fetch_core_registers PARAMS ((char *, unsigned, int, CORE_ADDR)); +static void fetch_osf_core_registers PARAMS ((char *, + unsigned, int, CORE_ADDR)); +static void fetch_elf_core_registers PARAMS ((char *, + unsigned, int, CORE_ADDR)); /* Size of elements in jmpbuf */ @@ -81,7 +84,7 @@ get_longjmp_target (pc) */ static void -fetch_aout_core_registers (core_reg_sect, core_reg_size, which, reg_addr) +fetch_osf_core_registers (core_reg_sect, core_reg_size, which, reg_addr) char *core_reg_sect; unsigned core_reg_size; int which; @@ -268,10 +271,12 @@ fill_fpregset (fpregsetp, regno) /* Register that we are able to handle alpha core file formats. */ -static struct core_fns alpha_aout_core_fns = +static struct core_fns alpha_osf_core_fns = { - bfd_target_aout_flavour, - fetch_aout_core_registers, + /* This really is bfd_target_unknown_flavour. */ + + bfd_target_unknown_flavour, + fetch_osf_core_registers, NULL }; @@ -285,6 +290,6 @@ static struct core_fns alpha_elf_core_fns = void _initialize_core_alpha () { - add_core_fns (&alpha_aout_core_fns); + add_core_fns (&alpha_osf_core_fns); add_core_fns (&alpha_elf_core_fns); }