From 00e32a35b6e3c980338d7fe47dab8658f211efb9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 21 Apr 2004 17:47:10 +0000 Subject: 2004-04-21 Andrew Cagney * gdbcore.h: Update copyright. (deprecated_add_core_fns): Rename add_core_fns. * win32-nat.c (_initialize_core_win32): Update. * sun3-nat.c (_initialize_core_sun3): Update. * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update. * rs6000-nat.c (_initialize_core_rs6000): Update. * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update. * nto-tdep.c (_initialize_nto_tdep): Update. * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update. * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update. * mips-nat.c (_initialize_core_mips): Update. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update. * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update. * m68klinux-nat.c (_initialize_m68k_linux_nat): Update. * lynx-nat.c (_initialize_core_lynx): Update. * irix5-nat.c (_initialize_core_irix5): Update. * i386-interix-nat.c (_initialize_core_interix): Update. * cris-tdep.c (_initialize_cris_tdep): Update. * corelow.c (deprecated_add_core_fns): Update. * core-regset.c (_initialize_core_regset): Update. * core-aout.c (_initialize_core_aout): Update. * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update. * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update. * alpha-nat.c (_initialize_core_alpha): Update. --- gdb/gdbcore.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'gdb/gdbcore.h') diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h index e03ebf4..9cf063f 100644 --- a/gdb/gdbcore.h +++ b/gdb/gdbcore.h @@ -1,6 +1,8 @@ /* Machine independent variables that describe the core file under GDB. - Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + + Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995, + 1996, 1997, 1998, 1999, 2000, 2001, 2004 Free Software Foundation, + Inc. This file is part of GDB. @@ -194,15 +196,18 @@ struct core_fns unsigned core_reg_size, int which, CORE_ADDR reg_addr); - /* Finds the next struct core_fns. They are allocated and initialized - in whatever module implements the functions pointed to; an - initializer calls add_core_fns to add them to the global chain. */ + /* Finds the next struct core_fns. They are allocated and + initialized in whatever module implements the functions pointed + to; an initializer calls deprecated_add_core_fns to add them to + the global chain. */ struct core_fns *next; }; -extern void add_core_fns (struct core_fns *cf); +/* NOTE: cagney/2004-04-05: Replaced by "regset.h" and + regset_from_core_section(). */ +extern void deprecated_add_core_fns (struct core_fns *cf); extern int default_core_sniffer (struct core_fns *cf, bfd * abfd); extern int default_check_format (bfd * abfd); -- cgit v1.1