29 Jun 2012 02:30
dwarf2read.c (dwarf2_find_base_address): Move definition.
Doug Evans <dje <at> google.com>
2012-06-29 00:30:08 GMT
2012-06-29 00:30:08 GMT
Hi. fyi, I've committed this. It just moves the definition of one function to a different place. Where it is now is right in the middle to two functions completely unrelated to it, and I have further changes to make here. So I'm moving it out of the way. 2012-06-28 Doug Evans <dje <at> google.com> * dwarf2read.c (dwarf2_find_base_address): Move definition. Index: dwarf2read.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2read.c,v retrieving revision 1.674 diff -u -p -r1.674 dwarf2read.c --- dwarf2read.c 29 Jun 2012 00:20:37 -0000 1.674 +++ dwarf2read.c 29 Jun 2012 00:26:44 -0000 <at> <at> -3371,6 +3371,37 <at> <at> offset_in_cu_p (const struct comp_unit_h return (offset.sect_off >= bottom.sect_off && offset.sect_off < top.sect_off); } +/* Find the base address of the compilation unit for range lists and + location lists. It will normally be specified by DW_AT_low_pc. + In DWARF-3 draft 4, the base address could be overridden by + DW_AT_entry_pc. It's been removed, but GCC still uses this for + compilation units with discontinuous ranges. */ + +static void(Continue reading)
RSS Feed