From 3beabdb233f886e40f3ec92cbe1ef01c2788e537 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 9 Jul 2006 16:12:11 +0000 Subject: * alphabsd-tdep.h: Tweak comments. (SIZOEF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove. * alphanbsd-tdep.c: Reorder includes. Include "regset.h". (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines. (alphanbsd_supply_fpregset, alphanbsd_supply_gregset) (alphanbsd_aout_supply_gregset): New functions. (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset): New variables. (alphanbsd_regset_from_core_section) (alphanbsd_aout_regset_from_core_section): New functions. (fetch_core_registers, fetch_elfcore_registers): Remove functions. (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables. (alphanbsd_init_abi): Set regset_from_core_section. (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New functions. (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer. Use alphanbsd_aout_init_abi whre appropriate. Don't call deprecated_add_core_fns. * Makefile.in (alphanbsd-tdep.o): Update dependencies. --- gdb/alphabsd-tdep.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gdb/alphabsd-tdep.h') diff --git a/gdb/alphabsd-tdep.h b/gdb/alphabsd-tdep.h index 4c254382956..e4348950345 100644 --- a/gdb/alphabsd-tdep.h +++ b/gdb/alphabsd-tdep.h @@ -1,5 +1,6 @@ -/* Common target dependent code for GDB on Alpha systems running BSD. - Copyright (C) 2002 Free Software Foundation, Inc. +/* Common target dependent code for Alpha BSD's. + + Copyright (C) 2002, 2006 Free Software Foundation, Inc. This file is part of GDB. @@ -27,7 +28,4 @@ void alphabsd_fill_reg (char *, int); void alphabsd_supply_fpreg (char *, int); void alphabsd_fill_fpreg (char *, int); -#define SIZEOF_STRUCT_REG (32 * 8) -#define SIZEOF_STRUCT_FPREG (33 * 8) - -#endif /* ALPHABSD_TDEP_H */ +#endif /* alphabsd-tdep.h */ -- cgit v1.2.1