Debian Codegraph @

src/bin/dwarfdump/ChangeLog2018

raw
1 2018-12-24 David Anderson
2 * dwarfdump.1: Clarifying the effect of any - or -- option
3 on the output of dwarfdump.
4 2018-12-21 David Anderson
5 * command_options.c: Reformat a few lines of the usage text
6 so it all prints in around 70 characters without overlap.
7 2018-12-20 David Anderson
8 * dwarfdump.1: Clarifying: the abi=ppc etc options
9 are only made use of if -a, -F, or -f (or the long
10 versions of these) are used.
11 2018-12-20 David Anderson
12 * dwarfdump.c,dwconf_using_functions.h,esb_using_functions.h:
13 Removing trailing whitespace,empty last lines.
14 2018-12-20 David Anderson
15 * globals.h: Removed include of <stdarg.h>
16 * esb.c: Now includes <stdarg.h>
17 2018-12-20 David Anderson
18 * print_frames.c: Now properly deals with endian mismatch
19 in printing frame instruction details and avoids
20 requiring we have a precise definiion of type lengths.
21 * CMakeLists.txt,Makefile.am: Adding memcpy_swap.h. New header.
22 2018-12-19 David Anderson
23 * CMakeLists.txt: Now has dwconf_using_functions.h and
24 esb_using_functions.h listed so cmake works.
25 * Makefile.am: Added new header dwconf_using_functions.h
26 * dwarfdump.c: Includes new header.
27 * globals.h: Remove dwconf_s forward decl, remove
28 dwconf-using functions.
29 * dwconf_using_functions.h: New, has the function
30 declarations removed from globals.h
31 * print_abbrevs.c,print_aranges.c, print_dnames.c,
32 print_lines.c,print_locs.c,print_macro.c,
33 print_macros.c,print_pubnames.c,print_section_groups.c,
34 print_sections.c,print_static_funcs.c,
35 print_static_vars.c,print_str_offsets.c,
36 print_strings.c,print_types.c,print_weaknames.c:
37 Removed include of "dwconf.h"
38 * print_frames.c: Includes new header dwconf_using_functions.h.
39 2018-12-19 David Anderson
40 * Makefile.am: Added new header esb_using_functions.h
41 with content extracted from globals.h.
42 * globals.h: Remove forward decl of esb_s
43 and remove functions using that to esb_using_functions.h
44 * dwarfdump.c,print_abbrevs.c,print_aranges.c,
45 print_debugfission.c,print_die.c,print_dnames.c,
46 print_frames.c,print_gdbindex.c,print_lines.c,
47 print_locs.c,print_macro.c,print_macros.c,print_pubnames.c,
48 print_ranges.c,print_static_funcs.c,print_static_vars.c,
49 print_str_offsets.c,print_strings.c,print_types.c,
50 print_weaknames.c,print_true_section_name.c: Include
51 esb_using_functions.h
52 2018-12-19 David Anderson
53 * globals.h: Removed an include of section_bitmaps.h
54 and duplicate lines about UNUSEDARG.
55 * command_options.c: Now includes section_bitmaps.h.
56 * section_bitmaps.c: Now includes section_bitmaps.h.
57 2018-12-19 David Anderson
58 * dwarfdump.c: Moved elf-header printing to print_reloc.c
59 (print_object_header()).
60 Removed elf argument from print_object_header().
61 * globals.h: Removed elf argument from print_object_header().
62 * print_reloc.c: Now all the elf header/sym/reloc
63 printing is in this one file.
64 2018-12-19 David Anderson
65 * dwarfdump.c: Now uses the new libdwarf function
66 dwarf_errmsg_by_number() so we get more specific
67 messages about problems when all we have is an errorcode.
68 2018-12-07 David Anderson
69 * dwarfdump.1: -E missed its long-form (--elf)
70 and -h (--help) was improperly documented.
71 2018-11-26 David Anderson
72 * dwarfdump.c: Now dumps DWARF from PE objects.
73 2018-11-01 David Anderson
74 * strstrnocase.c had include <globals.h>
75 which is now "globals.h" as it was always
76 supposed to be.
77 2018-10-30 David Anderson
78 * dwarfdump.1: Now shows long and short options.
79 For a few options it references the help file.
80 * command_options.c: The available help options
81 are now -h and --help, and both report
82 the new options list with both short and long
83 options shown.
84 2018-10-26 David Anderson
85 * dwarfdump.c: A single instance of a malloc
86 in main() had no associated free().
87 Memory Leak of a couple hundred bytes
88 exactly once per run of dwarfdump. Now we free().
89 2018-10-19 David Anderson
90 * command_options.c,glflags.c,glflags.h: New option
91 --file-use-no-libelf, function arg_file_use_no_libelf(),
92 glflags.gf_file_use_no_libelf now exist.
93 * dwarfdump.c: process_one_file() and main()
94 are refactored to allow additional object files.
95 2018-09-29 David Anderson
96 * command_options.c: Fixed indent issues.
97 2018-09-26 Carlos Alberto Enciso
98 * command_options.c: At this point, the regression test pass,
99 with the exception of 2 test cases, that verify the output
100 from the '-h' option,
101 which fails due to missing options in the usage data.
102 2018-09-25 Carlos Alberto Enciso
103 * command_options.c: Add support for long name options that expect
104 an argument by using the same code from the short options.
105 2018-09-25 Carlos Alberto Enciso
106 * command_options.c: Add -he and --help-extended to display
107 usage for
108 the long name options.
109 2018-09-24 Carlos Alberto Enciso
110 * command_options.c: Add support for long name options.
111 2018-09-24 Carlos Alberto Enciso
112 * command_options.c: Add missing desriptions in the
113 usage message for
114 -q, -U, -x line5 and -x noprintsettinggroups.
115 2018-09-24 Carlos Alberto Enciso
116 * command_options.c: Add missing desriptions in the
117 usage message for
118 -EI, -Em and -kw.
119 2018-09-20 Carlos Alberto Enciso
120 * command_options.c: Move the code associated with each
121 sub-option, to an individual function. Preliminary work for
122 the implementation of long name options.
123 2018-09-19 Carlos Alberto Enciso
124 * command_options.c: Move the code associated with each
125 option, to an individual function. Preliminary work for
126 the implementation of long name options.
127 * glflags.h, glflags.c: New field to record the full program
128 name. It is used by the '-V' option.
129 2018-09-21 David Anderson
130 * Makefile.am: Ensured cmake files get into distributions.
131 and the CODINGSTYLE text too.
132 2018-09-12 David Anderson
133 * esb.c: Corrected the use of HAVE_NONSTANDARD_PRINTF_64_FORMAT.
134 2018-09-11 David Anderson & Carlos Alberto Enciso
135 * dwconf.c: Fixed typo in a comment.
136 * dwarf_tsearchbal.c: int->size_t three places.
137 A couple too-long lines indented. Matches
138 tsearch directory version now.
139 * esb.c: The test for _WIN32 in looking
140 at printf formats also allows
141 config.h define HAVE_NONSTANDARD_PRINTF_64_FORMAT.
142 2018-09-11 David Anderson & Carlos Alberto Enciso
143 * dwarfdump.c: Simplify the WIN32 code redirecting
144 stderr to stdout as earlier workarounds no longer needed.
145 Printing of parts of an Elf32 header had the wrong
146 printf format-- fixed.
147 * print_die.c: An implicit fallthrough to case DW_AT_LOCATION
148 about line 2943 generates a warning with --enable-wall
149 so added a comment to make it clear to readers
150 this is intended.
151 2018-09-02 David Anderson
152 * Makefile.am: Changed the way to build tag_tree and tag_attr
153 executables to the automake way, eliminating make warnings
154 when building.
155 * Makefile.in: regenerated.
156 2018-08-23 David Anderson
157 * CMakeLists.txt: Adjusted to fit new/changed file names.
158 2018-08-21 David Anderson
159 * Makefile.am: Now honors --enable-wall
160 * print_die.c,print_ranges.c,print_strings.c: Removed
161 unused variables.
162 * print_dnames.c: Removed unused variables and fixed the section-name
163 print (.debug_str-> .debug_names).
164 2018-08-14 David Anderson
165 * Makefile.am: CPPFLAGS_FOR_BUILD a few places it
166 was accidentally omitted.
167 2018-08-09 David Anderson
168 * Makefile.am: Added AM_TESTS_ENVIRONMENT enabling
169 make check from any build directory. Also,add
170 getopttest.c and testesb.c to the files in a release
171 so make check can work
172 * runtests.sh: Handle the environment variable
173 AM_TESTS_ENVIRONMENT sets: DWTOPSRCDIR
174 2018-08-08 David Anderson
175 * Makefile.am: corrected dwarfdump_DATA
176 reference to be dwarfdumpdev_DATA
177 2018-08-07 David Anderson
178 * dwconf.c: Removed trailing whitespace.
179 * globals.h: Added DWARF_SECNAME_BUFFER_SIZE define
180 (space for a small string) so if it need change
181 there is just one place to change it. Used in many
182 files with esb_constructor_fixed()..
183 * print_abbrevs.c,print_die.c,print_locs.c,print_strings.c:
184 Refactored the section name printing
185 into a function and call after calling libdwarf
186 so the interesting section compression info
187 is available to print.
188 * print_aranges.c,print_pubnames.c, print_ranges.c,
189 print_static_funcs.c,print_static_vars.c,print_weaknames.c:
190 Moved a libdwarf call above the
191 section name print
192 so the interesting section compression info
193 is available to print.
194 * print_dnames.c,print_frames.c: Removed trailing whitespace, use
195 DWARF_SECNAME_BUFFER_SIZE.
196 * print_gdbindex.c,print_lines.c,print_macro.c,
197 print_macros.c,print_str_offsets.c:
198 Use DWARF_SECNAME_BUFFER_SIZE .
199 * true_section_name.c: Now prints compression values.
200 2018-08-06 David Anderson
201 * globals.h: Added DWARF_SECNAME_BUFFER_SIZE
202 for the esb preallocation of section names.
203 * print_abbrevs.c,print_aranges.c,print_debugfission.c,
204 print_die.c,print_dnames.c,print_frames.c,
205 print_gdbindex.c,print_lines.c,print_locs.c,print_macro.c,
206 print_macros.c,print_pubnames.c,print_ranges.c,
207 print_static_funcs.c,print_static_vars.c,print_str_offsets.c,
208 print_strings.c,print_types.c,print_weaknames.c:
209 Now uses DWARF_SECNAME_BUFFER_SIZE instead of plain 40.
210 * print_die.c: In print_ranges_list_to_extra() we do not want
211 the section name to have the compressed-notes appear.
212 * print_lines.c: In print_line_numbers_this_cu() we do not want
213 the section name to have the compressed-notes appear.
214 * print_ranges.c: In check_ranges_list() we do not want
215 the section name to have the compressed-notes appear.
216 * true_section_name.c: Added a pointer argument to
217 get_true_section_name() so it returns three distinct
218 compression flags. one for .zdebug*, one for SHF_COMPRESSED,
219 and one for a ZLIB initial byte group in the section.
220 2018-08-05 David Anderson
221 * Makefile.am: Fixed dwarfdump_CFLAGS to set
222 CONFPREFIX
223 * command_options.c Fixed config_file_defaults[]
224 to honor CONFPREFIX sensibly.
225 * globals.h: Declares get_true_section_name(),
226 a new function/refactoring so section names print more
227 usefully.
228 * true_section_name.c: New. Implements get_true_section_name().
229 * print_abbrevs.c, print_aranges.c, print_debugfission.c,
230 print_die.c, print_dnames.c, print_frames.c, print_gdbindex.c,
231 print_lines.c, print_locs.c, print_macro.c, print_macros.c,
232 print_pubnames.c, print_ranges.c, print_static_funcs.c,
233 print_static_vars.c, print_str_offsets.c, print_strings.c,
234 print_types.c, print_weaknames.c.
235 2018-08-02 David Anderson
236 * Makefile.am: Removed unused variables and references
237 to them.
238 * Makefile.in: Regenerated (usually won't mention this).
239 2018-07-31 David Anderson
240 * command_options.c: New option --print-debug-names.
241 * print_dnames.c: Giving print_debug_names() some
242 content.
243 2018-07-30 David Anderson
244 * command_options.c: For abbreviation checking also try running
245 print_abbrevs() with its checks.
246 * print_abbrevs.c: If checking turn off normal printing, just
247 print checking issues.
248 2018-07-30 David Anderson
249 * tag_attr.list,tag_attr_ext.list,tag_common.h,tag_tree.list,
250 tag_tree_ext.list: Some important relationships needed to be
251 added to avoid -ka warnings about normal DWARF.
252 And the table sizes are just a tiny bit bigger.
253 2018-07-13 David Anderson
254 * Makefile.am: Add dwarfdump.1 to output. Move
255 COPYRIGHT and a few files out of the installed set,
256 leaving just dwarfdump.1, and libdwarf*pdf in
257 /usr/local/share.
258 * command_options.c: Removed duplicate extern declaration
259 of dwoptind.
260 2018-07-16 David Anderson
261 * dwarf_tsearch.h: Corrected web-reference links in
262 the comments.
263 * uritableblebuild.c: Changed some commentary to have
264 shorter line lengths. Added comment explaining
265 how the source was used in creating uri.c .
266 * common.c: Refines the ifdef HAVE_STDAFX_H.
267 * dwarf_tsearch.h: Remove obsolete link in comment and
268 substitute a valid link.
269 * dwarf_tsearchbal.c: Remove include of dwarf_incl.h and
270 use config.h to set UNUSEDARG as appropriate.
271 * dwconf.c,globals.h: Refines the ifdef HAVE_STDAFX_H.
272 * uritablebuild.c: Reformat initial comments to fit
273 on shorter lines.
274 2018-07-16 David Anderson
275 * Makefile.am: New, used by autotools to create configure.
276 * configure.ac, Makefile.in, config.h.in: Deleted.
277 2018-06-21 David Anderson
278 * esb.c: For _WIN32 a closing } was missing
279 int two places. Fixed.
280 2018-06-19 David Anderson
281 * common.c: Added missing ; for Windows code
282 * dwconf.c: ifdef _WIN32, not a HAVE* name.
283 Spell include windows.h not Windows.h for maximum
284 compatibility.
285 2018-06-13 David Anderson
286 * Remove mention of HAVE_NONSTANDARD_PRINTF.
287 2018-06-13 David Anderson
288 * configure.ac: New option --enable-elf-open
289 setting HAVE_ELF_OPEN
290 * config.h.in: HAVE_ELF_OPEN
291 * configure.ac: Regenerated.
292 * dwarfdump.c: Now uses open() unless HAVE_ELF_OPEN
293 is explicitly set.
294 2018-06-10 David Anderson
295 * checkutil.c: Fixed indentation mistake.
296 * common.c: Removed trailing blank.
297 2018-06-10 David Anderson
298 * checkutil.c: snprintf-> esb
299 * common.c: snprint -> printf
300 * dwarf_tsearchbal.c: snprintf -> sprintf, it is safe.
301 * naming.c: snprintf-> esb.
302 * print_die.c: Trimmed the size of a buffer in a safe
303 sprintf use.
304 * esb.c: Modified to remove an implementation-defined
305 conversion issue.
306 2018-06-10 David Anderson
307 * esb.c: Added checks so passing %s to _d or _u gets
308 a useful output (an ESBERR string).
309 * print_abbrevs.c,print_die.c,print_lines.c: Converted
310 all sprintf to the new esb_append_printf_s,i,u.
311 2018-06-09 David Anderson
312 * esb.c: Fixed an issue printing the most-negative integer.
313 * print_die.c: Now all the relevant places avoid s[n]printf.
314 2018-06-09 David Anderson
315 * esb.c, testesb.c: These now support and test %+d.
316 * print_die.c: Used esb_constructor_fixed() and
317 esb_append_printf_s,_i,_u(), replacing
318 many s[n]printf.
319 2018-06-08 David Anderson
320 * Makefile.in: Altered the esb testing lines.
321 * testesb.c: Now this is the esb test code.
322 * esb.c: Removed test code, moved to testesb.c.
323 Added esb_append_printf_s(), esb_append_printf_i() and
324 esb_append_printf_u() to get faster formatting without
325 any varargs.
326 2018-06-07 David Anderson
327 * print_frames.c: Vincent T. noticed unnecessary and/or
328 incorrect casts, here fixed. Also fixed some too-long
329 lines -- changed the existing line break to a better place.
330 2018-06-05 David Anderson
331 * dwarfdump.c: Remove erroneous _MSC_VER
332 per Carlos Alberto Enciso.
333 Change WIN32 to _WIN32.
334 2018-05-26 David Anderson
335 * common.c,dwarfdump.c,tag_attr.c,tag_tree.c:
336 Remove DW_VERSION_DATE_STR
337 and #include ../libdwarf/libdwarf_version.h to provide it.
338 2018-05-26 David Anderson
339 * dwarfdump.c,tag_attr.c,tag_tree.c, common.c:
340 Update version string
341 2018-05-23 David Anderson
342 * esb.c, esb.h: Added esb_constructor_fixed()
343 and new fields in esb_s to support use of
344 a static buffer so normally no malloc needed
345 when using the esb.
346 * print_frames.c: Changed, where appropriate,
347 to use esb_constructor_fixed.
348 * dwarfdump/sanitized.c: The static initializer
349 of all zero needed update for the new esb_s
350 declaration.
351 2018-05-22 David Anderson
352 * glflags.h, glflags.c: set_checks_off(void) needed
353 the (void) as argument to be a C90 prototype.
354 2018-05-22 David Anderson
355 * esb.c: Changed INITIAL_ALLOC to 100 as experiments
356 show that a length in a range near 100 gives
357 the best runtimes, by 10-20% user time.
358 2018-05-22 David Anderson
359 * glflags.c: Removed the c99 'for (int i=0;'
360 and declare the 'i' separately.
361 2018-05-20 David Anderson
362 * dwarfdump.c: Change strcpy to safe_strcpy. Comment a safe sprintf
363 call.
364 * glflags.c: Change strcpy to safe_strcpy and fix indents.
365 * dwconf.c: Change strcpy to safe_strcpy.
366 * print_frames.c: Change snprintf to esb_append.
367 Change the name of a local pointer to make it clearer
368 it is not the same as other similar local variables.
369 Use esb instead of char *,
370 Change strcpy to safe_strcpy (and eliminate strcat).
371 * print_gdbindex.c: Reinserted return statement that
372 was accidentally dropped.
373 * print_lines.c,print_macros.c: Remove trailing whitespace.
374 * print_ranges.c: Remove trailing whitespace.
375 * tag_attr.c: Remove unused 'len' local variable, 3 places.
376 2018-05-19 David Anderson
377 * print_die.c,print_lines.c,print_macros.c,print_gdbindex.c,
378 print_pubnames.c,print_ranges.c: Replace snprintf with esb_append_printf.
379 * sanitized.c: Deleted a function call and snprintf with
380 simple esb_append_printf.
381 2018-05-17 David Anderson
382 * Makefile.in: Adding esb.c to build time of tag_tree_build
383 and tag_attr_build. See besb.o
384 * config.h.in: #undef for HAVE_VSNPRINTF and HAVE_SNPRINTF
385 * configure: regenerated
386 * configure.ac: Added AC_CHECK_FUNCS(snprintf),
387 AC_CHECK_FUNCS(vsnprintf)
388 * esb.c: Removed static buffers. No longer needed.
389 Allocated extra byte in esb_force_allocation()
390 and in calls to esb_allocate_more.
391 Checks HAVE_VSNPRINTF. Added extra checks
392 of esb_append_printf().
393 Moved one static function up in the source
394 to eliminate an explicit prototype.
395 * esb.h: Added comments documenting esb_s field use.
396 * print_die.c,print_reloc.c,tag_attr.c,
397 tag_tree.c,uri.c: Removed snprintf,sprintf. Using esb_append_printf.
398 * makename.c: Removed noise from selftest, just print pass/fail.
399 2018-05-16 David Anderson
400 * dwarfdump.c,esb.c,esb.h,globals.h: Removed of C99
401 vsnprintf and completely removed esb_printf_append_ap()
402 from esb.
403 2018-05-15 David Anderson
404 * tmp-tt-table.c,tmp-ta-table.c,tmp-ta-ext-table.c,
405 tmp-tt-ext-table.c: All endings changed from .c to .h
406 as these are all used via #include.
407 * Makefile.in: Reflect the .c->.h change for these files.
408 * checkutil.c,dwarf_tsearch.h,dwarf_tsearchbal.c,
409 glflags.c,naming.c,naming.h,print_debugfission.c,
410 print_die.c,print_frames.c,print_gdbindex.c,print_macros.c,
411 print_pubnames.c,print_reloc.h,print_sections.c,
412 print_static_vars.c,uri.c,uritablebuild.c:
413 Removed trailing blank lines.
414 2018-05-15 David Anderson
415 * command_options.c: Removed an extra break on option -ER
416 that was an accident. It's been broken for quite a long time.
417 section_map[DW_HDR_DEBUG_RNGLISTS]=TRUE, applicable
418 to DWARF5, was getting ignored due to the mistake.
419 This has to do with printing section header information.
420 2018-05-14 David Anderson
421 * command_options.c,compiler_info.c,print_frames.c: Fix
422 indents, remove trailing whitespace.
423 2018-05-14 David Anderson
424 * dwarfdump.c,tag_attr.c,tag_tree.c, common.c:
425 Update version string
426 2018-05-14 David Anderson
427 * print_frames.c: Validate augmentation bytes from
428 eh_frame to catch bogus augmentation length.
429 2018-05-14 David Anderson
430 * dwarfdump.c: gcc caught a memset given a pointer
431 as the size. Fixed.
432 * naming.c: Needed #ifndef TRIVIAL_NAMING
433 around skipunder() to compile without warnings.
434 * section_bitmaps.c, section_bitmaps.h: Needed
435 (void) as function argument list, for example
436 set_all_sections_on(void) .
437 2018-05-14 Carlos Alberto Enciso
438 * Rename producer_info.[ch] to compiler_info.[ch].
439 2018-05-11 Carlos Alberto Enciso
440 * New files: command_options.c,command_options.h
441 Command line arguments processing; the original code moved
442 from dwarfdump.c.
443 * New files: producer_info.c,producer_info.h
444 Record statistics about the producers (compilers). The original
445 code moved from dwarfdump.c.
446 * glflags.c,glflags.h,globals.h:
447 Moved the remaining individual global flags and what they
448 control into glflags.h.
449 * section_bitmaps.c,section_bitmaps.h: process the header and
450 relocation maps. Original code moved from dwarfdump.c
451 * dwarfdump.c:
452 Moved the code for command line arguments processing to
453 command_options.c and producer_info.c.
454 * print_reloc.c,sanitized.h,defined_types.h,dwconf.c,print_aranges.c
455 Minor changes due to refactoring of the command line and
456 producer refactoring.
457 2018-05-09 David Anderson
458 * common.c,dwarfdump.c,glflags.c,glflags.h,print_aranges.c,
459 print_die.c: Fixed indents to match dicheck requirements
460 and removed some trailing whitespace.
461 2018-05-01 Carlos Alberto Enciso
462 * common.c,dwarfdump.c,dwconf.c,glflags.c,glflags.h,globals.h,
463 naming.c,print_abbrevs.c,print_aranges.c,print_die.c,
464 print_dnames.c,print_frames.c,print_gdbindex.c,print_lines.c,
465 print_locs.c,print_macro.c,print_macros.c,print_pubnames.c,
466 print_ranges.c,print_static_funcs.c,print_static_vars.c,
467 print_strings.c,print_weaknames.c,tag_attr.c,tag_tree.c:
468 Moved the remaining individual global flags and what they
469 control into glflags.h, making it easier to understand
470 what one is looking at when reading the code.
471 2018-04-22 David Anderson
472 * print_str_offsets.c: Created consistent terminology
473 for the parts of a table and reflecting that in
474 the table output. The DWARF5 standard uses more
475 than one set of terms for the section contents.
476 * dwarfdump.c,tag_attr.c,tag_tree.c:
477 Update version string
478 * common.c: Update version string.
479 Now that usage text in full is only on request
480 it now becomes stdout instead of stderr.
481 2018-04-19 David Anderson
482 * Makefile.in: Added additional lines to test native
483 getopt_long to verify dwgetopt_long works consistently
484 with GNU getopt_long (for the features tested, anyway).
485 * dwgetopt.c: Better checking for dwgetopt_long correctness.
486 * getopttest.c: Added tests and revised the checking to
487 avoid nasty corner cases.
488 2018-04-17 David Anderson
489 * dwarfdump.c, dwarfdump.1: The -h option has not been supported
490 for years (it printed an IRIX table of no interest now)
491 so now -h means print the help message showing the options
492 available.
493 * dwgetopt.c: Now prints the name of any incorrect long-option
494 it sees and prints if user-specified =arg
495 on a long option violates requirements . For either returns -1.
496 Should have done that all along.
497 * getopttest.c: Added tests and revised the checking functions
498 to show all the relevant data if a test fails. Added line number
499 of the original test to the output so it's easier to find
500 the actual test.
501 2018-04-16 David Anderson
502 * common.c,dwarfdump.c,tag_attr.c,tag_tree.c:
503 Update version string
504 2018-04-14 David Anderson
505 * dwarfdump.1: Add --print-str-offsets.
506 * dwarfdump.c: Add --print-str-offsets to the usage text.
507 2018-04-13 David Anderson
508 * CMakeLists.txt: Added new source files to cmake info.
509 2018-04-13 David Anderson
510 * common.c,tag_attr.c,tag_tree.c: Updated
511 version string.
512 * configure.ac: Added a comment about HAVE_LOCATION_OF_LIBELFHEADER
513 * dwarfdump.c: Added support for option --print_str_offsets
514 to print .debug_str_offsets.
515 Updated version string.
516 * glflags.h: Added new flag: boolean gf_print_str_offsets.
517 * globals.h: Added print function print_str_offsets_section()
518 to interfaces.
519 * print_str_offsets.c: New code to print the .debug_str_offsets
520 section independent of anything else.
521 * Makefile.in: Added print_str_offsets.o to targets.
522 2018-04-06 David Anderson
523 * configure.ac: Previous recent change introduced a mistake.
524 Now we set HAVE_ELF64_R_INFO as intended all along.
525 * configure: Regenerated
526 2018-04-02 David Anderson
527 * CMakeLists.txt: Added defined_types.h to the set_source_group
528 HEADERS list, but cmake is not currently working
529 with libdwarf or dwarfdump.
530 * configure.ac: Removed AC_CHECK_LIB and replaced
531 with the newer AC_SEARCH_LIBS.
532 Removed two cases using HAVE_LOCATION_OF_LIBELF_HEADER
533 that never worked, it seems.
534 * configure: Regenerated
535 2018-03-29 David Anderson
536 * configure.ac: Corrected AC_CHECK_HEADERS use.
537 Removed AC_TRY_COMPILE in favor of AC_COMPILE_IFELSE.
538 Revamped checks for libelf and zlib.
539 * configure: regenerated
540 * config.h.in: regenerated
541 2018-03-28 David Anderson
542 * configure.in renamed configure.ac
543 2018-03-27 David Anderson
544 * configure.in: Cross compiling tested, working.
545 * configure: regenerated.
546 2018-03-25 David Anderson
547 * configure.in: Support for cross compiling
548 * configure: regenerated.
549 * Makefile.in: Support for cross compiling
550 2018-03-25 David Anderson
551 * defined_types.h,dwarfdump/dwarfdump.c,esb.c,esb.h,
552 globals.h,print_aranges.c,print_die.c,print_frames.c,
553 print_lines.c,print_macro.c,print_macros.c,
554 print_ranges.c, sanitized.c,sanitized.h,uri.h:
555 Updated copyright year on the merged changes.
556 * getopttest.c: Fixed compiler warnings (this
557 is just for selftest, not usually compiled).
558 2018-03-25 Carlos Alberto Enciso:
559 * many: Merged header simplifications into master.
560 2018-03-24 David Anderson
561 * print_lines.c: Now uses dwarf_srclines_files_indexes()
562 to simplify printing of DWARF2,3,4 and 5 line headers
563 in a simple uniform way.
564 2018-03-22 David Anderson
565 * print_lines.c: Now works with DWARF5 line table,
566 showing correct file index for all versions.
567 2018-03-21 David Anderson
568 * common.c,dwarfdump.c,tag_attr.c,tag_tree.c: Updated
569 version string.
570 2018-03-21 David Anderson
571 * print_die.c: Add support for DWARF5 FORMs.
572 * print_lines.c: Fix a too-long line.
573 2018-01-29 David Anderson
574 * print_frames.c: When printing detailed frame data
575 ensure we check for corrupt data.
576 2018-01-29 David Anderson
577 * common.c,dwarfdump.c,tag_attr.c,tag_tree.c:
578 Update version string