mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to
find_solib_trampoline_target if PC is not in .plt section.
This commit is contained in:
parent
1b0d430b05
commit
82233d87ed
@ -1,3 +1,8 @@
|
||||
2007-10-31 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to
|
||||
find_solib_trampoline_target if PC is not in .plt section.
|
||||
|
||||
2007-10-31 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* elfread.c (elf_symtab_read): When constructing a solib trampoline
|
||||
|
@ -57,10 +57,10 @@ ppc_linux_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
|
||||
char symname[1024];
|
||||
struct minimal_symbol *msymbol;
|
||||
|
||||
/* Find the section pc is in; return if not in .plt */
|
||||
/* Find the section pc is in; if not in .plt, try the default method. */
|
||||
sect = find_pc_section (pc);
|
||||
if (!sect || strcmp (sect->the_bfd_section->name, ".plt") != 0)
|
||||
return 0;
|
||||
return find_solib_trampoline_target (frame, pc);
|
||||
|
||||
objfile = sect->objfile;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user