Elena Zannoni wrote: > You should use > > fde->initial_location = read_pointer (abfd, &start) > + ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); > > instead. > Otherwise it's ok. Thanks, commited to both mainline and branch along with the eh_frame thing. > BTW: I get 2 warnings compiling dwarf2cfi.c on i386. > /home/ezannoni/sources/src/gdb/dwarf2cfi.c: In function `execute_stack_op': > /home/ezannoni/sources/src/gdb/dwarf2cfi.c:1079: warning: cast to pointer from integer of different size > /home/ezannoni/sources/src/gdb/dwarf2cfi.c:1086: warning: cast to pointer from integer of different size Appended patch should fix these warnings. Commited as obvious. Michal Ludvig -- * SuSE CR, s.r.o * mludvig@suse.cz * +420 2 9654 5373 * http://www.suse.cz