diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-14 14:16:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-14 14:16:29 +0000 |
commit | 9ea97f2aa098f25c30aa631fb5fa265bae4017d5 (patch) | |
tree | 460327ef88a76765d28cf01637c499af67c5e67f /gdb/ppc-linux-tdep.c | |
parent | 2eaa0d4f9f42ac99d462a1fe3e6cd932280e9e09 (diff) | |
download | gdb-9ea97f2aa098f25c30aa631fb5fa265bae4017d5.zip gdb-9ea97f2aa098f25c30aa631fb5fa265bae4017d5.tar.gz gdb-9ea97f2aa098f25c30aa631fb5fa265bae4017d5.tar.bz2 |
2003-11-13 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's
"name_of_malloc" to ".malloc".
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
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"); } } |