aboutsummaryrefslogtreecommitdiff
path: root/gdb/alphanbsd-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-01 15:34:49 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-01 15:34:49 +0000
commitf2524b93f342c757b14cc16595e00833aaaa49b5 (patch)
treeb975a5ab4c46cb3be345643d5f0ce03df82af1d5 /gdb/alphanbsd-tdep.c
parent17e20bce79d64f0856cd38d3e00b56beb6fa7e8c (diff)
downloadgdb-f2524b93f342c757b14cc16595e00833aaaa49b5.zip
gdb-f2524b93f342c757b14cc16595e00833aaaa49b5.tar.gz
gdb-f2524b93f342c757b14cc16595e00833aaaa49b5.tar.bz2
2004-05-01 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp. * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp. * alphafbsd-tdep.c (alphafbsd_init_abi): Update. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update. * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
Diffstat (limited to 'gdb/alphanbsd-tdep.c')
-rw-r--r--gdb/alphanbsd-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c
index 24fa358..c8a441b 100644
--- a/gdb/alphanbsd-tdep.c
+++ b/gdb/alphanbsd-tdep.c
@@ -205,8 +205,6 @@ alphanbsd_init_abi (struct gdbarch_info info,
/* Hook into the MDEBUG frame unwinder. */
alpha_mdebug_init_abi (info, gdbarch);
- set_gdbarch_deprecated_pc_in_sigtramp (gdbarch, alphanbsd_pc_in_sigtramp);
-
/* NetBSD/alpha does not provide single step support via ptrace(2); we
must use software single-stepping. */
set_gdbarch_software_single_step (gdbarch, alpha_software_single_step);
@@ -215,6 +213,7 @@ alphanbsd_init_abi (struct gdbarch_info info,
nbsd_lp64_solib_svr4_fetch_link_map_offsets);
tdep->dynamic_sigtramp_offset = alphanbsd_sigtramp_offset;
+ tdep->pc_in_sigtramp = alphanbsd_pc_in_sigtramp;
tdep->sigcontext_addr = alphanbsd_sigcontext_addr;
tdep->jb_pc = 2;