diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-07-09 09:21:19 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-07-09 09:21:19 +0000 |
commit | 789f3b5fdc3bfd4bf68182e091e45c4abb61a9f1 (patch) | |
tree | 0177de84e4b0d7024a2a44fbfa25e90053f11ebc /gdb/alphanbsd-tdep.c | |
parent | 2ea0c3d63beda22af94c5ae8b1fe11abe1d842cf (diff) | |
download | gdb-789f3b5fdc3bfd4bf68182e091e45c4abb61a9f1.zip gdb-789f3b5fdc3bfd4bf68182e091e45c4abb61a9f1.tar.gz gdb-789f3b5fdc3bfd4bf68182e091e45c4abb61a9f1.tar.bz2 |
* alphanbsd-tdep.c (alphanbsd_init_abi): Use
svr4_lp64_fetch_link_map_offsets instead of
nbsd_lp64_solib_svr4_fetch_link_map_offsets.
Diffstat (limited to 'gdb/alphanbsd-tdep.c')
-rw-r--r-- | gdb/alphanbsd-tdep.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c index 1f81412..a136fc1 100644 --- a/gdb/alphanbsd-tdep.c +++ b/gdb/alphanbsd-tdep.c @@ -1,6 +1,7 @@ -/* Target-dependent code for NetBSD/Alpha. +/* Target-dependent code for NetBSD/alpha. + + Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc. - Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. This file is part of GDB. @@ -210,8 +211,9 @@ alphanbsd_init_abi (struct gdbarch_info info, must use software single-stepping. */ set_gdbarch_software_single_step (gdbarch, alpha_software_single_step); - set_solib_svr4_fetch_link_map_offsets (gdbarch, - nbsd_lp64_solib_svr4_fetch_link_map_offsets); + /* NetBSD/alpha has SVR4-style shared libraries. */ + set_solib_svr4_fetch_link_map_offsets + (gdbarch, svr4_lp64_fetch_link_map_offsets); tdep->dynamic_sigtramp_offset = alphanbsd_sigtramp_offset; tdep->pc_in_sigtramp = alphanbsd_pc_in_sigtramp; |