diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-07-13 16:29:04 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-07-13 16:29:04 +0000 |
commit | fb318ff7292619dad3c9b68ee7e45a2bad148adc (patch) | |
tree | 62d761c2f965077494ca4ac775ae7a592496f563 /gdb/ppc-linux-tdep.c | |
parent | e9d25b9800c6f642ae0fe10a0fa57d079d84ff6e (diff) | |
download | gdb-fb318ff7292619dad3c9b68ee7e45a2bad148adc.zip gdb-fb318ff7292619dad3c9b68ee7e45a2bad148adc.tar.gz gdb-fb318ff7292619dad3c9b68ee7e45a2bad148adc.tar.bz2 |
* ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index e6d8941..40e68ff 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -1,7 +1,7 @@ /* Target-dependent code for GDB, the GNU debugger. 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. @@ -1108,6 +1108,10 @@ ppc_linux_init_abi (struct gdbarch_info info, (gdbarch, ppc64_linux_convert_from_func_ptr_addr); 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. */ tramp_frame_prepend_unwinder (gdbarch, &ppc64_linux_sigaction_tramp_frame); tramp_frame_prepend_unwinder (gdbarch, &ppc64_linux_sighandler_tramp_frame); |