File: ChangeLog

package info (click to toggle)
dwarfutils 20180809-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,228 kB
  • sloc: ansic: 63,382; sh: 5,222; cpp: 4,041; makefile: 548; python: 445; awk: 11
file content (412 lines) | stat: -rw-r--r-- 19,019 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
2018-08-09 David Anderson
    * Makefile.am: Added AM_TESTS_ENVIRONMENT enabling
      make check from any build directory. Also,add
      getopttest.c and testesb.c to the files in a release
      so make check can work
    * runtests.sh: Handle the environment variable
      AM_TESTS_ENVIRONMENT sets: DWTOPSRCDIR
2018-08-08 David Anderson
    * Makefile.am: corrected dwarfdump_DATA 
      reference to be dwarfdumpdev_DATA
2018-08-07 David Anderson
    * dwconf.c: Removed trailing whitespace.
    * globals.h: Added DWARF_SECNAME_BUFFER_SIZE define
      (space for a small string) so if it need change
      there is just one place to change it. Used in many
      files with esb_constructor_fixed()..
    * print_abbrevs.c,print_die.c,print_locs.c,print_strings.c: 
      Refactored the section name printing
      into a function and call after calling libdwarf
      so the interesting section compression info
      is available to print.
    * print_aranges.c,print_pubnames.c, print_ranges.c,
      print_static_funcs.c,print_static_vars.c,print_weaknames.c: 
      Moved a libdwarf call above the
      section name print
      so the interesting section compression info
      is available to print.
    * print_dnames.c,print_frames.c: Removed trailing whitespace, use
      DWARF_SECNAME_BUFFER_SIZE.
    * print_gdbindex.c,print_lines.c,print_macro.c,
      print_macros.c,print_str_offsets.c: 
      Use  DWARF_SECNAME_BUFFER_SIZE .
    * true_section_name.c: Now prints compression values.
2018-08-06 David Anderson
    * globals.h: Added  DWARF_SECNAME_BUFFER_SIZE 
      for the esb preallocation of section names.
    * print_abbrevs.c,print_aranges.c,print_debugfission.c,
      print_die.c,print_dnames.c,print_frames.c,
      print_gdbindex.c,print_lines.c,print_locs.c,print_macro.c,
      print_macros.c,print_pubnames.c,print_ranges.c,
      print_static_funcs.c,print_static_vars.c,print_str_offsets.c,
      print_strings.c,print_types.c,print_weaknames.c:
      Now uses DWARF_SECNAME_BUFFER_SIZE instead of plain 40.
    * print_die.c: In print_ranges_list_to_extra() we do not want
      the section name to have the compressed-notes appear.
    * print_lines.c: In print_line_numbers_this_cu() we do not want
      the section name to have the compressed-notes appear.
    * print_ranges.c: In check_ranges_list() we do not want
      the section name to have the compressed-notes appear.
    * true_section_name.c: Added a pointer argument to 
      get_true_section_name() so it returns three distinct
      compression flags. one for .zdebug*, one for SHF_COMPRESSED,
      and one for a ZLIB initial byte group in the section.
2018-08-05 David Anderson
    * Makefile.am: Fixed dwarfdump_CFLAGS to set
      CONFPREFIX 
    * command_options.c Fixed config_file_defaults[]
      to honor CONFPREFIX sensibly.
    * globals.h: Declares get_true_section_name(), 
      a new function/refactoring so section names print more
      usefully.
    * true_section_name.c: New. Implements get_true_section_name().
    * print_abbrevs.c, print_aranges.c, print_debugfission.c,
      print_die.c, print_dnames.c, print_frames.c, print_gdbindex.c,
      print_lines.c, print_locs.c, print_macro.c, print_macros.c,
      print_pubnames.c, print_ranges.c, print_static_funcs.c,
      print_static_vars.c, print_str_offsets.c, print_strings.c,
      print_types.c, print_weaknames.c.
2018-08-02 David Anderson
    * Makefile.am: Removed unused variables and references
      to them.
    * Makefile.in: Regenerated (usually won't mention this).
2018-07-31 David Anderson
    * command_options.c: New option --print-debug-names.
    * print_dnames.c: Giving print_debug_names() some
      content.
2018-07-30 David Anderson
    * command_options.c: For abbreviation checking also try running
      print_abbrevs() with its checks. 
    * print_abbrevs.c: If checking turn off normal printing, just
      print checking issues. 
2018-07-30 David Anderson
    * tag_attr.list,tag_attr_ext.list,tag_common.h,tag_tree.list,
      tag_tree_ext.list: Some important relationships needed to be
      added to avoid -ka warnings about normal DWARF.
      And the table sizes are just a tiny bit bigger.
2018-07-13 David Anderson
    * Makefile.am: Add dwarfdump.1 to output. Move
      COPYRIGHT and a few files out of the installed set,
      leaving just dwarfdump.1, and libdwarf*pdf in
      /usr/local/share.
    * command_options.c: Removed duplicate extern declaration
      of dwoptind.
2018-07-16 David Anderson
    * dwarf_tsearch.h: Corrected web-reference links in
      the comments.
    * uritableblebuild.c: Changed some commentary to have
      shorter line lengths. Added comment explaining
      how the source was used in creating uri.c .
    * common.c: Refines the ifdef HAVE_STDAFX_H.
    * dwarf_tsearch.h: Remove obsolete link in comment and
      substitute a valid link.
    * dwarf_tsearchbal.c: Remove include of dwarf_incl.h and 
      use config.h to set UNUSEDARG as appropriate.
    * dwconf.c,globals.h: Refines the ifdef HAVE_STDAFX_H.
    * uritablebuild.c: Reformat initial comments to fit
      on shorter lines.
2018-07-16 David Anderson
    * Makefile.am: New, used by autotools to create configure.
    * configure.ac, Makefile.in, config.h.in: Deleted.
2018-06-21 David Anderson
    * esb.c: For _WIN32 a closing } was missing
      int two places. Fixed.
2018-06-19 David Anderson
    * common.c: Added missing ; for Windows code
    * dwconf.c: ifdef _WIN32, not a HAVE* name.
      Spell include windows.h not Windows.h for maximum
      compatibility.
2018-06-13 David Anderson
    * Remove mention of HAVE_NONSTANDARD_PRINTF.
2018-06-13 David Anderson
    * configure.ac: New option --enable-elf-open 
      setting HAVE_ELF_OPEN 
    * config.h.in: HAVE_ELF_OPEN
    * configure.ac: Regenerated.
    * dwarfdump.c: Now uses open() unless HAVE_ELF_OPEN
      is explicitly set.
2018-06-10 David Anderson
    * checkutil.c: Fixed indentation mistake.
    * common.c: Removed trailing blank.
2018-06-10 David Anderson
    * checkutil.c: snprintf-> esb
    * common.c: snprint -> printf
    * dwarf_tsearchbal.c: snprintf -> sprintf, it is safe.
    * naming.c: snprintf-> esb.
    * print_die.c: Trimmed the size of a buffer in a safe
      sprintf use.
    * esb.c: Modified to remove an implementation-defined
      conversion issue.
2018-06-10 David Anderson
    * esb.c: Added checks so passing %s to _d or _u gets
      a useful output (an ESBERR string).
    * print_abbrevs.c,print_die.c,print_lines.c: Converted
      all sprintf to the new esb_append_printf_s,i,u.
2018-06-09 David Anderson
    * esb.c: Fixed an issue printing the most-negative integer.
    * print_die.c: Now all the relevant places avoid s[n]printf.
2018-06-09 David Anderson
    * esb.c, testesb.c: These now support and test %+d.
    * print_die.c: Used esb_constructor_fixed() and
      esb_append_printf_s,_i,_u(), replacing 
      many s[n]printf.
2018-06-08 David Anderson
    * Makefile.in: Altered the esb testing lines.
    * testesb.c: Now this is the esb test code.
    * esb.c: Removed test code, moved to testesb.c.
      Added esb_append_printf_s(), esb_append_printf_i() and
      esb_append_printf_u() to get faster formatting without
      any varargs.
2018-06-07 David Anderson
    * print_frames.c: Vincent T. noticed unnecessary and/or
      incorrect casts, here fixed. Also fixed some too-long
      lines -- changed the existing line break to a better place. 
2018-06-05 David Anderson
    * dwarfdump.c: Remove erroneous _MSC_VER
      per Carlos Alberto Enciso. 
      Change WIN32 to _WIN32.
2018-05-26 David Anderson
    * common.c,dwarfdump.c,tag_attr.c,tag_tree.c:
      Remove DW_VERSION_DATE_STR
      and #include ../libdwarf/libdwarf_version.h to provide it.
2018-05-26 David Anderson
    * dwarfdump.c,tag_attr.c,tag_tree.c, common.c:
      Update version string
2018-05-23 David Anderson
    * esb.c, esb.h: Added esb_constructor_fixed()
      and new fields in esb_s to support use of
      a static buffer so normally no malloc needed
      when using the esb.
    * print_frames.c: Changed, where appropriate,
      to use esb_constructor_fixed.
    * dwarfdump/sanitized.c: The static initializer
      of all zero needed update for the new esb_s
      declaration.
2018-05-22 David Anderson
    * glflags.h, glflags.c: set_checks_off(void) needed
      the (void) as argument to be a C90 prototype.
2018-05-22 David Anderson
    * esb.c: Changed INITIAL_ALLOC to 100 as experiments
      show that a length in a range near 100 gives
      the best runtimes, by 10-20% user time. 
2018-05-22 David Anderson
    * glflags.c: Removed the c99 'for (int i=0;'
      and declare the 'i' separately.
2018-05-20 David Anderson
    * dwarfdump.c: Change strcpy to safe_strcpy. Comment a safe sprintf
      call.
    * glflags.c: Change strcpy to safe_strcpy and fix indents.
    * dwconf.c: Change strcpy to safe_strcpy.
    * print_frames.c: Change snprintf to esb_append.
      Change the name of a local pointer to make it clearer
      it is not the same as other similar local variables.
      Use esb instead of char *, 
      Change strcpy to safe_strcpy (and eliminate strcat).
    * print_gdbindex.c: Reinserted return statement that
      was accidentally dropped.
    * print_lines.c,print_macros.c: Remove trailing whitespace.
    * print_ranges.c: Remove trailing whitespace.
    * tag_attr.c: Remove unused 'len' local variable, 3 places.
2018-05-19 David Anderson
    * print_die.c,print_lines.c,print_macros.c,print_gdbindex.c,
      print_pubnames.c,print_ranges.c: Replace snprintf with esb_append_printf.
    * sanitized.c: Deleted a function call and snprintf with
      simple esb_append_printf.
2018-05-17 David Anderson
    * Makefile.in: Adding esb.c to build time of tag_tree_build
      and tag_attr_build. See besb.o
    * config.h.in: #undef for HAVE_VSNPRINTF and HAVE_SNPRINTF
    * configure: regenerated
    * configure.ac: Added AC_CHECK_FUNCS(snprintf),
      AC_CHECK_FUNCS(vsnprintf)
    * esb.c: Removed static buffers. No longer needed.
      Allocated extra byte in esb_force_allocation()
      and in calls to esb_allocate_more.
      Checks HAVE_VSNPRINTF. Added extra checks
      of esb_append_printf().
      Moved one static function up in the source 
      to eliminate an explicit prototype.
    * esb.h: Added comments documenting esb_s field use.
    * print_die.c,print_reloc.c,tag_attr.c,
      tag_tree.c,uri.c: Removed snprintf,sprintf. Using esb_append_printf.
    * makename.c: Removed noise from selftest, just print pass/fail.
2018-05-16 David Anderson
    * dwarfdump.c,esb.c,esb.h,globals.h: Removed of C99
      vsnprintf and completely removed esb_printf_append_ap()
      from esb.
2018-05-15 David Anderson
    * tmp-tt-table.c,tmp-ta-table.c,tmp-ta-ext-table.c, 
      tmp-tt-ext-table.c: All endings changed from .c to .h 
      as these are all used via #include.
    * Makefile.in: Reflect the .c->.h change for these files.
    * checkutil.c,dwarf_tsearch.h,dwarf_tsearchbal.c,
      glflags.c,naming.c,naming.h,print_debugfission.c,
      print_die.c,print_frames.c,print_gdbindex.c,print_macros.c,
      print_pubnames.c,print_reloc.h,print_sections.c,
      print_static_vars.c,uri.c,uritablebuild.c: 
      Removed trailing blank lines.
2018-05-15 David Anderson
    * command_options.c: Removed an extra break on option -ER
      that was an accident. It's been broken for quite a long time.
      section_map[DW_HDR_DEBUG_RNGLISTS]=TRUE, applicable
      to DWARF5, was getting ignored due to the mistake.
      This has to do with printing section header information.
2018-05-14 David Anderson
    * command_options.c,compiler_info.c,print_frames.c: Fix
      indents, remove trailing whitespace.
2018-05-14 David Anderson
    * dwarfdump.c,tag_attr.c,tag_tree.c, common.c:
      Update version string
2018-05-14 David Anderson
    * print_frames.c: Validate augmentation bytes from
      eh_frame to catch bogus augmentation length.
2018-05-14 David Anderson
    * dwarfdump.c: gcc caught a memset given a pointer
      as the size. Fixed.
    * naming.c: Needed #ifndef TRIVIAL_NAMING
      around skipunder() to compile without warnings.
    * section_bitmaps.c, section_bitmaps.h: Needed 
      (void) as function argument list, for example
      set_all_sections_on(void) .
2018-05-14 Carlos Alberto Enciso
    * Rename producer_info.[ch] to compiler_info.[ch].
2018-05-11 Carlos Alberto Enciso
    * New files: command_options.c,command_options.h
      Command line arguments processing; the original code moved
      from dwarfdump.c.
    * New files: producer_info.c,producer_info.h
      Record statistics about the producers (compilers). The original
      code moved from dwarfdump.c.
    * glflags.c,glflags.h,globals.h:
      Moved the remaining individual global flags and what they
      control into glflags.h.
    * section_bitmaps.c,section_bitmaps.h: process the header and
      relocation maps. Original code moved from dwarfdump.c
    * dwarfdump.c:
      Moved the code for command line arguments processing to
      command_options.c and producer_info.c.
    * print_reloc.c,sanitized.h,defined_types.h,dwconf.c,print_aranges.c
      Minor changes due to refactoring of the command line and
      producer refactoring.
2018-05-09 David Anderson
    * common.c,dwarfdump.c,glflags.c,glflags.h,print_aranges.c,
      print_die.c: Fixed indents to match dicheck requirements
      and removed some trailing whitespace.
2018-05-01 Carlos Alberto Enciso
    * common.c,dwarfdump.c,dwconf.c,glflags.c,glflags.h,globals.h,
      naming.c,print_abbrevs.c,print_aranges.c,print_die.c,
      print_dnames.c,print_frames.c,print_gdbindex.c,print_lines.c,
      print_locs.c,print_macro.c,print_macros.c,print_pubnames.c,
      print_ranges.c,print_static_funcs.c,print_static_vars.c,
      print_strings.c,print_weaknames.c,tag_attr.c,tag_tree.c:
      Moved the remaining individual global flags and what they
      control into glflags.h, making it easier to understand
      what one is looking at when reading the code.
2018-04-22 David Anderson
    * print_str_offsets.c: Created consistent terminology
      for the parts of a table and reflecting that in
      the table output. The DWARF5 standard uses more
      than one set of terms for the section contents.
    * dwarfdump.c,tag_attr.c,tag_tree.c:
      Update version string
    * common.c: Update version string. 
      Now that  usage text in full is only on request 
      it now becomes stdout instead of stderr.
2018-04-19 David Anderson
    * Makefile.in: Added additional lines to test native
      getopt_long to verify dwgetopt_long works consistently
      with GNU getopt_long (for the features tested, anyway).
    * dwgetopt.c: Better checking for dwgetopt_long correctness.
    * getopttest.c: Added tests and revised the checking to
      avoid nasty corner cases.
2018-04-17 David Anderson
    * dwarfdump.c, dwarfdump.1: The -h option has not been supported
      for years (it printed an IRIX table of no interest now)
      so now -h means print the help message showing the options
      available.
    * dwgetopt.c: Now prints the name of any incorrect long-option
      it sees and prints if user-specified =arg
      on a long option violates requirements . For either returns -1.
      Should have done that all along.
    * getopttest.c: Added tests and revised the checking functions
      to show all the relevant data if a test fails.  Added line number
      of the original test to the output so it's easier to find
      the actual test.
2018-04-16 David Anderson
    * common.c,dwarfdump.c,tag_attr.c,tag_tree.c:
      Update version string
2018-04-14 David Anderson
    * dwarfdump.1: Add --print-str-offsets.
    * dwarfdump.c: Add --print-str-offsets to the usage text.
2018-04-13 David Anderson
    * CMakeLists.txt: Added new source files to cmake info.
2018-04-13 David Anderson
    * common.c,tag_attr.c,tag_tree.c: Updated
      version string.
    * configure.ac: Added a comment about HAVE_LOCATION_OF_LIBELFHEADER
    * dwarfdump.c:  Added support for option --print_str_offsets
      to print .debug_str_offsets.
      Updated version string.
    * glflags.h: Added new flag: boolean gf_print_str_offsets.
    * globals.h: Added print function print_str_offsets_section()
      to interfaces.
    * print_str_offsets.c: New code to print the .debug_str_offsets
      section independent of anything else.
    * Makefile.in: Added print_str_offsets.o to targets.
2018-04-06 David Anderson
    * configure.ac: Previous recent change introduced a mistake.
      Now we set HAVE_ELF64_R_INFO as intended all along.
    * configure: Regenerated
2018-04-02 David Anderson
    * CMakeLists.txt: Added defined_types.h to the set_source_group
      HEADERS list, but cmake is not currently working
      with libdwarf or dwarfdump.
    * configure.ac: Removed AC_CHECK_LIB and replaced
      with the newer AC_SEARCH_LIBS.
      Removed two cases using HAVE_LOCATION_OF_LIBELF_HEADER
      that never worked, it seems.
    * configure: Regenerated
2018-03-29 David Anderson
    * configure.ac: Corrected AC_CHECK_HEADERS use.
      Removed AC_TRY_COMPILE in favor of AC_COMPILE_IFELSE.
      Revamped checks for libelf and zlib.
    * configure: regenerated
    * config.h.in: regenerated
2018-03-28 David Anderson
    * configure.in renamed configure.ac
2018-03-27 David Anderson
    * configure.in: Cross compiling tested, working.
    * configure: regenerated.
2018-03-25 David Anderson
    * configure.in: Support for cross compiling
    * configure: regenerated.
    * Makefile.in: Support for cross compiling
2018-03-25 David Anderson
    * defined_types.h,dwarfdump/dwarfdump.c,esb.c,esb.h,
      globals.h,print_aranges.c,print_die.c,print_frames.c,
      print_lines.c,print_macro.c,print_macros.c,
      print_ranges.c, sanitized.c,sanitized.h,uri.h:
      Updated copyright year on the merged changes.
    * getopttest.c: Fixed compiler warnings (this
      is just for selftest, not usually compiled).
2018-03-25 Carlos Alberto Enciso:
    * many: Merged header simplifications into master.
2018-03-24 David Anderson
    * print_lines.c: Now uses dwarf_srclines_files_indexes()
      to simplify printing of DWARF2,3,4 and 5 line headers
      in a simple uniform way.
2018-03-22 David Anderson
    * print_lines.c: Now works with DWARF5 line table,
      showing correct file index for all versions.
2018-03-21 David Anderson
    * common.c,dwarfdump.c,tag_attr.c,tag_tree.c: Updated
      version string.
2018-03-21 David Anderson
    * print_die.c: Add support for DWARF5 FORMs.
    * print_lines.c: Fix a too-long line.
2018-01-29 David Anderson
    * print_frames.c: When printing detailed frame data
      ensure we check for corrupt data.
2018-01-29 David Anderson
    * common.c,dwarfdump.c,tag_attr.c,tag_tree.c:
      Update version string