mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma. Correct test for pc within section.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2003-10-11 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to
|
||||||
|
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
|
||||||
|
Correct test for pc within section.
|
||||||
|
|
||||||
2003-10-11 Mark Kettenis <kettenis@gnu.org>
|
2003-10-11 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* gdbarch.sh: Remove trailing whitepsace from comments.
|
* gdbarch.sh: Remove trailing whitepsace from comments.
|
||||||
|
@ -3095,8 +3095,9 @@ hppa_in_solib_call_trampoline (CORE_ADDR pc, char *name)
|
|||||||
|
|
||||||
sec = SYMBOL_BFD_SECTION (minsym);
|
sec = SYMBOL_BFD_SECTION (minsym);
|
||||||
|
|
||||||
if (sec->vma <= pc
|
if (bfd_get_section_vma (sec->owner, sec) <= pc
|
||||||
&& sec->vma + sec->_cooked_size < pc)
|
&& pc < (bfd_get_section_vma (sec->owner, sec)
|
||||||
|
+ bfd_section_size (sec->owner, sec)))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* We might be in a stub. Peek at the instructions. Stubs are 3
|
/* We might be in a stub. Peek at the instructions. Stubs are 3
|
||||||
|
Reference in New Issue
Block a user