diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-04-25 05:06:08 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-04-25 05:06:08 +0000 |
commit | 6c72f9f97456e7309006148460d9a2aee4088016 (patch) | |
tree | 340d9e34963b4a93721b694da111e334110801e9 /gdb/alphanbsd-tdep.c | |
parent | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. (diff) | |
download | binutils-gdb-6c72f9f97456e7309006148460d9a2aee4088016.tar.gz binutils-gdb-6c72f9f97456e7309006148460d9a2aee4088016.tar.bz2 binutils-gdb-6c72f9f97456e7309006148460d9a2aee4088016.zip |
* alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.
(alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to
alpha_linux_pc_in_sigtramp.
* alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function.
(alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to
alpha_osf1_pc_in_sigtramp.
* alpha-tdep.c (alpha_osf_in_sigtramp): Remove.
* alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function.
(alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to
alphafbsd_pc_in_sigtramp.
* alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function.
(alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to
alphanbsd_pc_in_sigtramp.
* config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove.
* config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.
Diffstat (limited to 'gdb/alphanbsd-tdep.c')
-rw-r--r-- | gdb/alphanbsd-tdep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c index 3f3ae529e52..c29b3f92fdc 100644 --- a/gdb/alphanbsd-tdep.c +++ b/gdb/alphanbsd-tdep.c @@ -123,12 +123,20 @@ alphanbsd_sigtramp_offset (CORE_ADDR pc) return -1; } +static int +alphanbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name) +{ + return (alphanbsd_sigtramp_offset (pc) >= 0); +} + static void alphanbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); + set_gdbarch_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); |