summaryrefslogtreecommitdiff
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
commitcb6cfb563b2e1b437346a16e6eb86bc30a8d2c36 (patch)
treee6e7a3b379333d4a18ec019fbf67608bf3a9718c /gdb/alphabsd-tdep.h
parent534a186a5b0fa0e40266d94f6bcd8abaf994dc63 (diff)
downloadgdb-cb6cfb563b2e1b437346a16e6eb86bc30a8d2c36.tar.gz
* 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 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 */