aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppcfbsd-tdep.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-02-22 23:24:24 +0000
committerAlan Modra <amodra@gmail.com>2013-02-22 23:24:24 +0000
commit24c274a1338fdc8295f85a2a4854cfa80a1712da (patch)
tree2bbaead54100b14c77a006507f57cb4390b06221 /gdb/ppcfbsd-tdep.c
parentd38b600c90d85858c10a397e905219646f22ab5b (diff)
downloadgdb-24c274a1338fdc8295f85a2a4854cfa80a1712da.zip
gdb-24c274a1338fdc8295f85a2a4854cfa80a1712da.tar.gz
gdb-24c274a1338fdc8295f85a2a4854cfa80a1712da.tar.bz2
* elfread.c (elf_symtab_read): Do not use udata.p here to find
symbol size. * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
Diffstat (limited to 'gdb/ppcfbsd-tdep.c')
-rw-r--r--gdb/ppcfbsd-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/ppcfbsd-tdep.c b/gdb/ppcfbsd-tdep.c
index f18ed4f..f9e0434 100644
--- a/gdb/ppcfbsd-tdep.c
+++ b/gdb/ppcfbsd-tdep.c
@@ -325,6 +325,9 @@ ppcfbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
set_gdbarch_convert_from_func_ptr_addr
(gdbarch, ppc64_convert_from_func_ptr_addr);
+ set_gdbarch_elf_make_msymbol_special (gdbarch,
+ ppc64_elf_make_msymbol_special);
+
set_gdbarch_skip_trampoline_code (gdbarch, ppc64_skip_trampoline_code);
set_solib_svr4_fetch_link_map_offsets (gdbarch,
svr4_lp64_fetch_link_map_offsets);