mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
* readelf.c (display_debug_frames): Use data factor for
DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2005-04-20 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* readelf.c (display_debug_frames): Use data factor for
|
||||||
|
DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
|
||||||
|
|
||||||
2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
|
2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* objdump.c (dump_section_header): Skip linker created section.
|
* objdump.c (dump_section_header): Skip linker created section.
|
||||||
|
@ -10709,6 +10709,7 @@ display_debug_frames (Elf_Internal_Shdr *section,
|
|||||||
case DW_CFA_def_cfa_sf:
|
case DW_CFA_def_cfa_sf:
|
||||||
fc->cfa_reg = LEB ();
|
fc->cfa_reg = LEB ();
|
||||||
fc->cfa_offset = SLEB ();
|
fc->cfa_offset = SLEB ();
|
||||||
|
fc->cfa_offset = fc->cfa_offset * fc->data_factor;
|
||||||
fc->cfa_exp = 0;
|
fc->cfa_exp = 0;
|
||||||
if (! do_debug_frames_interp)
|
if (! do_debug_frames_interp)
|
||||||
printf (" DW_CFA_def_cfa_sf: r%d ofs %d\n",
|
printf (" DW_CFA_def_cfa_sf: r%d ofs %d\n",
|
||||||
@ -10717,6 +10718,7 @@ display_debug_frames (Elf_Internal_Shdr *section,
|
|||||||
|
|
||||||
case DW_CFA_def_cfa_offset_sf:
|
case DW_CFA_def_cfa_offset_sf:
|
||||||
fc->cfa_offset = SLEB ();
|
fc->cfa_offset = SLEB ();
|
||||||
|
fc->cfa_offset = fc->cfa_offset * fc->data_factor;
|
||||||
if (! do_debug_frames_interp)
|
if (! do_debug_frames_interp)
|
||||||
printf (" DW_CFA_def_cfa_offset_sf: %d\n", fc->cfa_offset);
|
printf (" DW_CFA_def_cfa_offset_sf: %d\n", fc->cfa_offset);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user