From: Andrew Cagney Date: Fri, 14 Nov 2003 14:16:29 +0000 (+0000) Subject: 2003-11-13 Andrew Cagney X-Git-Tag: cagney_bigcore-20040122-branchpoint~819 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ea97f2aa098f25c30aa631fb5fa265bae4017d5;p=platform%2Fupstream%2Fbinutils.git 2003-11-13 Andrew Cagney * ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's "name_of_malloc" to ".malloc". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b9d412c..2783ba6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-11-13 Andrew Cagney + + * ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's + "name_of_malloc" to ".malloc". + 2003-11-13 Mark Kettenis * config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o. diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 2be9943..a0bb760 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -1083,6 +1083,9 @@ ppc_linux_init_abi (struct gdbarch_info info, set_gdbarch_in_solib_call_trampoline (gdbarch, ppc64_in_solib_call_trampoline); set_gdbarch_skip_trampoline_code (gdbarch, ppc64_skip_trampoline_code); + + /* PPC64 malloc's entry-point is called ".malloc". */ + set_gdbarch_name_of_malloc (gdbarch, ".malloc"); } }