diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-04-26 01:08:19 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-04-26 01:08:19 +0000 |
commit | 85352a4b9a7ec1ada1db872aaf02a64d04fe552d (patch) | |
tree | 87057d1734eed39d9d40a8dea5e9652a7f66840c /gdb/alphafbsd-tdep.c | |
parent | 5cdf8b041e446b7bbf6bf1df4e3ddcb99d6ff89a (diff) | |
download | gdb-85352a4b9a7ec1ada1db872aaf02a64d04fe552d.tar.gz |
* alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members.
* alpha-linux-tdep.c (alpha_linux_init_abi): Initialize
tdep->jb_pc and tdep->jb_elt_size.
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise.
* alphafbsd-tdep.c (alphafbsd_init_abi): Likewise.
* alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
* alpha-nat.c (get_longjmp_target): Remove.
(JB_ELEMENT_SIZE): Ditto.
(JB_PC): Ditto.
* alpha-tdep.c (alpha_get_longjmp_target): New function.
(alpha_gdbarch_init): Default tdep->jb_pc to -1. If the
OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target
to alpha_get_longjmp_target.
(alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size.
* config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove.
* config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove.
Diffstat (limited to 'gdb/alphafbsd-tdep.c')
-rw-r--r-- | gdb/alphafbsd-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/alphafbsd-tdep.c b/gdb/alphafbsd-tdep.c index 2e52252fc1a..3c1e64da3e8 100644 --- a/gdb/alphafbsd-tdep.c +++ b/gdb/alphafbsd-tdep.c @@ -70,6 +70,9 @@ alphafbsd_init_abi (struct gdbarch_info info, set_gdbarch_pc_in_sigtramp (gdbarch, alphafbsd_pc_in_sigtramp); set_gdbarch_use_struct_convention (gdbarch, alphafbsd_use_struct_convention); + + tdep->jb_pc = 2; + tdep->jb_elt_size = 8; } void |