aboutsummaryrefslogtreecommitdiff
path: root/gdb/alphabsd-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-07-09 16:12:11 +0000
committerMark Kettenis <kettenis@gnu.org>2006-07-09 16:12:11 +0000
commit3beabdb233f886e40f3ec92cbe1ef01c2788e537 (patch)
tree795ec04f04f3d7a155d8dec4fe1a2f9ea1b38885 /gdb/alphabsd-tdep.h
parent8fe7c54bf101bbcbd2103bc54bfe356eb1788641 (diff)
downloadgdb-3beabdb233f886e40f3ec92cbe1ef01c2788e537.zip
gdb-3beabdb233f886e40f3ec92cbe1ef01c2788e537.tar.gz
gdb-3beabdb233f886e40f3ec92cbe1ef01c2788e537.tar.bz2
* 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.
Diffstat (limited to 'gdb/alphabsd-tdep.h')
-rw-r--r--gdb/alphabsd-tdep.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/alphabsd-tdep.h b/gdb/alphabsd-tdep.h
index 4c25438..e434895 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 */