* ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.

This commit is contained in:
Daniel Jacobowitz 2005-07-13 16:29:04 +00:00
parent e9d25b9800
commit fb318ff729
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-07-13 Daniel Jacobowitz <dan@codesourcery.com>
* ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.
2005-07-12 Mark Kettenis <kettenis@gnu.org> 2005-07-12 Mark Kettenis <kettenis@gnu.org>
* dwarf2expr.h: Tweak comment. * dwarf2expr.h: Tweak comment.

View file

@ -1,7 +1,7 @@
/* Target-dependent code for GDB, the GNU debugger. /* Target-dependent code for GDB, the GNU debugger.
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
1997, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 1997, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB. This file is part of GDB.
@ -1108,6 +1108,10 @@ ppc_linux_init_abi (struct gdbarch_info info,
(gdbarch, ppc64_linux_convert_from_func_ptr_addr); (gdbarch, ppc64_linux_convert_from_func_ptr_addr);
set_gdbarch_skip_trampoline_code (gdbarch, ppc64_skip_trampoline_code); set_gdbarch_skip_trampoline_code (gdbarch, ppc64_skip_trampoline_code);
/* Shared library handling. */
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
/* Trampolines. */ /* Trampolines. */
tramp_frame_prepend_unwinder (gdbarch, &ppc64_linux_sigaction_tramp_frame); tramp_frame_prepend_unwinder (gdbarch, &ppc64_linux_sigaction_tramp_frame);
tramp_frame_prepend_unwinder (gdbarch, &ppc64_linux_sighandler_tramp_frame); tramp_frame_prepend_unwinder (gdbarch, &ppc64_linux_sighandler_tramp_frame);