Debian Codegraph @

src/bin/dwarfdump/ChangeLog2011

raw
1 2011-12-14 DavidAnderson <[email protected]>
2 * print_die.c: Add support for newer DW_OP_GNU_* .
3 2011-12-13 DavidAnderson <[email protected]>
4 * dwarfdump.c, common.c: Update version string.
5 * tag_attr_ext.list, tag_common.h: New information on GNU
6 attributes meant allowing a larger row count.
7 2011-12-13 DavidAnderson <[email protected]>
8 * tag_common.h: A new attr in the .list means increasing
9 the column count.
10 2011-12-13 DavidAnderson <[email protected]>
11 * print_lines.c: Now prints no-column as 0 not -1.
12 And prints the DWARF3/4 line table values when present.
13 * tag_attr_ext.list: Add a GNU extension.
14 2011-10-30 DavidAnderson <[email protected]>
15 * configure.in: Removed a couple bogus lines which were
16 reporting strange shell errors.
17 * configure: Regenerated.
18 * dwarfdump.c: Refine the error outputs so bogus reports
19 do not print. Refactor the debuginfo/types prints for
20 better reporting of errors.
21 * globals.h: Refactoring meant changing one prototype here,
22 the print_infos() prototype.
23 * print_die.c: Refactor the debuginfo/types prints for
24 better reporting of errors. Remove an 'error' report
25 about DW_DLE_REF_SIG8_NOT_HANDLED. It's unclear
26 what we might want to do here in future, but an error
27 report is misleading.
28 2011-10-29 DavidAnderson <[email protected]>
29 * dwarfdump.c, common.c: Update version strings.
30 2011-10-29 DavidAnderson <[email protected]>
31 * dwarfdump.c: Reset the CU hints at each new section.
32 Set up reloc flags so debug_types gets relocated if necessary.
33 * globals.h: Add DEBUG_TYPES for the .debug_types section.
34 Add a type-unit signature pretty-printer function.
35 Add DW_SECTION_REL_DEBUG_TYPES so debug_types can be relocated.
36 * print_reloc.c: Add entries so debug_types can get relocated.
37 * print_die.c: Now we handle both debug_info and debug_types
38 sections. Moved some CU header print operations to little
39 helper functions to clarify the code. Refactored print_infos()
40 to deal with debug_types and debug_info.
41 Using the new libdwarf functions that allow debug_types.
42 * print_lines.c: Delete unused local variable and its setting code.
43 2011-10-26 DavidAnderson <[email protected]>
44 * Makefile.in, README: Added Make settings of PREINCS POSTINCS
45 PRELIBS, POSTLIBS to simplify building when libdwarf or libelf
46 are not in the normal locations. Documented usable ways to
47 deal with unusual situations at build time.
48 2011-10-24 DavidAnderson <[email protected]>
49 * common.c: Update version string.
50 * dwarfdump.c: Update version string.
51 To get '-c cu-name' to work we need to set a local flag which is now set.
52 * dwarfdump.1: Clearly identify the command line options where
53 URI style input is expected.
54 2011-10-23 DavidAnderson <[email protected]>
55 * dwarfdump.c: Fix omission of a 'break' statement for case 'q'.
56 2011-10-23 DavidAnderson <[email protected]>
57 * dwarfdump.1: Now command line input strings
58 are translated from uri-style
59 * dwarfdump.c: Translate input strings to from uri style to characters.
60 Fix indentation mistakes.
61 Fix constness issues on character strings.
62 * dwconf.c: Fix constness issues on character strings.
63 * dwconf.h: Fix constness issues on character strings.
64 * globals.h: Fix constness issues on character strings.
65 * makename.c: Fix constness issues on character strings.
66 * makename.h: Fix constness issues on character strings.
67 * uri.c: Fix indentation mistakes.
68 2011-10-22 DavidAnderson <[email protected]>
69 * common.c :Update version string.
70 * dwarfdump.c: Update version string. Do not set ranges_flag
71 with -a because that is unsafe to print seperately in general.
72 * dwarfdump.1: Rewrite the man page for completeness and
73 accuracy.
74 2011-10-11 DavidAnderson <[email protected]>
75 * common.c: Update version string.
76 * dwarfdump.c: Update version string and translate -S strings
77 from uri-style to standard strings so spaces and other standard
78 characters are easily represented (no quoting problems).
79 Update version string.
80 * print_die.c: For -S -W we were printing the wrong die-level.
81 * uri.h,uri.c: Add the translate_from_uri() function.
82 Fix some of the tests in uri.c to match to- and from-uri.
83 2011-10-09 DavidAnderson <[email protected]>
84 * common.c, dwarfdump.c: Update version strings.
85 2011-10-09 DavidAnderson <[email protected]>
86 * dwconf.c,print_die.c, print_frames.c: Fix bad indentation.
87 2011-10-09 DavidAnderson <[email protected]>
88 * print_die.c (get_location_list): Tests for DW_DLV_ERROR
89 were written without {}, added in the braces.
90 2011-10-08 DavidAnderson <[email protected]>
91 * dwarfdump.cc: If doing any relevant checking,
92 instantiate all three possibly-usable BucketGroup objects.
93 That makes it simpler to avoid a coredump when the user
94 provides a nonsensical option set -- at a cost of
95 a very small amount of memory.
96 2011-10-06 DavidAnderson <[email protected]>
97 * dwarfdump.c: Removed a newline in a printf to match dwarfdump2.
98 Calls of get_attr_value() now have extra argument, so
99 fix them.
100 * dwarfdump.conf: Having 'mips' be an ABI which really reflected
101 the IRIX abi and IRIX compilers was a mistake. Now that
102 abi works for modern MIPS.
103 * globals.h: get_attr_value() adds an argument.
104 * print_die.c: Expanded the error messages in a couple type_offset_result
105 checks. Worked around the global nature of esb_base by
106 saving it locally while we recursively traverse DW_AT_type like things
107 looking for bad references. Added a 'verbose' argument a few places
108 so (at a critical point) show_form_itself won't add a form
109 string when we really don't want it to.
110 * print_static_funcs.c: Fixed an error string so it says
111 static funcs, not pubnames.
112 * print_lines.c: Ensure we only check for errors when
113 we request such checking.
114 * print_reloc.c: Ensure we don't index off the end of scn_names.
115 Deal with missing names and bad symbol indexes consistently.
116 When working with a .rela, report name as the section name
117 instead of calling it .rel in the relocations output.
118 2011-10-05 DavidAnderson <[email protected]>
119 * dwarfdump.c: Increased COMPILER_TABLE_MAX for better reporting.
120 Provide a 'HARMLESS ERROR' title in output if there are any such.
121 One issue is (for relocatable objects) libdwarf attempts to continue
122 even if relocations fail, and a relocation failure is now
123 counted as a harmless error (even if it turns out to be harmful!).
124 When sorting compilers_detected, use the producer name to sort
125 when error counts are identical. If the compiler table fills up,
126 print a note. With -ka, no longer explicitly turn check_frames_extended
127 off, it is off already unless the user turned it on explicitly with
128 -kxe.
129 * print_die.c: The check for a file number (decl_file) was simply wrong.
130 Made some detail changes to reporting.
131 * print_frames.c: Added comments about the inefficiency for getting
132 function names when printing frames (dwarfdump2 does not suffer
133 the same inefficiency).
134 * print_locs.c: Do not use a side effect for updating the index
135 before printing in print_locs().
136 2011-10-03 DavidAnderson <[email protected]>
137 * dwarfdump.c: for -kF, add check_lines. Ensure uniformity
138 in the usage-text ending.
139 * print_lines.c: Ensure lines printing suppresses some
140 error reporting when appropriate.
141 2011-10-03 DavidAnderson <[email protected]>
142 * print_die.c: Fix the formx code by removing recently-added use of llabs().
143 Fix format botch, and correct small error string mistakes. Empty
144 esb_extra string when it is no longer valid.
145 2011-10-03 DavidAnderson <[email protected]>
146 * dwarfdump.c: Minor formatting changes.
147 * print_die.c: Initialize some local varables at definition. Ensure that
148 we do not get a FORM name in a name string (so a test
149 works right). And also ensure a FORM name does not get
150 into a compiler-target setting. Refine the formx_print_value()
151 so it is more complete (like dwarfdump2). Ensure show_form_itself()
152 uses the argument, not a global, for the show-form test.
153 * naming.c: Introduce a {} pair on an 'if'
154 to reduce the possibility of future
155 errors.
156 * print_pubnames.c: Add error details to match dwarfdump2.
157 * print_ranges.c: If not printing, return immediately.
158 * print_reloc.c: A test was coded with = where == was needed.
159 * print_types.c: Move local variable definitions to the
160 block they are used in.
161 2011-09-29 DavidAnderson <[email protected]>
162 * dwarfdump.c: Amplifying the -n help string.
163 * print_abbrev.c: Adding the standard test of the section
164 print option before printing the header line for the abbrevs section.
165 * print_die.c: Added a {} pair to avoid eventual bug.
166 * print_frames.c: Reformatted a comment for readability.
167 * print_lines.c: Added a status test for consistency with the rest
168 of the code.
169 * print_reloc.c: One of the assign-and-test removal changes
170 in the previous changes was wrong.
171 2011-09-26 DavidAnderson <[email protected]>
172 * dwarfdump.c: Removed duplicate usage_text strings.
173 * print_reloc.c: In case we don't have ELF64 headers,
174 do the last-best-hope internal define in the right place
175 so it actually helps. For some local variables, ensure
176 they have values defined at the definition point.
177 Switch some assign-and-test into two lines.
178 2011-09-20 DavidAnderson <[email protected]>
179 * Makefile.in: Fixed typo in comment.
180 * common.c: Use snprintf, not sprintf. Updated version string.
181 * dwarfdump.c: Correct typo and move usage_text to
182 a source position corresponding to that in dwarfdump.cc.
183 Updated version string.
184 2011-09-16 DavidAnderson <[email protected]>
185 * dwarfdump.c, common.c: Update version string.
186 2011-09-15 DavidAnderson <[email protected]>
187 * dwarfdump.c, common.c: Update version string.
188 2011-09-14 DavidAnderson <[email protected]>
189 * dwarfdump.c, common.c: Update version string.
190 2011-09-08 DavidAnderson <[email protected]>
191 * config.h, configure.in, dwconf.c, globals.h: Switch
192 compile dependency to configure time HAVE_STDAFX_H
193 instead a system-dependent ifdef.
194 * configure: regenerate.
195 2011-09-08 DavidAnderson <[email protected]>
196 * print_frames.c: Ensure each tsearch tree pointer is zeroed
197 after emptying the tree.
198 * addrmap.c: Now we actually free all the records, we were
199 misusing tsearch a little bit.
200 2011-09-05 DavidAnderson <[email protected]>
201 * print_frames.c: Now only check duplicate fdes if checking
202 frames.
203 * dwarfdump.conf: Updated to use address_size and includeabi.
204 * dwconf.h, dwconf.c: Adding configure keywords address_size
205 and includeabi.
206 2011-09-02 DavidAnderson <[email protected]>
207 * common.c,dwarfdump.c: Update version string.
208 2011-06-07 DavidAnderson <[email protected]>
209 * dwarfdump.c,common.c: Updated version string.
210 * dwarfdump.c: Refactor setting of do_print_dwarf
211 and do_check_dwarf into a function. Ensure that one of
212 the refactored new functions is called in every case
213 an option requires such call. Ensured indents ok.
214 * print_lines.c (print_line_numbers_this_cu): When not checking
215 added a check to insure we don't try to call a
216 checking-related function.
217 2011-06-07 DavidAnderson <[email protected]>
218 * CODINGSTYLE: Added this new document.
219 * common.c: Updated version string.
220 * dwarfdump.c: Updated version string, fixed indentation.
221 * print_lines.c: Two line table checks moved from
222 decl_file to line_table sections of the summary report
223 and both now show the possibly-wrong pc.
224 Since one is not necessarily a bug, the wording of the
225 message now has 'possibly' in it.
226 * print_die.c: Reinitialize subprogram-relative pc high/low
227 seen_PU_high_address
228 whenever compilation unit changes, and use that field
229 to avoid an erroneous comparison (when checking for an error).
230 Fix some indentation errors introduced recently.
231 2011-06-06 DavidAnderson <[email protected]>
232 * dwarfdump.c: Changed the missing-producer-attribute
233 default string used in summary/error
234 outputs to "<CU-missing-DW_AT_producer>"
235 so it is this string clearer.
236 2011-06-06 DavidAnderson <[email protected]>
237 * print_die.c: Now we strip off quotes dwarfdump
238 added so -S match=main and the like work.
239 2011-06-06 DavidAnderson <[email protected]>
240 * common.c: Updated version string.
241 * dwarfdump.c: Updated version string.
242 * print_die.c: Corrected handling of DW_AT_data_member_location.
243 Corrected handling of 'class constant' function
244 formxdata_print_value() so it does not leak memory.
245 2011-06-05 DavidAnderson <[email protected]>
246 * dwarfdump.c: Updated version string.
247 Now -kd forces a summary error report, always.
248 Even if no errors found or even checked-for.
249 * common.c: Updated version string.
250 2011-06-05 DavidAnderson <[email protected]>
251 * dwarfdump.c,print_aranges.c,print_reloc.c: A few indents
252 did not match the standard multiple-of-4-spaces. Corrected.
253 2011-06-03 DavidAnderson <[email protected]>
254 * checkutil.c (ProcessBucketGroup): Deleted unused
255 local variables.
256 * common.c: Updated version string.
257 * dwarfdump.1: Made the -k discussion more complete and accurate.
258 Most option details are in the dwarfdump help/usage message, not
259 in dwarfdump.1, to keep the man page small.
260 * dwarfdump.c: Updated version string. Made more variables static
261 in recognition they are only touched in this file. Added {} on
262 some if statements to make the body clear. Parenthesized a
263 complex test with && || to clarify intent. Added sanity testing
264 of the 'current compiler' count and its use.
265 * globals.h: Added safe_strcpy() prototype as it is used by multiple
266 source files so we need a visible prototype.
267 * print_aranges.c: Add 'arange end' printing (it is a real DWARF
268 record type, so should be printed). Add a test to avoid duplicated
269 die printing and error-counting when it is not requested.
270 * print_die.c: An = in an if corrected to ==. Parenthesized a
271 complex test with && || to clarify intent. Deleted an unused
272 local variable.
273 * print_lines.c: Deleted unused local variables. Added {} for each
274 struct in an array so the initialization gets done right.
275 * tag_attr.c: Deleted an unused local variable.
276 * tag_tree.c: Deleted an unused local variable.
277 2011-04-23 DavidAnderson <[email protected]>
278 * dwarfdump.c, common.c: Updated DWARF_VERSION string.
279 2011-01-04 DavidAnderson <[email protected]>
280 * print_frames.h print_static_vars.c Makefile.in
281 print_static_funcs.c print_sections.c print_strings.c print_locs.c
282 print_die.c print_reloc.c print_reloc.h print_lines.c print_pubnames.c
283 dwarfdump.c strstrnocase.c tag_tree.c print_ranges.c print_abbrevs.c
284 print_macros.c configure.in tag_attr.c dwarfdump.1 naming.c
285 esb.c checkutil.c makename.c dwconf.c print_types.c checkutil.h
286 tag_tree.list print_weaknames.c globals.h common.c print_frames.c
287 print_aranges.c common.h: New correctness tests and new
288 formatting of various reports.