Debian Codegraph @

src/lib/libdwarf/ChangeLog2008

raw
1 2008-12-29 DavidAnderson <[email protected]>
2 * libdwarf.h: Add support for .debug_ranges with
3 dwarf_get_ranges() and dwarf_ranges_dealloc().
4 * dwarf_init_finish.c: Add support for .debug_ranges.
5 * dwarf_base_types.h: Add support for .debug_ranges functions.
6 * dwarf_alloc.c, dwarf_alloc.h: Add support for .debug_ranges
7 alloc/dealloc.
8 * dwarf_opaque.h: Add support for .debug_ranges.
9 * libdwarf2.1.mm: Documented dwarf_get_ranges() and
10 dwarf_ranges_dealloc() (rev 1.72).
11 * libdwarf2.1.pdf: Regenerated.
12 2008-12-09 DavidAnderson <[email protected]>
13 * dwarf_alloc.c: Remove useless comments and
14 tweak a few comments.
15 2008-12-08 DavidAnderson <[email protected]>
16 * dwarf_opaque.h: Add di_abbrev_code field to record
17 a DIE abbreviation value so consumers can report it.
18 * libdwarf.h: Add dwarf_die_abbrev_code() interface.
19 * dwarf_query.c: Add dwarf_die_abbrev_code() interface.
20 * dwarf_die_deliv.c: Set di_abbrev_code for consumers.
21 * libdwarf2.1.mm: Documented dwarf_die_abbrev_code().
22 * libdwarf2.1.pdf: Regenerated.
23 * pro_util.h: Removed gratuitous tabs. Used a space instead.
24 2008-12-07 DavidAnderson <[email protected]>
25 * dwarf.h: Entered DWARF4 defines known so far.
26 * dwarf_opaque.h: Updated dwarf 4 section-version comment
27 with the latest info.
28 2008-12-07 DavidAnderson <[email protected]>
29 * dwarf_original_elf_init.c: Delete unused local variables.
30 * pro_forms.c: Delete unused local variables and initialize
31 local variables at definition.
32 * dwarf_pubtypes.c, dwarf_line.c: Delete accidental
33 duplicated /* comment-start.
34 * malloc_check.c: In the 'do nothing' case, create
35 an extern declaration to eliminate a compiler warning.
36 2008-11-19 DavidAnderson <[email protected]>
37 * dwarf_die_deliv.c: Handle the case where DW_AT_sibling
38 uses DW_FORM_ref_addr.
39 * dwarf_util.c: Add a comment about DW_FORM_ref_addr.
40 * dwarf_opaque.h: Add a comment about CU fields,
41 comment out an unused CU header field.
42 * dwarf_query.c: Added dwarf_die_CU_offset_range()
43 so dwarfdump can check for additional errors.
44 * dwarf_form.c: Clarifying a comment.
45 * dwarf_print_lines.c: Add additional print detail on
46 line table headers (used by dwarfdump).
47 * libdwarf2.1.mm: Documenting the new function
48 dwarf_die_CU_offset_range().
49 * libdwarf2.1.pdf: Regenerated.
50 * libdwarf.h: Added dwarf_die_CU_offset_range() interface
51 declaration.
52 2008-10-13 DavidAnderson <[email protected]>
53 * dwarf_frame2.c: Removed last use of DW_FRAME_LAST_REG_NUM:
54 use dbg->de_frame_reg_rules_entry_count instead.
55 2008-09-30 DavidAnderson <[email protected]>
56 * dwarf_print_lines.c: Print corrected warning
57 about bogus prologue length.
58 * dwarf_line.c: Work around bogus prologue length
59 compiler bug.
60 * dwarf_line.h: Rename arguments.
61 2008-09-29 DavidAnderson <[email protected]>
62 * libdwarf2.1.mm: Documented requirement that
63 dwarf_get_fde_n() dwarf_get_fde_at_pc() pass a
64 pointer to an fde table that contains at least 1 entry.
65 * libdwarf2.1.pdf: regenerated.
66 * dwarf_opaque.h: Add new fields for cie/fde specific
67 fields for eh.
68 * dwarf_frame2.c: Initialize the new Dwarf_debug and
69 Dwarf_Fde fields.
70 * dwarf_frame.c: Access the new Dwarf_Fde fields.
71 * dwarf_frame.h: Define a new Dwarf_Fde field so we
72 keep eh and non-eh distinct.
73
74 2008-09-29 DavidAnderson <[email protected]>
75 * All .c files: Mechanically removed tab characters with
76 the expand tool.
77 2008-09-29 DavidAnderson <[email protected]>
78 * libdwarf.h: DW_DLE_LINE_SET_ADDR_ERROR no longer used.
79 The tests which generated it were bogus.
80 * dwarf_print_lines.c: Print a warning if there are any
81 apparently wasted bytes after the line prologue and before
82 the line table instructions. Match the new prologue reading
83 function prototype.
84 * dwarf_sort_line.c: Match the new prologue reading function
85 prototype.
86 * dwarf_line.c: Modify the prologue reading function so
87 it correctly finds the beginning of instructions even
88 when there are 'wasted' bytes after the prologue.
89 Drop bogus tests for minimum-instruction-size
90 matching the ABI pointer size. Removing the tests removed
91 all uses of DW_DLE_LINE_SET_ADDR_ERROR.
92 * dwarf_line.h: Modify the prototype for the prologue reading
93 function so it is possible for a caller to know about the
94 possibly wasted bytes after a prologue.
95 2008-09-02 DavidAnderson <[email protected]>
96 * dwarf_init_finish.c (_dwarf_setup): Delete unused local
97 variable 'section_error'.
98 2008-08-14 DavidAnderson <[email protected]>
99 * libdwarf2p.1.mm: Make it clearer that dwarf_get_pubnames, dwarf_get_varnames,
100 etc return a result across all compilation units (an entire section),
101 not just for a single compilation unit. Document version 1.68.
102 * libdwarf2p.1.pdf: Regenerated.
103 2008-08-08 DavidAnderson <[email protected]>
104 * libdwarf2p.1.mm: Removed some long time
105 spelling mistakes: no technical change in content.
106 Document version 1.67.
107 * libdwarf2p.1.pdf: Regenerated.
108 2008-08-05 DavidAnderson <[email protected]>
109 * libdwarf.h, dwarf_error.c: DW_DLA_PUBTYPE_CONTEXT was a mistake,
110 DW_DLE_PUBTYPE_CONTEXT was intended and is now the spelling (neither
111 is used).
112 * dwarf_pubtypes.c dwarf_vars.c dwarf_funcs.c dwarf_global.c dwarf_weaks.c:
113 tabs removed and previous strange formatting generated by a tool
114 removed (4 space indent per level now present).
115
116 2008-08-05 DavidAnderson <[email protected]>
117 * libdwarf2.1.mm: There were numerous places the apostrophe
118 was used incorrectly, thru is now spelled through,
119 and a few other small typographical errors were corrected.
120 The document revision id printed is now 1.67.
121 There is no technical change in content.
122 * libdwarf2.1.pdf: Regenerated.
123 2008-06-17 DavidAnderson <[email protected]>
124 * libdwarf.h: Add DW_DLE_STRP_OFFSET_BAD error code.
125 * dwarf_form.c: Add runtime check for strp offset.
126 * dwarf_error.c: Add DW_DLE_STRP_OFFSET_BAD error code string.
127 * dwarf_init_finish.c, dwarf_opaque.h, dwarf_elf_access.h: Remove
128 CR characters that crept in.
129 2008-06-13 DavidAnderson <[email protected]>
130 * libdwarf.h: Remove __SGI_FAST_LIBELF
131 dwarf_original_elf_init.c: Remove __SGI_FAST_LIBELF
132 and fix some indentation botches.
133 * dwarf_init_finish.c: Fix typo in variable name introduced
134 a few days ago.
135 * dwarf_elf_access.c: Remove __SGI_FAST_LIBELF
136 and fix some indentation botches.
137
138 2008-05-20 DavidAnderson <[email protected]>
139 * dwarf_init_finish.c: Expand tabs to spaces.
140 2008-05-20 DavidAnderson <[email protected]>
141 * dwarf_init_finish.c(dwarf_object_init): When there is no
142 DWARF information return DW_DLV_NO_ENTRY gracefully.
143 Thanks to Carlos Alberto Enciso for pointing out
144 the bug.
145 2008-04-12 DavidAnderson <[email protected]>
146 * pro_section.c: Initialize local variables to zero.
147 Change leading tabs to spaces.
148 * pro_reloc_stream.c: Initialize local variables to zero.
149 Change leading tabs to spaces.
150 * pro_reloc.c: Initialize local variables to zero.
151 Change leading tabs to spaces.
152 2008-04-04 DavidAnderson <[email protected]>
153 * dwarf_base_types.h: Removed unused macro definition.
154 * dwarf_util.c: Altered abbreviations hash table for a small
155 performance improvement and space saving.
156 * dwarf_util.h: Changed declaration for space saving in dwarf
157 abbreviations table.
158 2008-04-04 DavidAnderson <[email protected]>
159 * libdwarf.h: A trivial change to make a declaration look better.
160 * dwarf_abbrev.h: We record tags in more than 16 bits now just in case
161 we encounter such a thing (increased ab_tag field size), though
162 we should not find such.
163 * dwarf_abbrev.c: Adding a comment about the dwarf TAG value.
164 * dwarf_util.c: Initialize local variables at declaration for safety.
165 Removed truncation of some values: internally record more bits.
166 Rewrote handling of the abbrev table as the old one did not scale
167 to large numbers of abbreviations (things got very slow).
168 * dwarf_util.h: Now has a larger field size in the argument to
169 _dwarf_get_abbrev_for_code (not quite necessary but not harmful).
170 * dwarf_die_deliv.c: Initializing local variables at declaration and
171 removing truncation of bits from some uleb values.
172 * dwarf_die_deliv.h: Increased size of ab_code field.
173 * dwarf_opaque.h: Added a comment about abbreviations.
174 * dwarf_base_types.h: Revised to match addition of new
175 allocation table entry.
176 * dwarf_alloc.h: Document macro definitions and increase one to
177 match new table size.
178 * dwarf_alloc.c: Arrange handling of new DW_DLA_HASH_TABLE_ENTRY
179 (most of the work done in dwarf_util.c).
180 2008-02-27 DavidAnderson <[email protected]>
181 * libdwarf.h: Fixed minor typo in latest libdwarf.h that gcc did not
182 complain about. Noted by Josh Fuhs.
183 2008-02-26 DavidAnderson <[email protected]>
184 * dwarf_alloc.h: Add comment giving placement of DWARF_SIMPLE_MALLOC.
185 * pro_opaque.h: Remove de_access field, it is never used.
186 * libdwarf.h: Add new data structures to allow reading of
187 non-Elf object files.
188 * dwarf_original_elf_init.c: dwarf_init(), dwarf_elf_init()
189 moved here from dwarf_init_finish.c.
190 * Makefile.in: Build new source files dwarf_original_elf_init.c
191 and dwarf_elf_access.c.
192 * dwarf_init_finish.c: All dependencies on libelf and elf
193 have been removed.
194 * dwarf_opaque.h: The elf related info is removed and Dwarf_Debug_s
195 now contains a new structure (from libdwarf.h) to hide object
196 information.
197 * dwarf_elf_access.c: All the Elf-using code is now in this
198 source file and elf details are kept in a struct defined and
199 used here. Non-libelf and non-elf object access code would
200 write a new source file with their own details using this
201 as an example.
202 * dwarf_elf_access.h: Prototypes for calling between
203 dwarf_original_elf_init.c and dwarf_elf_access.c.
204 2008-02-18 DavidAnderson <[email protected]>
205 * libdwarf.h: Declare new object-access functions and structures.
206 * dwarf_original_elf_init.c: Traditional dwarf_init() and dwarf_elf_init()
207 are moved to this new source file.
208 * Makefile.in: Add new source files.
209 * dwarf_init_finish.c: Now uses the function pointers, not
210 libelf specific fields or ifdefs.
211 * pro_opaque.h: Remove de_access field, it is unused.
212 * dwarf_opaque.h: New fields for new object-access functions.
213 * dwarf_elf_access.c: New implementation details for elf access functions
214 moved here from dwarf_init_finish.c.
215 * dwarf_elf_access.h: New function interface so dwarf_elf_access.c
216 and dwarf_original_elf_init.c can communicate.
217 2008-02-08 DavidAnderson <[email protected]>
218 * dwarf_print_lines.c: Added commentary to clarify that
219 dwarf_print_lines() and _dwarf_print_lines are intentionally
220 identical. Initialized local variables so they are alll
221 visibly set to some sensible value.
222 2008-02-07 DavidAnderson <[email protected]>
223 * dwarf_frame.c (_dwarf_fde_section_offset): A typo
224 in the last release made this an infinite loop.
225 A one character change fixed it. Thanks to Carlos Alberto
226 Enciso for noticing the bug.
227 2008-02-04 DavidAnderson <[email protected]>
228 * dwarf_incl.h, pro_incl.h: Moved #include of dwarf.h before libdwarf.h
229 * pro_forms.c: Some newer attributes are now handled.
230 * dwarf_print_lines.c: Removed unused #include.
231 * dwarf_sort_line.c: Removed alloca use in favor of
232 malloc and removed the alloca #include.
233 * dwarf_line.c: Removed unused #include.
234 * dwarf_line2.c: Removed unused #include.
235
236 2008-02-04 DavidAnderson <[email protected]>
237 * libdwarf.h: Fix commentary mistakes.
238 2008-02-02 DavidAnderson <[email protected]>
239 * libdwarf.h: Add DW_DLC_OFFSET_SIZE_64 for run-time
240 selection of DWARF3 64bit extension producer offset generation.
241 * libdwarf2p.1.mm: Document DW_DLC_OFFSET_SIZE_64.
242 * pro_init.c (dwarf_producer_init): Now standard DWARF3 is the default.
243 * configure.in: Add --enable-dwarf-format-sgi-irix for those
244 wanting IRIX offset-style DWARF2. Add --enable-dwarf-format-strict-32bit
245 for those wanting strictly 32bit offsets.
246 Otherwise default to generating 64bit offsets from the producer code,
247 but allow the DWARF3 extended 64bit offsets if the flag
248 DW_DLC_OFFSET_SIZE_64 is turned on in the call to dwarf_producer_init().
249 * config.h.in: Provide undefs for the offset macros.
250
251 2008-01-25 DavidAnderson <[email protected]>
252 * pro_die.c: Changed leading tabs to spaces.
253 2008-01-23 DavidAnderson <[email protected]>
254 * pro_die.c: Using di_last_child field dwarf_die_link
255 goes from O(N) to O(1) in adding a child.
256 Thanks to Daniel Gollub for the suggestion.
257 An omission in linking left/right children is fixed.
258 Changed some leading TABs to spaces.
259 * pro_opaque.h: Add di_last_child field.
260 2008-01-14 DavidAnderson <[email protected]>
261 * libdwarf2p.1.mm: Added missing backslash to correct formatting
262 error. Thanks to Daniel Golub for pointing out the ommission.
263 * libdwarf2.p1.pdf: Regenerated.