mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
PR java/1322
* dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are available before calling SECT_OFF_TEXT.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2003-08-25 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
PR java/1322
|
||||||
|
* dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are
|
||||||
|
available before calling SECT_OFF_TEXT.
|
||||||
|
|
||||||
2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
|
2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63,
|
* ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63,
|
||||||
|
@ -1024,9 +1024,13 @@ dwarf2_frame_find_fde (CORE_ADDR *pc)
|
|||||||
struct dwarf2_fde *fde;
|
struct dwarf2_fde *fde;
|
||||||
CORE_ADDR offset;
|
CORE_ADDR offset;
|
||||||
|
|
||||||
offset = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
|
|
||||||
|
|
||||||
fde = objfile_data (objfile, dwarf2_frame_data);
|
fde = objfile_data (objfile, dwarf2_frame_data);
|
||||||
|
if (fde == NULL)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
gdb_assert (objfile->section_offsets);
|
||||||
|
offset = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
|
||||||
|
|
||||||
while (fde)
|
while (fde)
|
||||||
{
|
{
|
||||||
if (*pc >= fde->initial_location + offset
|
if (*pc >= fde->initial_location + offset
|
||||||
|
Reference in New Issue
Block a user