Debian Codegraph @

ChangeLog2021

raw
1
2 commit 09dc2de3f1de72197b76373fe09a15769972a6f0
3 Author: David Anderson <[email protected]>
4 Date: Fri Dec 31 07:18:36 2021 -0800
5
6 Turned off sorting, want the ordering to be
7 as in libdwarf.h
8 modified: doc/Doxyfile
9 Now with doxygen comments initiated.
10 modified: src/lib/libdwarf/libdwarf.h
11
12 commit 8d60a7e39406733bbed28cb4511cb6cef579118f
13 Author: David Anderson <[email protected]>
14 Date: Sun Dec 26 14:54:06 2021 -0800
15
16 Small changes.
17 modified: ../src/lib/libdwarf/libdwarf.h
18
19 commit b7864fc2b51a655863a0a59c5b70128e7b4145bb
20 Author: David Anderson <[email protected]>
21 Date: Sun Dec 26 14:18:27 2021 -0800
22
23 This is just a start with doxygen.
24 new file: Doxyfile
25 Found some typedefs and a struct here
26 that are no longer used anywere, so removed
27 from libdwarf.h
28 Plus adding doxygen commands.
29 modified: ../src/lib/libdwarf/libdwarf.h
30
31 2021-12-29: David Anderson
32 commit 907225d2f3d1785db07e254aeb7389fc36f54ae1
33
34 offset = offset;
35 appeared at around lines 1146 and 1205
36 and recent clang warns about them.
37 Lines deleted.
38 modified: src/bin/dwarfdump/print_frames.c
39
40 2021-12-26: David Anderson
41 commit 130db599f5b4843a110527b72db0c6cab917f9bc
42
43 Removed the 'if 0' code that was
44 once necessary.
45 We do not include dd_dwconf.[ch] in
46 test_canonical.c
47 modified: test/test_canonical.c
48
49 2021-12-26: David Anderson
50 commit f7dfb630603ca4baf1e3c3b0b9e10566c306b795
51
52 Updated by 'make rebuild' to get the new
53 version: 0.3.3
54 modified: ../src/bin/dwarfdump/dwarf_names.c
55 modified: ../src/bin/dwarfdump/dwarfdump-af-table.h
56 modified: ../src/bin/dwarfdump/dwarfdump-ta-ext-table.h
57 modified: ../src/bin/dwarfdump/dwarfdump-ta-table.h
58 modified: ../src/bin/dwarfdump/dwarfdump-tt-ext-table.h
59 modified: ../src/bin/dwarfdump/dwarfdump-tt-table.h
60 modified: ../src/lib/libdwarf/dwarf_names.c
61
62 2021-12-26: David Anderson
63 commit fbcdc9ec5b3a88d30e29c25d1c219cf6c8d73741
64
65 Now with version 0.3.3
66 modified: libdwarf.pdf
67 modified: libdwarfp.pdf
68
69 2021-12-26: David Anderson
70 commit 194c1e882260a18900c95acb1738a67c2d2c2e7a
71
72 Updated version to 0.3.3
73 modified: CMakeLists.txt
74 modified: configure.ac
75 modified: doc/libdwarf.mm
76 modified: doc/libdwarfp.mm
77 modified: src/lib/libdwarf/libdwarf.h
78
79 2021-12-26: David Anderson
80 commit 9d13137e5ebc96e2e06de82e32752db4173fb845
81
82 Now reference the new dd_canonical_append.[ch]
83 modified: src/bin/dwarfdump/CMakeLists.txt
84 modified: src/bin/dwarfdump/Makefile.am
85
86 Separated _dwarf_canonical_append from dd_dwconf.[ch]
87 into dd_canonical_append.[ch]
88 new file: src/bin/dwarfdump/dd_canonical_append.c
89 new file: src/bin/dwarfdump/dd_canonical_append.h
90
91 Removed _dwarf_canonical_append
92 modified: src/bin/dwarfdump/dd_dwconf.c
93 modified: src/bin/dwarfdump/dd_dwconf.h
94
95 Now uses dd_canonical_append.c,.h, not dd_dwconf.c,.h
96 modified: test/CMakeLists.txt
97 modified: test/test_canonical.c
98
99 2021-12-26: David Anderson
100 commit b7848e06bc4f84a90bbb0377aa320f956afc2d52
101
102 Reformatted with black, a python reformatter
103 modified: updatesemanticversion.py
104
105 2021-12-24: David Anderson
106 commit f5477b747cd1c650ca933d2d1f17d623cc0cf3fc
107
108 Trivial typo corrections.
109 modified: libdwarf.mm
110
111 2021-12-22: David Anderson
112 commit 89966beb45ef36bc393e184162470db58f8ddcb3
113
114 Up todate with git log
115 modified: ChangeLog
116
117 2021-12-22: David Anderson
118 A placeholder to start 2022 ChangeLog
119 commit 3ce7a354202027e9403c3fc9681a16982eb47074
120
121 2021-12-22: David Anderson
122 commit 3ce7a354202027e9403c3fc9681a16982eb47074
123
124 Updated and improved consistency between these two.
125 modified: codingstyle.md
126 modified: src/bin/dwarfdump/CODINGSTYLE
127
128 2021-12-22: David Anderson
129 commit c8477173ad85bd58e3d5712d9f33e188aafb1bcb
130
131 Now all the text tables used to generate .h and .c files
132 are with the C code generating .c and .h. Moved out of
133 the dwarfdump directory.
134
135 modified: src/bin/attr_form/Makefile.am
136 renamed: src/bin/dwarfdump/attr_formclass.list -> src/bin/attr_form/attr_formclass.list
137 renamed: src/bin/dwarfdump/attr_formclass_ext.list -> src/bin/attr_form/attr_formclass_ext.list
138 modified: src/bin/dwarfdump/Makefile.am
139 modified: src/bin/tag_attr/Makefile.am
140 renamed: src/bin/dwarfdump/tag_attr.list -> src/bin/tag_attr/tag_attr.list
141 renamed: src/bin/dwarfdump/tag_attr_ext.list -> src/bin/tag_attr/tag_attr_ext.list
142 modified: src/bin/tag_tree/Makefile.am
143 renamed: src/bin/dwarfdump/dd_tag_common.c -> src/bin/tag_tree/tag_common.c
144 renamed: src/bin/dwarfdump/tag_tree.list -> src/bin/tag_tree/tag_tree.list
145 renamed: src/bin/dwarfdump/tag_tree_ext.list -> src/bin/tag_tree/tag_tree_ext.list
146
147 2021-12-22: David Anderson
148 commit 2c542eaf7d13899d62afed57ec6d0cf88492aebf
149
150 This is kep in the regressiontests content,
151 we have no need for it here in code.
152 deleted: src/bin/dwarfdump/testdwarfdump.conf
153
154 2021-12-21: David Anderson
155 commit e7b9082f29b4edefbb4a2d2853a348b525791973
156
157 ChangeLog now brought up to date with source file renaming
158 in dwarfdump.
159 modified: ChangeLog
160
161 2021-12-21: David Anderson
162 commit 67ca2c685feddf4c200bb03cfb9292c6d1518b00
163
164 This completes, for now, the dwarfdump source file renaming.
165 No function names were changed
166 (aside from tsearch, using #define in dd_tsearch.h)
167 And there is no logic change.
168
169 modified: Makefile.am
170 modified: configure.ac
171 modified: src/bin/attr_form/Makefile.am
172 modified: src/bin/attr_form/attr_form_build.c
173
174 new file: src/bin/builduritable/Makefile.am
175 renamed: src/bin/dwarfdump/dd_uritablebuild.c -> src/bin/builduritable/uritablebuild.c
176 renamed: src/bin/dwarfdump/glflags.c -> src/bin/dwarfdump/dd_glflags.c
177 renamed: src/bin/dwarfdump/glflags.h -> src/bin/dwarfdump/dd_glflags.h
178 renamed: src/bin/dwarfdump/globals.h -> src/bin/dwarfdump/dd_globals.h
179
180 modified: src/bin/dwarfdump/CMakeLists.txt
181 modified: src/bin/dwarfdump/Makefile.am
182 modified: src/bin/dwarfdump/dd_addrmap.c
183 modified: src/bin/dwarfdump/dd_attr_form.c
184 modified: src/bin/dwarfdump/dd_checkutil.c
185 modified: src/bin/dwarfdump/dd_command_options.c
186 modified: src/bin/dwarfdump/dd_compiler_info.c
187 modified: src/bin/dwarfdump/dd_dwconf.c
188 modified: src/bin/dwarfdump/dd_helpertree.c
189 modified: src/bin/dwarfdump/dd_macrocheck.c
190 modified: src/bin/dwarfdump/dd_makename.c
191 modified: src/bin/dwarfdump/dd_naming.c
192 modified: src/bin/dwarfdump/dd_sanitized.c
193 modified: src/bin/dwarfdump/dd_section_bitmaps.c
194 modified: src/bin/dwarfdump/dd_strstrnocase.c
195 modified: src/bin/dwarfdump/dd_tag_common.c
196 modified: src/bin/dwarfdump/dd_true_section_name.c
197 modified: src/bin/dwarfdump/dd_uri.c
198 modified: src/bin/dwarfdump/dwarfdump.c
199 modified: src/bin/dwarfdump/print_abbrevs.c
200 modified: src/bin/dwarfdump/print_aranges.c
201 modified: src/bin/dwarfdump/print_debug_gnu.c
202 modified: src/bin/dwarfdump/print_debug_names.c
203 modified: src/bin/dwarfdump/print_debug_sup.c
204 modified: src/bin/dwarfdump/print_debugfission.c
205 modified: src/bin/dwarfdump/print_die.c
206 modified: src/bin/dwarfdump/print_frames.c
207 modified: src/bin/dwarfdump/print_gdbindex.c
208 modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
209 modified: src/bin/dwarfdump/print_lines.c
210 modified: src/bin/dwarfdump/print_llex_codes.c
211 modified: src/bin/dwarfdump/print_loclists.c
212 modified: src/bin/dwarfdump/print_loclists_codes.c
213 modified: src/bin/dwarfdump/print_macinfo.c
214 modified: src/bin/dwarfdump/print_macro.c
215 modified: src/bin/dwarfdump/print_origloclist_codes.c
216 modified: src/bin/dwarfdump/print_pubnames.c
217 modified: src/bin/dwarfdump/print_ranges.c
218 modified: src/bin/dwarfdump/print_rnglists.c
219 modified: src/bin/dwarfdump/print_section_groups.c
220 modified: src/bin/dwarfdump/print_sections.c
221 modified: src/bin/dwarfdump/print_static_funcs.c
222 modified: src/bin/dwarfdump/print_static_vars.c
223 modified: src/bin/dwarfdump/print_str_offsets.c
224 modified: src/bin/dwarfdump/print_strings.c
225 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
226 modified: src/bin/dwarfdump/print_types.c
227 modified: src/bin/dwarfdump/print_weaknames.c
228 modified: src/bin/tag_attr/Makefile.am
229 modified: src/bin/tag_attr/tag_attr.c
230 modified: src/bin/tag_tree/Makefile.am
231 modified: src/bin/tag_tree/tag_tree.c
232 modified: test/helpertree_test.c
233 modified: test/makename_test.c
234 modified: test/section_bitmaps_test.c
235
236 2021-12-21: David Anderson
237 commit 8ba6d77c77bfcb5646b7d97035c29e93e2e17e96
238
239 Renaming for name consistency in dwarfdump.
240 renamed: src/bin/dwarfdump/helpertree.c -> src/bin/dwarfdump/dd_helpertree.c
241 renamed: src/bin/dwarfdump/helpertree.h -> src/bin/dwarfdump/dd_helpertree.h
242 renamed: src/bin/dwarfdump/macrocheck.c -> src/bin/dwarfdump/dd_macrocheck.c
243 renamed: src/bin/dwarfdump/macrocheck.h -> src/bin/dwarfdump/dd_macrocheck.h
244 renamed: src/bin/dwarfdump/opscounttab.c -> src/bin/dwarfdump/dd_opscounttab.c
245 renamed: src/bin/dwarfdump/opscounttab.h -> src/bin/dwarfdump/dd_opscounttab.h
246
247 Minor changes required as a result:
248 modified: src/bin/buildopstab/Makefile.am
249 modified: src/bin/buildopstab/buildopscounttab.c
250 modified: src/bin/dwarfdump/CMakeLists.txt
251 modified: src/bin/dwarfdump/Makefile.am
252 modified: src/bin/dwarfdump/dwarfdump.c
253 modified: src/bin/dwarfdump/print_die.c
254 modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
255 modified: src/bin/dwarfdump/print_llex_codes.c
256 modified: src/bin/dwarfdump/print_loclists_codes.c
257 modified: src/bin/dwarfdump/print_macinfo.c
258 modified: src/bin/dwarfdump/print_macro.c
259 modified: src/bin/dwarfdump/print_origloclist_codes.c
260 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
261 modified: test/CMakeLists.txt
262 modified: test/Makefile.am
263 modified: test/helpertree_test.c
264
265 2021-12-21: David Anderson
266 commit bafcb2da90236352f9303dfbc1ffc9bed72f60fe
267
268 Renamings forcing the other changes .
269 renamed: src/bin/dwarfdump/section_bitmaps.c -> src/bin/dwarfdump/dd_section_bitmaps.c
270 renamed: src/bin/dwarfdump/section_bitmaps.h -> src/bin/dwarfdump/dd_section_bitmaps.h
271 renamed: src/bin/dwarfdump/strstrnocase.c -> src/bin/dwarfdump/dd_strstrnocase.c
272 renamed: src/bin/dwarfdump/tag_common.c -> src/bin/dwarfdump/dd_tag_common.c
273 renamed: src/bin/dwarfdump/tag_common.h -> src/bin/dwarfdump/dd_tag_common.h
274 renamed: src/bin/dwarfdump/true_section_name.c -> src/bin/dwarfdump/dd_true_section_name.c
275 renamed: src/bin/dwarfdump/uritablebuild.c -> src/bin/dwarfdump/dd_uritablebuild.c
276
277 modified: src/bin/attr_form/Makefile.am
278 modified: src/bin/attr_form/attr_form_build.c
279 modified: src/bin/dwarfdump/CMakeLists.txt
280 modified: src/bin/dwarfdump/Makefile.am
281 modified: src/bin/dwarfdump/dd_command_options.c
282 modified: src/bin/dwarfdump/dwarfdump.c
283 modified: src/bin/dwarfdump/print_die.c
284 modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
285 modified: src/bin/dwarfdump/print_llex_codes.c
286 modified: src/bin/dwarfdump/print_loclists_codes.c
287 modified: src/bin/dwarfdump/print_origloclist_codes.c
288 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
289 modified: src/bin/tag_attr/Makefile.am
290 modified: src/bin/tag_attr/tag_attr.c
291 modified: src/bin/tag_tree/Makefile.am
292 modified: src/bin/tag_tree/tag_tree.c
293 modified: test/CMakeLists.txt
294 modified: test/Makefile.am
295 modified: test/section_bitmaps_test.c
296
297 2021-12-21: David Anderson
298 commit f31940c5ad21d9c58a390fb36f9679a9595bb11a
299
300 File Renaming for naming consistency and clarity.
301 renamed: src/bin/dwarfdump/dwarf_getopt.c -> src/bin/dwarfdump/dd_getopt.c
302 renamed: src/bin/dwarfdump/dwarf_getopt.h -> src/bin/dwarfdump/dd_getopt.h
303 modified: src/bin/dwarfdump/dd_makename.c
304 renamed: src/bin/dwarfdump/dwarf_tsearch.h -> src/bin/dwarfdump/dd_tsearch.h
305 renamed: src/bin/dwarfdump/dwarf_tsearchbal.c -> src/bin/dwarfdump/dd_tsearchbal.c
306 renamed: src/bin/dwarfgen/dwarf_getopt.c -> src/bin/dwarfgen/dg_getopt.c
307 renamed: src/bin/dwarfgen/dwarf_getopt.h -> src/bin/dwarfgen/dg_getopt.h
308
309 These next two do not belong in libdwarf.
310 deleted: src/lib/libdwarf/dwarf_getopt.c
311 deleted: src/lib/libdwarf/dwarf_getopt.h
312
313 Renaming things leads to lots of places that
314 need a tiny modification.
315 modified: src/bin/attr_form/Makefile.am
316 modified: src/bin/attr_form/attr_form_build.c
317 modified: src/bin/dwarfdump/CMakeLists.txt
318 modified: src/bin/dwarfdump/Makefile.am
319 modified: src/bin/dwarfdump/attr_formclass_ext.list
320 modified: src/bin/dwarfdump/dd_addrmap.c
321 modified: src/bin/dwarfdump/dd_attr_form.c
322 modified: src/bin/dwarfdump/dd_command_options.c
323
324 modified: src/bin/dwarfdump/dwarfdump.c
325 modified: src/bin/dwarfdump/helpertree.c
326 modified: src/bin/dwarfdump/macrocheck.c
327 modified: src/bin/dwarfdump/print_macro.c
328 modified: src/bin/dwarfgen/CMakeLists.txt
329 modified: src/bin/dwarfgen/Makefile.am
330
331 modified: src/bin/dwarfgen/dwarfgen.cc
332 modified: src/bin/gennames/Makefile.am
333 modified: src/bin/gennames/gennames.c
334 modified: src/bin/tag_attr/Makefile.am
335 modified: src/bin/tag_attr/tag_attr.c
336 modified: src/bin/tag_tree/Makefile.am
337 modified: src/bin/tag_tree/tag_tree.c
338 modified: src/lib/libdwarf/Makefile.am
339
340 modified: src/lib/libdwarf/dwarf_tsearch.h
341 modified: src/lib/libdwarf/dwarf_tsearchhash.c
342 modified: test/CMakeLists.txt
343 modified: test/Makefile.am
344 modified: test/dwarfdumpLinux.sh
345 modified: test/dwarfdumpMacos.sh
346 modified: test/dwarfdumpPE.sh
347 modified: test/dwarfdumpsetup.sh
348 modified: test/getopttest.c
349
350 2021-12-20: David Anderson
351 commit 4e030c5f159849348acfd8328ccdfc69b539c020
352
353 modified: src/bin/attr_form/Makefile.am
354 modified: src/bin/dwarfdump/CMakeLists.txt
355 modified: src/bin/dwarfdump/Makefile.am
356 modified: src/bin/dwarfdump/dd_attr_form.c
357 modified: src/bin/dwarfdump/dd_command_options.c
358 modified: src/bin/dwarfdump/dd_compiler_info.c
359 modified: src/bin/dwarfdump/dd_dwconf.c
360
361 More renaming and altering use names.
362 renamed: src/bin/dwarfdump/makename.c -> src/bin/dwarfdump/dd_makename.c
363 renamed: src/bin/dwarfdump/makename.h -> src/bin/dwarfdump/dd_makename.h
364 renamed: src/bin/dwarfdump/naming.c -> src/bin/dwarfdump/dd_naming.c
365 renamed: src/bin/dwarfdump/naming.h -> src/bin/dwarfdump/dd_naming.h
366
367 modified: src/bin/dwarfdump/dwarfdump.c
368 modified: src/bin/dwarfdump/print_abbrevs.c
369 modified: src/bin/dwarfdump/print_aranges.c
370 modified: src/bin/dwarfdump/print_debug_gnu.c
371 modified: src/bin/dwarfdump/print_debug_names.c
372 modified: src/bin/dwarfdump/print_debug_sup.c
373 modified: src/bin/dwarfdump/print_debugfission.c
374 modified: src/bin/dwarfdump/print_die.c
375 modified: src/bin/dwarfdump/print_frames.c
376 modified: src/bin/dwarfdump/print_gdbindex.c
377 modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
378 modified: src/bin/dwarfdump/print_lines.c
379 modified: src/bin/dwarfdump/print_llex_codes.c
380 modified: src/bin/dwarfdump/print_loclists_codes.c
381 modified: src/bin/dwarfdump/print_macinfo.c
382 modified: src/bin/dwarfdump/print_macro.c
383 modified: src/bin/dwarfdump/print_origloclist_codes.c
384 modified: src/bin/dwarfdump/print_pubnames.c
385 modified: src/bin/dwarfdump/print_section_groups.c
386 modified: src/bin/dwarfdump/print_sections.c
387 modified: src/bin/dwarfdump/print_static_funcs.c
388 modified: src/bin/dwarfdump/print_static_vars.c
389 modified: src/bin/dwarfdump/print_str_offsets.c
390 modified: src/bin/dwarfdump/print_strings.c
391 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
392 modified: src/bin/dwarfdump/print_types.c
393 modified: src/bin/dwarfdump/print_weaknames.c
394 modified: src/bin/dwarfdump/tag_common.c
395 modified: src/bin/tag_attr/Makefile.am
396 modified: src/bin/tag_tree/Makefile.am
397 modified: test/CMakeLists.txt
398 modified: test/Makefile.am
399 modified: test/makename_test.c
400
401 2021-12-20: David Anderson
402 commit 61c5addad4eda58cad5cd5d7100f01f62b25305e
403
404 A fix because make dist was broken by renaming.
405 modified: src/bin/dwarfdump/Makefile.am
406
407 2021-12-20: David Anderson
408 commit d080afc3f86cb254d39b4efd694359b14a0480f6
409
410 modified: src/bin/dwarfdump/CMakeLists.txt
411 modified: src/bin/dwarfdump/Makefile.am
412 modified: src/bin/dwarfdump/dd_command_options.c
413 modified: src/bin/dwarfdump/dd_common.c
414
415 Another set of file names prefixed with dd_
416 renamed: src/bin/dwarfdump/defined_types.h -> src/bin/dwarfdump/dd_defined_types.h
417 renamed: src/bin/dwarfdump/dwconf.c -> src/bin/dwarfdump/dd_dwconf.c
418 renamed: src/bin/dwarfdump/dwconf.h -> src/bin/dwarfdump/dd_dwconf.h
419 renamed: src/bin/dwarfdump/dwconf_using_functions.h -> src/bin/dwarfdump/dd_dwconf_using_functions.h
420
421 modified: src/bin/dwarfdump/dwarfdump.c
422 modified: src/bin/dwarfdump/glflags.c
423 modified: src/bin/dwarfdump/globals.h
424 modified: src/bin/dwarfdump/print_frames.c
425 modified: test/CMakeLists.txt
426 modified: test/Makefile.am
427 modified: test/test_canonical.c
428
429 2021-12-20: David Anderson
430 commit 1fb7c5ac8c433af0768a644797786918717d26fe
431
432 modified: src/bin/dwarfdump/CMakeLists.txt
433 modified: src/bin/dwarfdump/Makefile.am
434
435 File renaming for consistency forces the changes.
436 renamed: src/bin/dwarfdump/command_options.c -> src/bin/dwarfdump/dd_command_options.c
437 renamed: src/bin/dwarfdump/command_options.h -> src/bin/dwarfdump/dd_command_options.h
438 renamed: src/bin/dwarfdump/compiler_info.c -> src/bin/dwarfdump/dd_compiler_info.c
439 renamed: src/bin/dwarfdump/compiler_info.h -> src/bin/dwarfdump/dd_compiler_info.h
440
441 modified: src/bin/dwarfdump/dwarfdump.c
442
443 2021-12-20: David Anderson
444 commit 09df54da594e7d7922826c1681c4204c5670cf5e
445
446 modified: src/bin/attr_form/Makefile.am
447 modified: src/bin/attr_form/attr_form_build.c
448 modified: src/bin/dwarfdump/CMakeLists.txt
449 modified: src/bin/dwarfdump/Makefile.am
450
451 The renaming for consistency forces the other changes
452 renamed: src/bin/dwarfdump/addrmap.c -> src/bin/dwarfdump/dd_addrmap.c
453 renamed: src/bin/dwarfdump/addrmap.h -> src/bin/dwarfdump/dd_addrmap.h
454 renamed: src/bin/dwarfdump/attr_form.c -> src/bin/dwarfdump/dd_attr_form.c
455 renamed: src/bin/dwarfdump/attr_form.h -> src/bin/dwarfdump/dd_attr_form.h
456
457 modified: src/bin/dwarfdump/dwarfdump.c
458 modified: src/bin/dwarfdump/print_die.c
459 modified: src/bin/dwarfdump/print_frames.c
460 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
461
462 2021-12-20: David Anderson
463 commit d5dd38fac03ae74422893228d0ec11f6db6cea87
464
465 Beginning wholesale renaming of dwarfdump source file]
466 names to begin with dd_
467 modified: src/bin/attr_form/Makefile.am
468 modified: src/bin/attr_form/attr_form_build.c
469 modified: src/bin/dwarfdump/CMakeLists.txt
470 modified: src/bin/dwarfdump/Makefile.am
471 modified: src/bin/dwarfdump/command_options.c
472
473 The renaming forces many changes.
474 renamed: src/bin/dwarfdump/checkutil.c -> src/bin/dwarfdump/dd_checkutil.c
475 renamed: src/bin/dwarfdump/checkutil.h -> src/bin/dwarfdump/dd_checkutil.h
476 renamed: src/bin/dwarfdump/common.c -> src/bin/dwarfdump/dd_common.c
477 renamed: src/bin/dwarfdump/common.h -> src/bin/dwarfdump/dd_common.h
478 renamed: src/bin/dwarfdump/esb.c -> src/bin/dwarfdump/dd_esb.c
479 renamed: src/bin/dwarfdump/esb.h -> src/bin/dwarfdump/dd_esb.h
480 renamed: src/bin/dwarfdump/esb_using_functions.h -> src/bin/dwarfdump/dd_esb_using_functions.h
481
482 modified: src/bin/dwarfdump/dd_sanitized.c
483 modified: src/bin/dwarfdump/dd_uri.c
484 modified: src/bin/dwarfdump/dwarfdump.c
485 modified: src/bin/dwarfdump/dwconf.c
486 modified: src/bin/dwarfdump/glflags.c
487 modified: src/bin/dwarfdump/globals.h
488 modified: src/bin/dwarfdump/macrocheck.c
489 modified: src/bin/dwarfdump/naming.c
490 modified: src/bin/dwarfdump/print_abbrevs.c
491 modified: src/bin/dwarfdump/print_aranges.c
492 modified: src/bin/dwarfdump/print_debug_gnu.c
493 modified: src/bin/dwarfdump/print_debug_names.c
494 modified: src/bin/dwarfdump/print_debug_sup.c
495 modified: src/bin/dwarfdump/print_debugfission.c
496 modified: src/bin/dwarfdump/print_die.c
497 modified: src/bin/dwarfdump/print_frames.c
498 modified: src/bin/dwarfdump/print_gdbindex.c
499 modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
500 modified: src/bin/dwarfdump/print_lines.c
501 modified: src/bin/dwarfdump/print_llex_codes.c
502 modified: src/bin/dwarfdump/print_loclists.c
503 modified: src/bin/dwarfdump/print_loclists_codes.c
504 modified: src/bin/dwarfdump/print_macinfo.c
505 modified: src/bin/dwarfdump/print_macro.c
506 modified: src/bin/dwarfdump/print_origloclist_codes.c
507 modified: src/bin/dwarfdump/print_pubnames.c
508 modified: src/bin/dwarfdump/print_ranges.c
509 modified: src/bin/dwarfdump/print_rnglists.c
510 modified: src/bin/dwarfdump/print_sections.c
511 modified: src/bin/dwarfdump/print_static_funcs.c
512 modified: src/bin/dwarfdump/print_static_vars.c
513 modified: src/bin/dwarfdump/print_str_offsets.c
514 modified: src/bin/dwarfdump/print_strings.c
515 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
516 modified: src/bin/dwarfdump/print_types.c
517 modified: src/bin/dwarfdump/print_weaknames.c
518 modified: src/bin/dwarfdump/true_section_name.c
519 modified: src/bin/tag_attr/Makefile.am
520 modified: src/bin/tag_attr/tag_attr.c
521 modified: src/bin/tag_tree/Makefile.am
522 modified: src/bin/tag_tree/tag_tree.c
523 modified: test/CMakeLists.txt
524 modified: test/Makefile.am
525 modified: test/testesb.c
526
527 2021-12-20: David Anderson
528 commit 31467f0faa0ac37d2b84609fc4e29b8fcb7d73ba
529
530 copyright year to 2021.
531 modified: src/lib/libdwarf/dwarf_form.c
532 modified: src/lib/libdwarf/dwarf_util.c
533
534 2021-12-20: David Anderson
535 commit 9e59de10790ba8b449eadcf4c8effdfbfed31976
536
537 Regenerated with new LLVM content
538 modified: src/bin/dwarfdump/dwarf_names.c
539 modified: src/lib/libdwarf/dwarf_names.c
540
541 Some new LANG codes. Minor formatting improvements.
542 modified: src/lib/libdwarf/dwarf.h
543
544 Now handling DW_FORM_LLVM_addrx_offset.
545 modified: src/lib/libdwarf/dwarf_form.c
546 modified: src/lib/libdwarf/dwarf_util.c
547
548 2021-12-19: David Anderson
549 commit 9cd3621d9250ede5ba259695adb336ab1f252029
550
551 Corrected commentary on DW_TAG_template* defines.
552 modified: dwarf.h
553
554 2021-12-18: David Anderson
555 commit a281874a55a149fd678194348492af5b8d3a13c5
556
557 Cobra noticed some possible issues, so here
558 we simplify the logic and add the
559 default: case to switches.
560 modified: src/bin/buildopstab/buildopscounttab.c
561 modified: src/bin/dwarfexample/dwdebuglink.c
562 modified: src/bin/dwarfexample/frame1.c
563 modified: src/bin/dwarfexample/jitreader.c
564 modified: src/bin/dwarfexample/simplereader.c
565
566 Removed some if 0 dead code from here.
567 modified: src/bin/dwarfexample/findfuncbypc.c
568
569 2021-12-18: David Anderson
570 commit 448e9fbcde0a504324cfdc712036e17b7d309aa7
571
572 Removing trailing whitespace and eliminating
573 duplicated blank lines.
574 modified: src/lib/libdwarfp/dwarf_pro_frame.h
575 modified: src/lib/libdwarfp/dwarf_pro_line.h
576 modified: src/lib/libdwarfp/dwarf_pro_opaque.h
577 modified: src/lib/libdwarfp/libdwarfp.h
578
579 2021-12-18: David Anderson
580 commit b8efa9f750d381c456de97bd976324da1c0e469c
581
582 Eliminating an strncpy, initializing local variable.
583 modified: src/bin/dwarfdump/dd_regex.c
584
585 Moved error handling up a few lines, clarifying
586 the logic, but not changing the logic.
587 modified: src/bin/dwarfdump/print_die.c
588
589 2021-12-18: David Anderson
590 commit fb277879ee4cf6155d0776a106cab76948d2f834
591
592 latest git log entries now in ChangeLog
593 modified: ChangeLog
594
595 2021-12-18: David Anderson
596 commit 7b702f45602b4b7a8513c0f421af5476e54c7448
597
598 Minor changes based on observations
599 Cobra made about the source.
600 No change in what libdwarf does.
601 modified: dwarf_debugnames.c
602 modified: dwarf_form.c
603 modified: dwarf_frame.c
604 modified: dwarf_macro.c
605 modified: dwarf_object_detector.c
606 modified: dwarf_peread.c
607
608 Here, also noticed a pointless local variable
609 and memcpy into and then out of to the real target.
610 Removed the unneeded lines.
611 modified: dwarf_xu_index.c
612
613 2021-12-18: David Anderson
614 commit 57ad9b599e4d0f662ca262f0c0804fbc3d325357
615
616 More information now.
617 modified: codingstyle.md
618
619 2021-12-18: David Anderson
620 commit 8081ae04e0d437c80c8720f6c59ab60813fbb2ad
621
622 Added commentary.
623 modified: src/lib/libdwarf/dwarf_leb.c
624 Now tests more corner cases where more bits
625 presented than fit in 64bits. Signed and unsigned.
626 modified: test/dwarf_leb_test.c
627
628 2021-12-17: David Anderson
629 commit f180f6003164b67613369765a2eaba04b0d83f5a
630
631 Fixed reference to tsearch directory
632 for the other tsearch versions available. It's
633 now in a separate project.
634 modified: codingstyle.md
635
636 2021-12-17: David Anderson
637 commit b1b95f91ab6dc9503401dd9a8272c5459ec2d92d
638
639 Accidental leftover of a term removed.
640 modified: codingstyle.md
641
642 2021-12-17: David Anderson
643 commit 3286355c73ccdfa2ff726b1097a0f3a3ef443ea9
644
645 Refined the text to make it look better.
646 modified: codingstyle.md
647
648 2021-12-17: David Anderson
649 commit 297cc6c1ee35268f3cf395a116816a78fa9a1cf5
650
651 Changed a debug message to just be informative.
652 modified: dwarfgen/CMakeLists.txt
653 Removed leftover debug printf lines.
654 modified: ../lib/libdwarf/dwarf_leb.c
655
656 2021-12-17: David Anderson
657 commit 6949228a8f3e7072969135ae7264e08ef06189c3
658
659 Now with the dwarf_safe_strcpy.c and dd_safestrcpy.c
660 files listed.
661 modified: src/bin/dwarfdump/CMakeLists.txt
662 modified: src/lib/libdwarf/CMakeLists.txt
663
664 New test for safe_strcpy to match the configure test set.
665 modified: test/CMakeLists.txt
666
667 2021-12-17: David Anderson
668 commit 15b7443b40164e2fcb2d127ed4b28b1060906364
669
670 Fixed typos in the test program.
671 modified: test/test_safe_strcpy.c
672
673 2021-12-17: David Anderson
674 commit bf7a17372b6f6d1bcf39e290dd14979cd6f2bdce
675
676 Added new tests that showed errors in decoding
677 leb or sleb with padding.
678 modified: test/dwarf_leb_test.c
679 Corrected leb sleb decoding
680 modified: src/lib/libdwarf/dwarf_leb.c
681
682 2021-12-17: David Anderson
683 commit 54eec9c3cf737c644a4b4431e68ccdca38509b42
684
685 codingstyle.txt renamed and revised as codingstyle.md
686 modified: Makefile.am
687
688 2021-12-17: David Anderson
689 commit 270a178cf523690f77b6221136074b1d84d4939c
690
691 Now we do not need this. See the codingstyle.md
692 deleted: codingstyle.txt
693
694 2021-12-17: David Anderson
695 commit b0202c0c688a4babe8ceb24668a4660625fbf7d5
696
697 Moving to md for the comments
698 new file: codingstyle.md
699
700 2021-12-15: David Anderson
701 commit 6375d89a48c22c7a9525fecb48bd90b19427ba93
702
703 Bringing ChangeLog to have latest git log data.
704 modified: ChangeLog
705
706 2021-12-15: David Anderson
707 commit 2161cbe6b3d775dbb51f3a2b1c55000b8c961d34
708
709 Now this one correct using _dwarf_safe_strcpy
710 instead of strcat.
711 modified: gennames.c
712
713 2021-12-15: David Anderson
714 commit 248f171fa5420deb60e03f3a7623c9596e79f899
715
716 Removing all dwarfdump and tests of strcpy and strncpy
717 in favor of dd_safe_strcpy.
718 DO NOT USE THIS COMMIT.
719 modified: src/bin/attr_form/Makefile.am
720 modified: src/bin/attr_form/attr_form_build.c
721 modified: src/bin/dwarfdump/Makefile.am
722 modified: src/bin/dwarfdump/command_options.c
723 modified: src/bin/dwarfdump/compiler_info.c
724 modified: src/bin/dwarfdump/dd_regex.c
725 modified: src/bin/dwarfdump/dwarfdump.c
726 modified: src/bin/dwarfdump/dwconf.c
727 modified: src/bin/dwarfdump/glflags.c
728 modified: src/bin/dwarfdump/globals.h
729 modified: src/bin/dwarfdump/print_die.c
730 modified: src/bin/dwarfdump/print_frames.c
731 modified: src/bin/dwarfdump/print_macro.c
732 modified: src/bin/gennames/Makefile.am
733 modified: src/bin/gennames/gennames.c
734 modified: src/bin/tag_attr/Makefile.am
735 modified: src/bin/tag_attr/tag_attr.c
736 modified: src/bin/tag_tree/Makefile.am
737 modified: src/bin/tag_tree/tag_tree.c
738 modified: test/Makefile.am
739
740 2021-12-15: David Anderson
741 commit ed0be6942d79def1b7466369b4ae199346e946a2
742
743 Now with dwarf_safe_strcpy.[ch]
744 modified: src/lib/libdwarf/Makefile.am
745
746 All uses of strcpy and strncpy replaced with calls
747 to _dwarf_safe_strcpy(). Much better fit with
748 what we do in libdwarf.
749 modified: src/lib/libdwarf/dwarf_debuglink.c
750 modified: src/lib/libdwarf/dwarf_debugnames.c
751 modified: src/lib/libdwarf/dwarf_die_deliv.c
752 modified: src/lib/libdwarf/dwarf_harmless.c
753 modified: src/lib/libdwarf/dwarf_line.c
754 modified: src/lib/libdwarf/dwarf_machoread.c
755 modified: src/lib/libdwarf/dwarf_macro.c
756 modified: src/lib/libdwarf/dwarf_macro5.c
757 modified: src/lib/libdwarf/dwarf_object_read_common.c
758 modified: src/lib/libdwarf/dwarf_opaque.h
759 modified: src/lib/libdwarf/dwarf_peread.c
760
761 2021-12-15: David Anderson
762 commit 0456103f5dbe5255b564bdf6d1562ac0ef686bf5
763
764 Working version, safely replacing strcpy and strncpy.
765 modified: src/lib/libdwarf/dwarf_safe_strcpy.c
766 modified: src/lib/libdwarf/dwarf_safe_strcpy.h
767
768 Added access to dwarf_safe_strcpy.[ch] for test_safe_strcpy.c
769 modified: test/Makefile.am
770 Added access to dwarf_safe_strcpy.[h]
771 modified: test/test_errmsglist.c
772 modified: test/test_linkedtopath.c
773
774 New test for _dwarf_safe_strcpy function
775 new file: test/test_safe_strcpy.c
776
777 2021-12-15: David Anderson
778 commit 489fde55cc5a081b3b2229569e1a37d19a582ed1
779
780 Not used yet. Soon to be used.
781 new file: dwarf_safe_strcpy.c
782 new file: dwarf_safe_strcpy.h
783
784 2021-12-15: David Anderson
785 commit 544971b70a3daf87c313489e3bb69aef4639a8db
786
787 Refined the comments.
788 modified: dd_safe_strcpy.c
789
790 2021-12-15: David Anderson
791 commit a5f8a1d8d9d5367d41c76b423afe733df38653ea
792
793 Replacing the old safe_strcpy shortly.
794 This is not yet in use.
795 new file: dd_safe_strcpy.c
796 new file: dd_safe_strcpy.h
797
798 2021-12-14: David Anderson
799 commit 52c8d9f512abb5c5b5d0b3314eb5b61a64cb67a3
800
801 ChangeLog updated from git log
802 modified: ChangeLog
803
804 2021-12-14: David Anderson
805 commit 7f84ab9a1df3d70e3e3b400bd697439d5ef0ff13
806
807 All instances of strcpy calls have been
808 replaced by _safe_strcpy
809 modified: src/bin/dwarfdump/print_frames.c
810
811 All instances of strcpy calls have been
812 replaced by _dwarf_safe_strcpy
813 modified: src/lib/libdwarf/dwarf_debuglink.c
814 modified: src/lib/libdwarf/dwarf_die_deliv.c
815 modified: src/lib/libdwarf/dwarf_global.h
816 modified: src/lib/libdwarf/dwarf_line.c
817 modified: src/lib/libdwarf/dwarf_macro.c
818 modified: src/lib/libdwarf/dwarf_macro5.c
819 modified: src/lib/libdwarf/dwarf_object_read_common.c
820 modified: src/lib/libdwarf/dwarf_opaque.h
821
822 2021-12-14: David Anderson
823 commit b1f5486b54093afe31fb221ad20c9c431a9ec05e
824
825 Now with TRIVIAL_NAMES flag set it uses the latest
826 safe_strcpy() source from dwarfdump
827 No more strcpy here at all.
828 modified: src/bin/dwarfdump/glflags.c
829
830 2021-12-14: David Anderson
831 commit fb762a7089906f75ca3201021cbaca86268d5765
832
833 Removing trailing whitespace in everything below.
834 Fixing a small number of indentation errors.
835
836 Removing all use of strcpy() from dwarfdump
837 modified: src/bin/dwarfdump/attr_form.c
838 modified: src/bin/dwarfdump/checkutil.c
839 modified: src/bin/dwarfdump/command_options.c
840 modified: src/bin/dwarfdump/compiler_info.c
841 modified: src/bin/dwarfdump/dd_regex.c
842 modified: src/bin/dwarfdump/dwarfdump.c
843 modified: src/bin/dwarfdump/glflags.c
844 modified: src/bin/dwarfdump/print_die.c
845 modified: src/bin/dwarfdump/print_frames.c
846 modified: src/bin/dwarfdump/print_macro.c
847 modified: src/bin/dwarfdump/print_static_vars.c
848 modified: src/bin/dwarfdump/true_section_name.c
849
850 Just the whitespace/indent fixes
851 modified: src/lib/libdwarf/dwarf.h
852 modified: src/lib/libdwarf/dwarf_die_deliv.c
853 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
854 modified: src/lib/libdwarf/dwarf_form.c
855 modified: src/lib/libdwarf/dwarf_frame.c
856 modified: src/lib/libdwarf/dwarf_frame2.c
857 modified: src/lib/libdwarf/dwarf_generic_init.c
858 modified: src/lib/libdwarf/dwarf_global.h
859 modified: src/lib/libdwarf/dwarf_harmless.c
860 modified: src/lib/libdwarf/dwarf_init_finish.c
861 modified: src/lib/libdwarf/dwarf_line.c
862 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
863 modified: src/lib/libdwarf/dwarf_macro.c
864 modified: src/lib/libdwarf/dwarf_object_read_common.h
865 modified: src/lib/libdwarf/dwarf_peread.c
866 modified: src/lib/libdwarf/dwarf_print_lines.c
867 modified: src/lib/libdwarf/dwarf_query.c
868 modified: src/lib/libdwarf/dwarf_ranges.c
869 modified: src/lib/libdwarf/dwarf_string.c
870 modified: src/lib/libdwarf/dwarf_tied.c
871 modified: src/lib/libdwarf/libdwarf.h
872
873 2021-12-14: David Anderson
874 commit a3daaaf0de40c03ba4bdefbe8e76ddc4b9fd665e
875
876 Ensuring macro definitions using their args put ()
877 arount each use.
878 Add default:break where appropriate.
879 Simplify checks for DW_DLV_ERROR/NO_ENTRY where
880 appropriate.
881 modified: ../../bin/dwarfdump/compiler_info.c
882 modified: ../../bin/dwarfdump/dd_regex.c
883 modified: ../../bin/dwarfdump/dwarfdump.c
884 modified: ../../bin/dwarfdump/print_abbrevs.c
885 modified: ../../bin/dwarfdump/print_die.c
886 modified: ../../bin/dwarfdump/print_hipc_lopc_attr.c
887 modified: ../../bin/dwarfdump/print_static_vars.c
888 modified: ../../bin/dwarfdump/true_section_name.c
889
890 2021-12-14: David Anderson
891 commit f1fb333b4329cccd73ae12bbe359f99ac577a8c1
892
893 Small changes to harden the code as recommended
894 by cobra. No change in logic, just improving readability.
895 modified: src/bin/dwarfdump/attr_form.c
896 modified: src/bin/dwarfdump/checkutil.c
897 modified: src/bin/dwarfdump/dwarfdump.c
898
899 2021-12-14: David Anderson
900 commit 21b156df60a96c1a7a70f279791669b9d5967695
901
902 Now updates dwarf_names in both dwarfdump and
903 libdwarf directories. Was a bug not to do that.
904 modified: src/bin/gennames/Makefile.am
905
906 Regenerated.
907 modified: src/bin/dwarfdump/dwarf_names.c
908
909 2021-12-14: David Anderson
910 commit 0ac94309cce195b3bf4810aedf35b572d3874369
911
912 Bringing ChangeLog up to date with git log.
913 modified: ChangeLog
914
915 2021-12-14: David Anderson
916 commit 1b15d2766506a28e47b59d882086f939cd7ab3d0
917
918 Using () around uses of the arguments inside macros
919 with arguments.
920 Fixing cobra complaints with missing else clause
921 where that makes sense.
922 modified: ../../lib/libdwarf/dwarf_elfstructs.h
923 modified: ../../lib/libdwarf/dwarf_global.h
924 modified: ../../lib/libdwarf/dwarf_line.h
925 modified: ../../lib/libdwarf/dwarf_line_table_reader_common.h
926 modified: ../../lib/libdwarf/dwarf_macho_loader.h
927 modified: ../../lib/libdwarf/dwarf_opaque.h
928 modified: ../../lib/libdwarf/dwarf_pe_descr.h
929 modified: ../../lib/libdwarf/dwarf_tied_decls.h
930 modified: ../../lib/libdwarf/dwarf_util.h
931 modified: ../../lib/libdwarf/libdwarf_private.h
932
933 2021-12-14: David Anderson
934 commit 4d5566123c687e1f962af0f6ad14c45fc198c48a
935
936 Correcting macros so arguments have () around
937 argument use inside the macro definition.
938 Added default: break; to switch statements
939 for clarity to the reader.
940 Slight modifications of some DW_DLV_ERROR tests
941 for greater clarity.
942
943 This eliminates all the .c warnings cobra emits
944 that I think should be eliminated.
945 modified: src/lib/libdwarf/dwarf_die_deliv.c
946 modified: src/lib/libdwarf/dwarf_elfread.c
947 modified: src/lib/libdwarf/dwarf_form_class_names.c
948 modified: src/lib/libdwarf/dwarf_frame.c
949 modified: src/lib/libdwarf/dwarf_frame2.c
950 modified: src/lib/libdwarf/dwarf_harmless.c
951 modified: src/lib/libdwarf/dwarf_init_finish.c
952 modified: src/lib/libdwarf/dwarf_line.c
953 modified: src/lib/libdwarf/dwarf_loc.c
954 modified: src/lib/libdwarf/dwarf_loclists.c
955 modified: src/lib/libdwarf/dwarf_machoread.c
956 modified: src/lib/libdwarf/dwarf_macro.c
957 modified: src/lib/libdwarf/dwarf_macro5.c
958 modified: src/lib/libdwarf/dwarf_object_detector.c
959 modified: src/lib/libdwarf/dwarf_peread.c
960
961 2021-12-14: David Anderson
962 commit 6881dc7f9a6bf89ef4a0a1484a6b4193642045f8
963
964 Regenerated with the default: break; in each switch().
965 modified: src/lib/libdwarf/dwarf_names.c
966
967 2021-12-14: David Anderson
968 commit ae61bd5195410f00ccc5a9d3828d18144f95a4b5
969
970 In all the switch() statements we generate here
971 add a default: break;
972 to avoid cobra warnings and clarify for the reader
973 that the code is intentional as written..
974 modified: src/bin/gennames/gennames.c
975
976 2021-12-13: David Anderson
977 commit 1ff4e2d7c0e79ad0579e73fe7cdec716c9fcf80d
978
979 Clearing up some things cobra noted.
980
981 Simplifying by unnesting if where nesting was silly
982 (Involving DW_DLV_ERROR DW_DLV_NO_ENTRY).
983 Ensuring macros have use of the arguments in ()
984 Adding default: break; in switch statements
985 without a default.
986 Putting for loop control variable updates in the
987 third part of the for rather than in the body.
988
989 modified: src/lib/libdwarf/dwarf_die_deliv.c
990 modified: src/lib/libdwarf/dwarf_generic_init.c
991 modified: src/lib/libdwarf/dwarf_peread.c
992 modified: src/lib/libdwarf/dwarf_print_lines.c
993 modified: src/lib/libdwarf/dwarf_query.c
994 modified: src/lib/libdwarf/dwarf_ranges.c
995 modified: src/lib/libdwarf/dwarf_str_offsets.c
996 modified: src/lib/libdwarf/dwarf_string.c
997 modified: src/lib/libdwarf/dwarf_tied.c
998
999 The above plus noted the dereference of extension_size
1000 was preceded by testing offset_size in
1001 internal_load_rnglists_contexts(). Fixed.
1002 modified: src/lib/libdwarf/dwarf_rnglists.c
1003
1004 2021-12-13: David Anderson
1005 commit d8595aebd4255189c56299aa1571e71b0eebd798
1006
1007 Minor changes for clarity
1008 in the tests for DW_DLV_ERROR, DW_DLV_NO_ENTRY.
1009 modified: dwarf_form.c
1010
1011 Macros now () around each use of names
1012 in the macro argument list
1013 modified: dwarf_gdbindex.c
1014
1015 2021-12-13: David Anderson
1016 commit 3d6feccf7ca772268495d9dd18d3496ed92898ca
1017
1018 Now in the interals of macros we refer to
1019 the incoming name in () as is best practice.
1020 However, when a macro here calls *another* macro here
1021 those references must not have a () wrapper.
1022 modified: dwarf_util.h
1023
1024 2021-12-13: David Anderson
1025 commit 801575b4b7d7ece387a8294e59c4458254f4f2de
1026
1027 Alter the macro definitions so that the arguments
1028 have () at the point of use in the macro.
1029 A well known best-practice.
1030 modified: libdwarf_private.h
1031
1032 2021-12-13: David Anderson
1033 commit f44fb8eba6472223d6a7973e8ce9fa1949bc0333
1034
1035 Deleted macro ASNAR definitions, they
1036 are not used in this file.
1037 modified: src/bin/dwarfdump/print_frames.c
1038
1039 2021-12-12: David Anderson
1040 commit c5956804b41f3d54a0980f0959d04b0db5160606
1041
1042 Clarify update to 12 December date and regenerate.
1043 modified: libdwarf.mm
1044 modified: libdwarf.pdf
1045
1046 There is no logic change here. Just changes to avoid
1047 common errors.
1048
1049 Add empty else {} to clarify intent.
1050 modified: src/lib/libdwarf/dwarf_debuglink.c
1051 Add default: break; to clarify entent where there
1052 was no default specified in a switch()
1053 modified: src/lib/libdwarf/dwarf_die_deliv.c
1054 Add empty else {} to clarify intent.
1055 modified: src/lib/libdwarf/dwarf_dsc.c
1056
1057 Add default: break; to clarify entent where there
1058 was no default specified in a switch()
1059 modified: src/lib/libdwarf/dwarf_elf_rel_detector.c
1060 Add () where macro arguments used in the macro
1061 go guarantee no surprises.
1062 modified: src/lib/libdwarf/dwarf_elfread.c
1063 modified: src/lib/libdwarf/dwarf_error.h
1064
1065 Clarify functions that never return DW_DLV_NO_ENTRY.
1066 modified: src/lib/libdwarf/dwarf_form.c
1067
1068 Add () where macro arguments used in the macro
1069 modified: src/lib/libdwarf/dwarf_frame.c
1070 modified: src/lib/libdwarf/dwarf_reading.h
1071 modified: src/lib/libdwarf/dwarf_string.c
1072
1073 Add default: break; to clarify entent where there
1074 was no default specified in a switch()
1075 modified: src/lib/libdwarf/dwarf_frame2.c
1076 modified: src/lib/libdwarf/dwarf_generic_init.c
1077 modified: src/lib/libdwarf/dwarf_line.c
1078 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
1079
1080 Renamed static dump_bytes.Is #if 0, so not important.
1081 modified: src/lib/libdwarf/dwarf_macro5.c
1082
1083 Moved the loop initializer out to before loop
1084 to clarify intent.
1085 modified: src/lib/libdwarf/dwarf_util.c
1086
1087 2021-12-12: David Anderson
1088 commit 5538965c68fdf0a4a7f383dceeb6c3670cf0e3f1
1089
1090 Clarify return values of some functions.
1091 modified: doc/libdwarf.mm
1092
1093 2021-12-06: David Anderson
1094 commit 9f63003df053dacbaa72f799a9690d4047de52ef
1095
1096 Bringing up to date from git log
1097 modified: ChangeLog
1098
1099 Regenerated (with new release id 0.3.2)
1100 modified: doc/libdwarf.pdf
1101 modified: doc/libdwarfp.pdf
1102
1103 Fixed a typo in usage message.
1104 modified: doc/pdfbld.sh
1105
1106 2021-12-05: David Anderson
1107 commit a1707f52c49b42723c14e6dc222d9d7b43f54a62
1108
1109 Removing reference to a no-longer-present
1110 directory.
1111 modified: COPYING
1112
1113 2021-12-05: David Anderson
1114 commit 919f5bb5d1fc74112ea7131c63cb39e71f2934db
1115
1116 Updated, adding Vincent Torri
1117 modified: AUTHORS
1118
1119 2021-12-05: David Anderson
1120 commit fe4f0b56d60f7602cf691936ac5c8cfed1d600cd
1121
1122 Now the comments mention the release
1123 in the post 0.3.1 source, that is, 0.3.2.
1124 modified: src/bin/dwarfdump/dwarfdump-af-table.h
1125 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
1126 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
1127 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
1128 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
1129 modified: src/lib/libdwarf/dwarf_names.c
1130
1131 2021-12-05: David Anderson
1132 commit 62ea8b2e4df05287ce2908ab490904edd0074f6e
1133
1134 Fixed some out of date comments to mention latest
1135 release, 0.3.1
1136 modified: README
1137 modified: README.md
1138
1139 2021-12-05: David Anderson
1140 commit 93941b990628af67318d0ad1eb315f2bba6968b0
1141
1142 When an object file is severely corrupt the library
1143 would sometimes emit a strange final error
1144 DW_DLE_Error (0)
1145 following a more normal looking error.
1146 Now the strange one is suppressed.
1147 modified: src/lib/libdwarf/dwarf_init_finish.c
1148
1149 2021-12-05: David Anderson
1150 commit de95d35f8b9c582fc481cb8f0abce413e4b7d58a
1151
1152 Update version 0.3.1 -> 0.3.2
1153 modified: CMakeLists.txt
1154 modified: configure.ac
1155 modified: doc/libdwarf.mm
1156 modified: doc/libdwarfp.mm
1157 modified: src/lib/libdwarf/libdwarf.h
1158
1159 2021-12-04: David Anderson
1160 commit af059043c3c475362072c70b385fce1306eb05dd
1161
1162 Now these have identical content and
1163 an updated target version 0.3.1.
1164 modified: README
1165 modified: README.md
1166
1167 Removing a comment line.
1168 modified: autogen.sh
1169
1170 2021-11-24: David Anderson
1171 commit 5ac807035df091290279097ad6a81c154106ce7e
1172
1173 Git log for recent updates prepended.
1174 modified: ChangeLog
1175
1176 2021-11-24: David Anderson
1177 commit 29a39c12bb818c552b1575b28ebef1a8c4089b04
1178
1179 Now builds a new opscounttab which has the change in
1180 the size of the expression stack for each DW_OP.
1181 To enable the print_die.c changes.
1182 modified: src/bin/buildopstab/buildopscounttab.c
1183 modified: src/bin/dwarfdump/opscounttab.c (regenerated)
1184 modified: src/bin/dwarfdump/opscounttab.h (new field added)
1185
1186 Unless the expression is trivial
1187 printing expressions (DW_OP_swap etc)
1188 -v -i now adds a line like
1189 DW_OPs= 13 maxstackdepth= 4 endingstackdepth= 3
1190 at the end of the list of DW_OP expression operations
1191 as a shorthand for the instructions and their
1192 use of an expression stack.
1193 If there are expression loops It adds
1194 loopcount= <n>
1195 to the end of the line (counting the
1196 instances of a DW_OP_bra or DW_OP_skip
1197 in a negative direction).
1198 modified: src/bin/dwarfdump/print_die.c
1199
1200 The old names of these functions were a bit
1201 misleading. They are for all expressions.
1202 dwarfdump_print_location_operations ->
1203 dwarfdump_print_expression_operations
1204 print_location_operations ->
1205 print_expression_operations
1206 modified: src/bin/dwarfdump/esb_using_functions.h
1207 modified: src/bin/dwarfdump/print_frames.c
1208 modified: src/bin/dwarfdump/print_frames.h
1209 modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
1210 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
1211
1212 2021-11-23: David Anderson
1213 commit f3e04e9414fb7ffa10265e2dbca56d2ecb9ada29
1214
1215 Minor tweaks to the vulerabilitie from 2020
1216 modified: bugxml/data.txt
1217
1218 2021-11-22: David Anderson
1219 commit 145d3f6af7314dfb6642cd08eb6b0e0ab0bb0524
1220
1221 Now with oss.chromium.org references shown
1222 where appropriate.
1223 modified: data.txt
1224
1225 2021-11-21: David Anderson
1226 commit 9e31d015a40fa1363f9dbf5de1eba8210b72b171
1227
1228 Up to date with git log.
1229 modified: ChangeLog
1230
1231 2021-11-21: David Anderson
1232 commit 874f6ba514e10ae3df72dfb6b7b549509208d054
1233
1234 Now with gitfixid for ossfuzz41240.
1235 modified: bugxml/data.txt
1236
1237 2021-11-21: David Anderson
1238 commit a120c808234060c3c9b1872ab9a059aa1ac70b1d
1239
1240 This is a fix for the fuzz attack
1241 oss-fuzz-41240.
1242 Declaring an ERROR if
1243 the VirtualSize field value is >=
1244 the object file size.
1245 modified: src/lib/libdwarf/dwarf_errmsg_list.h
1246 modified: src/lib/libdwarf/dwarf_peread.c
1247 modified: src/lib/libdwarf/libdwarf.h
1248
1249 2021-11-20: David Anderson
1250 commit 6aff30a67168cf1d89ddc58eb13dc9c70fa2301e
1251
1252 Corrected the dates to all be
1253 iso extended form (example: 2020-01-02)
1254 modified: data.txt
1255
1256 2021-11-20: David Anderson
1257 commit 4efcd47f599233e8254736f66d4fbe05c2435d88
1258
1259 version: 4.18 20 November 2021 0.3.1
1260 This adds some introductory material
1261 on Error Handling.
1262 modified: doc/libdwarf.mm
1263
1264 regenerated
1265 modified: doc/libdwarf.pdf
1266
1267 2021-11-20: David Anderson
1268 commit 259cb5fa805f2854a507fe6c33453d187fd6b917
1269
1270 oss-fuzz 40802 is now fixed and the
1271 fix commit id and fix date are filled in.
1272 modified: bugxml/data.txt
1273
1274 2021-11-19: David Anderson
1275 commit 6a6567a7c439cbd5fe97001e129ee84c1ac9903d
1276
1277 Previous commit...not good.
1278 This repairs the damage while keeping the
1279 dwarf_object_init_b code in the clearer
1280 style.
1281
1282 modified: src/lib/libdwarf/dwarf_init_finish.c
1283
1284 2021-11-19: David Anderson
1285 commit 19f0864f40b8a3155b2920014e32f40017da7013
1286
1287 Now reflects latest change for oss-fuzz-40802
1288 testcase.
1289 modified: ChangeLog
1290
1291 2021-11-19: David Anderson
1292 commit adf4dae25b39039f1821b095688c00f3010e1d37
1293
1294 This is intended to fix oss-fuzz-40802 though
1295 one cannot be sure till its tested using
1296 clang 14.0 to build libdwarf.
1297 Heavily revised dwarf_object_init_b() for greater
1298 clarity and precision.
1299 modified: dwarf_init_finish.c
1300
1301 2021-11-15: David Anderson
1302 commit b4ef1850a66940b70596e3db6ca3cbf7da47cd6a
1303
1304 The emergency printf (which usually means
1305 bad behavior by libdwarf callers)
1306 now reports the name and number of the
1307 detected error instead of just
1308 the error number. On stderr.
1309
1310 Except in one emergency case the library returns errors.
1311 But sometimes it has no way to do so.
1312 modified: dwarf_error.c
1313
1314 2021-11-12: David Anderson
1315 commit 9c1d59c8ece7174e63475de65c7bdbe07089569d
1316
1317 Adding gitfixid: to
1318 oss-fuzz-40801
1319 oss-fuzz-40799
1320 reports.
1321 modified: data.txt
1322
1323 2021-11-12: David Anderson
1324 commit 1bb2cae0ed9c9dbbb88b84dd5e0506b34a007dc1
1325
1326 Updated from git log
1327 modified: ChangeLog
1328
1329 Documented git version with fixes to
1330 oss-fuzz-40895 oss-fuzz-40896
1331 modified: bugxml/data.txt
1332
1333 2021-11-12: David Anderson
1334 commit b7a119dc07c502c1334bcbf8dd04ca0e4d5f6ab6
1335
1336 Start of new bug entries. oss-fuzz-40895
1337 oss-fuzz-40896
1338 modified: ../../../bugxml/data.txt
1339
1340 Fixes oss-fuzz-40896 oss-fuzz-40895, which
1341 involved corrupted Elf object files.
1342 modified: dwarf_die_deliv.c
1343 modified: dwarf_elf_load_headers.c
1344 modified: dwarf_errmsg_list.h
1345 modified: libdwarf.h
1346
1347 2021-11-10: David Anderson
1348 commit 00c21b50764440a20545aa89da0f73c5ad365245
1349
1350 Fixed indents, trailing whitespace and
1351 other things in the libdwarf
1352 codingstyle.txt document.
1353 No change in logic or message content.
1354 modified: src/bin/dwarfdump/dwarfdump.c
1355 modified: src/bin/dwarfdump/esb.c
1356 modified: src/bin/dwarfdump/print_aranges.c
1357 modified: src/bin/dwarfdump/print_debug_sup.c
1358 modified: src/bin/dwarfdump/print_die.c
1359 modified: src/bin/dwarfdump/print_static_vars.c
1360 modified: src/bin/dwarfexample/findfuncbypc.c
1361 modified: src/bin/dwarfexample/frame1.c
1362 modified: src/bin/dwarfexample/simplereader.c
1363 modified: src/bin/dwarfgen/createirepformfrombinary.cc
1364 modified: src/bin/dwarfgen/createirepfrombinary.cc
1365 modified: src/bin/dwarfgen/dwarf_getopt.c
1366 modified: src/bin/dwarfgen/dwarfgen.cc
1367 modified: src/bin/dwarfgen/irepattrtodbg.cc
1368 modified: src/bin/dwarfgen/ireptodbg.cc
1369 modified: src/bin/gennames/gennames.c
1370 modified: src/bin/tag_attr/tag_attr.c
1371 modified: src/bin/tag_tree/tag_tree.c
1372 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
1373 modified: src/lib/libdwarf/dwarf_frame.c
1374 modified: src/lib/libdwarf/dwarf_generic_init.c
1375 modified: src/lib/libdwarf/dwarf_locationop_read.c
1376 modified: src/lib/libdwarfp/dwarf_pro_alloc.c
1377 modified: src/lib/libdwarfp/dwarf_pro_arange.c
1378 modified: src/lib/libdwarfp/dwarf_pro_die.c
1379 modified: src/lib/libdwarfp/dwarf_pro_dnames.c
1380 modified: src/lib/libdwarfp/dwarf_pro_error.c
1381 modified: src/lib/libdwarfp/dwarf_pro_forms.c
1382 modified: src/lib/libdwarfp/dwarf_pro_frame.c
1383 modified: src/lib/libdwarfp/dwarf_pro_init.c
1384 modified: src/lib/libdwarfp/dwarf_pro_line.c
1385 modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c
1386 modified: src/lib/libdwarfp/dwarf_pro_macinfo.c
1387 modified: src/lib/libdwarfp/dwarf_pro_reloc.c
1388 modified: src/lib/libdwarfp/dwarf_pro_reloc_stream.c
1389 modified: src/lib/libdwarfp/dwarf_pro_reloc_symbolic.c
1390 modified: src/lib/libdwarfp/dwarf_pro_section.c
1391 modified: src/lib/libdwarfp/dwarf_pro_types.c
1392
1393 2021-11-10: David Anderson
1394 commit 50f94dac7c890c8f7504c407e746585caa522b94
1395
1396 Now in html it counts the records (N) and shows
1397 the number (1-N) in each record title.
1398 modified: bugrecord.py
1399 modified: readbugs.py
1400
1401 2021-11-09: David Anderson
1402 commit c361a7eb576dbaad2b5d826d3651433c66f10d3c
1403
1404 a duplicated DW20....id and one now is a later id..
1405 modified: data.txt
1406
1407 2021-11-09: David Anderson
1408 commit b5d43716e20d54b5308a7aacff846346dee3389a
1409
1410 All know data on CVE has been incorporated.
1411 modified: data.txt
1412
1413 2021-11-09: David Anderson
1414 commit 834c4557ce37074d71ca38494f8ba7952e000fbe
1415
1416 More CVE updates from the past.
1417 modified: data.txt
1418
1419 2021-11-09: David Anderson
1420 commit c4a3315025b3e1e86aed10195be9957adf1e2218
1421
1422 Working through CVE list, adding data here.
1423 modified: data.txt
1424
1425 2021-11-08: David Anderson
1426 commit 9770b2cc4812857022a8e147bdfe1f102adba382
1427
1428 Polishing the records on oss-fuzz tests.
1429 modified: bugxml/data.txt
1430
1431 Copyright accidentally slighly mangled. Fixed.
1432 modified: src/lib/libdwarf/dwarf_machoread.c
1433
1434 2021-11-08: David Anderson
1435 commit cd021a1311572d4f9bb37b0b808685a5ed84bcc3
1436
1437 Working toward complete reporting of the oss-fuzz
1438 reports.
1439 modified: bugxml/data.txt
1440
1441 Corrected a test for a section group section-reference
1442 so it catches a section number just one too big.
1443 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
1444
1445 2021-11-07: David Anderson
1446 commit 732c3509ffaa4b1aa70458c2ad568f55c6ae8e32
1447
1448 Updating info on oss-fuzz-40731.
1449 modified: bugxml/data.txt
1450
1451 2021-11-07: David Anderson
1452 commit eeec32b6f674efa8eacc72c656fc9a2f44f8e482
1453
1454 Logging fix to oss-fuzz-40729
1455 modified: data.txt
1456
1457 2021-11-07: David Anderson
1458 commit 94dece3ce0f030d06da442a103bd6a5301410b25
1459
1460 oss-fuzz 40729. The test object is MachO 64
1461 and corrupted header records were not being detected.
1462 Two new error codes added so the error values more
1463 meaningful: DW_DLE_MACHO_CORRUPT_COMMAND
1464 DW_DLE_MACHO_CORRUPT_SECTIONDETAILS
1465
1466 modified: dwarf_errmsg_list.h
1467 modified: dwarf_machoread.c
1468 modified: libdwarf.h
1469
1470 2021-11-07: David Anderson
1471 commit 477aedeebeb0d694dfc44d6bbf20fd58a5facb69
1472
1473 All new git log contents prepended here.
1474 modified: ChangeLog
1475
1476 2021-11-07: David Anderson
1477 commit 5e636b1e9e20fadd034ed96475833d44c18c5749
1478
1479 Now version 4.17
1480 All example code is now presented
1481 in the same formatting style
1482 and all examples are allocated figure names and numbers.
1483 modified: libdwarf.mm
1484 regenerated.
1485 modified: libdwarf.pdf
1486
1487 2021-11-06: David Anderson
1488 commit 30132d513f7566097bf3a9ccd2e093e3fe076f86
1489
1490 Removed a mistaken new entry.
1491 modified: data.txt
1492
1493 2021-11-06: David Anderson
1494 commit a8c5534343ba861bcb8416927d49c177f50b7017
1495
1496 Now with a new document section
1497 titled "Private vs Public Functions".
1498 modified: libdwarf.mm
1499 modified: libdwarf.pdf
1500
1501 2021-11-06: David Anderson
1502 commit f23c74a0820a65add86256c985561aac11c28852
1503
1504 Refinded the wording on the ret_dbg
1505 argument to dwarf_init_path() etc.
1506 modified: doc/libdwarf.mm
1507 modified: doc/libdwarf.pdf
1508
1509 Made calls to dwarf_init_path() etc
1510 safer by removing an accidental trap
1511 for folks passing in a non-null dbg pointer
1512 through ret_dbg argument.
1513 modified: src/lib/libdwarf/dwarf_generic_init.c
1514 modified: src/lib/libdwarf/dwarf_init_finish.c
1515
1516 2021-11-06: David Anderson
1517 commit 65b3214e5c11f7af11482d6874284f1831c0fd00
1518
1519 Fixing an issue with xml generation.
1520 modified: bugxml/bugrecord.py
1521 Minor updates
1522 modified: bugxml/data.txt
1523
1524 2021-11-06: David Anderson
1525 commit f69bd9d47836e670d725d789dd361d33e78ce716
1526
1527 Now Rev 4.16 6 November 2021.
1528 Added a new document section "Private vs Public Functions"
1529 to make it clear only functions beginning
1530 with "dwarf_" are public and callable.
1531
1532 If libdwarf built as an archive it is up to callers
1533 to not violate this rule.
1534
1535 If libdwarf built as a shared object (.so or .dll)
1536 the build arranges that only the public functions
1537 can be called (using gcc/clang -fvisibility
1538 where applicable).
1539 modified: doc/libdwarf.mm
1540 Regenerated.
1541 modified: doc/libdwarf.pdf
1542
1543 2021-11-05: David Anderson
1544 commit 98bd6d99d52a0895daf353f6fd25061bc5a1a5a9
1545
1546 Added DW202111-002
1547 modified: data.txt
1548
1549 2021-11-04: David Anderson
1550 commit 09ded6dd0c70e9db859529be1a4635e316693ef0
1551
1552 Now finds the semantic version in the .mm files
1553 and updates it
1554 modified: tools/updatesemanticversion.py
1555
1556 Now both have the semantic version.
1557 modified: doc/libdwarf.mm
1558 modified: doc/libdwarfp.mm
1559
1560 Regenerated
1561 modified: doc/libdwarf.pdf
1562 modified: doc/libdwarfp.pdf
1563
1564 2021-11-04: David Anderson
1565 commit 9e3c6a8ec7127a116a19473bf8e30cc0a55ac604
1566
1567 Updated ChangeLog with git data.
1568 Completed updating the web bugxml data.
1569 modified: ChangeLog
1570 modified: bugxml/data.txt
1571
1572 2021-11-04: David Anderson
1573 commit b40f7e291216e771185f62292dd6304b5a662926
1574
1575 Enhanced the check for corrupt object file
1576 for ossfuzz40663
1577 modified: src/lib/libdwarf/dwarf_machoread.c
1578
1579 2021-11-04: David Anderson
1580 commit 3c8151acf0ff408c11d2b4680e73dd5085ba3cdd
1581
1582 Adding field fuzzer: to record the
1583 id the fuzzer assigned.
1584 modified: bugxml/bugrecord.py
1585 modified: bugxml/data.template
1586 modified: bugxml/data.txt
1587 modified: bugxml/readbugs.py
1588
1589 2021-11-04: David Anderson
1590 commit 8ac5923bcce9a8b57a4aa8d5820024064b4f9e41
1591
1592 Fixing ClusterFuzz issue 40663
1593 Adding a new error code DW_DLE_MACHO_CORRUPT_HEADER
1594 modified: src/lib/libdwarf/dwarf_errmsg_list.h
1595 modified: src/lib/libdwarf/libdwarf.h
1596
1597 Ensure the errcode from
1598 dwarf_init_path_dl gets turned into a Dwarf_Error
1599 modified: src/lib/libdwarf/dwarf_generic_init.c
1600
1601 Now checks the command count and sizeofcmds for
1602 basic sanity, catching badly corrupt objects..
1603 modified: src/lib/libdwarf/dwarf_machoread.c
1604
1605 2021-11-04: David Anderson
1606 commit eb6a3535595fcb3529b8690aa5725bafe1293230
1607
1608 Now reports a correct error if in process_one_file()
1609 detects an error, cleans up the error,
1610 and returns DW_DLV_NO_ENTRY
1611 a corrupt mach-o object file was previously not
1612 properly reported.
1613 modified: dwarfdump.c
1614
1615 2021-11-04: David Anderson
1616 commit 71764671216985fe7df2546a73d67566f11e5209
1617
1618 Now emphasizes that dwarf_get_frame_instruction() is fine
1619 unless you want frame details for a Heterogenous
1620 Debugging object file (and in that case
1621 you know you need it).
1622 modified: doc/libdwarf.mm
1623 modified: doc/libdwarf.pdf
1624
1625 Corrected the handling of the new frame instruction
1626 DW_CFA_LLVM_def_aspace_cfa_sf.
1627 modified: src/bin/dwarfdump/print_frames.c
1628 modified: src/lib/libdwarf/dwarf_frame.c
1629
1630 2021-11-03: David Anderson
1631 commit 6910ffb1bc3f79f944ec6da14f17ac7377340043
1632
1633 Trivial changes attempting to eliminate
1634 groff complaints building the pdf.
1635 It reads better, but the complaints
1636 are not fixed.
1637 modified: libdwarf.mm
1638 modified: libdwarf.pdf
1639
1640 2021-11-03: David Anderson
1641 commit ec885f887ad2a805630141b2f0c682af26f0e470
1642
1643 Document the new function
1644 dwarf_get_frame_instruction_a()
1645 (identical to dwarf_get_frame_instruction()
1646 except adding one new argument).
1647 modified: doc/libdwarf.mm
1648 modified: doc/libdwarf.pdf
1649
1650 Now with support for DW_CFA_LLVM_def_aspace_cfa[_sf]
1651 modified: src/bin/dwarfdump/print_frames.c
1652
1653 modified: src/lib/libdwarf/dwarf_frame.c
1654 modified: src/lib/libdwarf/dwarf_names.c
1655 modified: src/lib/libdwarf/libdwarf.h
1656
1657 2021-11-03: David Anderson
1658 commit 3ea3c44ee1b815e0d7558a57b8d218a78f568882
1659
1660 Regenerated with version 0.3.1 as
1661 LLVM adds DW_CFA_LLVM_def_aspace_cfa[_sf]
1662 which requires the existence of a new function
1663 to get the third value (all previous CFA
1664 operators had a maxmum of 2 values).
1665 modified: CMakeLists.txt
1666 modified: configure.ac
1667 modified: src/bin/dwarfdump/dwarfdump-af-table.h
1668 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
1669 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
1670 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
1671 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
1672
1673 2021-11-03: David Anderson
1674 commit 79d6e012d7c4655b05a1670f1392780778e5f633
1675
1676 Now returns the string representing
1677 the new DW_CFA_LLVM, though dwarfdump
1678 cannot get all three values yet,
1679 as the new third value is not
1680 visible to dwarfdump.
1681 modified: dwarf_frame.c
1682
1683 2021-11-02: David Anderson
1684 commit 719af6996fdcf7de8bd2274692cd7582c0c87bec
1685
1686 New LLVM DW_OP_LLVM and DW_CFA_LLVM names.
1687 modified: dwarf.h
1688
1689 Implement the new CFA names.
1690 modified: dwarf_frame.c
1691 modified: dwarf_frame.h
1692 Regeneratd with the new names.
1693 modified: dwarf_names.c
1694
1695 2021-11-02: David Anderson
1696 commit 90777138b0113693fe1692bea368d7f8b0c81ba8
1697
1698 Now creates opscounttab.c with the new fields
1699 modified: src/bin/buildopstab/buildopscounttab.c
1700
1701 Regenerated
1702 modified: src/bin/dwarfdump/opscounttab.c
1703
1704 Added new DW_OP_LLVM ops.
1705 modified: src/lib/libdwarf/dwarf.h
1706
1707 Handle the new ops.
1708 modified: src/lib/libdwarf/dwarf_locationop_read.c
1709 Regenerated
1710 modified: src/lib/libdwarf/dwarf_names.c
1711
1712 2021-10-23: David Anderson
1713 commit 10e2df5169e57624c53eb2e319e24462c5d61471
1714
1715 Adding in latest git log entries.
1716 modified: ChangeLog
1717
1718 2021-10-22: David Anderson
1719 commit d307e3417041ca9498be6df6d9bbc98fc94fd759
1720
1721 When in .debug_ranges the beginning == ending address,
1722 print "(empty range)" at the end of the range line
1723 to remind the reader this is not a range, but is
1724 a placeholder for a range that was deleted by
1725 the compiler or linker when the object was created.
1726 See DWARF4 standard page 39, non-normative text.
1727
1728 modified: src/bin/dwarfdump/print_die.c
1729
1730 2021-10-18: David Anderson
1731 commit ab88ad8cb76ab4e6ab21f30b50771bcbb7ed14e0
1732
1733 If uintptr_t is defined in stdint.h
1734 at configure time we need to include
1735 stdint.h here for uintptr_t,
1736 which was done correctly everywhere else
1737 for uintptr_t.
1738 modified: dwarf_pro_dnames.c
1739
1740 2021-10-12: David Anderson
1741 commit 9e7fce0d22910b6374bea89a2937faa670368c3f
1742
1743 Added words about libdwarf.h macros
1744 DW_LIBDWARF_VERSION etc in the
1745 documentation of dwarf_package_version().
1746 modified: doc/libdwarf.mm
1747 modified: doc/libdwarf.pdf
1748
1749 2021-10-12: David Anderson
1750 commit 02863428a46d75a098a2b40e47aaeb46db889e89
1751
1752 Simplified the code. Easier to understand.
1753 modified: tools/updatesemanticversion.py
1754
1755 2021-10-12: David Anderson
1756 commit c2055a025bfdd6568c24a030d8aeef6021ebcae0
1757
1758 Adding in new gitlog entry
1759 modified: ChangeLog
1760
1761 2021-10-12: David Anderson
1762 commit 15de42b79eba2797cbf283419a537e2727a1adf9
1763
1764 Correcting spelling mistake
1765 DW_LIBDWARF_VERSION_MAJOR (not _MACRO)
1766 modified: src/lib/libdwarf/libdwarf.h
1767 modified: tools/updatesemanticversion.py
1768
1769 2021-10-12: David Anderson
1770 commit 15f563a466e83518839f77da3ea3c991f60db40c
1771
1772 Now recent updates shown in ChangeLog
1773 modified: ChangeLog
1774
1775 2021-10-12: David Anderson
1776 commit ed67c88518bc7dc3374d7bd2e8c49c68b8935709
1777
1778 new file: tools/README
1779 Now a working update that ensures the various places
1780 with semantic versions are all set equivalently.
1781 modified: tools/updatesemanticversion.py
1782
1783 2021-10-11: David Anderson
1784 commit 957442d1059130b96713b255d3b29ddd90e1a512
1785
1786 Now, for the first time,
1787 DW_LIBDWARF_VERSION_MACRO
1788 DW_LIBDWARF_VERSION_MINOR
1789 DW_LIBDWARF_VERSION_MICRO
1790 and
1791 DW_LIBDWARF_VERSION
1792 are #defined.
1793 These have the Semantic version number.
1794 At present
1795 Macro is 0
1796 minor is 3
1797 Micro is 0
1798 DW_LIBDWARF_VERSION
1799 is defined as "0.3.0"
1800
1801 These are the version defined in libdwarf.h
1802 when one includes it.
1803 No earlier libdwarf.h defined any of these.
1804
1805 The function dwarf_package_version(),
1806 on the other hand, returns a string
1807 with the PACKAGE_VERSION visible
1808 in configure.ac and CMakeLists.txt
1809 at the time the library was compiled
1810
1811 modified: src/lib/libdwarf/libdwarf.h
1812
1813 2021-10-11: David Anderson
1814 commit 7635c57217080bf38e71216b9aa8491a7afce3be
1815
1816 A tool in tools directory to make
1817 updating semantic version numbers
1818 simple ... for the various places they go.
1819 new file: updatesemanticversion.py
1820
1821 2021-10-09: David Anderson
1822 commit 536b25173574787f2336ee120c7e3c92a610cbe6
1823
1824 Now shows the original date format
1825 (such has "20210528") returned
1826 by dwarf_package_version() as well as the
1827 semantic-version date format (such
1828 as "0.3.0") Still document version 4.12
1829 modified: ../../../doc/libdwarf.mm
1830 modified: ../../../doc/libdwarf.pdf
1831
1832 2021-10-09: David Anderson
1833 commit fef16930a3de105f25f2370e3fae652934071f99
1834
1835 Now the get_package_version() function documentation
1836 shows both semantic-version and date-based
1837 (a form used before September 2021) version
1838 strings that may be returned.
1839
1840 modified: src/lib/libdwarf/libdwarf.h
1841
1842 2021-10-09: David Anderson
1843 commit 68084419107ca2c9b6cb062bcce9fbd8b4165067
1844
1845 Clarified and puts more emphasis on
1846 the way in which libdwarf tries to
1847 restrict the initial letters of public names
1848 to a small set.
1849 modified: src/lib/libdwarf/CODINGSTYLE
1850
1851 2021-10-09: David Anderson
1852 commit 433f3bd86f3b00809767c08fb64d52ccbdc425d5
1853
1854 functions in .debug_names that are not yet
1855 implemented have been removed. Now version 4.12.
1856 modified: doc/libdwarf.mm
1857 modified: doc/libdwarf.pdf
1858
1859 2021-10-03: David Anderson
1860 commit 98927ddcaf31387f9df2ad9e747dc2310bfb32a4
1861
1862 trivial updates to match libdwarf.h
1863 renamings of the last day or so.
1864 Sorry this was not done yesterday.
1865 modified: doc/checkexamples.c
1866 modified: src/bin/dwarfdump/print_die.c
1867 modified: src/bin/dwarfdump/print_frames.c
1868 modified: src/bin/dwarfdump/print_ranges.c
1869 modified: src/bin/dwarfexample/findfuncbypc.c
1870 modified: src/bin/dwarfexample/frame1.c
1871 modified: src/bin/dwarfgen/createirepfrombinary.cc
1872 modified: src/lib/libdwarf/dwarf_alloc.c
1873 modified: src/lib/libdwarf/dwarf_debuglink.c
1874 modified: src/lib/libdwarf/dwarf_debugnames.c
1875 modified: src/lib/libdwarf/dwarf_die_deliv.c
1876 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
1877 modified: src/lib/libdwarf/dwarf_find_sigref.c
1878 modified: src/lib/libdwarf/dwarf_form.c
1879 modified: src/lib/libdwarf/dwarf_frame.c
1880 modified: src/lib/libdwarf/dwarf_getopt.c
1881 modified: src/lib/libdwarf/dwarf_gnu_index.c
1882 modified: src/lib/libdwarf/dwarf_init_finish.c
1883 modified: src/lib/libdwarf/dwarf_loclists.c
1884 modified: src/lib/libdwarf/dwarf_macro5.c
1885 modified: src/lib/libdwarf/dwarf_names.c
1886 modified: src/lib/libdwarf/dwarf_peread.c
1887 modified: src/lib/libdwarf/dwarf_query.c
1888 modified: src/lib/libdwarf/dwarf_rnglists.c
1889 modified: src/lib/libdwarf/dwarf_str_offsets.c
1890 modified: src/lib/libdwarf/dwarf_string.c
1891 modified: src/lib/libdwarf/dwarf_tsearchhash.c
1892 modified: src/lib/libdwarf/dwarf_util.c
1893 modified: src/lib/libdwarf/dwarf_xu_index.c
1894 modified: src/lib/libdwarf/libdwarf.h
1895
1896 2021-10-03: David Anderson
1897 commit 2c1432151073120bec37b80716897cd5a55eb934
1898
1899 Updated with new version in comment
1900 modified: src/bin/dwarfdump/dwarfdump-af-table.h
1901 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
1902 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
1903 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
1904 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
1905
1906 2021-10-02: David Anderson
1907 commit 019b1906911b41d5639ec8f2192b95e071933e88
1908
1909 Changelog now has latest git log lines.
1910 modified: ChangeLog
1911
1912 2021-10-02: David Anderson
1913 commit 85b53096a0ba7f5fbe66d6c73b8e6d8bdb1c6743
1914
1915 All functions in libdwarf.h are now documented.
1916 modified: libdwarf.mm
1917 modified: libdwarf.pdf
1918
1919 2021-10-02: David Anderson
1920 commit a4d0f96f8efffaa017cd0bb40800dde6f0e54233
1921
1922 Deleted dwarf_set_frame_rule_inital_value() as that was
1923 a spelling error in the 1990's, and the correct
1924 spelling is
1925 dwarf_set_frame_rule_initial_value(
1926 modified: src/lib/libdwarf/dwarf_frame.c
1927
1928 Declarations:
1929 Deleted dwarf_get_rnglist_raw_entry_detail()
1930 and dwarf_get_loclists_entry_fields()
1931 as those functions never existed.
1932 modified: src/lib/libdwarf/libdwarf.h
1933
1934 2021-10-02: David Anderson
1935 commit d4d333467e6552316f2949377b5088ba1ed2cbb7
1936
1937 Nearly all functions documented. Four left undoc.
1938 modified: doc/libdwarf.mm
1939 modified: doc/libdwarf.pdf
1940
1941 2021-10-02: David Anderson
1942 commit f16252cc9aab96da0687e86aaa0e49dcfd3207bb
1943
1944 Several functions documented.
1945 About 19 left to document.
1946 modified: doc/libdwarf.mm
1947 modified: doc/libdwarf.pdf
1948 Improved a comment
1949 modified: src/lib/libdwarf/libdwarf.h
1950
1951 2021-10-02: David Anderson
1952 commit 70225545c82f613679d147ae2f58b162c3d31bf6
1953
1954 Documented more of the public interfaces.
1955 modified: doc/libdwarf.mm
1956 modified: doc/libdwarf.pdf
1957
1958 Now dwarf_formsig8() and dwarf_formsig8_const()
1959 return DW_DLV_NO_ENTRY if the data is
1960 not the desired FORM.
1961 They previously returned DW_DLV_ERROR, which
1962 was not helpful.
1963 modified: src/lib/libdwarf/dwarf_form.c
1964
1965 2021-10-02: David Anderson
1966 commit 8a31576fbceccca6dec16350dbb50bca0931b1bf
1967
1968 renaming for dealloc function naming consistency
1969 (but various dealloc functions left unchanged)
1970
1971 -void dwarf_fde_cie_list_dealloc(Dwarf_Debug /*dbg*/,
1972 +void dwarf_dealloc_fde_cie_list(Dwarf_Debug /*dbg*/,
1973
1974 -void dwarf_frame_instr_head_dealloc(Dwarf_Frame_Instr_Head);
1975 +void dwarf_dealloc_frame_instr_head(Dwarf_Frame_Instr_Head);
1976
1977 -void dwarf_ranges_dealloc(Dwarf_Debug /*dbg*/,
1978 +void dwarf_dealloc_ranges(Dwarf_Debug /*dbg*/,
1979
1980 modified: dwarf_frame.c
1981 modified: dwarf_frame2.c
1982 modified: dwarf_ranges.c
1983 modified: libdwarf.h
1984
1985 2021-10-01: David Anderson
1986 commit 8549d4fd75b1feff0a067c72307c8e0ec25ca296
1987
1988 Now the frame instruction example is updated.
1989 modified: doc/checkexamples.c
1990
1991 Document the frame-related fields and functions.
1992 modified: doc/libdwarf.mm
1993 modified: doc/libdwarf.pdf
1994 Corrected comments to reflect current member fields.
1995 modified: src/lib/libdwarf/libdwarf.h
1996
1997 2021-10-01: David Anderson
1998 commit 14befdaeed1da49f2801487afe624b0ead5ee0df
1999
2000 Corrected the text of a comment.
2001 modified: src/lib/libdwarf/dwarf_generic_init.c
2002
2003 2021-10-01: David Anderson
2004 commit 901b3e923d1e99d4fd218f7de5f634b51ba6ec78
2005
2006 Correcting examples, frame instructions.
2007 modified: checkexamples.c
2008
2009 2021-10-01: David Anderson
2010 commit d999f35950b2507653dd5687a6e86108566ad83a
2011
2012 Basic updates reflecting recent changes. Version 4.11
2013 modified: doc/libdwarf.mm
2014 modified: doc/libdwarf.pdf Regenerated.
2015
2016 2021-10-01: David Anderson
2017 commit ee4adfd8ad3044fb0dd5b9dd3db30170b9fd0bf3
2018
2019 Changes for doxygen, just trying out a few doxygen
2020 comment arrangements. Has no effect on uses of the file.
2021 modified: src/lib/libdwarf/libdwarf.h
2022
2023 2021-09-30: David Anderson
2024 commit 5b2b4d09ad818ff9fdbf5b098d9b617c237e86c8
2025
2026 Corrected: debugnames -> dnames
2027 modified: doc/libdwarf.mm
2028
2029 Changed comments.
2030 modified: src/lib/libdwarf/libdwarf.h
2031
2032 2021-09-30: David Anderson
2033 commit 11ccd0abe2a2dba92d92f585359d2d22b283a2a4
2034
2035 Coverity scan found two problems,
2036 a missing return caused both.
2037 added:
2038 return adres;
2039 modified: src/lib/libdwarf/dwarf_frame.c
2040
2041 2021-09-30: David Anderson
2042 commit 0b2193c039074ad483618a58a9f7c1d6f5cab75c
2043
2044 Commentary about struct Dwarf_Macro_Details_s
2045 and struct Dwarf_Ranges_s.
2046 These structs apply to DWARF2,3, and 4 only.
2047 modified: libdwarf.h
2048
2049 2021-09-29: David Anderson
2050 commit 659c74dff7f0d5879cce40ae9aaf340bc8a3d4a1
2051
2052 Up to date with latest git log data.
2053 modified: ChangeLog
2054
2055 2021-09-29: David Anderson
2056 commit e7db94d38ad26c254b82273c66214dd0b493861b
2057
2058 Now version 0.3.0 with API compatibilities
2059 in .debug_frame data and new functions.
2060 modified: CMakeLists.txt
2061 modified: configure.ac
2062
2063 2021-09-29: David Anderson
2064 commit d3ba444c4e4891545552590d9d36c2049197678e
2065
2066 API change here for frame (and especially
2067 for frame instructions)
2068 Extensive use of Dwarf_Block where it adds clarity.
2069 Removed bit-reading of frame instructions as
2070 thats no longer necessary, the new
2071 function dwarf_get_frame_instruction() does
2072 that for us.
2073 modified: src/bin/dwarfdump/print_frames.c
2074
2075 One internal pointer changed from Dwarf_Ptr
2076 to Dwarf_Small * for easier use and better type checking.
2077 modified: src/bin/dwarfdump/print_frames.h
2078
2079 frame1.c is now using the revised and new frame interfaces.
2080 modified: src/bin/dwarfexample/frame1.c
2081 createirepfrombinary.cc is doing so too now.
2082 modified: src/bin/dwarfgen/createirepfrombinary.cc
2083
2084 Rearranged DW_CFA_nop DW_CFA_extended so the nop
2085 version is what is printed, not the artificial
2086 DW_CFA_extended (both are 0).
2087 modified: src/lib/libdwarf/dwarf.h
2088 DW_DLA_FRAME_OP replaced by DW_DLA_FRAME_INSTR_HEAD
2089 and DW_DLA_FRAME_BLOCK has been dropped.
2090 modified: src/lib/libdwarf/dwarf_alloc.c
2091
2092 Fixed a comment and pointless whitespace.
2093 modified: src/lib/libdwarf/dwarf_debugnames.c
2094 Added DW_DLE_CFA_INSTRUCTION_ERROR(485)
2095 modified: src/lib/libdwarf/dwarf_errmsg_list.h
2096
2097 Dropped the Dwarf_Frame_Op support.
2098 Now with some internal args Dwarf_Unsigned where
2099 Dwarf_Signed made no sense.
2100 modified: src/lib/libdwarf/dwarf_frame.c
2101 Dwarf_Frame_Instr_s and Dwarf_Frame_Op_List_s
2102 (not visible to library callers) created.
2103 Now with some args Dwarf_Unsigned where
2104 Dwarf_Signed made no sense.
2105 modified: src/lib/libdwarf/dwarf_frame.h
2106 Now with some args Dwarf_Unsigned where
2107 Dwarf_Signed made no sense.
2108 modified: src/lib/libdwarf/dwarf_frame2.c
2109
2110 Removed a useless blank line.
2111 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
2112
2113 Fixed indents, trailing whitespace.
2114 modified: src/lib/libdwarf/dwarf_loc.c
2115
2116 A Dwarf_Block field is no Dwarf_Byte_Ptr,
2117 identical to Dwarf_Small *
2118 modified: src/lib/libdwarf/dwarf_loc.h
2119
2120 Removed #if 0 #endif short sequences.
2121 modified: src/lib/libdwarf/dwarf_macro.c
2122
2123 'make rebuild' altered this so DW_CFA_nop can
2124 be returned as a cfa name string.
2125 modified: src/lib/libdwarf/dwarf_names.c
2126
2127 Removed trailing whitespace.
2128 modified: src/lib/libdwarf/dwarf_object_detector.c
2129
2130 Removed a #if 0 endif declaration of code never
2131 written.
2132 modified: src/lib/libdwarf/dwarf_opaque.h
2133
2134 Removed Dwarf_Frame_Op_s. It only ever worked
2135 for DWARF2.
2136 New opaque structs Dwarf_Frame_Instr_Head_s
2137 and Dwarf_Frame_Instr_s make possible
2138 easy and improved access to .debug_frame/.eh_frame
2139 DW_CFA instructions.
2140 Removed DW_DLA_FRAME_OP and added
2141 DW_DLA_FRAME_INSTR_HEAD.
2142 Added DW_DLE_CFA_INSTRUCTION_ERROR.
2143 dwarf_get_cie_info_b() and
2144 dwarf_get_fde_range() and
2145 dwarf_get_fde_instr_bytes(()
2146 now use Dwarf_Small *
2147 instead of Dwarf_Ptr as thats easier to use
2148 and slightly safer for type checking..
2149 Effectively unsigned char * instead of void *
2150
2151 dwarf_get_fde_info_for_reg3_b()
2152 dwarf_get_fde_info_for_cfa_reg3_b()
2153 uses Dwarf_Small * and also Dwarf_Signed
2154 arguments changed to Dwarf_Unsigned to accurately
2155 represent the meaning. Adds a Dwarf_Block
2156 replacing a pointer/length pair of arguments,
2157
2158 dwarf_expand_frame_instructions()
2159 arguments much changed to allow
2160 access to frame instructions that
2161 handle *all* frame instructions,
2162 not just DWARF2
2163
2164 dwarf_get_frame_instruction()
2165 dwarf_frame_instr_head_dealloc()
2166 are new to enable correct printing of
2167 frame instructions without decoding the
2168 instruction bits.
2169 making the argumente clearer.
2170
2171 modified: src/lib/libdwarf/libdwarf.h
2172
2173 2021-09-19: David Anderson
2174 commit 1c3cce658c068a165d57afd4954f504592c390dc
2175
2176 Corrected spelling error.
2177 modified: README.md
2178
2179 2021-09-19: David Anderson
2180 commit 6f90b971b5847d4bf543e9c866e12817af136249
2181
2182 Now has the latest git log data.
2183 modified: ChangeLog
2184
2185 2021-09-19: David Anderson
2186 commit 6b7fd93356a1a58275f4014437508eda9aa0272c
2187
2188 The 'namestable' options have no
2189 effect any longer, so they have
2190 been deleted.
2191 modified: CMakeLists.txt
2192 modified: configure.ac
2193
2194 2021-09-19: David Anderson
2195 commit 876c1edbbc6b29d9cd5e6a00372e65c82939e82c
2196
2197 Updated comments in the Changes section.
2198 modified: libdwarf.mm Rev 4.10
2199 modified: libdwarf.pdf Regenerated
2200
2201 2021-09-19: David Anderson
2202 commit dfd515afe38c8d48764b34d1040a8720a6e9fb8e
2203
2204 Revised the documentation.
2205 README.md is available on
2206 www.prevanders.net/libdwarfreadme.html
2207 modified: README
2208 modified: README.md
2209
2210 2021-09-18: David Anderson
2211 commit 0db97085c7c15d52c811e1fe43fda9f67e5769b8
2212
2213 modified: ChangeLog
2214 As of now, coverityscan finds no problems.
2215
2216 2021-09-18: David Anderson
2217 commit dc49ecba7486ac33bd161ec4fb8b14b4cc46ad1d
2218
2219 With these changes, coverity scan finds no defects
2220 in the libdwarf source.
2221 modified: src/bin/dwarfdump/print_debug_sup.c
2222 modified: src/bin/dwarfgen/createirepfrombinary.cc
2223 modified: src/lib/libdwarf/dwarf_debug_sup.c
2224 modified: src/lib/libdwarf/dwarf_debuglink.c
2225
2226 2021-09-18: David Anderson
2227 commit a7ea4f95c665e11068044bbce0f15765dd535e98
2228
2229 Now making this up to date with git log.
2230 modified: ChangeLog
2231
2232 At this point the two remaining issues
2233 coverity scan detects are
2234 CID 238474 memory leak on an error, and
2235 it is not clear to me where the leak is.
2236 coverity reports all the details but..
2237 the source looks correct.
2238
2239 CID 206732 coverity determines that a loop
2240 cannot possibly result in a count of 0,
2241 though such seems possible.
2242
2243 One assumes one is just missing something in each
2244 case. Continuing to look.
2245
2246 2021-09-18: David Anderson
2247 commit b2c32100d6c3a7abaa10614f401c3c4cab1077e7
2248
2249 more fixes for problems coverity scan detected.
2250 modified: src/bin/dwarfdump/dwarfdump.c
2251 modified: src/bin/dwarfgen/createirepformfrombinary.cc
2252 modified: src/bin/dwarfgen/createirepfrombinary.cc
2253 modified: src/bin/dwarfgen/irepattrtodbg.cc
2254 modified: src/bin/dwarfgen/irepdie.h
2255 modified: src/bin/dwarfgen/ireptodbg.cc
2256 modified: src/lib/libdwarf/dwarf_init_finish.c
2257
2258 2021-09-17: David Anderson
2259 commit 695305f59372312d645e9afd8592dd79a6d0f0d5
2260
2261 Fixes all but a few coverity CIDs. I think.
2262 modified: src/bin/dwarfdump/dwarfdump.c
2263 modified: src/bin/dwarfdump/print_die.c
2264 modified: src/bin/dwarfdump/print_static_vars.c
2265 modified: src/bin/dwarfexample/findfuncbypc.c
2266 modified: src/lib/libdwarf/dwarf_init_finish.c
2267 modified: src/lib/libdwarf/dwarf_macro.c
2268 modified: src/lib/libdwarf/dwarf_object_detector.c
2269
2270 2021-09-17: David Anderson
2271 commit d39fd532ec3ad2cc0f15e3358fd537148b61bed1
2272
2273 Applied corrections for Coverity CID
2274 140104 238474 238481 238483 238485 238486 238487 238493 238494
2275 238503 238509 238510
2276 modified: src/bin/dwarfdump/dwarfdump.c
2277 modified: src/bin/dwarfdump/dwconf.c
2278 modified: src/bin/dwarfdump/print_debug_gnu.c
2279 modified: src/bin/dwarfdump/print_die.c
2280 modified: src/bin/dwarfdump/print_loclists_codes.c
2281 modified: src/bin/dwarfexample/findfuncbypc.c
2282 modified: src/lib/libdwarf/dwarf_debugnames.c
2283 modified: src/lib/libdwarf/dwarf_gnu_index.c
2284 modified: src/lib/libdwarf/dwarf_macro.c
2285 modified: src/lib/libdwarf/dwarf_object_detector.c
2286
2287 2021-09-16: David Anderson
2288 commit 6539d22b58f1b7859989113f8c6e9c6cd62721db
2289
2290 Fixes for coverity scan id: 240132, 240130,240131,238512
2291 238473 238474 238475 238476 238513
2292 modified: src/bin/dwarfdump/globals.h
2293 modified: src/bin/dwarfdump/print_die.c
2294 modified: src/bin/dwarfexample/findfuncbypc.c
2295 modified: src/lib/libdwarf/dwarf_loclists.c
2296 modified: src/lib/libdwarf/dwarf_object_detector.c
2297 modified: src/lib/libdwarfp/dwarf_pro_section.c
2298
2299 2021-09-16: David Anderson
2300 commit 41c5018988fe818d16025bd21dcb46d263a8ae5b
2301
2302 Fix coverity CID 238512
2303 modified: dwarf_rnglists.c
2304
2305 2021-09-16: David Anderson
2306 commit 4eb3994fa3b31c8831840736b07278ec630351ca
2307
2308 Fix coverity CID 240132 240131 240130
2309 modified: src/bin/dwarfdump/print_macro.c
2310 modified: src/lib/libdwarf/dwarf_loc.c
2311 modified: src/lib/libdwarfp/dwarf_pro_forms.c
2312
2313 2021-09-16: David Anderson
2314 commit 4e742546b6584f4688f8db66776cd6351ecd007a
2315
2316 Small but important incompatibility:
2317 dwarf_finish(Dwarf_Debug dbg);
2318 removes the useless and misleading
2319 Dwarf_Error, which was the second argument.
2320 That argument was not used!
2321 modified: src/lib/libdwarf/libdwarf.h
2322
2323 Addresses 20+ coverity-scan-detected errors and
2324 removes the second argument to dwarf_finish().
2325 modified: doc/libdwarf.mm
2326 modified: doc/libdwarf.pdf
2327 modified: src/bin/dwarfdump/compiler_info.c
2328 modified: src/bin/dwarfdump/dwarfdump.c
2329 modified: src/bin/dwarfdump/print_aranges.c
2330 modified: src/bin/dwarfdump/print_die.c
2331 modified: src/bin/dwarfdump/print_macro.c
2332 modified: src/bin/dwarfexample/dwdebuglink.c
2333 modified: src/bin/dwarfexample/findfuncbypc.c
2334 modified: src/bin/dwarfexample/frame1.c
2335 modified: src/bin/dwarfexample/jitreader.c
2336 modified: src/bin/dwarfexample/simplereader.c
2337 modified: src/bin/dwarfgen/createirepfrombinary.cc
2338 modified: src/bin/tag_tree/tag_tree.c
2339 modified: src/lib/libdwarf/dwarf_arange.c
2340 modified: src/lib/libdwarf/dwarf_debug_sup.c
2341 modified: src/lib/libdwarf/dwarf_debugnames.c
2342 modified: src/lib/libdwarf/dwarf_die_deliv.c
2343 modified: src/lib/libdwarf/dwarf_frame.c
2344 modified: src/lib/libdwarf/dwarf_generic_init.c
2345 modified: src/lib/libdwarf/dwarf_init_finish.c
2346 modified: src/lib/libdwarf/dwarf_loc.c
2347 modified: src/lib/libdwarf/dwarf_macro.c
2348 modified: src/lib/libdwarf/dwarf_object_detector.c
2349 modified: src/lib/libdwarf/dwarf_rnglists.c
2350 modified: src/lib/libdwarf/dwarf_xu_index.c
2351 modified: src/lib/libdwarfp/dwarf_pro_forms.c
2352 modified: src/lib/libdwarfp/dwarf_pro_section.c
2353
2354 2021-09-15: David Anderson
2355 commit 578b6d75fe1ed07654fdead76963fc871198c7c7
2356
2357 More fixes to things coverity scan detected.
2358 modified: src/bin/buildopstab/buildopscounttab.c
2359 modified: src/bin/dwarfdump/esb.c
2360 modified: src/bin/dwarfdump/print_aranges.c
2361 modified: src/bin/dwarfdump/print_die.c
2362 modified: src/bin/dwarfdump/print_frames.c
2363 modified: src/bin/dwarfdump/print_macro.c
2364 modified: src/bin/dwarfexample/findfuncbypc.c
2365 modified: src/bin/gennames/gennames.c
2366 modified: src/lib/libdwarf/dwarf_abbrev.c
2367 modified: src/lib/libdwarf/dwarf_arange.c
2368 modified: src/lib/libdwarf/dwarf_die_deliv.c
2369 modified: src/lib/libdwarf/dwarf_frame.c
2370 modified: src/lib/libdwarf/dwarf_gdbindex.c
2371 modified: src/lib/libdwarf/dwarf_gnu_index.c
2372 modified: src/lib/libdwarf/dwarf_line.c
2373 modified: src/lib/libdwarf/dwarf_loc.c
2374 modified: src/lib/libdwarf/dwarf_loclists.c
2375 modified: src/lib/libdwarf/dwarf_rnglists.c
2376
2377 2021-09-15: David Anderson
2378 commit 457d18129ee133a463f083d4be75029677c441ab
2379
2380 Coverity scan found 18 issues.
2381
2382 This should fix all of them.
2383 All but one represented a possible memory leak
2384 in an error condition. One is a possible
2385 duplicate free.
2386 A few instances here of removing unneeded blank lines
2387 and fixing too-long lines.
2388 modified: src/bin/dwarfdump/dwarfdump.c
2389 modified: src/bin/dwarfdump/print_debugfission.c
2390 modified: src/bin/dwarfdump/print_die.c
2391 modified: src/bin/dwarfdump/print_frames.c
2392 modified: src/bin/dwarfdump/print_gdbindex.c
2393 modified: src/bin/dwarfdump/print_lines.c
2394 modified: src/bin/dwarfdump/print_macro.c
2395 modified: src/bin/dwarfdump/print_pubnames.c
2396 modified: src/bin/dwarfexample/jitreader.c
2397 modified: src/bin/dwarfgen/createirepfrombinary.cc
2398 modified: src/lib/libdwarf/dwarf_die_deliv.c
2399 modified: src/lib/libdwarf/dwarf_form.c
2400 modified: src/lib/libdwarf/dwarf_frame.c
2401 modified: src/lib/libdwarf/dwarf_frame2.c
2402 modified: src/lib/libdwarf/dwarf_object_detector.c
2403 modified: src/lib/libdwarf/dwarf_print_lines.c
2404 modified: src/lib/libdwarf/dwarf_query.c
2405
2406 2021-09-14: David Anderson
2407 commit a78495363a6a16a35df005586eddae60df9b1457
2408
2409 Now with recent git log data.
2410 modified: ChangeLog
2411
2412 2021-09-14: David Anderson
2413 commit 400cf6d49ce2ade160932a1d35f0c0fd6bd404c7
2414
2415 Fixed indents and removed some blank lines.
2416 modified: checkexamples.c
2417
2418 2021-09-14: David Anderson
2419 commit bbf84c5d3282d60d08b5e9ae7b80ba733a0a2fa5
2420
2421 Added comments pointing out the
2422 future removal of Dwarf_Frame_Op.
2423 modified: src/bin/dwarfexample/frame1.c
2424 modified: src/lib/libdwarf/libdwarf.h
2425
2426 2021-09-14: David Anderson
2427 commit c46ec30d52b82a23356be9c065871574f87aa23e
2428
2429 Corrected the examples to match current interfaces.
2430 modified: doc/checkexamples.c
2431
2432 2021-09-13: David Anderson
2433 commit 9474d46e3f10ef9c073d5d04c11934f5dc61a9d4
2434
2435 Each group of blank lines is now a single line.
2436
2437 modified: command_options.h dwarf_getopt.h dwconf.h
2438 esb.h esb_using_functions.h globals.h helpertree.h macrocheck.h
2439 section_bitmaps.h tag_common.h
2440
2441 2021-09-13: David Anderson
2442 commit be6b995a732bb2245a38e2430a90e163fa6044b0
2443
2444 modified: dwarf_abbrev.c dwarf_alloc.c dwarf_arange.c
2445 dwarf_crc.c dwarf_crc32.c dwarf_debuglink.c dwarf_debugnames.c dwarf_die_deliv.c
2446 dwarf_dsc.c dwarf_elf_load_headers.c dwarf_elf_rel_detector.c dwarf_error.c
2447 dwarf_find_sigref.c dwarf_fission_to_cu.c dwarf_form.c dwarf_funcs.c
2448 dwarf_gdbindex.c dwarf_generic_init.c dwarf_getopt.c dwarf_global.c dwarf_groups.c
2449 dwarf_harmless.c dwarf_init_finish.c dwarf_leb.c dwarf_line.c dwarf_loc.c
2450 dwarf_locationop_read.c dwarf_loclists.c dwarf_machoread.c dwarf_macro.c dwarf_macro5.c
2451 dwarf_object_detector.c dwarf_peread.c dwarf_print_lines.c dwarf_pubtypes.c
2452 dwarf_query.c dwarf_ranges.c dwarf_rnglists.c dwarf_str_offsets.c
2453 dwarf_string.c dwarf_tied.c dwarf_tsearchhash.c dwarf_types.c
2454 dwarf_util.c dwarf_vars.c dwarf_weaks.c dwarf_xu_index.c
2455
2456 2021-09-13: David Anderson
2457 commit 1d8b38f2ec29db066db0a3ef2abf1ef7e77648f1
2458
2459 With a tool, reduced each block of
2460 blank lines into a single blank line.
2461 modified: dwarf_abbrev.h
2462 modified: dwarf_arange.h
2463 modified: dwarf_base_types.h
2464 modified: dwarf_elf_access.h
2465 modified: dwarf_elf_defines.h
2466 modified: dwarf_elf_rel_detector.h
2467 modified: dwarf_elfread.h
2468 modified: dwarf_elfstructs.h
2469 modified: dwarf_errmsg_list.h
2470 modified: dwarf_funcs.h
2471 modified: dwarf_gdbindex.h
2472 modified: dwarf_getopt.h
2473 modified: dwarf_global.h
2474 modified: dwarf_harmless.h
2475 modified: dwarf_line.h
2476 modified: dwarf_line_table_reader_common.h
2477 modified: dwarf_loc.h
2478 modified: dwarf_macho_loader.h
2479 modified: dwarf_machoread.h
2480 modified: dwarf_macro.h
2481 modified: dwarf_macro5.h
2482 modified: dwarf_object_detector.h
2483 modified: dwarf_opaque.h
2484 modified: dwarf_pe_descr.h
2485 modified: dwarf_peread.h
2486 modified: dwarf_reloc_386.h
2487 modified: dwarf_reloc_arm.h
2488 modified: dwarf_rnglists.h
2489 modified: dwarf_str_offsets.h
2490 modified: dwarf_string.h
2491 modified: dwarf_tied_decls.h
2492 modified: dwarf_types.h
2493 modified: dwarf_util.h
2494 modified: dwarf_xu_index.h
2495
2496 2021-09-13: David Anderson
2497 commit fac853118888900786220c20d10776adb99749c4
2498
2499 Using a tool, changed each grouping of
2500 blank lines into a single blank line.
2501 modified: addrmap.c
2502 modified: attr_form.c
2503 modified: checkutil.c
2504 modified: command_options.c
2505 modified: compiler_info.c
2506 modified: dd_regex.c
2507 modified: dd_sanitized.c
2508 modified: dd_uri.c
2509 modified: dwarf_getopt.c
2510 modified: dwarf_tsearchbal.c
2511 modified: dwarfdump.c
2512 modified: dwconf.c
2513 modified: esb.c
2514 modified: helpertree.c
2515 modified: macrocheck.c
2516 modified: naming.c
2517 modified: print_abbrevs.c
2518 modified: print_aranges.c
2519 modified: print_debug_gnu.c
2520 modified: print_debug_sup.c
2521 modified: print_die.c
2522 modified: print_frames.c
2523 modified: print_gdbindex.c
2524 modified: print_hipc_lopc_attr.c
2525 modified: print_lines.c
2526 modified: print_llex_codes.c
2527 modified: print_loclists.c
2528 modified: print_loclists_codes.c
2529 modified: print_macro.c
2530 modified: print_origloclist_codes.c
2531 modified: print_pubnames.c
2532 modified: print_rnglists.c
2533 modified: print_section_groups.c
2534 modified: print_static_funcs.c
2535 modified: print_tag_attributes_usage.c
2536 modified: uritablebuild.c
2537
2538 2021-09-13: David Anderson
2539 commit 0cba1da28412ca57f7b234ab3545761b0f008861
2540
2541 Now with recent updates.
2542 modified: ChangeLog
2543
2544 2021-09-13: David Anderson
2545 commit e7cb3d7c880d5ec304646eb29356986b1b7d3447
2546
2547 A small tool now notices instances of multiple
2548 blank lines and eliminates all but one of them.
2549 Also notices something like
2550 }
2551
2552 }
2553 (with the blank line between) and drops that empty pointless blank line.
2554 modified: src/lib/libdwarf/dwarf_frame.c
2555 modified: src/lib/libdwarf/dwarf_frame.h
2556 modified: src/lib/libdwarf/dwarf_frame2.c
2557 modified: src/lib/libdwarf/libdwarf.h
2558
2559 2021-09-13: David Anderson
2560 commit 7fc73b9a8bb1a50a003f9ecf1fc31e4ecd6fe813
2561
2562 All the earlier dwarfgen/ChangeLog20xx
2563 were left off by 'make dist'
2564 and now they apprear properly.
2565 modified: src/bin/dwarfgen/Makefile.am
2566
2567 2021-09-13: David Anderson
2568 commit 43bdde11b898abcc8c338a48959728d2f38b6162
2569
2570 -" <ERROR. branch/skip target erronous %d>",
2571 +" <ERROR. branch/skip target erroneous %d>",
2572 modified: src/bin/dwarfdump/print_die.c
2573
2574 2021-09-13: David Anderson
2575 commit 58920809a408eeac18afb1ca14fa5ba545120ae7
2576
2577 A recent update changed things. make dist
2578 was now causing test/dummyexecutable to be rebuilt
2579 from test/dummyexecutable.c. That was not intended.
2580 So renamed dummyexecutable.c so make cannot make
2581 the connection or try to rebuild dummyexecutable.
2582
2583 This simple change just makes what is going on slightly
2584 clearer with respect to the two object sections involved.
2585 modified: src/lib/libdwarf/dwarf_debuglink.c
2586
2587 This file should not be in libdwarfp, libdwarfp gets the
2588 content from libdwarf source.
2589 deleted: src/lib/libdwarfp/dwarf_string.c
2590
2591 Added an exit 0 so even if run the script does nothing. As intended!
2592 It is really documentation and should not be run.
2593 modified: test/buildingdummy.sh
2594 renamed: test/dummyexecutable.c -> test/dummysourceignore
2595
2596 The makefile reflects the name changes so the files get into
2597 the make dist output.
2598 modified: test/Makefile.am
2599
2600 2021-09-12: David Anderson
2601 commit b70c815780a8658592e76ffdcf5c9f8d8284084a
2602
2603 Modified libdwarf-internal function names
2604 to have a leading _dwarf_
2605 modified: dwarf_frame.c
2606 modified: dwarf_frame.h
2607 modified: dwarf_frame2.c
2608
2609 Deleted dwarf_frame_get_reg_register() and
2610 dwarf_frame_get_reg_expression() as they
2611 no longer exist and did not work for recent dwarf.
2612 modified: libdwarf.h
2613
2614 2021-09-11: David Anderson
2615 commit cb86f35166a71eae445715cca9249a18b133745f
2616
2617 Updated with files changed due to recent
2618 deletion of some blank lines.
2619 modified: ChangeLog
2620
2621 2021-09-11: David Anderson
2622 commit cccee303f33b8c4dcccaaae236a5922c467eaa77
2623
2624 Each instance of multiple blank lines
2625 reduced to a single blank line.
2626 modified: buildopstab/buildopscounttab.c
2627 modified: gennames/gennames.c
2628 modified: tag_attr/tag_attr.c
2629 modified: tag_tree/tag_tree.c
2630
2631 2021-09-11: David Anderson
2632 commit c55271af36006f2e7ee4bbe4750f3b417b01e0f1
2633
2634 Each instance of multiple blank lines
2635 reduced to a single blank line.
2636 modified: src/bin/dwarfexample/dwdebuglink.c
2637 modified: src/bin/dwarfexample/findfuncbypc.c
2638 modified: src/bin/dwarfexample/frame1.c
2639 modified: src/bin/dwarfexample/jitreader.c
2640 modified: src/bin/dwarfexample/simplecrc.c
2641 modified: src/bin/dwarfexample/simplereader.c
2642
2643 2021-09-11: David Anderson
2644 commit 7a1d69baa69ea4982b6cfc8de55463a57d7a662b
2645
2646 Each instance of multiple blank lines
2647 reduced to a single blank line.
2648 modified: dwarf_leb_test.c
2649 modified: dwarf_tied_test.c
2650 modified: getnametest.c
2651 modified: getopttest.c
2652 modified: makename_test.c
2653 modified: test_canonical.c
2654 modified: test_dwarfstring.c
2655 modified: test_errmsglist.c
2656 modified: test_extra_flag_strings.c
2657 modified: test_linkedtopath.c
2658 modified: test_regex.c
2659 modified: testesb.c
2660
2661 2021-09-11: David Anderson
2662 commit eb499fc7c60aa9e350f311c8df199d22632d7a59
2663
2664 A new script (not part of libdwarf)
2665 now turns a sequence of blank lines
2666 into a single blank line.
2667 Eventually this will be applied everwhere to .c and .h files.
2668 modified: src/lib/libdwarf/dwarf.h
2669 modified: src/lib/libdwarf/dwarf_die_deliv.h
2670 modified: src/lib/libdwarf/dwarf_dsc.h
2671 modified: src/lib/libdwarf/dwarf_elfread.c
2672 modified: src/lib/libdwarf/libdwarf.h
2673
2674 2021-09-10: David Anderson
2675 commit c91317981ea93a820cc881f12852b770ffc45730
2676
2677 No longer defines DW_OBJ_LSB or DW_OBJ_MSB
2678 or the type Dwarf_Endian.
2679
2680 No longer defines DW_ENDIAN_BIG DW_ENDIAN_LITTLE
2681 Use DW_END_big and DW_END_little from dwarf.h.
2682
2683 Using three different name sets was an accident of history.
2684 Instead, now using DW_END_big and DW_END_little from dwarf.h
2685 (These were introduced in DWARF3.)
2686 The ranges of endian fit in a Dwarf_Small.
2687 modified: src/lib/libdwarf/libdwarf.h
2688
2689 There is no actual compatibility issue for library
2690 users as all the uses are in dwarfdump and libdwarf.
2691 Plus a single use in jitreader.c
2692
2693 The required places updated to use DW_END_big/little:
2694 modified: src/bin/dwarfexample/jitreader.c
2695 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
2696 modified: src/lib/libdwarf/dwarf_elfread.c
2697 modified: src/lib/libdwarf/dwarf_init_finish.c
2698 modified: src/lib/libdwarf/dwarf_machoread.c
2699 modified: src/lib/libdwarf/dwarf_machoread.h
2700 modified: src/lib/libdwarf/dwarf_peread.c
2701 modified: src/lib/libdwarf/libdwarf.h
2702
2703 2021-09-10: David Anderson
2704 commit 83438dbbe4991fb333fd0c6f9924513f4744244e
2705
2706 Added the recent git log entries.
2707 modified: ChangeLog
2708
2709 2021-09-10: David Anderson
2710 commit 85134d41493f7a236f8680a09a44ec8b25000885
2711
2712 Shortening lines, fixing indents, and removing
2713 trailing whitespace.
2714 modified: src/lib/libdwarf/dwarf_errmsg_list.h
2715 modified: src/lib/libdwarf/dwarf_init_finish.c
2716 modified: src/lib/libdwarf/dwarf_memcpy_swap.c
2717 modified: src/lib/libdwarf/dwarf_opaque.h
2718 modified: src/lib/libdwarf/dwarf_util.h
2719 modified: src/lib/libdwarf/libdwarf.h
2720
2721 2021-09-10: David Anderson
2722 commit 6bf6fd8f88bb445b4682c439ebab10e62c5d9a2e
2723
2724 Dropping #define DW_ENDIAN_BIG and DW_ENDIAN_LITTLE
2725 as they just duplicate dwarf.h DW_END_big DW_END_little (with
2726 the same integer values).
2727 modified: src/lib/libdwarf/libdwarf.h
2728
2729 Now documents DW_END_big/little instead of DW_ENDIAN*
2730 Removed incorrect doc of DW_ENDIAN_SAME/OPPOSITE,
2731 those were never meaningful.
2732 modified: doc/libdwarf.mm Now version 4.8
2733 Regenerated.
2734 modified: doc/libdwarf.pdf
2735
2736 Add include "dwarf.h" and use DW_END_big/little from dwarf.h
2737 modified: src/lib/libdwarf/dwarf_elfread.c
2738 modified: src/lib/libdwarf/dwarf_machoread.c
2739 modified: src/lib/libdwarf/dwarf_peread.c
2740 modified: src/lib/libdwarf/dwarf_object_detector.c
2741
2742 Delete def of DW_ENDIAN*, no longer used.
2743 modified: src/lib/libdwarf/dwarf_object_detector.h
2744
2745 2021-09-10: David Anderson
2746 commit 990fe5e78150ffa2a7270312403b83d30669ec9d
2747
2748 Use DW_OBJECT_LSB, not DW_ENDIAN_LITTLE!
2749 Also fixed trailing whitespace and bad indents.
2750 modified: jitreader.c
2751
2752 2021-09-09: David Anderson
2753 commit ca7afc32c6e625333c26677cd987b0bc86bc0ce4
2754
2755 Updated version to 0.2.0 to match configure.ac.
2756 Using a python script now to avoid forgetting
2757 update of one or the other place the version is recorded.
2758 modified: CMakeLists.txt
2759
2760 2021-09-07: David Anderson
2761 commit 12a3f940b23a5ba815acbc04889ca698cef25ad1
2762
2763 Removed spurious line.
2764 modified: ChangeLog
2765
2766 2021-09-07: David Anderson
2767 commit 5f860e5945578c0af48ccd8321382aeb187efb7b
2768
2769 Updates with gitlog data.
2770 modified: ChangeLog
2771 Minor commentary changes(hoping for clarity).
2772 modified: src/bin/dwarfexample/jitreader.c
2773
2774 2021-09-06: David Anderson
2775 commit 3ceff448fe685005a97b001f2c637ac6211f87eb
2776
2777 More comments on why this matters.
2778 modified: jitreader.c
2779
2780 2021-09-06: David Anderson
2781 commit fc20d24541507dd12ce5efcace7443c09202d9a7
2782
2783 Version now 0.2.0
2784 to reflect the *Obj_Access* struct changes.
2785 modified: configure.ac
2786 modified: src/bin/dwarfdump/dwarfdump-af-table.h
2787 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
2788 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
2789 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
2790 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
2791 modified: src/lib/libdwarf/dwarf_names.c
2792
2793 2021-09-06: David Anderson
2794 commit 2403367525e0de88b611e4281689c43a4d6037cb
2795
2796 Squashed commit of the following:
2797
2798 commit 4d82551c527eeb827992f0bada2c85dac7f3faa0
2799 Author: David Anderson <[email protected]>
2800 Date: Mon Sep 6 17:30:31 2021 -0700
2801
2802 In updating the handling of SHF_COMPRESSED
2803 one line got accidentally lost.
2804 So now restored (very slightly differently).
2805 modified: dwarf_init_finish.c
2806
2807 commit 1a2ae9024d175a909ea19a4a1e421cf2b3dc9b79
2808 Author: David Anderson <[email protected]>
2809 Date: Mon Sep 6 16:24:04 2021 -0700
2810
2811 Now cmake sees the new jitreader and runs
2812 jitreaderdiff.sh to ensure it works.
2813 modified: src/bin/dwarfexample/CMakeLists.txt
2814 modified: test/CMakeLists.txt
2815
2816 commit c32b8ad6574e071fa02a4d2b5e73c0e740f82adf
2817 Author: David Anderson <[email protected]>
2818 Date: Mon Sep 6 15:35:12 2021 -0700
2819
2820 Now prints something of the CU DIE it reads.
2821 modified: src/bin/dwarfexample/jitreader.c
2822
2823 Updated baseline.
2824 modified: test/jitreader.base
2825
2826 commit 33a621fa57d023fea1fb7895f07a49b9cb30b7c3
2827 Author: David Anderson <[email protected]>
2828 Date: Mon Sep 6 14:12:39 2021 -0700
2829
2830 Now shows ZLIB flags if any needed and present.
2831 modified: configure.ac
2832
2833 Now builds jitreader.c
2834 modified: src/bin/dwarfexample/Makefile.am
2835 Now runs jitreader.sh to ensure jitreader is working.
2836 modified: test/Makefile.am
2837
2838 commit f7c1426b5fc1b8ee67bd405d02710f69b5d6b3af
2839 Author: David Anderson <[email protected]>
2840 Date: Mon Sep 6 14:08:54 2021 -0700
2841
2842 Major incompatible change for a very small
2843 and unusual use-case.
2844 Ordinary libdwarf use or just
2845
2846 Now
2847 struct Dwarf_Obj_Access_Interface_a_s
2848 struct Dwarf_Obj_Access_Methods_a_s
2849 struct Dwarf_Obj_Access_Section_a_s
2850 have all the fields they should have had all along,
2851 but the member names have appropriate 2-letter prefixes
2852 to make it easy to quickly find uses of the members.
2853 This only affects those applications reading dwarf
2854 from memory (meaning, there is no file existing to read).
2855 This is typical for just-in-time (jit) compilers.
2856 modified: src/lib/libdwarf/libdwarf.h
2857
2858 Now we have a worked out example demonstrating the
2859 abilility to use data in memory as DWARF infomation.
2860 renamed: jitreader.c -> ../src/bin/dwarfexample/jitreader.c
2861
2862 The following were modified to match up with the
2863 new names, as libdwarf actually uses, internally,
2864 the data in the above-named structs.
2865 modified: src/lib/libdwarf/dwarf_elfread.c
2866 modified: ./src/lib/libdwarf/dwarf_init_finish.c
2867 modified: ./src/lib/libdwarf/dwarf_machoread.c
2868 modified: ./src/lib/libdwarf/dwarf_opaque.h
2869 modified: ./src/lib/libdwarf/dwarf_peread.c
2870
2871 New
2872 new file: test/jitreader.base
2873 new file: test/jitreaderdiff.sh
2874
2875 commit 05b85bc60f0ed9b28088604008a3b5efb1103b6c
2876 Author: David Anderson <[email protected]>
2877 Date: Mon Sep 6 10:53:19 2021 -0700
2878
2879 Renamed the test case to provide a better idea
2880 as to what the test shows: accessing all of libdwarf
2881 where the DWARF information is not in a file at all,
2882 or is in a special file format which is
2883 not Elf or PE or MacOS.
2884
2885 modified: test/Makefile.am
2886 new file: test/jitreader.c
2887 deleted: test/objaccess.c
2888
2889 commit a10fa8fe5172a2b34bfff163499e48ae7884c761
2890 Author: David Anderson <[email protected]>
2891 Date: Sat Sep 4 16:47:02 2021 -0700
2892
2893 Added filesize to the access function pointer list, making
2894 it possible to correctly deal with file sizes Where it
2895 was not previously possible in libdwarf.
2896
2897 For callers passing a path or reading via an fd all this
2898 is invisible.
2899
2900 For people wishing to use dwarf_object_init_b() on DWARF
2901 which is in memory (possibly something never on disk) or
2902 in a special file format this change makes it possible to
2903 have libdwarf work properly and safely.
2904
2905 struct Dwarf_Obj_Access_Interface_a_s is similar to the
2906 previous struct name, but the members of the struct are
2907 ai_object and ai_methods, making it easier to grep for
2908 the usage.
2909
2910 struct Dwarf_Obj_Access_Methods_a_s is similar to the old
2911 struct name but it adds a new method om_get_filesize. And
2912 all member names prefixed with om_ so the fields can be
2913 found with grep easily. And the order of the values in
2914 the struct changed slightly.
2915
2916 modified: src/lib/libdwarf/dwarf_elfread.c
2917 modified: src/lib/libdwarf/dwarf_generic_init.c
2918 modified: src/lib/libdwarf/dwarf_init_finish.c
2919 modified: src/lib/libdwarf/dwarf_machoread.c
2920 modified: src/lib/libdwarf/dwarf_opaque.h
2921 modified: src/lib/libdwarf/dwarf_peread.c
2922 modified: src/lib/libdwarf/libdwarf.h
2923
2924 2021-09-04: David Anderson
2925 commit 5593a44b4182db596fb2da87f563a7992a4f985f
2926
2927 buildopscounttab.c and the table it builds,
2928 opscounttab.c, had lines longer than the
2929 codingstyle calls for.
2930
2931 Fixed
2932 modified: src/bin/buildopstab/buildopscounttab.c
2933 Regenerated.
2934 modified: src/bin/dwarfdump/opscounttab.c
2935
2936 2021-09-04: David Anderson
2937 commit c316dffb261d411f6fb908951a5bd0f633ffbcd1
2938
2939 Renaming dwarfdump source to have a preceding
2940 dd_ which means lots of trivial changes.
2941 renamed: src/bin/dwarfdump/sanitized.c -> src/bin/dwarfdump/dd_sanitized.c
2942 renamed: src/bin/dwarfdump/sanitized.h -> src/bin/dwarfdump/dd_sanitized.h
2943 renamed: src/bin/dwarfdump/uri.c -> src/bin/dwarfdump/dd_uri.c
2944 renamed: src/bin/dwarfdump/uri.h -> src/bin/dwarfdump/dd_uri.h
2945
2946 modified: src/bin/attr_form/Makefile.am
2947 modified: src/bin/dwarfdump/CMakeLists.txt
2948 modified: src/bin/dwarfdump/Makefile.am
2949 modified: src/bin/tag_attr/Makefile.am
2950 modified: src/bin/tag_tree/Makefile.am
2951
2952 Many files had include of one or the other of
2953 the two headers. Fixed the include to have dd_
2954 with a tiny sed script. Not listing all the files here.
2955
2956 2021-09-04: David Anderson
2957 commit 6bafd7de063944e69cbeeabf518a6fe59ef6c7d0
2958
2959 Tidying the new source just before 'while (lp >= are)'
2960 and ensuring it builds with and without -DDEBUG
2961 modified: src/bin/dwarfdump/dd_regex.c
2962 The change here has no effect on results, which
2963 remain correct.
2964
2965 2021-09-03: David Anderson
2966 commit bdf75cf094ed2c6077e89716a1ab3f4c2302fe08
2967
2968 Fixed indents, trailing whitespace.
2969 modified: test_regex.c
2970
2971 2021-09-03: David Anderson
2972 commit 3d51b25bc52d0091945ad72562e340f438d371ef
2973
2974 Remove trailing whitespace.
2975 modified: command_options.c
2976
2977 Modified to follow the libdwarf coding standard,
2978 here meaning all indents are multiple of 4 with
2979 no trailing whitespace.
2980 modified: dd_regex.c
2981 modified: dd_regex.h
2982
2983 2021-09-03: David Anderson
2984 commit 4270418b0f6ad3eb201c3953ceeeb17e09d93dcb
2985
2986 A small revision to make the code slightly clearer.
2987 modified: src/bin/dwarfdump/dd_regex.c
2988
2989 2021-09-03: David Anderson
2990 commit ee98aefb1c51e9dc2b654c783217dad765323e2d
2991
2992 Now, with --enable-shared the shared library
2993 uses gcc -visibility=hidden (if your non-Windows compiler
2994 supports it) to reduce the size of the elf .dynsym
2995 section. For libdwarf, this reduces the
2996 external symbol count from 542 to 373, a 32 percent
2997 savings in symbols to be read/relocated
2998 in loading libdwarf.so
2999
3000 Windows builds already supported Windows
3001 facilities with the same effect.
3002 modified: configure.ac
3003
3004 2021-09-03: David Anderson
3005 commit d1f5ea7a91a8d66e35f1574633bb58fe45d69f83
3006
3007 Renamed all the libdwarfp source file names
3008 to start with dwarf_pro_
3009 Not showing the renamings here.
3010
3011 Then adjustments were made to get it to build.
3012 As listed here.
3013 modified: src/lib/libdwarfp/CMakeLists.txt
3014 modified: src/lib/libdwarfp/Makefile.am
3015 modified: test/CMakeLists.txt
3016 modified: test/Makefile.am
3017 modified: test/test_extra_flag_strings.c
3018
3019 2021-09-03: David Anderson
3020 commit 973fbfdf87fa709fb336d157c4b5aebdb7d26532
3021
3022 dwarfstring.h renamed dwarf_string.h
3023 dwarfstring.c renamed dwarf_string.c
3024 Now all source files in src/lib/libdwarf have a file name
3025 beginning with dwarf_ to make library
3026 source recognition easier.
3027 modified: src/lib/libdwarf/CMakeLists.txt
3028 modified: src/lib/libdwarf/Makefile.am
3029 modified: src/lib/libdwarf/dwarf_abbrev.c
3030 modified: src/lib/libdwarf/dwarf_alloc.c
3031 modified: src/lib/libdwarf/dwarf_arange.c
3032 modified: src/lib/libdwarf/dwarf_debug_sup.c
3033 modified: src/lib/libdwarf/dwarf_debuglink.c
3034 modified: src/lib/libdwarf/dwarf_debugnames.c
3035 modified: src/lib/libdwarf/dwarf_die_deliv.c
3036 modified: src/lib/libdwarf/dwarf_error.c
3037 modified: src/lib/libdwarf/dwarf_find_sigref.c
3038 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
3039 modified: src/lib/libdwarf/dwarf_form.c
3040 modified: src/lib/libdwarf/dwarf_frame2.c
3041 modified: src/lib/libdwarf/dwarf_gdbindex.c
3042 modified: src/lib/libdwarf/dwarf_global.c
3043 modified: src/lib/libdwarf/dwarf_gnu_index.c
3044 modified: src/lib/libdwarf/dwarf_init_finish.c
3045 modified: src/lib/libdwarf/dwarf_line.c
3046 modified: src/lib/libdwarf/dwarf_loc.c
3047 modified: src/lib/libdwarf/dwarf_locationop_read.c
3048 modified: src/lib/libdwarf/dwarf_loclists.c
3049 modified: src/lib/libdwarf/dwarf_macro5.c
3050 modified: src/lib/libdwarf/dwarf_object_detector.c
3051 modified: src/lib/libdwarf/dwarf_print_lines.c
3052 modified: src/lib/libdwarf/dwarf_query.c
3053 modified: src/lib/libdwarf/dwarf_ranges.c
3054 modified: src/lib/libdwarf/dwarf_rnglists.c
3055 modified: src/lib/libdwarf/dwarf_str_offsets.c
3056 renamed: src/lib/libdwarf/dwarfstring.c -> src/lib/libdwarf/dwarf_string.c
3057 renamed: src/lib/libdwarf/dwarfstring.h -> src/lib/libdwarf/dwarf_string.h
3058 modified: src/lib/libdwarf/dwarf_util.c
3059 modified: src/lib/libdwarf/dwarf_xu_index.c
3060 modified: src/lib/libdwarfp/Makefile.am
3061 renamed: src/lib/libdwarfp/dwarfstring.c -> src/lib/libdwarfp/dwarf_string.c
3062 modified: src/lib/libdwarfp/pro_init.c
3063 modified: src/lib/libdwarfp/pro_log_extra_flag_strings.c
3064 modified: test/CMakeLists.txt
3065 modified: test/Makefile.am
3066 modified: test/test_dwarfstring.c
3067 modified: test/test_extra_flag_strings.c
3068 modified: test/test_linkedtopath.c
3069
3070 2021-09-03: David Anderson
3071 commit 69af3e507e90a6689f04a982482c9e4e2d2cfcbc
3072
3073 This is renaming of dwgetopt.[hc] and crc32.c
3074 to have dwarf_ prefix for anyone seeing
3075 libdwarf in a stack trace.
3076 modified: src/bin/attr_form/Makefile.am
3077 modified: src/bin/attr_form/attr_form_build.c
3078 modified: src/bin/dwarfdump/CMakeLists.txt
3079 modified: src/bin/dwarfdump/Makefile.am
3080 modified: src/bin/dwarfdump/command_options.c
3081 renamed: src/bin/dwarfdump/dwgetopt.c -> src/bin/dwarfdump/dwarf_getopt.c
3082 renamed: src/bin/dwarfdump/dwgetopt.h -> src/bin/dwarfdump/dwarf_getopt.h
3083 modified: src/bin/dwarfgen/CMakeLists.txt
3084 modified: src/bin/dwarfgen/Makefile.am
3085 renamed: src/bin/dwarfgen/dwgetopt.c -> src/bin/dwarfgen/dwarf_getopt.c
3086 renamed: src/bin/dwarfgen/dwgetopt.h -> src/bin/dwarfgen/dwarf_getopt.h
3087 modified: src/bin/dwarfgen/dwarfgen.cc
3088 modified: src/bin/gennames/Makefile.am
3089 modified: src/bin/gennames/gennames.c
3090 modified: src/bin/tag_attr/Makefile.am
3091 modified: src/bin/tag_attr/tag_attr.c
3092 modified: src/bin/tag_tree/Makefile.am
3093 modified: src/bin/tag_tree/tag_tree.c
3094 modified: src/lib/libdwarf/CMakeLists.txt
3095 modified: src/lib/libdwarf/Makefile.am
3096 renamed: src/lib/libdwarf/crc32.c -> src/lib/libdwarf/dwarf_crc.c
3097 renamed: src/lib/libdwarf/dwgetopt.c -> src/lib/libdwarf/dwarf_getopt.c
3098 renamed: src/lib/libdwarf/dwgetopt.h -> src/lib/libdwarf/dwarf_getopt.h
3099 modified: test/CMakeLists.txt
3100 modified: test/Makefile.am
3101 modified: test/getopttest.c
3102
3103 2021-09-02: David Anderson
3104 commit ec5f180a27421cc4ef3cc6f22a962eb6ae961ff7
3105
3106 make rebuild
3107 added the new LLVM TAG.
3108 modified: src/lib/libdwarf/dwarf_names.c
3109
3110 2021-09-02: David Anderson
3111 commit 56ef9f8ae5acd2e87fc139e797605f1ab7e2a98f
3112
3113 Added new DW_TAG_LLVM_annotation
3114 and resorted TAG entries to be in numeric order.
3115 modified: src/lib/libdwarf/dwarf.h
3116
3117 2021-09-02: David Anderson
3118 commit ef07a37a68a0c9a85ad90d6538e7abaaa2918901
3119
3120 Modified so it works with 3.10 cmake too.
3121 modified: test/CMakeLists.txt
3122
3123 2021-09-02: David Anderson
3124 commit eebf2237f2696348cb4e897b9f49e98fc441a361
3125
3126 Latest changes from git log
3127 incorporated
3128 modified: ChangeLog
3129
3130 2021-09-02: David Anderson
3131 commit 7c2a53f2854892f891c1872cf64e56a2bcc8b951
3132
3133 A fully functioning regex that does Posix Basic Regular
3134 Expression matching is now built into dwarfdump.
3135 modified: src/bin/dwarfdump/dd_regex.c
3136 modified: src/bin/dwarfdump/dd_regex.h
3137 This does a fairly large set of testcases
3138 in make check (and for cmake too).
3139 modified: test/test_regex.c
3140
3141 2021-08-31: David Anderson
3142 commit 8dc87d5b997f529b80884a6e306687ab402b8463
3143
3144 Minor tweak of the incomplete dd_regex.c code.
3145 DO NOT USE -Sregex as it does not yet work.
3146 and 'make check' fails its regex changes.
3147 modified: src/bin/dwarfdump/dd_regex.c
3148
3149 2021-08-31: David Anderson
3150 commit 08fa32841bade1ceea9492b1aea05932d1b7559d
3151 Merge: b4fd80f4 0a98801c
3152
3153 Merge branch 'master' of https://github.com/davea42/libdwarf-code
3154
3155 README.md now has improved MarkDown markings.
3156
3157 2021-08-31: David Anderson
3158 commit 0a98801c08ed3d2c6a198205fcc40c0ae1711a0f
3159 Merge: 6615a59f 50f7563f
3160
3161 Merge pull request #47 from vtorri/vtorri_readme
3162
3163 Use markdown features for README.md
3164
3165 2021-08-31: David Anderson
3166 commit b4fd80f411d81767c83f5544ed01444a25886d81
3167
3168 DO NOT USE THIS COMMIT.
3169 Incomplete.
3170
3171 Modified the doc of -Sregex
3172 modified: doc/dwarfdump.1
3173 New version, writing t. Not from the
3174 internet.
3175 modified: src/bin/dwarfdump/dd_regex.c
3176 Modified declaration.
3177 modified: src/bin/dwarfdump/dd_regex.h
3178 Added new tests
3179 modified: test/test_regex.c
3180
3181 2021-08-27: David Anderson
3182 commit c81ad1b4bd924847770c575677eed3134c8b83ae
3183
3184 Version 4.7 27 August 2021.
3185 The example code for dwarf_get_location_op_value_d()
3186 mixed up the arguments opd<n> vs raw<n>
3187 which was quite bad as the compiler could not help
3188 anyone find the mistake. Fixed in the document.
3189 modified: libdwarf.mm
3190 modified: libdwarf.pdf
3191
3192 2021-08-27: David Anderson
3193 commit 37fa82942e4b9b66de6358410b1335cfa7fa182d
3194
3195 DO NOT USE THIS COMMIT. Works better
3196 but full of debug lines.
3197 modified: src/bin/dwarfdump/dd_regex.c
3198 modified: test/test_regex.c
3199
3200 2021-08-26: David Anderson
3201 commit 0be9ce8cac5963f30c547404b785c947e0570b02
3202
3203 DO NOT USE THIS COMMIT.
3204 Bug not fixed.
3205 modified: dd_regex.c
3206
3207 2021-08-26: David Anderson
3208 commit c67defd3a9d8eb62bcdef58e7a5afa1b4d4d0494
3209
3210 DO NOT USE THIS COMMIT.
3211 A work in progress.
3212 modified: src/bin/dwarfdump/dd_regex.c
3213 modified: test/test_regex.c
3214
3215 2021-08-26: Vincent Torri
3216 commit 50f7563f9553677382486ee1846f3493bed6ccd8
3217
3218 Use markdown features for README.md
3219
3220 modified: README.md
3221
3222 2021-08-21: David Anderson
3223 commit 06928e93bac0cedc65ffb9028efaaa54bd7d0a02
3224
3225 DO NOT USE THIS COMMIT.
3226 the dd_regex.c is only 7-bit char safe.
3227
3228 Otherwise it works well. Added a new test
3229 for regex in test/
3230 modified: CMakeLists.txt
3231 modified: configure.ac
3232 modified: src/bin/dwarfdump/CMakeLists.txt
3233 modified: src/bin/dwarfdump/Makefile.am
3234 modified: src/bin/dwarfdump/command_options.c
3235 modified: src/bin/dwarfdump/dd_regex.c
3236 modified: src/bin/dwarfdump/dwarfdump.c
3237 modified: src/bin/dwarfdump/glflags.c
3238 modified: src/bin/dwarfdump/glflags.h
3239 modified: src/bin/dwarfdump/globals.h
3240 modified: src/bin/dwarfdump/print_die.c
3241 modified: test/CMakeLists.txt
3242 modified: test/test_regex.c
3243
3244 2021-08-21: David Anderson
3245 commit e41891bc7ac83f006c32ad7b88b1fc6c12c066a8
3246
3247 Brings a public domain regex into dwarfdump
3248 DO NOT USE THIS COMMIT.
3249 It only does 7-bit ascii and still used libc regex
3250 if present.
3251 modified: src/bin/dwarfdump/dd_regex.c
3252 modified: test/CMakeLists.txt
3253 modified: test/Makefile.am
3254 modified: test/test_regex.c
3255
3256 2021-08-21: David Anderson
3257 commit 174ae601217b1f5ebed218acffcf0ab66d9d32ae
3258
3259 added hints (comments for coverity scan )
3260 modified: src/lib/libdwarf/dwarf_alloc.c
3261
3262 2021-08-17: David Anderson
3263 commit 847264b71dd7a23a9d46629391f23985616596db
3264
3265 DO NOT USE THIS COMMIT
3266 The source and test are now in the intended form
3267 with dwarfdump-like (libdwarf-like) arguments
3268 and return values.
3269 Basically works, but... corner cases
3270 perhaps not working as expected.
3271 modified: src/bin/dwarfdump/dd_regex.c
3272 modified: src/bin/dwarfdump/dd_regex.h
3273 new file: test/test_regex.c
3274
3275 2021-08-17: David Anderson
3276 commit 22ff6e700d2bcf8c31ec16c79ba79d1604cb1a0f
3277
3278 dwarfdump files now compile with new
3279 function declarations.
3280 modified: dd_regex.c
3281 modified: dd_regex.h
3282
3283 2021-08-17: David Anderson
3284 commit 302d672243a0b9a8af8dd1982829d231d18f4a2f
3285
3286 DO NOT USE THIS COMMIT. revising interfaces
3287 and reformatting lines in progress.
3288 modified: dd_regex.c
3289 modified: dd_regex.h
3290
3291 2021-08-17: David Anderson
3292 commit 931ab9da63a372badda2137fcafc7137ae4a57e3
3293
3294 Initial public domain source of code that
3295 does Posix Basic Regular Expressions.
3296 So all dwarfdump users have such available
3297 for dwarfdump -S (--search-match) options.
3298 new file: src/bin/dwarfdump/dd_regex.c
3299 new file: src/bin/dwarfdump/dd_regex.h
3300
3301 2021-08-16: David Anderson
3302 commit 6615a59f9ce5c5bf6dea7a466887e8cf8de757b3
3303 Merge: 3134aac9 cad88ab6
3304
3305 Merge pull request #46 from vtorri/vtorri_ignore1
3306
3307 ignore libdwarfp.pc and a conf file in test/
3308
3309 2021-08-15: David Anderson
3310 commit 3134aac902ac4e1bedbd7db18808684cc590ef74
3311
3312 Revoking a change I made a few days ago
3313 that prevented building shared and non-shared
3314 in one run.
3315 modified: CMakeLists.txt
3316
3317 2021-08-15: Vincent Torri
3318 commit cad88ab653f90dbee9172a3316ca0b107c5935b0
3319
3320 ignore libdwarfp.pc and a conf file in test/
3321
3322 modified: .gitignore
3323
3324 2021-08-15: David Anderson
3325 commit 138f2242444eef3a142f9e43b8244d2bed3ff09f
3326 Merge: 6ac2df5c d2922d0e
3327
3328 Merge pull request #45 from vtorri/vtorri_tsearch3
3329
3330 Revert work about string and tsearch
3331
3332 2021-08-15: Vincent Torri
3333 commit d2922d0ecbbc3ebd617c3ce44c3fbc934443c8c0
3334
3335 missing dwarf_tsearch in dwarfdump
3336
3337 2021-08-15: Vincent Torri
3338 commit 1e264d34f5f0e94426fc16df9277e28cdc7aa1ef
3339
3340 fix paths in tied test
3341
3342 2021-08-15: Vincent Torri
3343 commit bd73e7a29a3475c44113a6e78516fbe23a46c32c
3344
3345 fix paths in wqtests
3346
3347 2021-08-15: Vincent Torri
3348 commit 220e69ff415f316017bb584b197c8f74b20b86da
3349
3350 Revert work about string and tsearch
3351
3352 modified: Makefile.am
3353 modified: configure.ac
3354 modified: src/bin/attr_form/Makefile.am
3355 modified: src/bin/buildopstab/Makefile.am
3356 modified: src/bin/dwarfdump/Makefile.am
3357 modified: src/bin/dwarfdump/dwarf_tsearchbal.c
3358 modified: src/bin/tag_attr/Makefile.am
3359 modified: src/bin/tag_tree/Makefile.am
3360 deleted: src/lib/dwarfstring/Makefile.am
3361 deleted: src/lib/dwarftsearch/Makefile.am
3362 modified: src/lib/libdwarf/Makefile.am
3363 renamed: src/lib/dwarftsearch/dwarf_tsearch.h -> src/lib/libdwarf/dwarf_tsearch.h
3364 renamed: src/lib/dwarftsearch/dwarf_tsearchhash.c -> src/lib/libdwarf/dwarf_tsearchhash.c
3365 renamed: src/lib/dwarfstring/dwarfstring.c -> src/lib/libdwarf/dwarfstring.c
3366 renamed: src/lib/dwarfstring/dwarfstring.h -> src/lib/libdwarf/dwarfstring.h
3367 modified: src/lib/libdwarfp/Makefile.am
3368
3369 2021-08-15: David Anderson
3370 commit 6ac2df5c0ef9fb2f04c3ce66e1fe91a3a1c446b0
3371 Merge: 7b4882ec f4e32822
3372
3373 Merge pull request #42 from vtorri/master
3374
3375 Fix undefined references in libdwarfp
3376
3377 2021-08-15: Vincent Torri
3378 commit f4e32822338ac65e20d26e3ef4a5db6f315e711f
3379
3380 Fix undefined references in libdwarfp
3381
3382 deleted: src/lib/libdwarfp/memcpy_swap.h
3383 modified: src/lib/libdwarfp/Makefile.am
3384 modified: src/lib/libdwarfp/pro_init.c
3385
3386 2021-08-14: David Anderson
3387 commit 7b4882ecff8d11bdb2a73f5ebb9f737bd7c66655
3388 Merge: 68ba24f5 de4b7f95
3389
3390 Merge pull request #41 from vtorri/master
3391
3392 Move dwarftsearch code to its own static library.
3393
3394 2021-08-14: Vincent Torri
3395 commit de4b7f95c3754f733bdf380dd9e713e80abfea5b
3396
3397 fix dwarf_tsearchhash.c location in tied test
3398
3399 2021-08-14: Vincent Torri
3400 commit 2bd8e9d0a00ed119008bdc454ff3e0245387630a
3401
3402 fix include search path for macrocheck test
3403
3404 2021-08-14: Vincent Torri
3405 commit 70a98028015cf83a85c4beffc4dd47fc94edc2c4
3406
3407 fix include search path for tagattr
3408
3409 2021-08-14: Vincent Torri
3410 commit 6a26e1766712d72a2523d5a147b4c68b77688336
3411
3412 fix include search path for tagtree
3413
3414 2021-08-14: Vincent Torri
3415 commit 1e2018835970f22ac79fb6e9968d501f210d17dd
3416
3417 Move dwarftsearch code to its own static library.
3418
3419 deleted: src/bin/dwarfdump/dwarf_tsearch.h
3420 new file: src/lib/dwarftsearch/Makefile.am
3421 renamed: src/lib/libdwarf/dwarf_tsearch.h -> src/lib/dwarftsearch/dwarf_tsearch.h
3422 renamed: src/lib/libdwarf/dwarf_tsearchhash.c -> src/lib/dwarftsearch/dwarf_tsearchhash.c
3423 modified: Makefile.am
3424 modified: configure.ac
3425 modified: src/bin/attr_form/Makefile.am
3426 modified: src/bin/dwarfdump/Makefile.am
3427 modified: src/lib/dwarfstring/Makefile.am
3428 modified: src/lib/libdwarf/Makefile.am
3429 modified: src/lib/libdwarfp/Makefile.am
3430 modified: test/Makefile.am
3431
3432 2021-08-14: David Anderson
3433 commit 68ba24f5b70c194fb0ebd4c4a16853498707b5f6
3434 Merge: e60419bc 82691c24
3435
3436 Merge pull request #40 from vtorri/vtorri_dwpapi
3437
3438 The API macro in libdwarfp must different from the one in libwarf on Windows
3439
3440 2021-08-14: Vincent Torri
3441 commit 82691c24956ba9cc283a63b5e216ca927364c65f
3442
3443 libdwarfp: the API macro in libdwarfp must different from the one in
3444 libwarf on Windows
3445
3446 modified: src/lib/libdwarfp/Makefile.am
3447 modified: src/lib/libdwarfp/libdwarfp.h
3448
3449 2021-08-14: David Anderson
3450 commit e60419bc12d28154b55a3c9722d3e864bb556ec7
3451
3452 Now the _swap_ small private functions are separated
3453 from dwarf_util.c and the includes ref the new name.
3454 Linux shared libs not buildable with -fvisibility
3455 at this point. But the new
3456 dwarf_memcpy_swap.c,h help get to a workable sharedbuild.
3457 modified: src/lib/libdwarf/CMakeLists.txt
3458 modified: src/lib/libdwarf/Makefile.am
3459 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
3460 modified: src/lib/libdwarf/dwarf_elfread.c
3461 modified: src/lib/libdwarf/dwarf_gdbindex.c
3462 modified: src/lib/libdwarf/dwarf_init_finish.c
3463 modified: src/lib/libdwarf/dwarf_machoread.c
3464 new file: src/lib/libdwarf/dwarf_memcpy_swap.c
3465 renamed: src/lib/libdwarf/memcpy_swap.h -> src/lib/libdwarf/dwarf_memcpy_swap.h
3466 modified: src/lib/libdwarf/dwarf_object_detector.c
3467 modified: src/lib/libdwarf/dwarf_peread.c
3468 modified: src/lib/libdwarf/dwarf_util.c
3469
3470 This now has DW_API so -fvisibility=hidden
3471 is possible (but not yet ready).
3472 modified: src/lib/libdwarfp/libdwarfp.h
3473
3474 2021-08-14: David Anderson
3475 commit 0d11fab68b65097c7d6665cacb8b3b70c7c401ab
3476 Merge: a68b92e9 8c0c0119
3477
3478 Merge pull request #38 from vtorri/vtorri_dwarfstring
3479
3480 Move dwarfstring code to its own static library.
3481
3482 2021-08-14: Vincent Torri
3483 commit 8c0c01198aa80e40b0c87333cbbac00b82b62674
3484
3485 fix missing dwarfstring preprocessor flag
3486
3487 2021-08-14: Vincent Torri
3488 commit a546e65fe01c071cb5022cc9838797fe988032d9
3489
3490 fix dwarfstring paths
3491
3492 2021-08-14: Vincent Torri
3493 commit e1a9952d68c4d0f4d16c364576eedab483c54810
3494
3495 add missing code in test/
3496
3497 2021-08-14: Vincent Torri
3498 commit 27e0383900d4a58f11d3fd57a57a63a8daa2f970
3499
3500 Move dwarfstring code to its own static library.
3501 It is used in libdwwarf and libdwarfp.
3502
3503 new file: src/lib/dwarfstring/Makefile.am
3504 renamed: src/lib/libdwarf/dwarfstring.c -> src/lib/dwarfstring/dwarfstring.c
3505 renamed: src/lib/libdwarf/dwarfstring.h -> src/lib/dwarfstring/dwarfstring.h
3506 modified: Makefile.am
3507 modified: configure.ac
3508 modified: src/lib/libdwarf/Makefile.am
3509 modified: src/lib/libdwarfp/Makefile.am
3510
3511 2021-08-13: David Anderson
3512 commit a68b92e9da0862fed9720047b28e93d08ee6f22a
3513
3514 removes dwarfdump/dwarf_names.c from the build.
3515 Leaving libdwarf/dwarf_names.c (which gets
3516 built into libdwarf and is generated from dwarf.h).
3517 modified: src/bin/attr_form/Makefile.am
3518 modified: src/bin/dwarfdump/CMakeLists.txt
3519 modified: src/bin/dwarfdump/Makefile.am
3520 modified: src/bin/gennames/Makefile.am
3521 modified: src/bin/tag_attr/Makefile.am
3522 modified: src/bin/tag_tree/Makefile.am
3523
3524 2021-08-13: David Anderson
3525 commit b230199ca75e5864bc95dad34ea0ff4e3c135064
3526 Merge: 97415e4a 80a0f395
3527
3528 Merge pull request #37 from vtorri/vtorri_api
3529
3530 Add DW_API to explicitly set public symbols
3531
3532 2021-08-13: Vincent Torri
3533 commit 80a0f39597bbcf4d978db05a5f52dc11924f49a5
3534
3535 Add DW_API to explicitly set public symbols
3536
3537 This allow less collision symbols, detect errors,
3538 optimisations during link, etc..
3539
3540 On Windows, here are some numbers :
3541
3542 Libraries both compiled with -O2
3543
3544 without DW_API : 584815 bytes
3545 with DW_API : 578671 bytes
3546
3547 1.05% gain (size)
3548
3549 after stripping :
3550
3551 without DW_API : 453120 bytes 506 symbols
3552 with DW_API : 446976 bytes 338 symbols
3553
3554 1.35% gain (size)
3555
3556 modified: src/lib/libdwarf/Makefile.am
3557 modified: src/lib/libdwarf/libdwarf.h
3558
3559 2021-08-12: David Anderson
3560 commit 97415e4a681dcd4fc64636ab93073764afd325c6
3561 Merge: fe40a21c 65f71b04
3562
3563 Merge pull request #36 from vtorri/vtorri_README
3564
3565 configure.ac: throw an error on Windows if a static library is requested
3566
3567 2021-08-12: David Anderson
3568 commit fe40a21c0211f35ed44e30acb58b552932545427
3569
3570 If shared-library build requested no archive library
3571 is built (used to build both on request).
3572 modified: CMakeLists.txt
3573
3574 Alterations to build opscounttab.c properly.
3575 modified: src/bin/buildopstab/Makefile.am
3576
3577 Now does more checking and adds a useful
3578 comment in the output opscounttab.c where
3579 we have a DW_OP with two spellings (which are extensions,
3580 not standard DW_OP instances).
3581 Reads dwarf.h to be sure the fast-access table
3582 has all the named DW_OP in dwarf.h present in the
3583 generated source..
3584 Now includes config.h.
3585 data is static not malloc-d.
3586 modified: src/bin/buildopstab/buildopscounttab.c
3587
3588 Now with the better messages.
3589 modified: src/bin/dwarfdump/opscounttab.c
3590
3591 The externally-visible table is now _dwarf_opscounttab
3592 as it is not supposed to be visible or used outside the library.
3593 modified: src/bin/dwarfdump/opscounttab.h
3594
3595 dwarf_opscounttab->_dwarf_opscounttab
3596 modified: src/bin/dwarfdump/print_die.c
3597
3598 2021-08-12: David Anderson
3599 commit 70439c708101b37f5ba010002152bcee9ed23358
3600
3601 Removed #include "opscounttab.h", it is not necessary.
3602 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
3603
3604 2021-08-12: Vincent Torri
3605 commit 65f71b0445cda470ae9aab40657abc4361547459
3606
3607 README: update documention for Windows with MSYS2 + mingw-w64
3608
3609 modified: README
3610
3611 2021-08-12: Vincent Torri
3612 commit 83c0ae15fb96ab5ce30270fd9d215d4438e70539
3613
3614 configure.ac: throw an error
3615
3616 modified: configure.ac
3617
3618 2021-08-11: David Anderson
3619 commit be443a7357d100b3d5498f2a71163dc44104140b
3620 Merge: 1a0ed719 559edece
3621
3622 Merge pull request #34 from vtorri/vtorri_cfg
3623
3624 Replace C comments in configure.ac with valid comment
3625
3626 2021-08-10: David Anderson
3627 commit 1a0ed71976828c64d29429f70f1cfd6aeeccd506
3628
3629 Added DW_API on the set of function declarations
3630 modified: src/bin/gennames/gennames.c
3631 replace the existing list dwarf_get_AT_name etc
3632 with the one gennames.c generates.
3633 Added
3634 near the beginning of libdwarf.h
3635 modified: src/lib/libdwarf/libdwarf.h
3636
3637 2021-08-11: Vincent Torri
3638 commit 559edecea67b5c0fb4977889a265d85b062dab03
3639
3640 Replace C comments in configure.ac with valid comment
3641 modified: configure.ac
3642
3643 2021-08-10: David Anderson
3644 commit c5143f8e5433bdfcfea694770c7616789daf7abb
3645
3646 These are no longer #include-d anywhere. The content
3647 is always in libdwarf.h
3648 deleted: src/bin/dwarfdump/dwarf_names.h
3649 deleted: src/lib/libdwarf/dwarf_names.h
3650
3651 Removed all references to dwarf_names.h except
3652 in a single CLEANFILES
3653 Ensured that the compiler warning options are passed
3654 to all the test files (there were typos in that Makefile.am)
3655 modified: src/bin/buildopstab/Makefile.am
3656 modified: src/bin/dwarfdump/CMakeLists.txt
3657 modified: src/bin/dwarfdump/Makefile.am
3658 modified: src/bin/gennames/Makefile.am
3659 modified: src/lib/libdwarf/Makefile.am
3660 modified: test/Makefile.am
3661 modified: src/lib/libdwarf/CMakeLists.txt
3662
3663 Removed obsolete options and unused variables.
3664 We sort the output function names dwarf_names.h by character
3665 compares, where lowercase is elevated to uppercase
3666 for the comparison, which
3667 achieves a better look in the output.
3668 The dwarf_names.h is a candidate to replace the
3669 list of these protypes in libdwarf.h
3670 modified: src/bin/gennames/gennames.c
3671
3672 Removed unused argument. Where Argument required
3673 but unused (when faking something in libdwarf
3674 so the test program will link) marked as UNUSEDARG to silence
3675 warning.
3676 modified: test/test_linkedtopath.c
3677
3678 2021-08-10: David Anderson
3679 commit 0f8edbd7d7fa00dba2d47af49cbd137ddc9fb242
3680
3681 This source is not part of dwarfdump. Moved to its
3682 own directory. Slightly changed so we avoid using dwarf_names.h
3683 as we get the same data from libdwarf.h
3684 The program generates a fresh opcountstab.c for dwarfdump.
3685 Used by 'make rebuild'
3686 renamed: src/bin/dwarfdump/buildopscounttab.c -> src/bin/buildopstab/buildopscounttab.c
3687
3688 Adding in buildopstab as a target directory
3689 modified: Makefile.am
3690 modified: configure.ac
3691
3692 Builds buildopstab and, with 'make rebuild' it recreates
3693 opscounttab.c and moves it to src/bin/dwarfdump.
3694 new file: src/bin/buildopstab/Makefile.am
3695
3696 Now avoids naming dwarf_names.h and buildopscounttab.c
3697 modified: src/bin/dwarfdump/Makefile.am
3698
3699 These two will disappear shortly.
3700 modified: src/bin/dwarfdump/dwarf_names.h
3701 modified: src/lib/libdwarf/dwarf_names.h
3702
3703 2021-08-10: David Anderson
3704 commit f69f5e1f4631997f5b10a0aaadfa3f2457f6cf9f
3705
3706 Now prints the list of function declarations
3707 in the desired order and without the extern keyword.
3708 modified: src/bin/gennames/gennames.c
3709
3710 2021-08-10: David Anderson
3711 commit 53d4a8d5856f3454ba08e4439ecb9c5a2e662db1
3712
3713 Bring this up to date with git log.
3714 modified: ChangeLog
3715
3716 2021-08-10: David Anderson
3717 commit 06afce1ad73862c7e73b06583ff7d6ae99b3f86e
3718
3719 Correcting indents and trailing whitespace.
3720 modified: test/test_errmsglist.c
3721
3722 2021-08-10: David Anderson
3723 commit f340ef8b3af2057bb66915f7935f67a915751154
3724
3725 Correct indentation and trailing whitespace.
3726 modified: src/lib/libdwarf/libdwarf.h
3727
3728 2021-08-10: David Anderson
3729 commit d82fd189a8885362b870540357eebd623bf22134
3730
3731 Restore correct ctest -R self for the errmsglist check.
3732 Botched it last night.
3733 modified: test/CMakeLists.txt
3734 modified: test/test_errmsglist.c
3735
3736 2021-08-09: David Anderson
3737 commit 422ad97027aabfcd8ebbb83f392ce4612408b71a
3738
3739 Removing unnecessary .am settings and removing an obsolete CLEANUP entry.
3740 modified: doc/Makefile.am
3741 modified: scripts/CLEANUP
3742 modified: src/lib/libdwarf/Makefile.am
3743 modified: src/lib/libdwarfp/Makefile.am
3744
3745 2021-08-09: David Anderson
3746 commit d7bbc90cfcf42d993669f30d66b40559245aed25
3747
3748 With the new version 0.1.2
3749 regenerated these source files with 'make rebuild', each has
3750 comment lines showing the version.
3751 modified: src/bin/dwarfdump/dwarf_names.c
3752 modified: src/bin/dwarfdump/dwarf_names.h
3753 modified: src/bin/dwarfdump/dwarfdump-af-table.h
3754 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
3755 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
3756 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
3757 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
3758 modified: src/lib/libdwarf/dwarf_names.c
3759 modified: src/lib/libdwarf/dwarf_names.h
3760
3761 2021-08-09: David Anderson
3762 commit 3009dd2ed7884b15db63d57449837ddeec764bd0
3763
3764 More on the renaming of dwarf_skip_leb128 to _dwarf_skip_leb128;
3765 the implementation renamed here.
3766 modified: src/lib/libdwarf/dwarf_leb.c
3767
3768 2021-08-09: David Anderson
3769 commit 89ed114bd51c53c6e9f60d08448e9c4a98717cc8
3770
3771 In 0.1.1 dwarf_skip_leb128 was made public.
3772 That was not necessary.
3773 All it does (in libdwarf) is let us avoid
3774 compiler warnings about unused variables in
3775 a few places.
3776 It is removed from libdwarf.h
3777 It is renamed _dwarf_skip_leb128 in dwarf_opaque.h
3778 modified: src/lib/libdwarf/dwarf_opaque.h
3779 modified: src/lib/libdwarf/dwarf_util.h
3780 modified: src/lib/libdwarf/libdwarf.h
3781 modified: test/dwarf_leb_test.c
3782
3783 2021-08-09: David Anderson
3784 commit 79342e6f7ed03581268d3932ec03b39180cc704e
3785
3786 The table of nearly 500 error strings is now a simple
3787 array, eliminating nearly 500 relocations
3788 from DSO startup. It does take 50K space, whereas
3789 the real strings are about 24K. But the relocations
3790 are a time waster.
3791 Shortened a few default error strings that were
3792 overly long --- Reducing the string length static dimension
3793 by about 13 bytes each entry compared to previous.
3794 modified: src/lib/libdwarf/dwarf_errmsg_list.h
3795 modified: src/lib/libdwarf/dwarf_error.c
3796 Added new checks to determine the wasted space and
3797 check that the new message content is set up properly.
3798 The short report it prints is for maintainers
3799 who change these things.
3800 modified: test/test_errmsglist.c
3801
3802 2021-08-09: David Anderson
3803 commit ce659d3b8a0c286e1fcd62957daf03cab223dc03
3804
3805 Now version 0.1.2
3806 modified: CMakeLists.txt
3807 modified: configure.ac
3808
3809 2021-08-08: David Anderson
3810 commit a9057254877a65896cf6dee4c9071a38e6b933c6
3811
3812 Now avoids an annoying warning
3813 by checking whether Makefile exists
3814 before trying 'make maintainer-clean'
3815 modified: scripts/CLEANUP
3816
3817 2021-08-07: David Anderson
3818 commit 81512c3f49491208397f926838d6dbacbf780927
3819
3820 Changes in commentary, including a usage hint.
3821 modified: scripts/buildandreleasetest.sh
3822
3823 2021-08-05: David Anderson
3824 commit 07affda6b0a89376b4f648d81d742f607e974a16
3825
3826 src/bin/dwarfexample
3827 Revert last commit. It was incorrect.
3828 modified: Makefile.am
3829 Fixed to use WORDS_BIGENDIAN properly for the
3830 make check test
3831 modified: dwdebuglink.c
3832
3833 2021-08-05: David Anderson
3834 commit 5b579984b0c17c304f2c8a49001aa6e37e925ca7
3835
3836 This brings DWARF_BIGENDIAN into the build of
3837 dwdebuglink so results match a baseline build littleendian
3838 on the 32bit crc.
3839 modified: src/bin/dwarfexample/Makefile.am
3840 modified: src/bin/dwarfexample/dwdebuglink.c
3841
3842 2021-08-05: David Anderson
3843 commit 1bdb598a9a2886c82a5d6c9d89f3e4166897fe82
3844
3845 Mention that pkg-config is needed
3846 to build libdwarf as of July 2021
3847 modified: README
3848
3849 2021-08-04: David Anderson
3850 commit 88f8563c10fea31fcbcc67e50f0d4e24cf365b60
3851
3852 Updated with latest ChangeLog data
3853 modified: ChangeLog
3854
3855 2021-08-04: David Anderson
3856 commit f03c6132d7eabc2012cba9e7e6ae22554d9c3bc5
3857
3858 Fixed indent and trailing whitespace.
3859 A few lines were needlessly long, move characters to
3860 following line.
3861 modified: src/bin/dwarfdump/command_options.c
3862 modified: src/bin/dwarfdump/print_die.c
3863 modified: src/bin/dwarfdump/print_frames.c
3864 modified: src/bin/dwarfdump/print_pubnames.c
3865
3866 2021-08-04: David Anderson
3867 commit 12b9443c595ffe3ded23830bb689c416f774f23f
3868
3869 Remove trailing whitespace and a few indent errors.
3870 modified: src/lib/libdwarfp/pro_dnames.c
3871
3872 2021-08-04: David Anderson
3873 commit 4b87d2c89bc970ac782305465bd3becba8abb736
3874
3875 Fix indents, remove trailing whitespace.
3876 Remove one debug printf.
3877 modified: src/lib/libdwarf/dwarf_debugnames.c
3878 modified: src/lib/libdwarf/dwarf_die_deliv.c
3879 modified: src/lib/libdwarf/dwarf_form.c
3880 modified: src/lib/libdwarf/dwarf_global.c
3881 modified: src/lib/libdwarf/dwarf_leb.c
3882 modified: src/lib/libdwarf/dwarf_query.c
3883
3884 2021-08-04: David Anderson
3885 commit b058e47027763a60705892bf0b88e0ca0c602552
3886
3887 These fix warnings about unused variables.
3888
3889 DECODE_LEB128_UWORD_LEN_CK->DECODE_LEB128_UWORD_CK
3890 as we don't need to have the length, just the value.
3891 modified: src/lib/libdwarf/dwarf_dsc.c
3892
3893 Here we avoid the need for a local variable we cannot use.
3894 Because in some cases we just need to skate
3895 by an leb number and update the area pointer,
3896 not needing the value in the leb.
3897 DECODE_LEB128_UWORD_CK->SKIP_LEB128_CK
3898 DECODE_LEB128_SWORD_CK->SKIP_LEB128_CK
3899 modified: src/lib/libdwarf/dwarf_abbrev.c
3900 modified: src/lib/libdwarf/dwarf_die_deliv.c
3901 modified: src/lib/libdwarf/dwarf_macro.c
3902 The new
3903 SKIP_LEB128_LEN_CK used too.
3904 modified: src/lib/libdwarf/dwarf_frame2.c
3905 modified: src/lib/libdwarf/dwarf_util.c
3906
3907 New macros SKIP_LEB128_LEN_CK and SKIP_LEB128_CK.
3908 And some macros get a more explicit error value
3909 via _dwarf_error_string().
3910 modified: src/lib/libdwarf/dwarf_util.h
3911
3912 NEW LEB FUNCTION:
3913 Declare the new function dwarf_skip_leb128
3914 modified: src/lib/libdwarf/libdwarf.h
3915
3916 NEW LEB FUNCTION:
3917 Implement the new dwarf_skip_leb128 function.
3918 Faster than actually getting the value when
3919 we don't need the value. Works for signed and
3920 unsigned leb.
3921 modified: src/lib/libdwarf/dwarf_leb.c
3922
3923 Adds tests of leb skipping lengths
3924 modified: test/dwarf_leb_test.c
3925
3926 2021-08-04: David Anderson
3927 commit 33b13cdf9168d37ab70672033c490663c383fdd4
3928
3929 Ensure that, when building only shared libdwarf,
3930 that ctest -R can find libdwarf.so (via LD_LIBRARY_PATH)
3931 This is in one particular test of cmake here.
3932 modified: scripts/buildandreleasetest.sh
3933
3934 2021-08-03: David Anderson
3935 commit 3ed0a883f8c97b790a6720611fb9ce803936bad6
3936
3937 Remove a silly blank line.
3938 modified: src/lib/libdwarf/dwarf_frame2.c
3939
3940 Avoid reading a fixed-length blob of bytes when
3941 we do not need to read, just to increment the
3942 pointer. Avoiding a complaint about a set-not-used
3943 variable. One instance in each of the following.
3944 modified: src/lib/libdwarf/dwarf_macro.c
3945 modified: src/lib/libdwarf/dwarf_macro5.c
3946
3947 2021-08-03: David Anderson
3948 commit 2354269ef56dcd351c8f97a394d063d17ec1ea28
3949
3950 Two lines of comment appeared twice in a row.
3951 Deleted one set.
3952 modified: src/lib/libdwarf/dwarf_util.c
3953
3954 2021-08-03: David Anderson
3955 commit 8bb89549baff6ec80c2482a5e89679f0bd2593f6
3956
3957 Moved a variable declaration to where it is needed.
3958 The read for an implicit const value is needed
3959 (for it all to work) but there is nothing we can
3960 do with the value here.
3961 modified: src/lib/libdwarf/dwarf_abbrev.c
3962
3963 2021-08-03: David Anderson
3964 commit f36570168a65644f43bebbdd74634f0a0431a932
3965
3966 It's here for anyone attempting to read the code
3967 that deals with the line table header versions, an overview.
3968 The file now marked as public domain.
3969 modified: src/lib/libdwarf/dw-linetableheader.txt
3970
3971 2021-08-03: David Anderson
3972 commit 690efc97ac26ec01533abf2854bf7b2450f023c4
3973
3974 baseline.ltp is not used anywhere, so is now deleted.
3975 modified: src/lib/libdwarf/Makefile.am
3976 deleted: src/lib/libdwarf/baseline.ltp
3977 deleted: src/lib/libdwarfp/baseline.ltp
3978
3979 2021-08-03: David Anderson
3980 commit c77e2afa3f3b293fe1e4b23c37585834bfc42570
3981
3982 ChangeLog
3983 Updated with latest commit log data
3984
3985 2021-08-03: David Anderson
3986 commit 4a1503eb9853384adba6784db3bb6e040ecf1e3c
3987
3988 Now prints the .debug_names header(s).
3989 modified: src/bin/dwarfdump/print_debug_names.c
3990
3991 Improved comment
3992 Now --force-empty-dnames option does something meaningful.
3993 modified: src/bin/dwarfgen/dwarfgen.cc
3994
3995 Now correctly reads .debug_names header data
3996 modified: src/lib/libdwarf/dwarf_debugnames.c
3997
3998 Corrected: now has dn_abbrev_table_size
3999 modified: src/lib/libdwarf/dwarf_debugnames.h
4000
4001 Function prototype for dwarf_dnames_sizes() is now correct.
4002 modified: src/lib/libdwarf/libdwarf.h
4003
4004 Now has a static setup for creating a real .debug_names
4005 section (with fake data). Via the dwarf_force_dnames()
4006 function (which is only useful for testing).
4007 Not yet possible to create section data via calls.
4008 modified: src/lib/libdwarfp/pro_dnames.c
4009
4010 Aligned member names in Dwarf_P_Dnames_Head_s.
4011 modified: src/lib/libdwarfp/pro_dnames.h
4012
4013 2021-07-30: David Anderson
4014 commit 517529a3bce248b2e4d7a8a4aebe2e7536ed1eb5
4015
4016 DO NOT USE (yet).
4017 Now the 'force dnames' option actually creates
4018 legal but arbitrary .debug_names section content
4019 for testing.
4020 modified: src/lib/libdwarfp/libdwarfp.h
4021 modified: src/lib/libdwarfp/pro_dnames.c
4022 modified: src/lib/libdwarfp/pro_dnames.h
4023 modified: src/lib/libdwarfp/pro_opaque.h
4024 modified: src/lib/libdwarfp/pro_section.c
4025
4026 2021-07-30: David Anderson
4027 commit 416652c3e97dfed91a2199212e30da9aac2f2ab3
4028
4029 DO NOT USE (yet).
4030 Basic correction of use of a debug_names interface
4031 use.
4032 modified: src/lib/libdwarf/dwarf_debugnames.c
4033
4034 2021-07-30: David Anderson
4035 commit 06d4d25a87c4ebdd1a86c3d222660a96bf6ef889
4036
4037 DO NOT USE THIS (yet)
4038 basic creation of a .debug_names section
4039 with faked data in libdwarfp.
4040 modified: src/bin/dwarfgen/dwarfgen.cc
4041 modified: src/bin/dwarfgen/ireptodbg.cc
4042
4043 2021-07-30: David Anderson
4044 commit a228fb5eab9ffb663fc34fd3957cb61216e41ccc
4045
4046 DO NOT USE (yet).
4047 Basic printing of .debug_dnames.
4048 modified: src/bin/dwarfdump/dwarfdump.c
4049 modified: src/bin/dwarfdump/print_debug_names.c
4050
4051 2021-07-28: David Anderson
4052 commit 8884f32b9f302a0d53f2aa4b5fb9c517d445a297
4053
4054 All these build singly-linked lists for temporary
4055 use. This new version uses simpler logic
4056 that does not involve if-else.
4057 See Steve Maguire, Writing Solid Code, Page 126.
4058 modified: dwarf_arange.c
4059 modified: dwarf_global.c
4060 modified: dwarf_line.c
4061 modified: dwarf_loclists.c
4062 modified: dwarf_query.c
4063 modified: dwarf_rnglists.c
4064
4065 2021-07-28: David Anderson
4066 commit fc1b3e910bf98aa728c51bd08342a5e02055ef50
4067
4068 if 0 the glflags.gf_debug_names_flag code
4069 as it is not correct yet.
4070 modified: src/bin/dwarfdump/dwarfdump.c
4071 A beginning of some revisions. Ignore this for now.
4072 modified: src/bin/dwarfdump/print_debug_names.c
4073
4074 Correcting the use of dwarf_global_formref()
4075 where the reference can be DW_AT_type and DW_FORM_ref_sig8
4076 so we understand what section is being targeted by
4077 an offset. And can check and report the target die TAG
4078 and name (if it has a DW_AT_name).
4079 modified: src/bin/dwarfdump/print_die.c
4080
4081 Just delete a pointless blank line.
4082 modified: src/bin/dwarfdump/print_pubnames.c
4083
4084 2021-07-28: David Anderson
4085 commit 0c5199d6a6ced9fa466d6c7632337ddf3519b1e6
4086
4087 These two are not ready to be used. Not yet correct.
4088 modified: src/lib/libdwarf/dwarf_debugnames.c
4089 modified: src/lib/libdwarf/dwarf_debugnames.h
4090
4091 Cleaned up spacing in find_cu_die_base_fields()
4092 Added _dwarf_fill_in_abcom_from_context() and
4093 _dwarf_fill_in_context_from_abcom so that
4094 abbreviations reading is no longer directly tied
4095 to .debug_abbrev but can now also be used for
4096 the abbreviations table in .debug_names.
4097 modified: src/lib/libdwarf/dwarf_die_deliv.c
4098
4099 More complete handlilng of is_info for DWARF4
4100 .debug_info/.debug_types. Now we use DW_FORM_ref_sig8
4101 to refer to .debug_types from .debug_info properly.
4102 dwarf_global_formref() and dwarf_global_formref_b()
4103 exist as the latter is needed for the offset
4104 in .debug_types needs to have the is_info =FALSE
4105 to check the reference.
4106 Other places needed slightly corrected handling
4107 of is_info.
4108 modified: src/lib/libdwarf/dwarf_form.c
4109
4110 Now with a new field, pubnames_context->pu_pub_entries_end_ptr,
4111 to provide a sharper 'end of an entries contribution error
4112 check' than simply the end of the section.
4113 modified: src/lib/libdwarf/dwarf_global.c
4114 Added Dwarf_Byte_Ptr pu_pub_entries_end_ptr;
4115 for the improved checking.
4116 modified: src/lib/libdwarf/dwarf_global.h
4117
4118 Now with _dwarf_fill_in_context_from_abcom() and
4119 _dwarf_fill_in_abcom_from_context() to isolate abbreviation
4120 reading from any specific section.
4121 modified: src/lib/libdwarf/dwarf_opaque.h
4122
4123 Using _dwarf_fill_in_context_from_abcom() and
4124 _dwarf_fill_in_abcom_from_context() to isolate abbreviation
4125 reading from any specific section.
4126 modified: src/lib/libdwarf/dwarf_query.c
4127
4128 Now using internal struct Dwarf_Abbrev_Common_s to
4129 isolate abbreviation reading from any specific section.
4130 modified: src/lib/libdwarf/dwarf_util.c
4131
4132 Declares a revised struct Dwarf_Abbrev_Common_s.
4133 modified: src/lib/libdwarf/dwarf_util.h
4134
4135 dwarf_formref now adds a Dwarf_Bool *is_info argument
4136 so we can fully treat DWARF4 debug_info/debug_names
4137 properly.
4138 This is a change to dwarf_formref() argument list.
4139 Added dwarf_global_formref_b() to return an is_info
4140 flag along with the offset (for DWARF4
4141 section .debug_info or .debug_names that offset applies to)
4142 Some dwarf_dnames function prototypes changed, but
4143 those are not yet correct, ignore them.
4144 modified: src/lib/libdwarf/libdwarf.h
4145
4146 2021-07-28: David Anderson
4147 commit 81ee54de5c146282fec67dec9375103c1069d61d
4148
4149 Uses dwarf_formref/dwarf_global_formref correctly,
4150 recognizing the is_info argment for DWARF4 debug_info/debug_types.
4151 shortened a couple too-long lines.
4152 modified: src/bin/dwarfgen/createirepformfrombinary.cc
4153
4154 2021-07-23: David Anderson
4155 commit bbbca00128b70a25ecb7132c90ee494abad5b692
4156
4157 DO NOT USE THIS COMMIT YET.
4158 modified: src/lib/libdwarf/dwarf_form.c
4159
4160 2021-07-23: David Anderson
4161 commit ad4aebecce0c6a8d4fe23f8d3c509754fd04937d
4162
4163 DO NOT USE THIS COMMIT YET.
4164 Preparation for unifying
4165 abbreviation reading from .debug_abbrev
4166 and .debug_names
4167 modified: dwarf_die_deliv.c
4168 modified: dwarf_query.c
4169 modified: dwarf_util.h
4170
4171 2021-07-23: David Anderson
4172 commit 399e023a36da18bd8dbd4f14d9ce2bcc8bd5a6c4
4173
4174 DO NOT USE THIS COMMIT YET.
4175
4176 Added comment, no guarantee uint32_t defined.
4177 modified: CMakeLists.txt
4178 Now ensures uint32_t defined, needed for DWARF5 hash.
4179 modified: configure.ac
4180
4181 2021-07-19: David Anderson
4182 commit 2e126424e347a66ab9d6d81a9b46692fd93b6c87
4183
4184 DO NOT USE THIS COMMIT.
4185 Now part way to a new set of .debug_names
4186 interfaces.
4187 modified: doc/libdwarf.mm
4188 modified: src/lib/libdwarf/dwarf_debugnames.c
4189 modified: src/lib/libdwarf/dwarf_debugnames.h
4190 modified: src/lib/libdwarf/dwarf_errmsg_list.h
4191 modified: src/lib/libdwarf/libdwarf.h
4192
4193 2021-07-15: David Anderson
4194 commit 550725b7e0dc9c112a948e8f4b867d5740563519
4195
4196 Updated with latest git commits
4197 modified: ChangeLog
4198
4199 2021-07-15: David Anderson
4200 commit c7036121fb9d47539953daf704f7dc29a3aef274
4201
4202 Deleted a few new-ish lines related to version number from autogen.sh.
4203 We now use PACKAGE_VERSION from config.h for the version string.
4204 So libdwarf_version.h header is deleted.
4205 modified: autogen.sh
4206 deleted: src/lib/libdwarf/libdwarf_version.h
4207 modified: src/lib/libdwarf/Makefile.am
4208
4209 The PACKAGE_VERSION string has a couple less blank
4210 characters than the date string from libdwarf_version.h
4211 so regenerating changed the comment line with the version string.
4212 modified: src/bin/dwarfdump/dwarf_names.c
4213 modified: src/bin/dwarfdump/dwarf_names.h
4214 modified: src/bin/dwarfdump/dwarfdump-af-table.h
4215 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
4216 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
4217 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
4218 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
4219 modified: src/lib/libdwarf/dwarf_names.c
4220 modified: src/lib/libdwarf/dwarf_names.h
4221
4222 Dropping libdwarf_version.h, using PACKAGE_VERSION from config.h
4223 modified: src/bin/attr_form/attr_form_build.c
4224 modified: src/bin/dwarfdump/common.c
4225 modified: src/bin/dwarfdump/dwarfdump.c
4226 modified: src/bin/gennames/gennames.c
4227 modified: src/bin/tag_attr/tag_attr.c
4228 modified: src/bin/tag_tree/tag_tree.c
4229 2021-07-15: David Anderson
4230 commit 12ef9e68b920c228532e7a386cbaa2115edae1fc
4231
4232 At three different stages we verify make doc
4233 and make rebuild can be done.
4234 Helping verify that make dist
4235 gets everything needed.
4236 modified: scripts/buildandreleasetest.sh
4237 2021-07-15: David Anderson
4238 commit 275553cba2646bed4aeeecf2535a1ab42012e994
4239
4240 Neglected bin/attr_form in one place.
4241 Mentioned files that no longer exist (oops)
4242 modified: Makefile.am
4243
4244 Mentioned files that no longer exist (oops)
4245 modified: src/bin/dwarfdump/Makefile.am
4246 modified: src/lib/libdwarf/Makefile.am
4247 2021-07-15: David Anderson
4248 commit 4d812f3ebb3265a2c3a92978bb0ce69208854f9b
4249
4250 Mentions the move to Semantic Versioning now.
4251 modified: NEWS
4252 2021-07-15: David Anderson
4253 commit 1507c2be60847925d177beda356740dbc5321665
4254
4255 This file is no longer used since make rebuild
4256 implemented.
4257 deleted: scripts/baseconfig.h
4258
4259 2021-07-15: David Anderson
4260 commit f2f5a0acaa6c01200b28e31c4d0ab4b6ba616c4b
4261
4262 This script is no longer needed or wanted.
4263 autogen.sh updates the libdwarf_version.h
4264 with the proper version number string instead
4265 of a date.
4266 deleted: scripts/UPDATEDWARFDUMPVERSION.sh
4267
4268 2021-07-15: David Anderson
4269 commit 154a84c5d4bf045d845ad10bf08b21954686f43b
4270
4271 Bringing ChangeLog up to date from git log.
4272 As a result of this all ChangeLog entries for the project
4273 wind up in the base 'code' directory ChangeLog.
4274 modified: ChangeLog
4275
4276 2021-07-15: David Anderson
4277 commit 93e89df6c68b910780e28113e78535ea3e787eee
4278
4279 Instead of a date string in src/lib/libdwarf/libdwarf_version.h
4280 we put the current version number extracted from configure.ac
4281 at autogen.sh time. This means the 'Generated' messages
4282 reflect what matters: the version number triple.
4283 When 'make rebuild' is done next all the necessary generated
4284 code gets regenerated.
4285
4286 This now modifies src/lib/libdwarf/libdwarf_version.h with
4287 the latest version number (currently 0.1.1) as VERSION_DATE_STRING
4288 modified: autogen.sh
4289 modified: src/lib/libdwarf/libdwarf_version.h
4290
4291 Now the generated comments say the Generated source version
4292 instead of generated date string.
4293 modified: src/bin/attr_form/attr_form_build.c
4294 modified: src/bin/gennames/gennames.c
4295 modified: src/bin/tag_attr/tag_attr.c
4296 modified: src/bin/tag_tree/tag_tree.c
4297
4298 In the build tree leave the build-local
4299 dwarf_names.c and dwarf_names.h
4300 for human inspection until make clean run
4301 modified: src/bin/gennames/Makefile.am
4302
4303 All these regenerated by make rebuild
4304 modified: src/bin/dwarfdump/dwarf_names.c
4305 modified: src/bin/dwarfdump/dwarf_names.h
4306 modified: src/bin/dwarfdump/dwarfdump-af-table.h
4307 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
4308 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
4309 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
4310 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
4311 modified: src/lib/libdwarf/dwarf_names.c
4312 modified: src/lib/libdwarf/dwarf_names.h
4313
4314 2021-07-14: David Anderson
4315 commit 76f78f39df252d678232f84f2eb5d910df346c22
4316
4317 These maintainer-only scripts no longer used. Instead
4318 use 'make rebuild'
4319 deleted: scripts/buildstandardsource.sh
4320 deleted: scripts/ddbuild.sh
4321
4322 Now all three C source-building programs
4323 work. tagattr tagtree and attrform.
4324 The have been extracted from dwarfdump
4325 and how have their own src/bin/directories.
4326 modified: Makefile.am
4327 modified: configure.ac
4328 new file: src/bin/attr_form/Makefile.am
4329 renamed: src/bin/dwarfdump/attr_form_build.c -> src/bin/attr_form/attr_form_build.c
4330 modified: src/bin/tag_attr/Makefile.am
4331 modified: src/bin/tag_tree/Makefile.am
4332
4333 2021-07-14: David Anderson
4334 commit 8a7544bb990cf26588fbd41243e2095e564abd5f
4335
4336 DO NOT USE THIS COMMIT.
4337 It's a step toward getting 'make rebuild' to work.
4338 Thereby eliminating three shell scripts under the
4339 scripts directory.
4340 This is for maintainers only.
4341 Eliminating code from dwarfdump that is not
4342 compiled into dwarfdump.
4343 modified: Makefile.am
4344 modified: configure.ac
4345 modified: scripts/ddbuild.sh
4346 modified: src/bin/dwarfdump/common.c
4347 new file: src/bin/tag_attr/Makefile.am
4348 renamed: src/bin/dwarfdump/tag_attr.c -> src/bin/tag_attr/tag_attr.c
4349 new file: src/bin/tag_tree/Makefile.am
4350 renamed: src/bin/dwarfdump/tag_tree.c -> src/bin/tag_tree/tag_tree.c
4351 modified: test/Makefile.am
4352
4353 2021-07-14: David Anderson
4354 commit d4f1c293e044f0afac1235f4c3ced0d64852b231
4355 Merge: 6f5ff07e 679f74fb
4356
4357 Merge pull request #33 from jgcodes2020/choose-msvcrt
4358
4359 Allow choosing MSVC runtime on Windows
4360
4361 2021-07-14: David Anderson
4362 commit 6f5ff07e2764200aa488186dc4d3edce89391627
4363
4364 in gennames as general information.
4365 new file: README.txt
4366
4367 2021-07-14: David Anderson
4368 commit 1a415f05fb7e612892cb433f88488b8bd51dd76c
4369
4370 Now builds gennames and dwarf_names.h dwarf_names.c
4371 with 'make rebuild'
4372 New directory src/bin/gennames
4373 modified: Makefile.am
4374 modified: configure.ac
4375
4376 Remove libbuild.sh, it's gone.
4377 modified: scripts/buildstandardsource.sh
4378 deleted: scripts/libbuild.sh
4379
4380 Now make rebuild does what is needed:
4381 regenerates dwarf_names.{c,h}
4382 new file: src/bin/gennames/Makefile.am
4383 renamed: src/lib/libdwarf/gennames.c -> src/bin/gennames/gennames.c
4384
4385 2021-07-14: jgcodes2020
4386 commit 679f74fb727297a269b2d091532fa45db044b850
4387
4388 Reenable new behaviour
4389
4390 2021-07-14: jgcodes2020
4391 commit 19ff9f1d145e2126b80e83f4bc835deff673d050
4392
4393 Backwards compatibility to CMake 3.3
4394
4395 2021-07-14: David Anderson
4396 commit 10173ca5dff04ff09bc94a2edaf7d93727852a67
4397
4398 HAVE_OLD_FRAME_CFA_COL and HAVE_SGIDEFS_H
4399 have been removed as now-meaningless.
4400 This file is not the normal config.h
4401 and is not used in user-builds, so ignore it.
4402 modified: scripts/baseconfig.h
4403
4404 2021-07-13: David Anderson
4405 commit 11a4f671bc4ec41da75261063a5e96bc08e637a7
4406
4407 All the ENUM_AND_BINARY_SEARCH ifdefs and
4408 code removed, none was used by libdwarf.
4409 We do not use the enum form of names.n
4410 and we use the switch() form in names.c,
4411 not binary search.
4412 modified: src/lib/libdwarf/gennames.c
4413
4414 2021-07-13: David Anderson
4415 commit af45dcc13b2576cf4590546d594e1bdf55769f14
4416
4417 No longer have or generate dwarf_names_enum.h or dwarf_names_new.h
4418 these are not needed, all compilers generate
4419 reasonable C switch() code, and libdwarf is essentially
4420 all #define, not enum.
4421 modified: src/lib/libdwarf/Makefile.am
4422 dwarf_names_enum.h or dwarf_names_new.h #undef out of the code.
4423 modified: src/lib/libdwarf/gennames.c
4424
4425 Updated version strings.
4426 modified: src/bin/dwarfdump/dwarf_names.c
4427 modified: src/bin/dwarfdump/dwarf_names.h
4428 modified: src/bin/dwarfdump/dwarfdump-af-table.h
4429 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
4430 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
4431 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
4432 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
4433 modified: src/lib/libdwarf/dwarf_names.c
4434 modified: src/lib/libdwarf/dwarf_names.h
4435
4436 These two now gone. Not needed.
4437 deleted: src/lib/libdwarf/dwarf_names_enum.h
4438 deleted: src/lib/libdwarf/dwarf_names_new.h
4439
4440 Updated with new version string
4441 modified: src/lib/libdwarf/libdwarf_version.h
4442
4443 2021-07-13: David Anderson
4444 commit 3a9b3ad12cf3352829e193bb433f40a7db1252d2
4445
4446 Remove trailing whitespace.
4447 Fix indents not matching libdwarf standard format.
4448 modified: src/lib/libdwarf/dwarf_debugnames.c
4449 modified: src/lib/libdwarf/dwarf_loc.c
4450 modified: src/lib/libdwarf/dwarf_loclists.c
4451 modified: src/lib/libdwarf/dwarf_rnglists.c
4452
4453 2021-07-13: David Anderson
4454 commit 62e58186f9a76af183a5feeb5e6d5268c260d7e8
4455
4456 Instances of
4457 unsigned x
4458 changed to the full type of
4459 unsigned int x
4460 for consistency and for clarity of intent.
4461 modified: libdwarf.h
4462
4463 2021-07-13: David Anderson
4464 commit 08f5577c09e6f459ff8c80d4d11cc335748cd8c9
4465
4466 modified: ChangeLog
4467
4468 Small modification to clarify:
4469 libdwarf never calls abort()
4470 as of now.
4471 modified: doc/libdwarf.mm
4472 modified: doc/libdwarf.pdf
4473
4474 2021-07-13: David Anderson
4475 commit 95edf93c288433a7d13bfe0d35d0481693e968ca
4476
4477 Revised wording in error handling
4478 descriptions. When libdwarf is
4479 unable to report an error
4480 (the user provided no Dwarf_Error
4481 argument or errhandler function)
4482 the library prints a short message
4483 on stderr starting with the word 'libdwarf'
4484 and adding the error number it was unable
4485 to otherwise report.
4486 modified: libdwarf.mm
4487 modified: libdwarf.pdf
4488 2021-07-13: David Anderson
4489 commit c7389aa2bfa3237d299bef199e00baa6a907ee39
4490
4491 Removing the obsolete function declaration
4492 of dwarf_lineoff()
4493 modified: libdwarf.h
4494 2021-07-13: David Anderson
4495 commit aa82e89aadefc51a4ec160cfe4045378ca5fd083
4496
4497 modified: src/bin/dwarfdump/print_die.c
4498 Ensured every error case appropriate does
4499 dwarf_loc_head_c_dealloc() now to free resources
4500 as soon as possible.
4501
4502 modified: src/bin/dwarfdump/print_frames.c
4503 Corrected spelling in an error message.
4504
4505 modified: src/lib/libdwarf/dwarf_die_deliv.c
4506 Added specificity to an error message.
4507
4508 modified: src/lib/libdwarf/dwarf_loc.c
4509 Removed unused library-internal arguments.
4510 Added error checks to publicly visible functions
4511 to prevent user calls with null pointers
4512 from crashing libdwarf.
4513 Added magic numbers so the library can recognize
4514 garbage or stale pointers, and on free ensure
4515 the magic numbers are zeroed.
4516 Moved dwarf_loc_head_c_dealloc to dwarf_loclists.c
4517 to be near the other dealloc functions for locations
4518 lists.
4519
4520 modified: src/lib/libdwarf/dwarf_loc.h
4521 Added magic number fields lc_magic, ld_magic, and
4522 ll_magic. Defined LOCLISTS_MAGIC.
4523
4524 modified: src/lib/libdwarf/dwarf_loclists.c
4525 Added additional checks of incoming pointers to avoid
4526 crashing in case of user errors.
4527 Set and cleared the magic number fields as
4528 apprpropriate.
4529 Corrected the dealloc/free code so it
4530 works properly in all cases.
4531
4532 modified: src/lib/libdwarf/dwarf_rnglists.c
4533 Deleted #if 0 debug printf lines two places.
4534
4535 2021-07-11: David Anderson
4536 commit 1d9d4d16c5af77efbb619d7264873393af25564f
4537
4538 Now all the arguments to public functions
4539 (and local ones) are all used appropriately.
4540 We use 'magic number' RNGLISTS_MAGIC
4541 so we can detect instances of using
4542 uninialized or stale rnglists pointers
4543 (the structs are not them selves visible
4544 to library callers)
4545 modified: src/bin/dwarfdump/print_die.c
4546 modified: src/lib/libdwarf/dwarf_loc.c
4547 modified: src/lib/libdwarf/dwarf_rnglists.c
4548 modified: src/lib/libdwarf/dwarf_rnglists.h
4549 modified: src/lib/libdwarf/dwarf_util.c
4550 modified: src/lib/libdwarf/dwarf_util.h
4551
4552 The declaration of dwarf_dealloc_rnglists_head()
4553 as dealloc functions are not supposed to return a value.
4554 Fixed.
4555 modified: src/lib/libdwarf/libdwarf.h
4556
4557 2021-07-11: David Anderson
4558 commit 531151a82b2f7d7037a6bf4bc7e4e4af658bf550
4559
4560 Missing lines about DWARF_LIBS
4561 AC_SUBST AC_ARG_VAR
4562 modified: configure.ac
4563
4564 2021-07-11: David Anderson
4565 commit 46c52c5e42d01bc6963e781e79ead0e1f22830ed
4566 Merge: b962165a 95adc788
4567
4568 Merge pull request #32 from vtorri/vtorri_pkgconfig
4569
4570 Use pkg-config to detect zlib
4571
4572 2021-07-11: Vincent Torri
4573 commit 95adc788ce27b5371ab433821c1e96cbd4677195
4574
4575 Use pkg-config to detect zlib
4576
4577 2021-07-10: David Anderson
4578 commit b962165a780ff2185fcc12bd679856e36621a6cb
4579
4580 HAVE_SGI_IRIX_OFFSETS
4581 HAVE_STRICT_DWARF2_32BIT_OFFSET
4582 HAVE_DWARF2_99_EXTENSION
4583 are all obsolete and meaningless.
4584 Deleted.
4585 modified: CMakeLists.txt
4586 modified: README.cmake
4587
4588 2021-07-10: David Anderson
4589 commit b2c98f61cdaecd3906f7afd4aa3a556806b66a01
4590
4591 Fixed indents and removed trailing whitespace.
4592 modified: getnametest.c
4593 modified: objaccess.c
4594 modified: test_errmsglist.c
4595
4596 2021-07-10: David Anderson
4597 commit f32d88fa87ab5e97182fd981e1c7fa359e6feec6
4598
4599 The canonical path function
4600 test code removed from dwarfdump/dwconf.c
4601 and put into test/test_canonical.c
4602 modified: src/bin/dwarfdump/dwconf.c
4603 modified: src/bin/dwarfdump/dwconf.h
4604 modified: test/CMakeLists.txt
4605 modified: test/Makefile.am
4606 new file: test/test_canonical.c
4607
4608 2021-07-10: David Anderson
4609 commit e79f65a63cb8b912aa66364f703bba6c737f82ba
4610
4611 Removed mention of HAVE_ELF_OPEN
4612 modified: dwarf_generic_init.c
4613
4614 2021-07-10: David Anderson
4615 commit b37934ced44f9ea156876bb60e970f0a33ce0eea
4616
4617 Removed mention of HAVE_ELF_OPEN
4618 modified: dwarfgen.cc
4619
4620 2021-07-10: David Anderson
4621 commit 10c739419153504bbb86c2ab546c827ceb5937e9
4622
4623 Fixed indents and trailing whitespace.
4624 modified: attr_form.h
4625 modified: dwarf_tsearch.h
4626 modified: dwconf.c
4627 modified: glflags.h
4628 modified: print_aranges.c
4629 modified: print_debug_names.c
4630 modified: print_die.c
4631 modified: print_frames.c
4632 modified: print_pubnames.c
4633 modified: print_ranges.c
4634
4635 2021-07-10: David Anderson
4636 commit 07f73f16cc07abc78d4758bca91f63dfe8faa3dc
4637
4638 Removed HAVE_ELF_OPEN macro test.
4639 It is not defined anywhere.
4640 modified: dwarfdump.c
4641
4642 2021-07-10: David Anderson
4643 commit 6885138dedcd65aeabea11946b556d0eb02c47b8
4644 Merge: 6f90bb57 491cdc85
4645
4646 Merge branch 'dn'
4647
4648 Merging the rewritten .debug_names handling
4649
4650 2021-07-10: David Anderson
4651 commit 491cdc852f99207c5dcf2234b4c31fde58834cc3
4652
4653 The rewrite of .debug_names handling
4654 is complete, though the dwarfdump printing
4655 is incomplete and none of it has been tested.
4656 Needs a test case.
4657 modified: src/bin/dwarfdump/print_debug_names.c
4658 modified: src/lib/libdwarf/dwarf_alloc.c
4659 modified: src/lib/libdwarf/dwarf_debugnames.c
4660 modified: src/lib/libdwarf/dwarf_debugnames.h
4661 modified: src/lib/libdwarf/libdwarf.h
4662
4663 2021-07-10: David Anderson
4664 commit a6e132626e33883185a03836dfb0d1fa5162f69e
4665
4666 DO NOT USE THIS COMMIT.
4667 not buildable yet.
4668 modified: src/lib/libdwarf/dwarf_debugnames.c
4669 modified: src/lib/libdwarf/dwarf_debugnames.h
4670 modified: src/lib/libdwarf/libdwarf.h
4671
4672 2021-07-10: David Anderson
4673 commit 6f90bb57c3376492eb3d99822a5c3af0835ba30d
4674 Merge: ab96206d 62a3f3f4
4675
4676 Merge pull request #31 from vtorri/master
4677
4678 dwarfdump: move dwarfdump.comp detection on Windows outside the loop
4679
4680 2021-07-10: Vincent Torri
4681 commit 62a3f3f4304f0263df9af4de1c5dc37ff5e4faca
4682
4683 dwarfdump: move dwarfdump.comp detection on Windows outside the loop. Fallback to Unix code if still not found
4684
4685 2021-07-08: David Anderson
4686 commit ab96206d2ca377651f68a0a529537b1f1abc61ef
4687 Merge: fafaacda de9785c7
4688
4689 Merge branch 'master' of https://github.com/davea42/libdwarf-code
4690
4691 modified: README
4692
4693 2021-07-08: David Anderson
4694 commit de9785c76d56b962983a11366b1d29e5223fa637
4695 Merge: 2c8637ce d2c73d81
4696
4697 Merge pull request #29 from vtorri/vtorri_README
4698
4699 update README:
4700
4701 2021-07-08: David Anderson
4702 commit fafaacda08185cd267d100edf6a89403f0328028
4703
4704 Elminating mention of DW_DLC_READ
4705 (except to say it and the 'access'
4706 argument to dwarf_init*() functions
4707 have been removed as not-needed.
4708 modified: doc/libdwarf.mm
4709 modified: doc/libdwarf.pdf
4710 modified: src/lib/libdwarf/NEWS
4711 modified: src/lib/libdwarf/README
4712 modified: src/lib/libdwarf/dwarf_errmsg_list.h
4713
4714 2021-07-08: Vincent Torri
4715 commit d2c73d8168a7f3d65ae3c047072be2eb7d5331f4
4716
4717 update README:
4718 * remove trailing white spaces
4719 * fix configure option when building only shared library
4720 * remove comment about deleted DW_DLC_READ macro
4721
4722 2021-07-08: Vincent Torri
4723 commit 46bec1a4abe76f60568afdf95ef9255b298f5edf
4724 Merge: da58f9fb 2c8637ce
4725
4726 merge
4727
4728 2021-07-07: David Anderson
4729 commit 2c8637ce1119dde51396fecaa9858f4e2da5a965
4730
4731 Fixing trailing white, indent errors,
4732 and if( for( to standard project
4733 source format.
4734 modified: dwdebuglink.c
4735 modified: findfuncbypc.c
4736 modified: frame1.c
4737 modified: simplecrc.c
4738 modified: simplereader.c
4739
4740 2021-07-07: David Anderson
4741 commit 46bc82c35c1d0ce129d3d93eb7df83125cf44ad1
4742
4743 Remove trailing whitespace, fix indents
4744 modified: libdwarfp.h
4745 modified: pro_die.c
4746 modified: pro_incl.h
4747 modified: pro_section.c
4748
4749 2021-07-07: David Anderson
4750 commit 642ebe6352a8545b1b697629e67eed0ffb954e9c
4751
4752 Fix indents and eliminate trailing whitespace.
4753 modified: dwarf_debugnames.c
4754 modified: dwarf_debugnames.h
4755 modified: dwarf_die_deliv.c
4756 modified: dwarf_errmsg_list.h
4757 modified: dwarf_fission_to_cu.c
4758 modified: dwarf_form.c
4759 modified: dwarf_frame.c
4760 modified: dwarf_generic_init.c
4761 modified: dwarf_leb.c
4762 modified: dwarf_line.c
4763 modified: dwarf_loc.c
4764 modified: dwarf_object_detector.c
4765 modified: dwarf_query.c
4766 modified: libdwarf.h
4767 modified: libdwarf_private.h
4768
4769 2021-07-07: David Anderson
4770 commit 64210ea43a37f4d372a2c5ace337603582bcd1cb
4771
4772 Updated copyright year.
4773 In 2 places
4774 }dw...
4775 For consistency changed to
4776 } dw...
4777 like the other typedefs here.
4778 modified: dwarf_elfstructs.h
4779
4780 2021-07-07: David Anderson
4781 commit 8eaa1fb5918330bb4119e85ca7b97fcc7f1062c2
4782
4783 Removed macro ASNAR definition from several files,
4784 moved to libdwarf_private.h .
4785 Along with SIZEOFT16, SIZEOFT32 SIZEOFT64 .
4786 Also SIGN_EXTEND, a less used ASNAR renamed ASNARL
4787 removed LEN32BIT and use SIZEOFT32 instead.
4788 modified: src/lib/libdwarf/dwarf_debuglink.c
4789 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
4790 modified: src/lib/libdwarf/dwarf_elfread.c
4791 modified: src/lib/libdwarf/dwarf_machoread.c
4792 modified: src/lib/libdwarf/dwarf_object_detector.c
4793 modified: src/lib/libdwarf/dwarf_peread.c
4794 modified: src/lib/libdwarf/dwarf_util.h
4795 modified: src/lib/libdwarf/dwarf_xu_index.c
4796 modified: src/lib/libdwarf/libdwarf_private.h
4797
4798 Delete macro defs SIGN_EXTEND ASNAR, use the ones
4799 in libdwarf_private.h
4800 modified: src/lib/libdwarfp/pro_forms.c
4801 modified: src/lib/libdwarfp/pro_incl.h
4802
4803 2021-07-07: David Anderson
4804 commit a6cb694fb0047bfd136e53eab0ab9766c759be80
4805
4806 Removed dw_elfstructs.h from .am
4807 modified: src/lib/libdwarf/Makefile.am
4808 the content needed is in dwarf_elfstructs..h
4809 deleted: src/lib/libdwarf/dw_elfstructs.h
4810
4811 2021-07-07: David Anderson
4812 commit 55188d384ba1b9b8d8c921259dd03b48f2f6cb3c
4813
4814 Now most C (gcc) warning options are on by default.
4815 configure/m4 ensures only options that work
4816 for a given compiler will actually be
4817 passed to it.
4818 modified: configure.ac
4819
4820 2021-07-07: David Anderson
4821 commit 144a6878c3d88f5db4f59c5f37db4f030ef61acb
4822
4823 Neither libdwarf nor libdwarfp ever abort() now.
4824
4825 In case there is no way to report to
4826 the caller what the error is (because
4827 the caller provided no means to report error
4828 messages) libdwarf prints a one-line
4829 message to stderr with the error number.
4830 For errors libdwarf and libdwarfp always
4831 return DW_DLV_ERROR.
4832
4833 modified: doc/libdwarf.mm
4834 modified: doc/libdwarf.pdf
4835 modified: src/lib/libdwarf/NEWS
4836 modified: src/lib/libdwarf/dwarf_error.c
4837 modified: src/lib/libdwarfp/pro_error.c
4838
4839 Sligtly improved the message from simplereader in case of a
4840 libdwarf-detected error.
4841 modified: src/bin/dwarfexample/simplereader.c
4842
4843 2021-07-07: David Anderson
4844 commit c438ede1388ad1ec3af999ad82a7f75523e9062a
4845
4846 modified: src/bin/dwarfdump/command_options.c
4847 modified: src/bin/dwarfdump/dwarfdump.c
4848 modified: src/bin/dwarfdump/glflags.h
4849 modified: src/bin/dwarfdump/glflags.c
4850 Removing OPT_ALLOC_PRINT_SUMS and
4851 --print-alloc-sums as they no longer exist.
4852
4853 modified: src/lib/libdwarf/dwarf_alloc.c
4854 modified: src/lib/libdwarf/dwarf_alloc.h
4855 Remove the allocation tracking counts
4856 retrieval function (an empty function).
4857
4858 modified: src/lib/libdwarf/libdwarf.h
4859 Slightly modify a comment relating to
4860 alloc tracking function dwarf_set_de_alloc_flag().
4861
4862 2021-07-07: David Anderson
4863 commit 05b8460bf1fe616644a2b4ae236e9adbef47c754
4864
4865 modified: doc/libdwarf.mm
4866 modified: doc/libdwarf.pdf (regenerated)
4867 Added some explanation of
4868 the dwarf_set_de_alloc_flag()
4869 function.
4870
4871 2021-07-07: David Anderson
4872 commit e6d6c423bd04e2514ead2f92a468973dff7a43e5
4873
4874 Macros that were defined in multiple c source
4875 files in libdwarfp are now in this header.
4876 For example: ASN_OUT
4877 modified: src/lib/libdwarfp/pro_incl.h
4878
4879 Removed these macro defines from .c
4880 modified: src/lib/libdwarfp/pro_forms.c
4881 modified: src/lib/libdwarfp/pro_frame.c
4882 modified: src/lib/libdwarfp/pro_reloc_symbolic.c
4883 modified: src/lib/libdwarfp/pro_section.c
4884
4885 Moved the #include of pro_incl.h to a more appropriate
4886 place farther down the include list.
4887 modified: test/test_extra_flag_strings.c
4888
4889 2021-07-06: David Anderson
4890 commit 316f64a44d61e8808330d0a3f1fdfc84405d3d9d
4891
4892 modified: src/lib/libdwarf/libdwarf.h
4893 In a few cases of missing
4894 comment delimiters, I fixed like this example:
4895 - Dwarf_Unsigned * indextable_overall_length,
4896 + Dwarf_Unsigned * /*indextable_overall_length*/,
4897
4898 2021-07-06: David Anderson
4899 commit aa224a3cae53e30f2c032b85880ad5d288a182b5
4900
4901 Additional explanation of the .debug_names
4902 section content and renaming certain
4903 arguments (not the types) for clarity.
4904 modified: doc/libdwarf.mm
4905 modified: doc/libdwarf.pdf
4906
4907 Using the new, better dwarf_dealloc_debugnames(dnhead)
4908 function
4909 modified: src/bin/dwarfdump/print_debug_names.c
4910
4911 renamed dwarf_debug_names.c,h to dwarf_debugnames.c,
4912 modified: src/lib/libdwarf/CMakeLists.txt
4913 modified: src/lib/libdwarf/Makefile.am
4914 modified: src/lib/libdwarf/dwarf_alloc.c
4915 renamed: src/lib/libdwarf/dwarf_debug_names.c -> src/lib/libdwarf/dwarf_debugnames.c
4916 renamed: src/lib/libdwarf/dwarf_debug_names.h -> src/lib/libdwarf/dwarf_debugnames.h
4917 modified: src/lib/libdwarf/libdwarf.h
4918
4919 2021-07-05: Vincent Torri
4920 commit da58f9fb830fce2fa844f90bd3de6de9361d0247
4921
4922 configure.ac: remove useless output and regroup common C flags in a
4923 variable
4924
4925 2021-07-04: David Anderson
4926 commit e0f6a8209295d952d0437cbdaec71ff9464b991d
4927
4928 Now all the functions for getting strings for DW_TAG_subprogram
4929 and DW_AT_type etc etc are named properly and
4930 concisely.
4931 modified: doc/libdwarf.mm
4932 modified: doc/libdwarf.pdf
4933
4934 2021-07-04: David Anderson
4935 commit c67bf916d8fc011b3e30e737c071c20e16132c5a
4936
4937 A static function had a name starting with dwarf
4938 and now it is renamed starting with _dwarf
4939 for consistency with library internal functions.
4940 modified: src/lib/libdwarf/dwarf_die_deliv.c
4941
4942 2021-07-04: David Anderson
4943 commit 062524d30cb614398c5696714f587605335ef59d
4944
4945 Remove descriptions of functions
4946 that are not in libdwarf now.
4947 modified: doc/libdwarf.mm
4948
4949 Rename one argument identifier for clarity.
4950 modified: src/lib/libdwarf/libdwarf.h
4951
4952 2021-07-03: David Anderson
4953 commit 446bebcaba6623665c80eae4d9376f6185c7827b
4954
4955 Added commentary.
4956 modified: src/lib/libdwarf/dwarf_query.c
4957
4958 Deleted dwarf_get_path_source_type(), there never
4959 was an implementation of...whatever this was supposed to do.
4960 modified: src/lib/libdwarf/libdwarf.h
4961
4962 2021-07-03: David Anderson
4963 commit 3a1d8ca472600fc49c58573cc477bc309b51ddb5
4964
4965 added to the description of dwarf_dietype_offset().
4966 modified: libdwarf.mm
4967 modified: libdwarf.pdf
4968
4969 2021-07-03: David Anderson
4970 commit 8b011901ca37ffebfe9bd55d4f79388de47e5ac4
4971
4972 Explained the arguments in a bit more detail.
4973 modified: ../src/lib/libdwarf/dwarf_crc32.c
4974
4975 Deleted a function that has not
4976 been used for a long time.
4977 modified: ../src/lib/libdwarf/dwarf_init_finish.c
4978
4979 2021-07-03: David Anderson
4980 commit 1f879710839f6eabb08b5437dd302fd9ab1dc00c
4981
4982 Documented dwar_set_stringcheck(),
4983 a function that might help some, but...
4984 it turns off some object file correctness checks.
4985 Dangerous.
4986 modified: libdwarf.mm
4987 modified: libdwarf.pdf
4988
4989 2021-07-03: David Anderson
4990 commit 639c57bdb5fd8ca0a5a6540921ee8f83db2a77aa
4991
4992 Removed obsolete words about
4993 code that is now gone.
4994 modified: src/bin/dwarfdump/testdwarfdump.conf
4995
4996 Repaired dwarf_bitoffset() by adding a new
4997 argument so the caller can know if the return
4998 is DW_AT_data_bit_offset or DW_AT_bit_offset.
4999 modified: src/lib/libdwarf/dwarf_query.c
5000
5001 Fixed commentary and updated the dwarf_bitoffset()
5002 prototype.
5003 modified: src/lib/libdwarf/libdwarf.h
5004
5005 2021-07-03: David Anderson
5006 commit 4cdf8b0b6bf56f0f2852f2a6eab64abb427ba05f
5007
5008 Removed blocks of obsolete words.
5009 Removed many function-name repetitions
5010 where the function name was obvious from context.
5011 modified: ../../../doc/libdwarf.mm
5012 modified: ../../../doc/libdwarf.pdf
5013
5014 2021-07-02: David Anderson
5015 commit 5b00e1d96498b2255d71293fa33eb3338184fa04
5016
5017 Deleted a check of the DW_DLE values from libbuild.sh.
5018 Now the test done by 'make check'.
5019 modified: scripts/libbuild.sh
5020
5021 Removed the old checking source, put it in test
5022 renamed: src/lib/libdwarf/dwarf_test_errmsg_list.c -> test/test_errmsglist.c
5023
5024 remove reference to dwarf_test_errmsg_list.c
5025 modified: src/lib/libdwarf/Makefile.am
5026
5027 Implemented test runs for test_errmsglist.c
5028 Now at make check having 20 tests if
5029 all things built.
5030 modified: test/CMakeLists.txt
5031 modified: test/Makefile.am
5032
5033 2021-07-02: David Anderson
5034 commit 16c107a690c5e55100a59239ebf1435a469f662e
5035
5036 Delete all the tsearch/* directory stuff, that
5037 is now on github as the project davea42 tsearch-code
5038 modified: Makefile.am
5039
5040 Remove UNUSEDARG and delete an unused
5041 libdwarf-internal argument.
5042 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
5043
5044 Add site-specific text to the error message that is generated
5045 when an allocation fails.
5046 modified: src/lib/libdwarf/dwarf_gdbindex.c
5047
5048 Add include of libdwarf_private.h so it builds again.
5049 It is not part of libdwarf, it is a support program
5050 for libdwarf.
5051 modified: src/lib/libdwarf/gennames.c
5052
5053 Correct the references in MAINTAINERCLEANFILES
5054 and format part of the table to look nicer.
5055 modified: test/Makefile.am
5056
5057 2021-07-01: David Anderson
5058 commit 12bd38295872e4a82268498d8bf643870af5d2bb
5059
5060 Removed unused arguments from print_gdb_index()
5061 and dwarf_gdbindex_cuvector_instance_expand_value()
5062 modified: src/bin/dwarfdump/print_gdbindex.c
5063
5064 Removed unused argument from
5065 dwarf_gdbindex_header() and
5066 dwarf_gdbindex_cuvector_instance_expand_value().
5067 Added argument checks to the latter.
5068 modified: src/lib/libdwarf/dwarf_gdbindex.c
5069
5070 Removed unused argument from dwarf_gdbindex_header()
5071 Removed unused argument from
5072 dwarf_gdbindex_cuvector_inner_attributes()
5073 modified: src/lib/libdwarf/libdwarf.h
5074
5075 2021-07-01: David Anderson
5076 commit 7f9442b87b4836e10cd179213e55bf449049818e
5077
5078 dwarf_init_path()
5079 and
5080 dwarf_init_path_dl()
5081 had 3 extra arguments which
5082 had no purpose.
5083 These extras have been removed.
5084 modified: src/bin/dwarfdump/dwarfdump.c
5085 modified: src/bin/dwarfexample/dwdebuglink.c
5086 modified: src/bin/dwarfexample/findfuncbypc.c
5087 modified: src/bin/dwarfexample/simplereader.c
5088 modified: src/lib/libdwarf/dwarf_generic_init.c
5089 modified: src/lib/libdwarf/dwarf_object_detector.c
5090 modified: src/lib/libdwarf/libdwarf.h
5091
5092 2021-07-01: David Anderson
5093 commit c8ce50b008834057604016054603dbbc867566a9
5094
5095 Removing references to
5096 HAVE_OLD_FRAME_CFA_COL
5097 HAVE_GLOBAL_ALLOC_SUMS
5098 as these are not used.
5099 modified: cmake/config.h.cmake
5100 modified: src/lib/libdwarf/dwarf_alloc.c
5101
5102 2021-07-01: David Anderson
5103 commit 1eee95b14f6284d7c9287b40a194ce981f8f67a3
5104
5105 Minor changes to comments for consistency.
5106 (use "git push" to publish your local commits)
5107
5108 2021-07-01: David Anderson
5109 commit aeb77517b95d3584f9973418f49c8df153d7e8ce
5110
5111 Minor fixes.
5112 modified: doc/libdwarf.mm
5113
5114 2021-07-01: David Anderson
5115 commit cede7a11e42794960967a5b241c00fb0cb7c41b0
5116
5117 Removed obsolete comments.
5118 modified: doc/libdwarf.mm
5119 Removed a bogus comment and in a couple
5120 cases change a 5-space separation to 1-space.
5121 modified: src/lib/libdwarf/libdwarf.h
5122
5123 2021-07-01: David Anderson
5124 commit 1bd354921414c82791b18de36045c70c85b982c9
5125
5126 Rev 4.6. Removed several duplicated descriptions
5127 in the 'globals' section types and now refers
5128 back to the globals set for the details.
5129 modified: libdwarf.mm
5130 modified: libdwarf.pdf
5131
5132 Changed a comment.
5133 modified: ../src/lib/libdwarf/dwarf_generic_init.c
5134
5135 Defined dwarf_get_line_section_name() for a slight
5136 added consistency.
5137 modified: ../src/lib/libdwarf/dwarf_line.c
5138 modified: ../src/lib/libdwarf/libdwarf.h
5139
5140 2021-07-01: David Anderson
5141 commit 4d849a60352904817d6c2cd86ec02bc23819f487
5142
5143 Dramatically reduced the text about
5144 the various pubnames, pubtypes,
5145 weakname, and varnames functions
5146 by referring all back to
5147 globals detailed documentation.
5148 In the library all of these are implemented
5149 with a shared group of functions
5150 so they all operate similarly.
5151 modified: libdwarf.mm
5152 Regenerated.
5153 modified: libdwarf.pdf
5154
5155 2021-06-30: David Anderson
5156 commit 63153717c5016a5dd3074bfdbce70436e41589e9
5157
5158 Various Accelerated Access sections had
5159 omissions and errors.
5160 modified: doc/libdwarf.mm
5161 regenerated.
5162 modified: doc/libdwarf.pdf
5163
5164 Fixed minor commentary mistakes.
5165 modified: src/lib/libdwarf/dwarf_arange.c
5166
5167 Deleted dwarf_get_loclist_entry() an obsolete
5168 function declaration. The function itself
5169 was deleted already.
5170 modified: src/lib/libdwarf/libdwarf.h
5171
5172 2021-06-30: David Anderson
5173 commit 833b9c15df071fcdbd7b24a55ec1564f0bb136c5
5174
5175 dwarf_uncompress_integer_block() deleted as obsolete.
5176 Use dwarf_uncompress_integer_block_a() instead.
5177 This is a SunMicrosystems-only block of numbers, may not
5178 be in use anywhere.
5179 modified: libdwarf.h
5180
5181 2021-06-30: David Anderson
5182 commit 87ffaa04df07fa0c0655f22859933510b39b1e74
5183
5184 Rearranged so certain sets of functions
5185 now appear next to each other. dwarf_weak* dwarf_func* etc.
5186 modified: src/lib/libdwarf/libdwarf.h
5187
5188 2021-06-29: David Anderson
5189 commit 8c775946d1a92c674a78bbd010c2e497bcc63aca
5190
5191 this included libdwarf things.
5192 no longer used.
5193 deleted: ../src/lib/libdwarf/dwarf_incl.h
5194
5195 Improving the text a little.
5196 modified: ../doc/libdwarf.mm
5197 modified: ../doc/libdwarf.pdf
5198
5199 dwarf_incl.h deleted
5200 Now the includes are one-level.
5201 modified: ../src/lib/libdwarf/CMakeLists.txt
5202 modified: ../src/lib/libdwarf/Makefile.am
5203 modified: ../src/lib/libdwarf/dwarf_abbrev.c
5204 modified: ../src/lib/libdwarf/dwarf_alloc.c
5205 modified: ../src/lib/libdwarf/dwarf_arange.c
5206 modified: ../src/lib/libdwarf/dwarf_crc32.c
5207 modified: ../src/lib/libdwarf/dwarf_debug_names.c
5208 modified: ../src/lib/libdwarf/dwarf_debug_sup.c
5209 modified: ../src/lib/libdwarf/dwarf_debuglink.c
5210 modified: ../src/lib/libdwarf/dwarf_die_deliv.c
5211 modified: ../src/lib/libdwarf/dwarf_dsc.c
5212 modified: ../src/lib/libdwarf/dwarf_error.c
5213 modified: ../src/lib/libdwarf/dwarf_find_sigref.c
5214 modified: ../src/lib/libdwarf/dwarf_fission_to_cu.c
5215 modified: ../src/lib/libdwarf/dwarf_form.c
5216 modified: ../src/lib/libdwarf/dwarf_frame.c
5217 modified: ../src/lib/libdwarf/dwarf_frame2.c
5218 modified: ../src/lib/libdwarf/dwarf_funcs.c
5219 modified: ../src/lib/libdwarf/dwarf_gdbindex.c
5220 modified: ../src/lib/libdwarf/dwarf_generic_init.c
5221 modified: ../src/lib/libdwarf/dwarf_global.c
5222 modified: ../src/lib/libdwarf/dwarf_gnu_index.c
5223 modified: ../src/lib/libdwarf/dwarf_groups.c
5224 modified: ../src/lib/libdwarf/dwarf_harmless.c
5225 modified: ../src/lib/libdwarf/dwarf_init_finish.c
5226 modified: ../src/lib/libdwarf/dwarf_leb.c
5227 modified: ../src/lib/libdwarf/dwarf_line.c
5228 modified: ../src/lib/libdwarf/dwarf_loc.c
5229 modified: ../src/lib/libdwarf/dwarf_locationop_read.c
5230 modified: ../src/lib/libdwarf/dwarf_loclists.c
5231 modified: ../src/lib/libdwarf/dwarf_macro.c
5232 modified: ../src/lib/libdwarf/dwarf_macro5.c
5233 modified: ../src/lib/libdwarf/dwarf_print_lines.c
5234 modified: ../src/lib/libdwarf/dwarf_pubtypes.c
5235 modified: ../src/lib/libdwarf/dwarf_query.c
5236 modified: ../src/lib/libdwarf/dwarf_ranges.c
5237 modified: ../src/lib/libdwarf/dwarf_rnglists.c
5238 modified: ../src/lib/libdwarf/dwarf_str_offsets.c
5239 modified: ../src/lib/libdwarf/dwarf_stringsection.c
5240 modified: ../src/lib/libdwarf/dwarf_test_errmsg_list.c
5241 modified: ../src/lib/libdwarf/dwarf_tied.c
5242 modified: ../src/lib/libdwarf/dwarf_types.c
5243 modified: ../src/lib/libdwarf/dwarf_util.c
5244 modified: ../src/lib/libdwarf/dwarf_vars.c
5245 modified: ../src/lib/libdwarf/dwarf_weaks.c
5246 modified: ../src/lib/libdwarf/dwarf_xu_index.c
5247 modified: dwarf_leb_test.c
5248 modified: dwarf_tied_test.c
5249 modified: objaccess.c
5250 modified: test_linkedtopath.c
5251
5252 2021-06-29: David Anderson
5253 commit 244a4773b2556e694209a83523c7ddf134c095cf
5254
5255 Removed mention of dwarf_seterrhand() and dwarf_seterrarg()
5256 as neither was ever implemented.
5257 modified: doc/libdwarf.mm
5258 modified: doc/libdwarf.pdf
5259
5260 2021-06-29: David Anderson
5261 commit 2453359ca6bb156849b8de4400c17a30a49ebf10
5262
5263 modified: configure.ac
5264 Delete reference to --enable-oldframecol, HAVE_OLD_FRAME_CFA_COL.
5265 Delete reference to --enable-global-alloc-sums,
5266 HAVE_GLOBAL_ALLOC_SUMS
5267 These are obsolete.
5268
5269 modified: src/lib/libdwarf/dwarf_init_finish.c
5270 Remove lines dealing with HAVE_OLD_FRAME_CFA_COL.
5271
5272 modified: src/lib/libdwarf/libdwarf.h
5273 Move dwarf_object_finish() up a few lines to be
5274 right next to dwarf_object_init_b() as it should
5275 have been all along.
5276 Removed dwarf_seterrarg() and dwarf_seterrhand()
5277 as they were never implemented.
5278
5279 modified: test/Makefile.am
5280 and modified: test/CMakeLists.txt
5281 Add two new tests test_getnametest and
5282 test_objectaccess
5283
5284 modified: test/getnametest.c
5285 modified: test/objaccess.c
5286 These are the source that are the new tests.
5287 Self-testing.
5288
5289 2021-06-29: David Anderson
5290 commit 895ee2fc7317a9a88d60b79b001314a4c67c834d
5291
5292 modified: src/lib/libdwarf/dwarf_util.c
5293 Deleted the obsolete function dwarf_add_file_path()
5294 Deleted the obsolete function dwarf_srclines_files_count(),
5295 use dwarf_srclines_files_indexes() instead.
5296
5297 modified: src/lib/libdwarf/dwarf_line.c
5298 Delete the obsolete function dwarf_srclines_two_level()
5299 Deleted the obsolete function dwarf_srclines_files_count(),
5300 use dwarf_srclines_files_indexes() instead.
5301
5302 modified: src/lib/libdwarf/libdwarf.h
5303 Corrected a comment.
5304 Delete the obsolete function dwarf_srclines_two_level()
5305 Delete the obsolete function dwarf_add_file_path()
5306 Delete the obsolete function dwarf_srclines_files_count(),
5307 use dwarf_srclines_files_indexes() instead.
5308
5309 modified: test/CMakeLists.txt
5310 Added the selftestnames test
5311 to get coverage of some functions in
5312 libdwarf/names.c
5313
5314 modified: test/Makefile.am
5315 To get coverage of some functions in
5316 libdwarf/names.c
5317
5318 new file: test/getnametest.c
5319 To get coverage of some functions in
5320 libdwarf/names.c
5321
5322 2021-06-28: David Anderson
5323 commit 49393fbe647a31290b170cf73fa4953e24e947c4
5324
5325 modified: src/lib/libdwarf/libdwarf.h
5326 Update commentary, removing reference to
5327 obsolete register/frame interfaces.
5328
5329 2021-06-28: David Anderson
5330 commit 91c4bbf0e453db284f5cbea221c860ec53f378cb
5331
5332 modified: src/lib/libdwarf/libdwarf.h
5333 These two are obsolete, their code is already gone
5334 from libdwarf. dwarf_get_location_op_value_c() dwarf_highpc()
5335
5336 dwarf_print_memory_stats()
5337 is really useless, the
5338 implementation is...an empty function.
5339
5340 dwarf_get_abbrev_count()
5341 was never safe to use.
5342 And nobody actually needs to know the count of abbrevs
5343 in the entire .debug_abbrev section.
5344
5345 modified: src/lib/libdwarf/dwarf_abbrev.c
5346 delete the unsafe function dwarf_get_abbrev_count()
5347
5348 modified: src/lib/libdwarf/dwarf_alloc.c
5349 Delete the useless dwarf_print_memory_stats() function.
5350
5351 modified: src/lib/libdwarf/dwarf_loc.c
5352 Delete the obsolete dwarf_get_location_op_value_c()
5353
5354 modified: src/lib/libdwarf/dwarf_query.c
5355 Delete the obsolete function dwarf_highpc()
5356
5357 modified: src/bin/dwarfdump/print_frames.c
5358 Now leb decode calls go to the public decode functions
5359 in libdwarf. The local versions are deleted.
5360
5361 modified: src/bin/dwarfexample/simplereader.c
5362 drop use of dwarf_highpc() as it is obsolete
5363 and just use dwarf_highpc_b().
5364
5365 2021-06-27: David Anderson
5366 commit 9fc91adc32273ca44858d451fcfe0b3d8a6ee7ab
5367
5368 malloc_check.{h,c} were useful in 2005
5369 but are no longer needed.
5370 modified: src/lib/libdwarf/CMakeLists.txt
5371 modified: src/lib/libdwarf/Makefile.am
5372 deleted: src/lib/libdwarf/malloc_check.c
5373 deleted: src/lib/libdwarf/malloc_check.h
5374
5375 2021-06-26: David Anderson
5376 commit 3b9cbd2b50773a9e70abd8e66102b641128cd25c
5377
5378 Deleted the unused dwarf_dealloc_compressed_block()
5379 and the unused argument from _dwarf_p_dealloc.
5380 modified: libdwarfp.h
5381 modified: pro_alloc.c
5382 modified: pro_alloc.h
5383 modified: pro_die.c
5384 modified: pro_forms.c
5385 modified: pro_macinfo.c
5386 modified: pro_reloc_stream.c
5387 modified: pro_reloc_symbolic.c
5388
5389 2021-06-26: David Anderson
5390 commit 083733569ba3fac3b560a312e6ccf91c04f5826b
5391
5392 All these changes are removing blank lines
5393 that do not aid readability, and
5394 turning groups of 2 or more blank lines into
5395 1 blank line.
5396 modified: libdwarfp.h
5397
5398 Deleted function prototype that was and is unused.
5399 modified: pro_alloc.h
5400
5401 modified: pro_arange.h
5402 modified: pro_die.h
5403 modified: pro_dnames.h
5404 modified: pro_error.h
5405 modified: pro_expr.h
5406 modified: pro_frame.h
5407 modified: pro_incl.h
5408 modified: pro_line.h
5409 modified: pro_macinfo.h
5410 modified: pro_opaque.h
5411 modified: pro_reloc.h
5412 modified: pro_reloc_stream.h
5413 modified: pro_reloc_symbolic.h
5414 modified: pro_section.h
5415 modified: pro_types.h
5416 modified: pro_util.h
5417
5418 2021-06-26: David Anderson
5419 commit 57ff993f5ccc4163d59cdff87e99aefa84579e52
5420
5421 Minor changes.
5422 Deleted an unused macro.
5423 Changed true/false macros to TRUE/FALSE
5424 for consistency with libdwarf usage.
5425 Changed CURRENT_VERSION_STAMP to VERSION_STAMP2
5426 as that is what was meant originally.
5427
5428 modified: pro_forms.c
5429 modified: pro_line.c
5430 modified: pro_opaque.h
5431 modified: pro_section.c
5432 modified: pro_types.c
5433
5434 2021-06-26: David Anderson
5435 commit fa033b5b970a341dffb23b29e5d1fa7f8cf501aa
5436
5437 Neither of these files are actually used
5438 in libdwarfp, so removing them.
5439 deleted: crc32.c
5440 deleted: dwarf_base_types.h
5441
5442 2021-06-25: David Anderson
5443 commit 1455bd31e4d2c7ad9af8908e346d356b96471ecc
5444
5445 The tsearch directory is not part of libdwarf
5446 so it's been moved to a separate git repository.
5447 Soon it should be public on github.
5448 deleted: tsearch/ChangeLog
5449 deleted: tsearch/ChangeLog2014
5450 deleted: tsearch/ChangeLog2015
5451 deleted: tsearch/ChangeLog2016
5452 deleted: tsearch/ChangeLog2017
5453 deleted: tsearch/ChangeLog2018
5454 deleted: tsearch/ChangeLog2019
5455 deleted: tsearch/ChangeLog2020
5456 deleted: tsearch/ESSAY.txt
5457 deleted: tsearch/Makefile
5458 deleted: tsearch/README
5459 deleted: tsearch/RUNTEST
5460 deleted: tsearch/config.h
5461 deleted: tsearch/dwarf_incl.h
5462 deleted: tsearch/dwarf_tsearch.c
5463 deleted: tsearch/dwarf_tsearch.h
5464 deleted: tsearch/dwarf_tsearchbal.c
5465 deleted: tsearch/dwarf_tsearchbin.c
5466 deleted: tsearch/dwarf_tsearchepp.c
5467 deleted: tsearch/dwarf_tsearchhash.c
5468 deleted: tsearch/dwarf_tsearchred.c
5469 deleted: tsearch/scripts/TEST.sh
5470 deleted: tsearch/scripts/badsample
5471 deleted: tsearch/scripts/comparator.py
5472 deleted: tsearch/scripts/comparatorsample
5473 deleted: tsearch/scripts/concatlines.py
5474 deleted: tsearch/scripts/concatlinesample
5475 deleted: tsearch/scripts/secondsample
5476 deleted: tsearch/scripts/testin
5477 deleted: tsearch/tsearch.c
5478 deleted: tsearch/tsearch_tester.c
5479 deleted: tsearch/tsearchlibtimes.csv
5480 deleted: tsearch/tsearchlibtimes.ods
5481
5482 2021-06-25: David Anderson
5483 commit 494a7119d057b4f6068d0df7663eb07692ed26da
5484
5485 Now has all 4 public leb source. encode/decode
5486 and unsigned/signed. All in this one short source
5487 file makes testing of encode/decode really simple
5488 modified: src/lib/libdwarf/dwarf_leb.c
5489
5490 Use the public decode leb calls.
5491 modified: src/lib/libdwarf/dwarf_form.c
5492 modified: src/lib/libdwarf/dwarf_frame2.c
5493 modified: src/lib/libdwarf/dwarf_query.c
5494 modified: src/lib/libdwarf/dwarf_util.c
5495
5496 remove definition of ENCODE_SPACE_NEEDED, move to libdwarfp
5497 modified: src/lib/libdwarf/dwarf_util.h
5498
5499 Remove reference to libdwarf/dwarf_encode_nm.c and .h as
5500 these were deleted. Instead we call the encode
5501 functions in libdwarf itself.
5502 modified: src/lib/libdwarfp/CMakeLists.txt
5503
5504 definition of ENCODE_SPACE_NEEDED here now.
5505 modified: src/lib/libdwarfp/pro_opaque.h
5506
5507 Simplify selfleb test build.
5508 modified: test/CMakeLists.txt
5509 modified: test/Makefile.am
5510
5511 Use the public leb encode/decode functions now.
5512 modified: test/dwarf_leb_test.c
5513
5514 2021-06-24: David Anderson
5515 commit 5cd3040bd2003279406db147a9b96bdef6461589
5516
5517 Delete dwarf_encode_nm.c and dwarf_encode_nm.h.
5518 That code is now in dwarf_util.c
5519 deleted: src/lib/libdwarf/dwarf_encode_nm.c
5520 deleted: src/lib/libdwarf/dwarf_encode_nm.h
5521 modified: src/lib/libdwarf/CMakeLists.txt
5522 modified: src/lib/libdwarf/Makefile.am
5523
5524 dwarf_encode_leb128 and dwarf_encode_signed_leb128
5525 are now the complete implementations for encoding leb.
5526 modified: src/lib/libdwarf/dwarf_util.c
5527
5528 Define ENCODE_SPACE_NEEDED for leb encoding.
5529 modified: src/lib/libdwarf/dwarf_util.h
5530
5531 Remove build of libdwarf/dwarf_encode_nm.c, that
5532 file is gone. Rely on libdwarf dwarf_util.c to provide the
5533 needed functions
5534 modified: src/lib/libdwarfp/Makefile.am
5535
5536 Call the public dwarf_encode_signed_leb128 and
5537 dwarf_encode_leb128 instead of libdwarfp local
5538 versions.
5539 modified: src/lib/libdwarfp/pro_expr.c
5540 modified: src/lib/libdwarfp/pro_forms.c
5541 modified: src/lib/libdwarfp/pro_frame.c
5542 modified: src/lib/libdwarfp/pro_line.c
5543 modified: src/lib/libdwarfp/pro_macinfo.c
5544 modified: src/lib/libdwarfp/pro_section.c
5545
5546 2021-06-23: David Anderson
5547 commit f8826f61ca8ac8f3ba5528c0378eb814df621732
5548
5549 The dwarf_init*() functions had an 'access'
5550 argument that has meant nothing.
5551 For a few hours it was defined as zero.
5552 (since the DW_DLC defines in libdwarf
5553 have been removed).
5554 Now that useless argument has
5555 been deleted entirely, reducing
5556 the number of arguments to those functions
5557 by one.
5558
5559 modified: doc/libdwarf.mm
5560 modified: doc/libdwarf.pdf
5561 modified: src/bin/dwarfdump/dwarfdump.c
5562 modified: src/bin/dwarfexample/dwdebuglink.c
5563 modified: src/bin/dwarfexample/findfuncbypc.c
5564 modified: src/bin/dwarfexample/frame1.c
5565 modified: src/bin/dwarfexample/simplereader.c
5566 modified: src/bin/dwarfgen/createirepfrombinary.cc
5567 modified: src/lib/libdwarf/dwarf_generic_init.c
5568 modified: src/lib/libdwarf/dwarf_object_detector.c
5569 modified: src/lib/libdwarf/libdwarf.h
5570
5571 2021-06-23: David Anderson
5572 commit 760418a6a28f0a4715a825a65647a96a54829b70
5573
5574 Fixed the suggested grep command.
5575 modified: checkexamples.c
5576
5577 2021-06-23: David Anderson
5578 commit 602cc4276e66cf3beb1d71a7c7e0e0fcd0a2ab11
5579
5580 Now has
5581 void examp...
5582 to match libdwarf.mm
5583 to ease checking.
5584 modified: checkexamples.c
5585
5586 2021-06-23: David Anderson
5587 commit 1faaeea00ad55d3802749b3512e35d770cca71bf
5588
5589 Removed obsolete example.
5590 modified: checkexamples.c
5591
5592 Fixed obsolete example using checkexamples.c code.
5593 modified: libdwarf.mm
5594 Regenerated
5595 modified: libdwarf.pdf
5596
5597 2021-06-23: David Anderson
5598 commit 080a7eb2052b2b9c2414294f1466073604e0dc61
5599
5600 Prevent -c (plain -c with no trailing letters)
5601 from doing anything: it really always was problematical.
5602 Ensure gf_use_old_dwarf_loclist false. That refers
5603 to obsolete API functions.
5604 modified: src/bin/dwarfdump/command_options.c
5605
5606 Delete the call to print_locs() as it
5607 was only usable for DWARF2,3, and could
5608 never be guaranteed to work due to the way
5609 the standard was written..
5610 modified: src/bin/dwarfdump/dwarfdump.c
5611
5612 Remove the only Dwarf_Locdesc struct reference.
5613 modified: src/bin/dwarfdump/esb_using_functions.h
5614
5615 Remove the prototype of print_locs()
5616 modified: src/bin/dwarfdump/globals.h
5617
5618 remove Dwarf_Locdesc arguments/variables.
5619 delete the lines of code for use with the
5620 old loclist representation.
5621 All location code now handles DWARF2,3,4,5
5622 and the old DWARF2,3,4-only versions gone.
5623 modified: src/bin/dwarfdump/print_die.c
5624
5625 Remove a pointer arg related to Dwarf_Locdesc
5626 modified: src/bin/dwarfdump/print_frames.c
5627
5628 Remove checkexamples from the EXTRA_DIST list
5629 modified: src/lib/libdwarf/Makefile.am
5630
5631 We no longer want DW_DLA_LOC or DW_DLA_LOCDESC
5632 or DW_DLA_LOC_BLOCK
5633 so those no longer allocated.
5634 modified: src/lib/libdwarf/dwarf_alloc.c
5635
5636 Delete dwarf_get_loclist_entry() entirely, it
5637 only worked for DWARF2, DWARF3, really.
5638 modified: src/lib/libdwarf/dwarf_loc.c
5639
5640 Delete struct Dwarf_Loc,Dwarf_Locdesc
5641 as with the above changes they are no longer used.
5642 modified: src/lib/libdwarf/libdwarf.h
5643
5644 2021-06-23: David Anderson
5645 commit 9333fac9bea19c8487d7f86f6b97ac97bf75a3db
5646
5647 New file here.
5648 modified: doc/Makefile.am
5649
5650 checkexamples is examples for libdwarf.mm to verify
5651 they are syntactically ok in the .mm
5652 renamed: src/lib/libdwarf/checkexamples.c -> doc/checkexamples.c
5653 Update for deleted print_locs.c
5654 modified: src/bin/dwarfdump/CMakeLists.txt
5655 modified: src/bin/dwarfdump/Makefile.am
5656
5657 We no longer need this file. No longer in .am or CMakeLists.txt
5658 deleted: src/bin/dwarfdump/print_locs.c
5659
5660 2021-06-23: David Anderson
5661 commit a154c319029aa977d4fa6aa13b7800810bdd07c1
5662
5663 Delete Dwarf_Loclists_Entry as it is never used anywhere.
5664 modified: src/lib/libdwarf/libdwarf.h
5665
5666 2021-06-23: David Anderson
5667 commit b56ef5568d1e3d9cea600d9a18dc074d2ae830ff
5668
5669 The structs and functions deleted here
5670 only worked for DWARF2, were obsolete
5671 by DWARF3.
5672
5673 delete dwarf_get_fde_info_for_all_regs()
5674 delete Dwarf_Regtable_Entry struct
5675 delete Dwarf_Regtable struct
5676 modified: src/lib/libdwarf/libdwarf.h
5677
5678 delete dwarf_get_fde_info_for_all_regs as obsolete.
5679 modified: src/lib/libdwarf/dwarf_frame.c
5680
5681 2021-06-23: David Anderson
5682 commit 190fed6a846a233ae6582107e310b925f6b29c7d
5683
5684 All instances of
5685 typedef struct {
5686 ... } foo;
5687 now show a struct foo_s as the struct name,
5688 consistent with the rest of libdwarf.
5689 modified: libdwarf.h
5690
5691 2021-06-22: David Anderson
5692 commit c1f7d40bcffefef4712699138c61a65faedaf63d
5693
5694 Delete dwarf_srclines_dealloc(), obsolete
5695 modified: doc/libdwarf.mm
5696
5697 Revise description of --file-line5=<val>
5698 as we no longer test or use obsolete functions.
5699 Ensure that --file-line5= only requests
5700 s2l and singldw5 (dwarfdump enum values)
5701 so we just call the desired functions.
5702 modified: src/bin/dwarfdump/command_options.c
5703
5704 Refactor some check code into a new
5705 local check_last_line_of_table()
5706 to shorten a long function.
5707 delete the code for lines enum values
5708 org and orig2l.
5709 modified: src/bin/dwarfdump/print_lines.c
5710
5711 Now use dwarf_srclines_b()
5712 and dwarf_srclines_from_linecontext() instead of the old
5713 way.
5714 modified: src/bin/dwarfgen/createirepfrombinary.cc
5715
5716 Delete dwarf_srclines as obsolete.
5717 Delete dwarf_srclines_files_data as obsolete.
5718 Delete dwarf_srclines_dealloc as obsolete.
5719 modified: libdwarf/dwarf_line.c
5720
5721 Add struct name instead of having a typedef name
5722 for some structs defined in libdwarf.h for easier
5723 reading.
5724 Delete dwarf_srclines()
5725 Delete dwarf_srclines_dealloc()
5726 Delete dwarf_srclines_files_data()
5727 modified: src/lib/libdwarf/libdwarf.h
5728
5729 2021-06-22: David Anderson
5730 commit d87bae362a4f587d13a66f2174bed9b0545eb86c
5731
5732 Now uses the correct dwarf_lineoff_b() function. dwarf_offdie_b()
5733 is better documented.
5734 Deleted dwarf_offdie() from the document.
5735 Deleted dwarf_lineoff() from the document.
5736 modified: doc/libdwarf.mm
5737
5738 Now calls dwarf_get_locdesc_entry_d() instead of _c version.
5739 modified: src/bin/dwarfdump/print_frames.c
5740
5741 Delete dwarf_lineoff() code as obsolete, use _b version.
5742 modified: src/lib/libdwarf/dwarf_line.c:
5743
5744 Delete dwarf_get_locdesc_entry_c (use _d version).
5745 modified: src/lib/libdwarf/dwarf_loc.c
5746
5747 Delete the obsolete dwarf_check_lineheader(),use _b version.
5748 modified:src/lib/libdwarf/dwarf_print_lines.c
5749
5750 Delete obsolete functions
5751 dwarf_offdie
5752 dwarf_lineoff
5753 dwarf_get_locdesc_entry_c
5754 dwarf_check_lineheader
5755 modified: src/lib/libdwarf/libdwarf.h
5756
5757 2021-06-22: David Anderson
5758 commit 96ee1bfbf1071b0eba4cb4135f1c90d05c3e2ee5
5759
5760 Making protype appearance more regular,
5761 with the initial argument next to the return int
5762 and the function name.
5763 A few arg names were not in /* */ so fixed.
5764 modified: libdwarf.h
5765
5766 2021-06-22: David Anderson
5767 commit eb9daebb03794bb8033c748ec75c2f0dd27762b8
5768
5769 With the help of configure --version and 'cut' a bunch
5770 of python code is now a single line of shell command.
5771 modified: scripts/buildandreleasetest.sh
5772
5773 2021-06-22: David Anderson
5774 commit 41585bebdd91cf3ba7c3631a5aa2c842bbff33cc
5775
5776 Remove all mention of HAVE_CUSTOM_LIBELF
5777 as that is not available.
5778 We don't use libelf any more!
5779 modified: CMakeLists.txt
5780 modified: configure.ac
5781 modified: src/bin/dwarfdump/dwarfdump.c
5782 modified: src/bin/dwarfexample/dwdebuglink.c
5783 modified: src/lib/libdwarf/dwarf_object_detector.c
5784 modified: src/lib/libdwarf/libdwarf.h
5785
5786 2021-06-22: David Anderson
5787 commit 88bf7c78814c5a27392a62dab9ab3ce6a949ea01
5788
5789 Now the DEBUG_INFO macros have the same value in
5790 glflags.h and pro_opaque.h. It's not essential,
5791 but looks better.
5792
5793 In pro_opaque.h the values matter as they must match
5794 locations in a C array.
5795 So we changed the values (and in two cases names)
5796 in glflags.h to match.
5797 Each set of defines has a nearby comment mentioning
5798 the other set.
5799
5800 modified: src/bin/dwarfdump/glflags.h
5801 modified: src/bin/dwarfdump/print_static_funcs.c
5802 modified: src/bin/dwarfdump/print_static_vars.c
5803 modified: src/lib/libdwarfp/pro_opaque.h
5804
5805 2021-06-22: David Anderson
5806 commit 2707b73a737ec2d3a338898d9332663c3fe93b9e
5807
5808 Moved the DWARF_DBG_ERROR macro definition to dwarf_error.h
5809 and removed the definitions in the .c files
5810 modified: src/lib/libdwarf/dwarf_error.h
5811 modified: src/lib/libdwarf/dwarf_generic_init.c
5812 modified: src/lib/libdwarf/dwarf_init_finish.c
5813
5814 2021-06-22: David Anderson
5815 commit 5d1f6c7ccdfca0c65760af3651ecdec3656a1cf3
5816
5817 Moved
5818 enum Dwarf_Rel_Type
5819 struct Dwarf_P_Marker_s
5820 struct Dwarf_Relocation_Data_s
5821 struct Dwarf_P_String_Attr_s
5822 to libdwarfp.h where they belong.
5823 Deleted DW_DLC_READ DW_DLC_WRITE DW_DLC_RDWR
5824 as useless. Pass 0 instead of DW_DLC_READ
5825 as that always worked.
5826 modified: libdwarf.h
5827
5828 Added the structs taken from libdwarf.h
5829 modified: libdwarfp.h
5830
5831 Use 0 instead of DW_DLC_READ (DW_DLC_READ
5832 was obsolete two decades ago).
5833 modified: src/bin/dwarfdump/dwarfdump.c
5834 modified: src/bin/dwarfexample/dwdebuglink.c
5835 modified: src/bin/dwarfexample/findfuncbypc.c
5836 modified: src/bin/dwarfexample/frame1.c
5837 modified: src/bin/dwarfexample/simplereader.c
5838 modified: src/bin/dwarfgen/createirepfrombinary.cc
5839 modified: src/bin/dwarfgen/dwarfgen.cc
5840
5841 Removed a few lines to libdwarfp/README, added
5842 a couple lines mentioning autogen.sh
5843 modified: src/lib/libdwarf/README
5844
5845 Remove the 'access' argument from internal
5846 initialization functions as it is never used.
5847 modified: src/lib/libdwarf/dwarf_elfread.c
5848 modified: src/lib/libdwarf/dwarf_generic_init.c
5849 modified: src/lib/libdwarf/dwarf_machoread.c
5850 modified: src/lib/libdwarf/dwarf_object_detector.c
5851 modified: src/lib/libdwarf/dwarf_opaque.h
5852 modified: src/lib/libdwarf/dwarf_peread.c
5853
5854 Now has a useful comment.
5855 modified: src/lib/libdwarfp/README
5856
5857 Document that one uses 0 instead
5858 of DW_DLC_READ when calling dwarf_init functions.
5859 modified: doc/libdwarf.mm Rev 4.4
5860 modified: doc/libdwarf.pdf Regenerated
5861
5862 2021-06-21: David Anderson
5863 commit 8de094bbf4007cff0d355ee7b786c29725a22fe5
5864
5865 It was using sed and
5866 grep -o
5867 to extract the v_maj etc to make the
5868 complete version number,
5869 but -o is not a standard option.
5870 It did nothing on FreeBSD 12.
5871
5872 Now there is is a python 3 script
5873 that does the entire job and we test
5874 the exit code so in case of failure
5875 it all stops and the python error message (to stderr)
5876 can be noticed easily.
5877 modified: scripts/buildandreleasetest.sh
5878
5879 2021-06-21: David Anderson
5880 commit 3ad2d897fb005ff05f04b3acc39298b1d76df520
5881
5882 Removing an unused variable.
5883 modified: bugxml/bugrecord.py
5884
5885 2021-06-20: David Anderson
5886 commit d3a9a6325c2172f67c6bd82c59fac32d6dca782f
5887
5888 modified: dwarf_frame.h
5889
5890 Modified dw_stpcpy to fully check there is
5891 no memory corruption,
5892 return DW_DLV_OK if successful,
5893 and use it rather than strcpy everywhere.
5894 modified: dwarf_object_detector.c
5895
5896 Remove obsolete comments.
5897 Delete _dwarf_print_lines() as unused now.
5898 modified: dwarf_print_lines.c
5899
5900 Removed:
5901 _dwarf_fde_section_offset()
5902 _dwarf_cie_section_offset()
5903 dwarf_get_ranges()
5904 dwarf_object_detector_path()
5905
5906 Fixed dwarf_object_detector_path_b()
5907 and dwarf_object_detector_path_dSYM()
5908 as the arg list here
5909 did not have the arg names commented-out. Now commented out
5910 to protect against corruption by macros.
5911
5912 modified: libdwarf.h
5913
5914 2021-06-20: David Anderson
5915 commit e09e89c8b4019b938a1a4daf740d4073ad458f25
5916
5917 Both now call dwarf_object_detector_path_b().
5918 modified: src/bin/dwarfdump/dwarfdump.c
5919 modified: src/bin/dwarfexample/dwdebuglink.c
5920
5921 2021-06-20: David Anderson
5922 commit 3cd12cad5b025fce07fea0aafa7e3a6fca2e9786
5923
5924 Adding/correcting the doc of
5925 dwarf_object_detecor_path_b()
5926 and
5927 dwarf_object_detector_dSYM().
5928 modified: doc/libdwarf.mm
5929 modified: doc/libdwarf.pdf
5930
5931 2021-06-19: David Anderson
5932 commit 06663f3b0b4de01759dbd96f4dd0bb16473f9dce
5933
5934 The following obsolete functions have been
5935 deleted from the API (meaning from libdwarf.h):
5936
5937 -int dwarf_loclist_n(Dwarf_Attribute
5938 -int dwarf_loclist(Dwarf_Attribute
5939 -int dwarf_loclist_from_expr(Dwarf_D
5940 -int dwarf_loclist_from_expr_a(Dwarf_
5941 -int dwarf_loclist_from_expr_b(Dwarf_
5942 -int dwarf_get_cu_die_offset_given_cu
5943 -int dwarf_get_abbrev_entry(Dwarf_Ab
5944 -int dwarf_get_rnglists_entry_fields(
5945
5946 modified: doc/libdwarf.mm
5947 modified: doc/libdwarf.pdf
5948 modified: src/lib/libdwarf/libdwarf.h
5949
5950 These files removed their implementation code
5951 for the deleted functions.
5952 modified: src/bin/dwarfdump/print_die.c
5953 modified: src/bin/dwarfdump/print_frames.c
5954 modified: src/lib/libdwarf/dwarf_abbrev.c
5955 modified: src/lib/libdwarf/dwarf_global.c
5956 modified: src/lib/libdwarf/dwarf_loc.c
5957 modified: src/lib/libdwarf/dwarf_rnglists.c
5958
5959 2021-06-19: David Anderson
5960 commit de214c3debdcb54b19597d2727194fdec2195b21
5961
5962 Removing:
5963 -int dwarf_get_cie_info(Dwarf_Cie /*cie*/,
5964 -int dwarf_get_fde_info_for_reg(Dwarf_Fde /*fde*/,
5965 -int dwarf_get_fde_info_for_reg3(Dwarf_Fde /*fde*/,
5966 -int dwarf_get_fde_info_for_cfa_reg3(Dwarf_Fde /*fde*/,
5967 -int dwarf_get_arange_info(
5968 as these are old versions no one should use.
5969 Newer versions end in _a or _b or the like.
5970 modified: src/lib/libdwarf/dwarf_arange.c
5971 modified: src/lib/libdwarf/dwarf_frame.c
5972 modified: src/lib/libdwarf/libdwarf.h
5973
5974 2021-06-19: David Anderson
5975 commit d671d25522f10633238f47cc6babe32883743168
5976
5977 Using the correct newer interfaces instead
5978 of old deprecated libdwarf functions.
5979 modified: src/bin/dwarfexample/frame1.c
5980 modified: src/bin/dwarfgen/createirepfrombinary.cc
5981
5982 2021-06-19: David Anderson
5983 commit 6e1e07207040d2d987ec2facaf4ac7acaf5e7097
5984
5985 dwarfdump.conf abi specifications
5986 mips-irix
5987 mips-irix2
5988 deleted as they just allowed testing of now-deleted
5989 libdwarf functions.
5990 Using
5991 mips
5992 instead on mips DWARF.
5993 modified: src/bin/dwarfdump/dwarfdump.conf
5994
5995 Removing interface category 2, it's obsolete.
5996 modified: src/bin/dwarfdump/dwconf.c
5997 modified: src/bin/dwarfdump/dwconf.h
5998 Using the new interface, should have been using it
5999 for a long time.
6000 modified: src/bin/dwarfdump/print_frames.c
6001
6002 2021-06-19: David Anderson
6003 commit f2551862783957f1ecda5250e542fbf6eab5f5ec
6004
6005 Removed obsolete descriptions.
6006 -int dwarf_get_cie_info(Dwarf_Cie /*cie*/,
6007 -int dwarf_get_fde_info_for_reg(Dwarf_Fde /*fde*/,
6008 -int dwarf_get_fde_info_for_reg3(Dwarf_Fde /*fde*/,
6009 -int dwarf_get_fde_info_for_cfa_reg3(Dwarf_Fde /*fde*/,
6010 -int dwarf_get_arange_info(
6011 Current functions end in _a or _b and have been
6012 in the library for years.
6013 Source code changes in the next commit.
6014 modified: doc/libdwarf.mm
6015 modified: doc/libdwarf.pdf
6016
6017 2021-06-19: David Anderson
6018 commit 6fc426db8b39dc7b2606b65eebab167069f401c7
6019
6020 Removed mention of the obsolete
6021 dwarf_init()
6022 dwarf_elf_init()
6023 dwarf_elf_init_b()
6024 functions.
6025 They are obsolete and removed.
6026 modified: libdwarf.mm
6027 modified: libdwarf.pdf
6028
6029 2021-06-18: David Anderson
6030 commit 0251c755e5273e5f6351c06d0b6d5b8cc80fd942
6031
6032 These were using obsolete libdwarf interfaces.
6033 Updated to match the preferred interfaces.
6034 modified: src/bin/dwarfdump/globals.h
6035 modified: src/bin/dwarfdump/print_aranges.c
6036 modified: src/bin/dwarfdump/print_die.c
6037 modified: src/bin/dwarfdump/print_frames.c
6038 modified: src/bin/dwarfdump/print_pubnames.c
6039 modified: src/bin/dwarfdump/print_ranges.c
6040
6041 The following obsolete interfaces deleted:
6042 int dwarf_init(int /*fd*/,
6043 int dwarf_get_ranges(Dwarf_Debug dbg,
6044 int dwarf_get_ranges_a(Dwarf_Debug /*dbg*/,
6045 modified: src/lib/libdwarf/dwarf_die_deliv.c
6046 modified: src/lib/libdwarf/dwarf_global.c
6047
6048 2021-06-18: David Anderson
6049 commit 84a87f237497bb3658df6b9c254930b3d67556db
6050
6051 The hard-to-use function
6052 dwarf_uncompress_integer_block()
6053 has long had
6054 dwarf_uncompress_integer_block_a()
6055 as the better form.
6056 dwarf_uncompress_integer_block() is hereby deleted.
6057 It's unclear if anyone is using this Sun Sparc compiler
6058 feature from 2007 or so.
6059 modified: src/lib/libdwarf/dwarf_form.c
6060 modified: src/lib/libdwarf/libdwarf.h
6061
6062 2021-06-18: David Anderson
6063 commit f53086d965d970178bbadd90db1b92bcc15c541e
6064
6065 Only install libdwarfp.pdf if we have libdwarfp.
6066 modified: Makefile.am
6067
6068 2021-06-18: David Anderson
6069 commit 9170f91f521d7f9cf8609f2902e43020bd29ad69
6070
6071 Removed documentation of obsoleted functions.
6072 modified: doc/libdwarf.mm
6073 modified: doc/libdwarf.pdf
6074
6075 Update to use the correct libdwarf functions instead
6076 of long-obsolete versions.
6077 modified: src/bin/dwarfdump/print_ranges.c
6078 modified: src/bin/dwarfexample/findfuncbypc.c
6079 modified: src/lib/libdwarf/dwarf_generic_init.c
6080 modified: src/lib/libdwarf/dwarf_ranges.c
6081 modified: src/lib/libdwarf/libdwarf.h
6082
6083 No longer used.
6084 deleted: src/lib/libdwarf/dwarf_original_elf_init.c
6085
6086 2021-06-18: David Anderson
6087 commit 3259b469af43dab5c6700e5e482f238e22f22e3d
6088
6089 The API functions
6090 dwarf_elf_init
6091 dwarf_elf_init_b
6092 are removed. libdwarf does not use libelf
6093 now so these cannot be used.
6094
6095 We stop building dwarf_original_elf_init.c
6096 as its code (it used struct Elf) is unused.
6097
6098 modified: src/bin/dwarfdump/dwarfdump.c
6099 modified: src/lib/libdwarf/CMakeLists.txt
6100 modified: src/lib/libdwarf/Makefile.am
6101 modified: src/lib/libdwarf/libdwarf.h
6102
6103 2021-06-18: David Anderson
6104 commit a07223ffb0b4c9aa5e35f42a39d3a21e16192f40
6105
6106 It's embarassing, but these all were calling
6107 obsolete old API functions. Now they
6108 call the current API functions with
6109 the current _x letter pair (varies by function)
6110 modified: src/bin/dwarfdump/dwarfdump.c
6111 modified: src/bin/dwarfdump/glflags.h
6112 modified: src/bin/dwarfdump/print_frames.c
6113 modified: src/bin/dwarfdump/print_sections.c
6114 modified: src/bin/dwarfgen/createirepfrombinary.cc
6115
6116 2021-06-18: David Anderson
6117 commit a24a1d48c829060ebf1a0567654271203dc82e2c
6118
6119 The source for these obsolete API interfaces
6120 has now been deleted in favor of newer interfaces
6121 that have been in place for 2+ years.
6122 int dwarf_object_init(Dwarf_Obj_Access_Interface* /*obj*/,
6123 int dwarf_next_cu_header_b(Dwarf_Debug /*dbg*/,
6124 int dwarf_next_cu_header_c(Dwarf_Debug /*dbg*/,
6125 int dwarf_next_cu_header(Dwarf_Debug /*dbg*/,
6126 int dwarf_siblingof(Dwarf_Debug /*dbg*/,
6127 int dwarf_get_section_max_offsets(Dwarf_Debug /*dbg*/,
6128 int dwarf_get_section_max_offsets_b(Dwarf_Debug /*dbg*/,
6129 int dwarf_get_section_max_offsets_c(Dwarf_Debug /*dbg*/,
6130 modified: src/lib/libdwarf/dwarf_die_deliv.c
6131 modified: src/lib/libdwarf/dwarf_init_finish.c
6132
6133 2021-06-18: David Anderson
6134 commit 2e0dcab2575fd3a4c7a7d62293791951e623c0ed
6135
6136 We are dropping these old functions from the API.
6137 Each has a replacement with a _<letter> (a or whatever
6138 is next in each case) in the name,
6139 a replacement that has been in place for two years+
6140 (sometimes much longer) as the recommended function to call.
6141 int dwarf_object_init(Dwarf_Obj_Access_Interface* /*obj*/,
6142 int dwarf_next_cu_header_b(Dwarf_Debug /*dbg*/,
6143 int dwarf_next_cu_header_c(Dwarf_Debug /*dbg*/,
6144 int dwarf_next_cu_header(Dwarf_Debug /*dbg*/,
6145 int dwarf_siblingof(Dwarf_Debug /*dbg*/,
6146 int dwarf_get_section_max_offsets(Dwarf_Debug /*dbg*/,
6147 int dwarf_get_section_max_offsets_b(Dwarf_Debug /*dbg*/,
6148 int dwarf_get_section_max_offsets_c(Dwarf_Debug /*dbg*/,
6149 modified: doc/libdwarf.mm
6150 modified: src/lib/libdwarf/libdwarf.h
6151
6152 2021-06-17: David Anderson
6153 commit d275fcdfd415959fb4ae789c8d3eda90af449b1c
6154
6155 Cleaning up Rev 4.2 to catch ends of
6156 italicized words and to delete some
6157 obsolete wording.
6158 modified: libdwarfp.mm
6159 modified: libdwarfp.pdf
6160
6161 2021-06-17: David Anderson
6162 commit be9f31942a8d3b485cdc4a9831bac570c2456f26
6163
6164 Now at version 4.2
6165 modified: libdwarf.pdf
6166 Now at version 4.2, old API functions removed.
6167 modified: libdwarfp.pdf
6168
6169 2021-06-17: David Anderson
6170 commit 626782318d0a95196192d03040452c114aa6504d
6171
6172 Removing obsolete versions of API functions from the API
6173 Dwarf_P_Die dwarf_new_die(
6174 Dwarf_Unsigned dwarf_add_die_to_debug(
6175 Dwarf_Unsigned dwarf_add_die_marker(
6176 Dwarf_P_Expr dwarf_new_expr(Dwarf_P_Debug /*dbg*/,
6177 Dwarf_Unsigned dwarf_add_expr_gen(
6178 Dwarf_Unsigned dwarf_add_expr_addr(
6179 Dwarf_Unsigned dwarf_add_expr_addr_b(
6180 Dwarf_Unsigned dwarf_expr_current_offset(
6181 Dwarf_Addr dwarf_expr_into_block(
6182 Dwarf_Unsigned dwarf_add_arange(Dwarf_P_Debug /*dbg*/,
6183 Dwarf_Unsigned dwarf_add_arange_b(
6184 Dwarf_Unsigned dwarf_add_pubname(
6185 Dwarf_Unsigned dwarf_add_pubtype(
6186 Dwarf_Unsigned dwarf_add_funcname(
6187 Dwarf_Unsigned dwarf_add_typename(
6188 Dwarf_Unsigned dwarf_add_varname(
6189 Dwarf_Unsigned dwarf_add_weakname(
6190 modified: doc/libdwarfp.mm
6191 modified: src/lib/libdwarfp/libdwarfp.h
6192 modified: src/lib/libdwarfp/pro_arange.c
6193 modified: src/lib/libdwarfp/pro_die.c
6194 modified: src/lib/libdwarfp/pro_expr.c
6195 modified: src/lib/libdwarfp/pro_funcs.c
6196 modified: src/lib/libdwarfp/pro_pubnames.c
6197 modified: src/lib/libdwarfp/pro_types.c
6198 modified: src/lib/libdwarfp/pro_vars.c
6199 modified: src/lib/libdwarfp/pro_weaks.c
6200
6201 2021-06-17: David Anderson
6202 commit 918d4510151298fdd984db30290585143973873c
6203
6204 Was using a couple old libdwarfp.h interfaces,
6205 now uses the correct functions.
6206 modified: src/bin/dwarfgen/ireptodbg.cc
6207
6208 2021-06-17: David Anderson
6209 commit 223449c56847b67a4c83c082f1746e06b72bf22d
6210
6211 Removed another set of obsolete versions of producer
6212 functions.
6213 Dwarf_P_Attribute dwarf_add_AT_const_value_unsignedint(
6214 Dwarf_P_Attribute dwarf_add_AT_name(Dwarf_P_Die /*die*/,
6215 Dwarf_P_Attribute dwarf_add_AT_with_ref_sig8(
6216 Dwarf_Unsigned dwarf_add_directory_decl(Dwarf_P_Debug /*dbg*/,
6217 Dwarf_Unsigned dwarf_add_file_decl(Dwarf_P_Debug /*dbg*/,
6218 Dwarf_Unsigned dwarf_add_line_entry_b(Dwarf_P_Debug /*dbg*/,
6219 Dwarf_Unsigned dwarf_add_line_entry(Dwarf_P_Debug /*dbg*/,
6220 Dwarf_Unsigned dwarf_lne_set_address(Dwarf_P_Debug /*dbg*/,
6221 Dwarf_Unsigned dwarf_lne_end_sequence(Dwarf_P_Debug /*dbg*/,
6222 Dwarf_Unsigned dwarf_add_frame_cie(Dwarf_P_Debug /*dbg*/,
6223 Dwarf_Unsigned dwarf_add_frame_fde(
6224 Dwarf_Unsigned dwarf_add_frame_fde_b(
6225 Dwarf_Unsigned dwarf_add_frame_info_b(
6226 Dwarf_Unsigned dwarf_add_frame_info(
6227 Dwarf_P_Fde dwarf_add_fde_inst(
6228 Dwarf_P_Fde dwarf_new_fde(Dwarf_P_Debug /*dbg*/,
6229 Dwarf_P_Fde dwarf_fde_cfa_offset(
6230 modified: doc/libdwarfp.mm
6231 modified: src/lib/libdwarfp/libdwarfp.h
6232 modified: src/lib/libdwarfp/pro_die.c
6233 modified: src/lib/libdwarfp/pro_forms.c
6234 modified: src/lib/libdwarfp/pro_frame.c
6235 modified: src/lib/libdwarfp/pro_line.c
6236
6237 2021-06-17: David Anderson
6238 commit 737ccafd3a58479fc7813bf91d71d744abf83666
6239
6240 Rearrange the ifdefs on _WIN32,_MSC_VER, and HAVE_UNISTD_H
6241 so they work better on Windows.
6242
6243 modified: src/bin/dwarfgen/createirepfrombinary.cc
6244
6245 2021-06-17: David Anderson
6246 commit 12e3a5416f8a0e99ba1065ef709d74ec3d6b65bf
6247
6248 Rearrange the ifdefs on _WIN32,_MSC_VER, and HAVE_UNISTD_H
6249 so they work better on Windows.
6250 modified: src/bin/dwarfdump/dwarfdump.c
6251 modified: src/bin/dwarfexample/findfuncbypc.c
6252 modified: src/bin/dwarfexample/frame1.c
6253 modified: src/bin/dwarfexample/simplereader.c
6254
6255 2021-06-17: David Anderson
6256 commit 648b12e7f38d810d4c6c488d4e86cf0fe228b09b
6257
6258 Rearrange the ifdefs on _WIN32,_MSC_VER, and HAVE_UNISTD_H
6259 so they work better on Windows.
6260 modified: src/lib/libdwarf/dwarf_crc32.c
6261 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
6262 modified: src/lib/libdwarf/dwarf_elfread.c
6263 modified: src/lib/libdwarf/dwarf_generic_init.c
6264 modified: src/lib/libdwarf/dwarf_machoread.c
6265 modified: src/lib/libdwarf/dwarf_object_detector.c
6266 modified: src/lib/libdwarf/dwarf_object_read_common.c
6267 modified: src/lib/libdwarf/dwarf_peread.c
6268 modified: src/lib/libdwarf/dwarf_util.c
6269
6270 2021-06-17: David Anderson
6271 commit 7d6b98ed0ac95ab7165223dc3fa708d591a7b70e
6272
6273 the following obsolete functions have
6274 been removed because the returned type was
6275 overloaded with a negative integer on error.
6276 Ugly casts required to check the return value.
6277 Dwarf_P_Attribute dwarf_add_AT_unsigned_const(Dwarf_P_Debug /*dbg*/,
6278 Dwarf_P_Attribute dwarf_add_AT_signed_const(Dwarf_P_Debug /*dbg*/,
6279 Dwarf_P_Attribute dwarf_add_AT_reference(Dwarf_P_Debug /*dbg*/,
6280 Dwarf_P_Attribute dwarf_add_AT_reference_b(Dwarf_P_Debug /*dbg*/,
6281 Dwarf_P_Attribute dwarf_add_AT_dataref(
6282 Dwarf_P_Attribute dwarf_add_AT_const_value_string(
6283 Dwarf_P_Attribute dwarf_add_AT_location_expr(Dwarf_P_Debug /*dbg*/,
6284 Dwarf_P_Attribute dwarf_add_AT_string(Dwarf_P_Debug /*dbg*/,
6285 Dwarf_P_Attribute dwarf_add_AT_flag(Dwarf_P_Debug /*dbg*/,
6286 Dwarf_P_Attribute dwarf_add_AT_producer(Dwarf_P_Die /*ownerdie*/,
6287 Dwarf_P_Attribute dwarf_add_AT_any_value_sleb(
6288 Dwarf_P_Attribute dwarf_add_AT_const_value_signedint(
6289 Dwarf_P_Attribute dwarf_add_AT_any_value_uleb(
6290 Dwarf_P_Attribute dwarf_add_AT_comp_dir(Dwarf_P_Die /*ownerdie*/,
6291
6292 modified: doc/libdwarfp.mm
6293 modified: src/lib/libdwarfp/libdwarfp.h
6294 modified: src/lib/libdwarfp/pro_die.c
6295 modified: src/lib/libdwarfp/pro_forms.c
6296 modified: src/lib/libdwarfp/pro_section.c
6297
6298 2021-06-17: David Anderson
6299 commit d8cfb65183f9f7eaa03fb2b10b1353c745cf6cf4
6300
6301 Added a remark about dwarf_formudata()
6302 modified: doc/libdwarf.mm
6303
6304 2021-06-17: David Anderson
6305 commit be30390462d1a5d7afc03339f37af3494ea59be2
6306
6307 Removed some message() lines that were just for understanding
6308 what was going on.
6309 modified: src/lib/libdwarfp/CMakeLists.txt
6310
6311 2021-06-17: David Anderson
6312 commit 0a821aef2a0b16281640889e204512621ef3c93b
6313
6314 More careful to note if a constant is signed by DW_FORM_sdata
6315 modified: src/bin/dwarfgen/createirepformfrombinary.cc
6316 Added comments related to signed/unsigned FORMs.
6317 modified: src/bin/dwarfgen/irepattrtodbg.cc
6318
6319 2021-06-17: David Anderson
6320 commit c3b6a9f8cca086c144898f0452bd079a936428de
6321
6322 Adding comments with dwarf_formudata()
6323 modified: src/lib/libdwarf/dwarf_form.c
6324
6325 2021-06-16: David Anderson
6326 commit 4df3e549f21f3e232c50d58dfbe820fb93f252ab
6327
6328 Previous change to dwarf_formudata()
6329 was really broken. Now fixed.
6330 modified: src/lib/libdwarf/dwarf_form.c
6331
6332 2021-06-16: David Anderson
6333 commit fe94c50a303e1fd7abbebb84eb751176013046b5
6334
6335 The DW_DLE_NEGATIVE_SIZE
6336 define was duplicated.
6337 Now just one present.
6338 modified: libdwarf.h
6339
6340 2021-06-16: David Anderson
6341 commit 457bfb8b2744e855c45f4737373fba7ccd47e6fa
6342
6343 Removed doc of the interfaces mentioned below,
6344 modified: doc/libdwarfp.mm
6345
6346 Was actually using two obsolete API functions.
6347 Now using the new ones.
6348 modified: src/bin/dwarfgen/dwarfgen.cc
6349
6350 Removed the following functions as being obsolete,replaced
6351 over the last few years by better interface designs.
6352 -Dwarf_Signed dwarf_transform_to_disk_form(Dwarf_P_Debug /*dbg*/,
6353 -Dwarf_Ptr dwarf_get_section_bytes(Dwarf_P_Debug /*dbg*/,
6354 -Dwarf_Signed dwarf_get_die_markers(
6355 -Dwarf_Unsigned dwarf_producer_finish(Dwarf_P_Debug /*dbg*/,
6356 -Dwarf_P_Attribute dwarf_add_AT_targ_address(Dwarf_P_Debug /*dbg*/,
6357 -Dwarf_P_Attribute dwarf_add_AT_targ_address_b(Dwarf_P_Debug /*dbg*/,
6358 -Dwarf_P_Attribute dwarf_add_AT_block(Dwarf_P_Debug /*dbg*/,
6359 -Dwarf_P_Attribute dwarf_add_AT_ref_address(Dwarf_P_Debug /*dbg*/,
6360 -Dwarf_Unsigned dwarf_get_die_marker(
6361 -Dwarf_P_Die dwarf_die_link(
6362 .
6363 modified: src/lib/libdwarfp/libdwarfp.h
6364 modified: src/lib/libdwarfp/pro_die.c
6365 modified: src/lib/libdwarfp/pro_finish.c
6366 modified: src/lib/libdwarfp/pro_forms.c
6367 modified: src/lib/libdwarfp/pro_section.c
6368
6369 2021-06-16: David Anderson
6370 commit 4a28729f40d437967adde7d775619b6a7c5e434e
6371
6372 added arm64 build
6373 modified: .travis.yml
6374
6375 2021-06-16: David Anderson
6376 commit 8a8d5b29db0c9a67f3b466820da38271ee2d13eb
6377
6378 The renamings of these sources in libdwarf (function and
6379 source) remove the pro_ and substitute dwarf_
6380 These are not public functions, but they are called
6381 by public encode functions in libdwarf.h
6382 renamed: src/lib/libdwarf/pro_encode_nm.c -> src/lib/libdwarf/dwarf_encode_nm.c
6383 renamed: src/lib/libdwarf/pro_encode_nm.h -> src/lib/libdwarf/dwarf_encode_nm.h
6384 modified: src/lib/libdwarf/CMakeLists.txt
6385 modified: src/lib/libdwarf/Makefile.am
6386 modified: src/lib/libdwarf/dwarf_util.c
6387 modified: src/lib/libdwarfp/CMakeLists.txt
6388 modified: src/lib/libdwarfp/Makefile.am
6389 modified: src/lib/libdwarfp/pro_debug_sup.c
6390 modified: src/lib/libdwarfp/pro_expr.c
6391 modified: src/lib/libdwarfp/pro_forms.c
6392 modified: src/lib/libdwarfp/pro_frame.c
6393 modified: src/lib/libdwarfp/pro_init.c
6394 modified: src/lib/libdwarfp/pro_line.c
6395 modified: src/lib/libdwarfp/pro_macinfo.c
6396 modified: src/lib/libdwarfp/pro_section.c
6397 modified: test/CMakeLists.txt
6398 modified: test/Makefile.am
6399 modified: test/dwarf_leb_test.c
6400
6401 2021-06-16: David Anderson
6402 commit d0eecfa928f1abfa4211d64b0ae1d6e55de81299
6403
6404 Adding Requires: libdwarf and removing a -ldwarf
6405 modified: libdwarfp.pc.in
6406
6407 2021-06-15: David Anderson
6408 commit 8e7c2fbc9ab07b9e96c20b9d45d0eaf4061992f7
6409
6410 Only install libdwarfp.pc
6411 if --enable-dwarfgen (which builds libdwarfp)
6412 modified: Makefile.am
6413
6414 2021-06-15: David Anderson
6415 commit a6d8638c2089c42a6d00e375859b84feea309132
6416
6417 dwarf_formudata() now returns any constant
6418 including non-negative signed constant values.
6419 Negative signed constant values must be accessed
6420 via dwarf_formsdata() as always.
6421 modified: src/lib/libdwarf/dwarf_debug_names.c
6422 modified: src/lib/libdwarf/dwarf_errmsg_list.h
6423 modified: src/lib/libdwarf/dwarf_form.c
6424 modified: src/lib/libdwarf/dwarf_opaque.h
6425 modified: src/lib/libdwarf/libdwarf.h
6426
6427 2021-06-15: David Anderson
6428 commit f7d4c3bb6776a0e731f12002a9721257eb4d5e8a
6429
6430 modified: doc/libdwarf.mm ver 4.2
6431 Now dwarf_formudata() returns any non-negative
6432 value regardless of form. For actual negative
6433 values it is still up to callers to notice
6434 the returned error and call dwarf_formsdata().
6435 modified: doc/libdwarf.pdf regenerated
6436 modified: doc/libdwarfp.mm ver 4.1
6437 modified: doc/libdwarfp.pdf regenerated
6438
6439 2021-06-15: David Anderson
6440 commit 479b985e1f11253a21d5bbfb835b0769234478de
6441
6442 Now cmake make and ctest -R self
6443 work, and dwarfgen and libdwarfp build.
6444
6445 First commit where the producer library is
6446 a separate library: libdwarfp.a or libdwarfp-0.1.1.so
6447
6448 modified: CMakeLists.txt
6449 modified: src/bin/dwarfgen/CMakeLists.txt
6450 modified: src/lib/libdwarf/CMakeLists.txt
6451 modified: src/lib/libdwarfp/CMakeLists.txt
6452 modified: test/CMakeLists.txt
6453 modified: test/test_extra_flag_strings.c
6454
6455 2021-06-15: David Anderson
6456 commit 0494e16bbd4f8a177785594779c10d2d6b7da44b
6457
6458 Now libdwarf and libdwarfp build properly,
6459 a couple issues created earlier before
6460 split creating libdwarfp are now resolved
6461 so all build and make install and make dist ok
6462 when using configure.
6463 modified: src/lib/libdwarf/Makefile.am
6464 modified: src/lib/libdwarfp/Makefile.am
6465 modified: src/lib/libdwarfp/pro_incl.h
6466
6467 2021-06-14: David Anderson
6468 commit cbf7ec55ef1dfa1fab963c8dcc2ab59c8d79de5c
6469
6470 Now we can build libdwarfp with dwarfgen
6471 successfully. A minor omission means it's not perfect.
6472 No cmake support for the separation of
6473 libdwarf from libdwarfp yet.
6474 modified: Makefile.am
6475 modified: README
6476 modified: configure.ac
6477 new file: libdwarfp.pc.in
6478 modified: src/bin/dwarfgen/Makefile.am
6479 new file: src/bin/dwarfgen/dwgetopt.c
6480 new file: src/bin/dwarfgen/dwgetopt.h
6481 modified: src/lib/libdwarf/COPYING
6482 modified: src/lib/libdwarf/LIBDWARFCOPYRIGHT
6483 deleted: src/lib/libdwarfp/CODINGSTYLE
6484 modified: src/lib/libdwarfp/COPYING
6485 modified: src/lib/libdwarfp/Makefile.am
6486 deleted: src/lib/libdwarfp/cmake/libdwarf-config.cmake
6487 new file: src/lib/libdwarfp/cmake/libdwarfp-config.cmake
6488 modified: test/Makefile.am
6489
6490 2021-06-13: David Anderson
6491 commit 75f639c56c2b286d83947bd57266823afb39c329
6492
6493 Now we can build libdwarf with no producer code.
6494 modified: src/lib/libdwarf/Makefile.am
6495 renamed: src/lib/libdwarfp/pro_encode_nm.c -> src/lib/libdwarf/pro_encode_nm.c
6496 renamed: src/lib/libdwarfp/pro_encode_nm.h -> src/lib/libdwarf/pro_encode_nm.h
6497 modified: test/Makefile.am
6498
6499 2021-06-13: David Anderson
6500 commit e96b9448450b40ad87efb02d547c11af49aa7efc
6501
6502 DO NOT USE THIS COMMIT.
6503 It is a first step to building libdwarfp separately.
6504 modified: ../../../Makefile.am
6505 modified: Makefile.am
6506 new file: ../libdwarfp/CMakeLists.txt
6507 new file: ../libdwarfp/CODINGSTYLE
6508 new file: ../libdwarfp/COPYING
6509 new file: ../libdwarfp/ChangeLog
6510 new file: ../libdwarfp/Makefile.am
6511 new file: ../libdwarfp/NEWS
6512 new file: ../libdwarfp/README
6513 new file: ../libdwarfp/baseline.ltp
6514 new file: ../libdwarfp/cmake/libdwarf-config.cmake
6515 new file: ../libdwarfp/crc32.c
6516 new file: ../libdwarfp/dwarf_base_types.h
6517 new file: ../libdwarfp/dwarfstring.c
6518 renamed: libdwarfp.h -> ../libdwarfp/libdwarfp.h
6519 new file: ../libdwarfp/memcpy_swap.h
6520 renamed: pro_alloc.c -> ../libdwarfp/pro_alloc.c
6521 renamed: pro_alloc.h -> ../libdwarfp/pro_alloc.h
6522 renamed: pro_arange.c -> ../libdwarfp/pro_arange.c
6523 renamed: pro_arange.h -> ../libdwarfp/pro_arange.h
6524 renamed: pro_debug_sup.c -> ../libdwarfp/pro_debug_sup.c
6525 renamed: pro_die.c -> ../libdwarfp/pro_die.c
6526 renamed: pro_die.h -> ../libdwarfp/pro_die.h
6527 renamed: pro_dnames.c -> ../libdwarfp/pro_dnames.c
6528 renamed: pro_dnames.h -> ../libdwarfp/pro_dnames.h
6529 renamed: pro_encode_nm.c -> ../libdwarfp/pro_encode_nm.c
6530 renamed: pro_encode_nm.h -> ../libdwarfp/pro_encode_nm.h
6531 renamed: pro_error.c -> ../libdwarfp/pro_error.c
6532 renamed: pro_error.h -> ../libdwarfp/pro_error.h
6533 renamed: pro_expr.c -> ../libdwarfp/pro_expr.c
6534 renamed: pro_expr.h -> ../libdwarfp/pro_expr.h
6535 renamed: pro_finish.c -> ../libdwarfp/pro_finish.c
6536 renamed: pro_forms.c -> ../libdwarfp/pro_forms.c
6537 renamed: pro_frame.c -> ../libdwarfp/pro_frame.c
6538 renamed: pro_frame.h -> ../libdwarfp/pro_frame.h
6539 renamed: pro_funcs.c -> ../libdwarfp/pro_funcs.c
6540 renamed: pro_incl.h -> ../libdwarfp/pro_incl.h
6541 renamed: pro_init.c -> ../libdwarfp/pro_init.c
6542 renamed: pro_line.c -> ../libdwarfp/pro_line.c
6543 renamed: pro_line.h -> ../libdwarfp/pro_line.h
6544 renamed: pro_log_extra_flag_strings.c -> ../libdwarfp/pro_log_extra_flag_strings.c
6545 renamed: pro_macinfo.c -> ../libdwarfp/pro_macinfo.c
6546 renamed: pro_macinfo.h -> ../libdwarfp/pro_macinfo.h
6547 renamed: pro_opaque.h -> ../libdwarfp/pro_opaque.h
6548 renamed: pro_pubnames.c -> ../libdwarfp/pro_pubnames.c
6549 renamed: pro_reloc.c -> ../libdwarfp/pro_reloc.c
6550 renamed: pro_reloc.h -> ../libdwarfp/pro_reloc.h
6551 renamed: pro_reloc_stream.c -> ../libdwarfp/pro_reloc_stream.c
6552 renamed: pro_reloc_stream.h -> ../libdwarfp/pro_reloc_stream.h
6553 renamed: pro_reloc_symbolic.c -> ../libdwarfp/pro_reloc_symbolic.c
6554 renamed: pro_reloc_symbolic.h -> ../libdwarfp/pro_reloc_symbolic.h
6555 renamed: pro_section.c -> ../libdwarfp/pro_section.c
6556 renamed: pro_section.h -> ../libdwarfp/pro_section.h
6557 renamed: pro_types.c -> ../libdwarfp/pro_types.c
6558 renamed: pro_types.h -> ../libdwarfp/pro_types.h
6559 renamed: pro_util.h -> ../libdwarfp/pro_util.h
6560 renamed: pro_vars.c -> ../libdwarfp/pro_vars.c
6561 renamed: pro_weaks.c -> ../libdwarfp/pro_weaks.c
6562
6563 2021-06-13: David Anderson
6564 commit 1803fc67faa3cb85597a91539943dd0692bbdb0f
6565
6566 Now does <libdwarf.h> instead of "libdwarf.h"
6567
6568 modified: src/lib/libdwarf/libdwarfp.h
6569
6570 2021-06-13: David Anderson
6571 commit 3bfc355d0d4f858d24c74df4514a7c59c99fd831
6572
6573 Now #includes libdwarf.h
6574 modified: src/lib/libdwarf/libdwarfp.h
6575
6576 These all now include libdwarfp.h and get libdwarf.h
6577 automatically.
6578 modified: src/lib/libdwarf/pro_alloc.c
6579 modified: src/lib/libdwarf/pro_arange.c
6580 modified: src/lib/libdwarf/pro_debug_sup.c
6581 modified: src/lib/libdwarf/pro_die.c
6582 modified: src/lib/libdwarf/pro_dnames.c
6583 modified: src/lib/libdwarf/pro_encode_nm.c
6584 modified: src/lib/libdwarf/pro_error.c
6585 modified: src/lib/libdwarf/pro_expr.c
6586 modified: src/lib/libdwarf/pro_finish.c
6587 modified: src/lib/libdwarf/pro_forms.c
6588 modified: src/lib/libdwarf/pro_frame.c
6589 modified: src/lib/libdwarf/pro_funcs.c
6590 modified: src/lib/libdwarf/pro_init.c
6591 modified: src/lib/libdwarf/pro_line.c
6592 modified: src/lib/libdwarf/pro_log_extra_flag_strings.c
6593 modified: src/lib/libdwarf/pro_macinfo.c
6594 modified: src/lib/libdwarf/pro_pubnames.c
6595 modified: src/lib/libdwarf/pro_reloc.c
6596 modified: src/lib/libdwarf/pro_reloc_stream.c
6597 modified: src/lib/libdwarf/pro_reloc_symbolic.c
6598 modified: src/lib/libdwarf/pro_section.c
6599 modified: src/lib/libdwarf/pro_types.c
6600 modified: src/lib/libdwarf/pro_vars.c
6601 modified: src/lib/libdwarf/pro_weaks.c
6602 modified: test/test_extra_flag_strings.c
6603
6604 2021-06-13: David Anderson
6605 commit 9fe860fcf9518291068e95dc6b769dbaefa55649
6606
6607 Now MAINTAINERCLEANFILES always has Makefile.in
6608 modified: Makefile.am
6609 modified: doc/Makefile.am
6610 modified: src/bin/dwarfdump/Makefile.am
6611 modified: src/bin/dwarfexample/Makefile.am
6612 modified: src/bin/dwarfgen/Makefile.am
6613 modified: src/lib/libdwarf/Makefile.am
6614
6615 2021-06-13: David Anderson
6616 commit 9648fc6b2f1497e16edac8dd7a8f2ac8f20a16bf
6617
6618 Split libdwarf.h into two.
6619 Now all the producer interfaces are in libdwarfp.h
6620 libdwarf.h is always included before libdwarfp.h
6621 where libdwarfp.h is required.
6622 modified: configure.ac
6623 modified: src/bin/dwarfgen/createirepformfrombinary.cc
6624 modified: src/bin/dwarfgen/createirepfrombinary.cc
6625 modified: src/bin/dwarfgen/dwarfgen.cc
6626 modified: src/bin/dwarfgen/irepattrtodbg.cc
6627 modified: src/bin/dwarfgen/ireptodbg.cc
6628 modified: src/lib/libdwarf/Makefile.am
6629 modified: src/lib/libdwarf/dwarf_form.c
6630 modified: src/lib/libdwarf/libdwarf.h
6631 new file: src/lib/libdwarf/libdwarfp.h
6632 modified: src/lib/libdwarf/pro_alloc.c
6633 modified: src/lib/libdwarf/pro_arange.c
6634 modified: src/lib/libdwarf/pro_debug_sup.c
6635 modified: src/lib/libdwarf/pro_die.c
6636 modified: src/lib/libdwarf/pro_dnames.c
6637 modified: src/lib/libdwarf/pro_encode_nm.c
6638 modified: src/lib/libdwarf/pro_error.c
6639 modified: src/lib/libdwarf/pro_expr.c
6640 modified: src/lib/libdwarf/pro_finish.c
6641 modified: src/lib/libdwarf/pro_forms.c
6642 modified: src/lib/libdwarf/pro_frame.c
6643 modified: src/lib/libdwarf/pro_funcs.c
6644 modified: src/lib/libdwarf/pro_init.c
6645 modified: src/lib/libdwarf/pro_line.c
6646 modified: src/lib/libdwarf/pro_log_extra_flag_strings.c
6647 modified: src/lib/libdwarf/pro_macinfo.c
6648 modified: src/lib/libdwarf/pro_pubnames.c
6649 modified: src/lib/libdwarf/pro_reloc.c
6650 modified: src/lib/libdwarf/pro_reloc_stream.c
6651 modified: src/lib/libdwarf/pro_reloc_symbolic.c
6652 modified: src/lib/libdwarf/pro_section.c
6653 modified: src/lib/libdwarf/pro_types.c
6654 modified: src/lib/libdwarf/pro_vars.c
6655 modified: src/lib/libdwarf/pro_weaks.c
6656 modified: test/test_extra_flag_strings.c
6657
6658 2021-06-13: David Anderson
6659 commit 4ec720e371a1658096cba8f4c3f49d7f785bf11d
6660
6661 Mention the version of automake reporting
6662 spurious warnings.
6663 modified: README
6664
6665 2021-06-13: David Anderson
6666 commit f65607c30daf993a1a3caed84d6f41d4a12b7542
6667
6668 Corrected the wording to match current
6669 behavior.
6670 modified: README
6671 modified: README.cmake
6672 modified: README.md
6673
6674 2021-06-12: David Anderson
6675 commit c9d7b3dffabc23ad332f67571b228fd2231c65ff
6676
6677 Removing references to libelf.
6678 modified: src/lib/libdwarf/libdwarf.h
6679
6680 2021-06-12: David Anderson
6681 commit 2fbca3d326d8e4f11e450835d0c66abdd98b9fca
6682
6683 Refined the comments.
6684 modified: README.md
6685
6686 2021-06-12: David Anderson
6687 commit 505cfd1a00e1b5b1b41db5b9c47fd7298907a5f9
6688
6689 Fix to make this work
6690 modified: scripts/run-all-tests.sh
6691
6692 2021-06-12: David Anderson
6693 commit 8a11ac0afc1fcd7924ff27cd314f563f0fb482c7
6694
6695 Now make dist generates xz instead of gz
6696 to save space.
6697 modified: configure.ac
6698
6699 Removing some incorrect CLEANFILES
6700 and related.
6701 modified: doc/Makefile.am
6702 modified: src/bin/dwarfdump/Makefile.am
6703 modified: src/bin/dwarfexample/Makefile.am
6704 modified: src/bin/dwarfgen/Makefile.am
6705 modified: src/lib/libdwarf/Makefile.am
6706
6707 2021-06-12: David Anderson
6708 commit 1ef2ff5bba02fb6f0dfe5700a5cc05f2db57f9c0
6709
6710 Ensure HAVE_ELF64_GETSHDR and
6711 HAVE_ELF64_GETEHDR set by configure
6712 as dwarfgen needs those (dwarfgen really
6713 does use libelf --- to write out a .o).
6714 modified: CMakeLists.txt
6715 modified: configure.ac
6716
6717 2021-06-11: David Anderson
6718 commit 0ac9007f9f80d67f6c7ddfe36bd0cc81bf85f28f
6719
6720 Now honor the new locations of source code
6721 in the new source directory setup.
6722 modified: ../../../scripts/UPDATEDWARFDUMPVERSION.sh
6723 modified: ../../../scripts/buildandreleasetest.sh
6724 modified: ../../../scripts/buildstandardsource.sh
6725 modified: ../../../scripts/ddbuild.sh
6726 modified: ../../../scripts/libbuild.sh
6727 modified: ../../../scripts/run-all-tests.sh
6728
6729 2021-06-11: David Anderson
6730 commit 06c3dc2153df16045edae20594055d8005b2c0b3
6731
6732 Always look for Windows full path initial characters.
6733 modified: dwarf_line.c
6734
6735 2021-06-10: David Anderson
6736 commit 250a71dad58d18901628ad1fc5c24df3b1b76b65
6737
6738 Make these as similar as possible.
6739 modified: test/debuglinktest-a.sh
6740 modified: test/debuglinktest-b.sh
6741
6742 2021-06-10: David Anderson
6743 commit 52ac57e924156fde903d68605d89db0db4e9b1fb
6744
6745 Removed bogus stuff and fixed so the dwarfdump-using
6746 commands see a dwarfdump.conf
6747 So the tests pass.
6748 modified: test/CMakeLists.txt
6749
6750 2021-06-10: David Anderson
6751 commit f44f75ecf0252366eef65c522a9b89ebeaa41869
6752
6753 Two words ran together in a message. Now separated by
6754 a single space.
6755 modified: src/bin/dwarfdump/dwconf.c
6756
6757 2021-06-10: David Anderson
6758 commit 546f740ad4d52dd9bf0cdbf66243fcb83fa4896d
6759
6760 Remove HAVE_NONSTANDARD_PRINTF_64_FORMAT HAVE_WINDOWS_PATH
6761 and --enable-windowspath and --enable-nonstandardprintf
6762 modified: CMakeLists.txt
6763 modified: README.cmake
6764 modified: cmake/config.h.cmake
6765 modified: configure.ac
6766 modified: scripts/baseconfig.h
6767 modified: src/lib/libdwarf/dwarf_debuglink.c
6768 _dwarf_file_name_is_full_path() is global private func
6769 modified: src/lib/libdwarf/dwarf_line.c
6770
6771 Now gets the new version number from configure.ac
6772 modified: scripts/buildandreleasetest.sh
6773
6774 Delete a comment line
6775 modified: src/bin/dwarfdump/CMakeLists.txt
6776
6777 Add -I$(top_srcdir)/src/bin/dwarfdump
6778 modified: src/bin/dwarfdump/Makefile.am
6779
6780 Add default loc /usr/share/dwarfdump/dwarfdump.conf in
6781 looking for dwarfdump.conf Eliminate
6782 CONFPREFIX test, it is always there.
6783 modified: src/bin/dwarfdump/command_options.c
6784
6785 Still not right.
6786 modified: test/CMakeLists.txt
6787
6788 Added an echo to match up with test/debuglinktest-a.sh
6789 better.
6790 modified: test/debuglinktest-b.sh
6791
6792 2021-06-10: David Anderson
6793 commit 8941868ea163b6061c54b5e1f1fd8c6380346da4
6794
6795 Added a period where it had been missed. About line 2531.
6796 modified: doc/libdwarf.mm
6797
6798 2021-06-09: David Anderson
6799 commit 48bfa237dcf410a4d90aa0094fa6c2f1e723699f
6800
6801 Used latest dwarf_init, not older one.
6802 modified: src/bin/dwarfexample/simplereader.c
6803
6804 2021-06-09: David Anderson
6805 commit 195fa85c42ccd0bc5191b1e9e12f24cd5ceae870
6806
6807 Now configure and cmake run the same 17
6808 tests when testing, all pass.
6809 modified: test/CMakeLists.txt
6810 modified: test/Makefile.am
6811 modified: test/debuglinktest-a.sh
6812 modified: test/debuglinktest-b.sh
6813 modified: test/test_dwarfstring.c
6814 modified: test/test_extra_flag_strings.c
6815
6816 2021-06-09: David Anderson
6817 commit 55cf3eeb1bbf46b25f391135e47529ec4d2282f0
6818
6819 Simplifying the doc am files
6820 modified: Makefile.am
6821 modified: configure.ac
6822 modified: doc/Makefile.am
6823
6824 2021-06-09: David Anderson
6825 commit 1d520af7b8c7f8a9ac3c289a659c2ee8399be12f
6826
6827 typo fixed.
6828 modified: ChangesToLibdwarf.odt
6829
6830 2021-06-09: David Anderson
6831 commit bb67fa61429774c27baf1d4d711399a2b8354d4c
6832
6833 modified: ChangesToLibdwarf.odt updated.
6834 modified: ChangesToLibdwarf.pdf
6835
6836 libdwarf2.1.(mm ,pdf) -> libdwarf.(mm,pdf) revision 3.27 -> 4.1and libdwarf2p.1{mm,pdf} -> libdwarfp.{mm,pdf} revision 1.53 > 2.1
6837 modified: Makefile.am
6838 renamed: libdwarf2.1.mm -> libdwarf.mm
6839 new file: libdwarf.pdf
6840 deleted: libdwarf2.1.pdf
6841 renamed: libdwarf2p.1.mm -> libdwarfp.mm
6842 renamed: libdwarf2p.1.pdf -> libdwarfp.pdf
6843 modified: pdfbld.sh
6844
6845 2021-06-09: David Anderson
6846 commit 5e23cc6959ee58c465c7b51573634c9e37042d65
6847
6848 the last change introduced a nasty typo:
6849 left off a */
6850 modified: src/lib/libdwarf/libdwarf.h
6851
6852 2021-06-08: David Anderson
6853 commit 6315faaecd5fa9fed1c9ede11752051bba5df00c
6854
6855 Corrected doc of dwarf_srclines_b()
6856 modified: doc/libdwarf2.1.mm
6857
6858 Fixed commentary about dwarf_srclines_b()
6859 modified: src/lib/libdwarf/libdwarf.h
6860
6861 2021-06-08: David Anderson
6862 commit f5939ed251fe58866330ecadbfe0a18a5b37b416
6863
6864 Just remove one small documentation bug and regenerated.
6865 modified: doc/libdwarf2.1.pdf
6866 No change, just regenerated.
6867 modified: doc/libdwarf2p.1.pdf
6868
6869 2021-06-08: David Anderson
6870 commit aec87e963a53ea7ae19eac6d3201288d104ffc55
6871
6872 Now 'make doc'
6873 and 'make install' work fully.
6874 modified: Makefile.am
6875 modified: src/bin/dwarfdump/Makefile.am
6876
6877 2021-06-08: David Anderson
6878 commit 9b742d8219bf9ff85c904fd1593d7945ae33fec3
6879
6880 Fix mistake in documentation of dwarf_srclines_dealloc_b()
6881 modified: libdwarf2.1.mm
6882
6883 2021-06-08: David Anderson
6884 commit fa9ceb8d2efda0afc83bc3afb657ea8c55f7f619
6885
6886 commentary
6887 modified: README.cmake
6888
6889 Now with doc: target.
6890 modified: doc/Makefile.am
6891
6892 Now libdwarf.h put where it should with make install
6893 modified: src/lib/libdwarf/CMakeLists.txt
6894
6895 2021-06-08: David Anderson
6896 commit 88eb1805d05a0a380ffb2e39df0f4f2015a06f25
6897
6898 Minor change
6899 modified: doc/ChangesToLibdwarf.odt
6900
6901 2021-06-08: David Anderson
6902 commit 4e3edca6c22cbcbd48171fffa976fa3f2ed32ef5
6903
6904 More complete cleanup, though
6905 it would be rarely used.
6906 modified: scripts/CLEANUP
6907
6908 2021-06-08: David Anderson
6909 commit e919fe7a095d318ab74c7ce6b444cd48d52c2fdf
6910
6911 Now run cmake tests if -DDO_TESTING=ON
6912 modified: CMakeLists.txt
6913 modified: test/CMakeLists.txt
6914
6915 Fix the test scripts so they work
6916 consistently, and fix the one baseline
6917 where the wrong dwarfdump options were
6918 used before.
6919 modified: test/dwarfdumpMacos.sh
6920 modified: test/dwarfdumpPE.sh
6921 modified: test/dwarfdumpsetup.sh
6922 modified: test/test-mach-o-32.base
6923
6924 2021-06-08: David Anderson
6925 commit 072e3559d1065dc8e6117045bfa0ce2650610583
6926
6927 Documenting changes (not in full detail)
6928 new file: doc/ChangesToLibdwarf.odt
6929 new file: doc/ChangesToLibdwarf.pdf
6930 Fixing as --elf and --reloc options are gone.
6931 modified: doc/dwarfdump.1
6932
6933 2021-06-07: David Anderson
6934 commit c446e7e72c6bc9cd5c8dd67c52db2704616cfb96
6935
6936 Most of cmake works, but not ctest
6937 modified: README.cmake
6938
6939 2021-06-07: David Anderson
6940 commit b72a8c0a2580d63daa9fb76c773cb5f715aa2e9b
6941
6942 Just updating README files a little.
6943 modified: README
6944 modified: README.cmake
6945
6946 2021-06-07: David Anderson
6947 commit edc5271694779675626b1a6d6ba06bc761b4fb0b
6948
6949 Now if --enable-dwarfgen
6950 make install
6951 will install dwarfgen.1
6952 and otherwise it will not.
6953 modified: configure.ac
6954 modified: doc/Makefile.am
6955
6956 2021-06-07: David Anderson
6957 commit cf3010079efbd34c6ffb0fe3d4c6aad362a0c585
6958
6959 Now can build the pdfs.
6960 The build is ONLY done in a build tree
6961 and should never be automatic.
6962 Only build if you've changed a .mm .
6963 Build by
6964 cd doc && make buildconsumerpdf
6965 or
6966 cd doc && make buildproducerpdf
6967 The Makefile copies the pdf built to the source tree.
6968 modified: doc/Makefile.am
6969 modified: doc/libdwarf2.1.pdf
6970 modified: doc/libdwarf2p.1.pdf
6971 modified: doc/pdfbld.sh
6972
6973 2021-06-06: David Anderson
6974 commit eafe9c0b0ece32cca12482cee1126ddfbe747a11
6975
6976 Move UNUSEDARG to after identifier.
6977 modified: dwarf_peread.c
6978 modified: dwarf_query.c
6979 modified: dwarf_ranges.c
6980 modified: dwarf_rnglists.c
6981 modified: dwarf_tsearchhash.c
6982
6983 2021-06-06: David Anderson
6984 commit fb3fa42ac0def16fdff5fadaf0af92e31dd3ad60
6985
6986 Moved UNUSEDARG to after identifier
6987 modified: dwarf_abbrev.c
6988 modified: dwarf_alloc.c
6989 modified: dwarf_dsc.c
6990 modified: dwarf_elf_load_headers.c
6991 modified: dwarf_elfread.c
6992 modified: dwarf_fission_to_cu.c
6993 modified: dwarf_form.c
6994 modified: dwarf_frame.c
6995 modified: dwarf_frame2.c
6996 modified: dwarf_gdbindex.c
6997
6998 2021-06-06: David Anderson
6999 commit 81344b9c961b6afaf6635e2b23271672e0a5a9ee
7000
7001 eliminating the last AUTOMAKE_OPTIONS
7002 modified: Makefile.am
7003
7004 2021-06-06: David Anderson
7005 commit b9cb74402ef5bcceec1768b44e4c73372fedb912
7006
7007 In dwarfdump all the UNUSEDARG follow the identifier,
7008 as is the most common pracice.
7009 modified: src/bin/dwarfdump/attr_form.c
7010 modified: src/bin/dwarfdump/common.c
7011 modified: src/bin/dwarfdump/dwarf_tsearchbal.c
7012 modified: src/bin/dwarfdump/dwarfdump.c
7013 modified: src/bin/dwarfdump/macrocheck.c
7014 modified: src/bin/dwarfdump/print_abbrevs.c
7015 modified: src/bin/dwarfdump/print_debug_gnu.c
7016
7017 2021-06-06: David Anderson
7018 commit 78cc4edb9245c7ac41b6faff930c83b962d84357
7019
7020 now UNUSEDARG after the identifier instead of before the type.
7021 modified: src/bin/dwarfdump/attr_form_build.c
7022 modified: src/bin/dwarfdump/print_die.c
7023 modified: src/bin/dwarfdump/print_gdbindex.c
7024 modified: src/bin/dwarfdump/print_lines.c
7025 modified: src/bin/dwarfdump/print_loclists.c
7026 modified: src/bin/dwarfdump/print_macinfo.c
7027 modified: src/bin/dwarfdump/print_macro.c
7028 modified: src/bin/dwarfdump/print_origloclist_codes.c
7029 modified: src/bin/dwarfdump/print_ranges.c
7030 modified: src/bin/dwarfdump/print_rnglists.c
7031 modified: src/bin/dwarfdump/print_section_groups.c
7032 modified: src/bin/dwarfdump/tag_attr.c
7033 modified: src/bin/dwarfdump/tag_tree.c
7034
7035 2021-06-06: David Anderson
7036 commit c39c97fc38ae84e2a9eab1f23c706b62b03c869d
7037
7038 Now UNUSEDARG defines are from libdwarf_private.h
7039 and they areused *after* the identifier (as is usually done).
7040 modified: src/bin/dwarfexample/findfuncbypc.c
7041 modified: src/bin/dwarfgen/createirepformfrombinary.cc
7042 modified: src/bin/dwarfgen/createirepfrombinary.cc
7043 modified: src/bin/dwarfgen/dwarfgen.cc
7044 modified: src/bin/dwarfgen/irepattrtodbg.cc
7045 modified: src/bin/dwarfgen/ireptodbg.cc
7046
7047 2021-06-06: David Anderson
7048 commit be4457dff5426df98696102fec55cfd4bff9ee6f
7049
7050 Moved UNUSEDARG to the more usual location after the ideentifier
7051 modified: dwarf_tied_test.c
7052 modified: testesb.c
7053
7054 2021-06-06: David Anderson
7055 commit 01e31558057bec25d19fe0845a4716d8a4dd0c18
7056
7057 Remove a commented-out AUTOMAKE_OPTIONS.
7058 modified: .gitignore
7059
7060 2021-06-06: David Anderson
7061 commit 383fcfb275ce121a7035e2edac150298d307ccf3
7062
7063 Now when make dist done
7064 the tar.gz contains all the files it should.
7065 Nothing missing.
7066 modified: Makefile.am
7067 modified: doc/Makefile.am
7068 modified: scripts/libbuild.sh
7069 modified: src/bin/dwarfdump/Makefile.am
7070 modified: src/bin/dwarfexample/Makefile.am
7071 modified: src/bin/dwarfgen/Makefile.am
7072 modified: src/lib/libdwarf/Makefile.am
7073 modified: test/Makefile.am
7074
7075 2021-06-06: David Anderson
7076 commit 4f664c92320396f67fb163d653d1cc75756dc350
7077
7078 This was never used or made public.
7079 Dropping it.
7080 deleted: src/lib/libdwarf/dwarf_stubs.c
7081
7082 2021-06-06: David Anderson
7083 commit 3c6e6118b04321fe578e3d6a50ed51a718164d93
7084
7085 This file is no longer used by libdwarf.
7086 deleted: dwarf_elf_access.c
7087
7088 2021-06-06: David Anderson
7089 commit aa9bee0fb08a171cf332f9293bf37f889bc6d763
7090
7091 These files were intended to be temporary.
7092 So deleting.
7093 deleted: cuandunit.txt
7094 deleted: debug-cu-tu-indexes-layout.odg
7095
7096 2021-06-06: David Anderson
7097 commit 1a1c9efad801deabd3a58db6406ed9bdfbbfe5e9
7098
7099 now removes the autotools cache too.
7100 modified: scripts/CLEANUP
7101
7102 2021-06-06: David Anderson
7103 commit 88a1739031ab80b376ce4922182c4722ca8bc8f7
7104
7105 Removed an errant chkres invocation.
7106 modified: test/dwarfdumpMacos.sh
7107
7108 2021-06-06: David Anderson
7109 commit 85f3340026ed8caf54dc3655f71b062a8b73831b
7110
7111 Was not entirely checking status correctly.
7112 modified: test/debuglinktest-a.sh
7113 modified: test/debuglinktest-b.sh
7114
7115 2021-06-06: David Anderson
7116 commit 0d3b5458e6273fa6304a7e3de4e2827e1a3d2f27
7117
7118 Refs the real tests.
7119 The names were not meaningful. Better names now.
7120 renamed: test/runtestsexample.sh -> test/debuglinktest-a.sh
7121 renamed: test/runtestsexample-b.sh -> test/debuglinktest-b.sh
7122
7123 modified: test/Makefile.am
7124 This was obsolete, the self-testing program set in test/Makefile.am
7125 deleted: test/testdebuglink.sh
7126
7127 2021-06-06: David Anderson
7128 commit 661c4b96bde7f0783571fed9ba4d93c1c1aa3f1b
7129
7130 Now add back in the dwarfexample build.
7131 modified: .travis.yml
7132
7133 2021-06-06: David Anderson
7134 commit 328516fbfbc42041aad98324bba359a6964f4b80
7135
7136 showing the actual dwarfdump command now.
7137 modified: dwarfdumpLinux.sh
7138 modified: dwarfdumpMacos.sh
7139 modified: dwarfdumpPE.sh
7140
7141 Now ensures the local directory as a dwarfdump.conf
7142 (avoiding a warning that messes up the diff)
7143 modified: dwarfdumpsetup.sh
7144
7145 2021-06-06: David Anderson
7146 commit f4dc8c84e9a01ff6c215e9b20c545ca8a33639b7
7147
7148 Remove TEST= from here, it is in the test directory.
7149 modified: src/lib/libdwarf/Makefile.am
7150
7151 Supply a dwarfdump.conf to dwarfdump.
7152 modified: test/dwarfdumpsetup.sh
7153
7154 2021-06-06: David Anderson
7155 commit 9fa2090d626aa7902f5edad6c86c8f2d705a3523
7156
7157 Removed "AUTOMAKE_OPTIONS="
7158 modified: doc/Makefile.am
7159
7160 Was not exiting with correct status
7161 in all cases. If diff fails
7162 now shows actual diff.
7163 modified: test/dwarfdumpLinux.sh
7164 modified: test/dwarfdumpMacos.sh
7165 modified: test/dwarfdumpPE.sh
7166 modified: test/dwarfdumpsetup.sh
7167
7168 2021-06-06: David Anderson
7169 commit 7a45da78b5dc16476cb8fd0af9b06bbadd8e0df8
7170
7171 Try ignoring warnings abouts subdir-objects.
7172 modified: test/Makefile.am
7173
7174 2021-06-06: David Anderson
7175 commit 497a7c515181bbcf9ef66577a510366916871938
7176
7177 Removing --enable-dwarfexample as the output with it present
7178 is odd on travis.
7179 modified: .travis.yml
7180
7181 2021-06-06: David Anderson
7182 commit fcaf317462aba4e6187b6391ea2841adf86fa878
7183
7184 AUTOMAKE_OPTIONS = subdir-objects
7185 is now in both of these.
7186 If leftout of either autoreconf seems to object.
7187 modified: Makefile.am
7188 modified: test/Makefile.am
7189
7190 2021-06-06: David Anderson
7191 commit 08f77a680558d0acb4b2c7b63766f28705ab2854
7192
7193 added blank line to trigger build. I hope.
7194 modified: .travis.yml
7195
7196 2021-06-06: David Anderson
7197 commit f43a3fc00a39cdd8f46d68bd8790978b25dc17ee
7198
7199 now make maintainer-clean
7200 cleans up a little bit it was missing.
7201 modified: Makefile.am
7202 modified: doc/Makefile.am
7203 modified: src/lib/libdwarf/Makefile.am
7204 modified: test/Makefile.am
7205
7206 2021-06-06: David Anderson
7207 commit 3627c6dae4bc6a01436f9b47bb98e0d821d36247
7208
7209 fixing omissions
7210 modified: scripts/CLEANUP
7211
7212 2021-06-06: David Anderson
7213 commit 6b65227b6891323c517c40f7efd18ff4eb2c08f4
7214
7215 These are to help make travis-ci work.
7216 modified: .gitignore
7217 modified: .travis.yml
7218 modified: test/Makefile.am
7219
7220 2021-06-06: David Anderson
7221 commit af91d83ba59392f9e625dd741680c9a124840e32
7222
7223 These all mentioned HAVE_NONSTANDARD_PRINTF_64_FORMAT
7224 and they no longer do that.
7225 modified: README
7226 modified: README.cmake
7227 modified: tsearch/dwarf_tsearchbal.c
7228 modified: tsearch/dwarf_tsearchbin.c
7229 modified: tsearch/dwarf_tsearchepp.c
7230 modified: tsearch/dwarf_tsearchhash.c
7231 modified: tsearch/dwarf_tsearchred.c
7232
7233 2021-06-05: David Anderson
7234 commit fef228d0a838ab9b2a3da9a6250ab74a0a73d054
7235
7236 Added include of libdwarf_private.h
7237 modified: dwgetopt.c
7238
7239 2021-06-05: David Anderson
7240 commit d7709325384b0f3a89cca71f2ab7517e73ec6a7e
7241
7242 This failed. Mistakes crept in.
7243 modified: test/dwarfdumpLinux.sh
7244
7245 Deleted a variety of useless lines in the scripts,
7246 Holdovers from the past.
7247 modified: test/dwarfdumpMacos.sh
7248 modified: test/dwarfdumpPE.sh
7249 modified: test/dwarfdumpsetup.sh
7250 modified: test/runtestsexample-b.sh
7251 modified: test/runtestsexample.sh
7252
7253 2021-06-05: David Anderson
7254 commit 83df3959b59abe44e2420f9640674b0d29e8ac8e
7255
7256 An occasional use helper script.
7257 modified: scripts/CLEANUP
7258
7259 All uses of HAVE_NONSTANDARD_PRINTF_64_FORMAT have been changed
7260 to just check _WIN32
7261 modified: src/bin/dwarfdump/dwarf_tsearchbal.c
7262 modified: src/bin/dwarfdump/esb.c
7263 modified: src/lib/libdwarf/dwarfstring.c
7264 modified: src/lib/libdwarf/libdwarf_private.h
7265
7266 2021-06-05: David Anderson
7267 commit 331cf30c3456bebb933c0ff575f096045660db40
7268
7269 Deleted lines setting things that are never used here.
7270 modified: dwarfdumpsetup.sh
7271
7272 2021-06-05: David Anderson
7273 commit cae4ff4be5b1835823595c178c3bfce59af6f19b
7274
7275 Removed an obsolete reference to a deleted script.
7276 To have 'make dist' work again.
7277 modified: test/Makefile.am
7278
7279 2021-06-05: David Anderson
7280 commit 8d0214959f337ebd8bd5f546e8deadfc6bb25e94
7281
7282 The ifdef DWARF_WITH_LIBELF code has been removed.
7283 Overall I suppose maybe a bit under 300 lines shorter?
7284 modified: src/bin/dwarfdump/command_options.c
7285 modified: src/bin/dwarfdump/dwarfdump.c
7286 modified: src/bin/dwarfdump/globals.h
7287 modified: src/lib/libdwarf/dwarf_elfread.c
7288
7289 2021-06-05: David Anderson
7290 commit e94407b6e9417e11d35af45767ca3749b4bb1a51
7291
7292 modified: test/Makefile.am
7293
7294 Now each test is done seperately.
7295 new file: test/dwarfdumpLinux.sh
7296 new file: test/dwarfdumpMacos.sh
7297 new file: test/dwarfdumpPE.sh
7298
7299 This is the common prefix to run the above 3 tests.
7300 new file: test/dwarfdumpsetup.sh
7301
7302 Gone
7303 deleted: test/runtestdd.sh
7304 deleted: test/runtests.sh
7305
7306 2021-06-05: David Anderson
7307 commit 998e5e079eb44f4eeccbe82cfad93b8fa8e40553
7308
7309 libdwarf: many many files defined TRUE FALSE
7310 now only libdwarf_private.h defines these.
7311
7312 2021-06-05: David Anderson
7313 commit 0a367212450eaeb9242b391f19b02bac3b32cf93
7314
7315 Two tests in one script are now one test each.
7316 modified: Makefile.am
7317 new file: runtestsexample-b.sh
7318 modified: runtestsexample.sh
7319
7320 2021-06-05: David Anderson
7321 commit 5ee336288440ec59840786c0a9521a74b82ae21b
7322
7323 Now detects and links against libelf only when
7324 it is present AND we are building libgen.
7325 DWARF_LIBS will be -lz or empty
7326 DWARFGEN_LIBS will be -lelf or empty (and if empty
7327 we're not building dwarfgen as we don't want to
7328 or else because libelf itself
7329 or its headers are missing)
7330 modified: configure.ac
7331
7332 Adding library of DWARFGEN_LIBS reference for the link.
7333 modified: src/bin/dwarfgen/Makefile.am
7334
7335 2021-06-05: David Anderson
7336 commit 3d94c71a5c1f9f937e834e2d1a3818a99d526eee
7337
7338 Unnecessary, but possibly useful at times:
7339 modified: scripts/CLEANUP
7340
7341 Correcting (for the new directorysetup) dealing
7342 with in-tree make check.
7343 modified: test/runtestsexample.sh
7344
7345 2021-06-05: David Anderson
7346 commit ac1245256ea3b9c850d77e58ad8cc7c694577bcd
7347
7348 Now more correct.
7349 modified: .travis.yml
7350
7351 2021-06-05: David Anderson
7352 commit ec103b9ef7f371a632d28d09be2b000540555ce1
7353
7354 Modified a comment. We do not test dwarfgen here,
7355 and do not intend to test it here.
7356 modified: test/Makefile.am
7357
7358 2021-06-05: David Anderson
7359 commit 1080fe77500eb842ed6336c4906b1d3aa370eadb
7360
7361 modified: src/bin/dwarfdump/Makefile.am
7362 modified: src/bin/dwarfexample/Makefile.am
7363 modified: src/bin/dwarfgen/Makefile.am
7364 Remove subdir-options line, not needed.
7365
7366 2021-06-05: David Anderson
7367 commit 2caa22ffa90f1dc93eecfbde58e61103a9e75790
7368
7369 Remove references to missing files
7370 and fix issues where files were moved.
7371 Now
7372 make dist
7373 completes and looks fairly complete.
7374 modified: Makefile.am
7375 modified: README.md
7376 modified: doc/Makefile.am
7377 modified: src/bin/dwarfdump/CMakeLists.txt
7378 modified: src/bin/dwarfdump/Makefile.am
7379 modified: src/bin/dwarfdump/globals.h
7380 modified: src/lib/libdwarf/Makefile.am
7381 modified: test/Makefile.am
7382
7383 2021-06-05: David Anderson
7384 commit ea9c81786863a2f0a0c6e2e1eac73eb999309b18
7385
7386 Vincent T helped.
7387 modified: .travis.yml
7388
7389 These are no longer needed or used.
7390 deleted: src/bin/dwarfdump/print_reloc.c
7391 deleted: src/bin/dwarfdump/print_reloc.h
7392 deleted: src/bin/dwarfdump/print_reloc_decls.h
7393 deleted: src/bin/dwarfdump/print_reloc_test.c
7394 Belongs in test/
7395 renamed: src/bin/dwarfdump/README.testcases -> test/README.testcases
7396
7397 2021-06-04: David Anderson
7398 commit 40481e87063c8f4cb0cbce420ef44f2f73933c34
7399
7400 Typo fixed
7401 modified: .travis.yml
7402
7403 2021-06-04: David Anderson
7404 commit 62702d5dd1ade413a698c6213f277a76b19577a4
7405
7406 Fix typo
7407 modified: .travis.yml
7408
7409 2021-06-04: David Anderson
7410 commit 5c03b4df27becf8e7bf127e18c1b5dd1eb92af57
7411
7412 Experimental, probably wrong. travis-ci
7413 new file: .travis.yml
7414
7415 2021-06-04: David Anderson
7416 commit d0002df8fc98ecc002b60e7476f0ffae44a0e494
7417
7418 Removes repeated #define of UNUSEDARG
7419 an removes a suddenly pointless header: warningcontrol.h
7420 modified: src/bin/dwarfdump/Makefile.am
7421 modified: src/bin/dwarfdump/common.c
7422 modified: src/bin/dwarfdump/dwarf_tsearchbal.c
7423 modified: src/bin/dwarfdump/globals.h
7424 deleted: src/bin/dwarfdump/warningcontrol.h
7425 modified: src/lib/libdwarf/dwarf_debuglink.c
7426 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
7427 modified: src/lib/libdwarf/dwarf_peread.c
7428 modified: src/lib/libdwarf/dwarf_tsearchhash.c
7429 modified: src/lib/libdwarf/dwarfstring.c
7430 modified: test/Makefile.am
7431 modified: test/testesb.c
7432
7433 2021-06-04: David Anderson
7434 commit 0977bb4ae643558cedfd11e8813b2cb684ad417d
7435 Merge: b9785e4d 466eaace
7436
7437 Merge pull request #23 from vtorri/vtorri_windows_h
7438
7439 Vtorri windows h
7440
7441 2021-06-04: David Anderson
7442 commit b9785e4d1e38234e261df9a97482f0aab1c98135
7443 Merge: aafe188d e0dccaeb
7444
7445 Merge branch 'master' of https://github.com/davea42/libdwarf-code
7446 Merge needed due to my mistake.
7447
7448 2021-06-04: David Anderson
7449 commit aafe188d1b8a2d50c4bdd1d8890980f0f5c65f84
7450
7451 asif for windows.
7452 modified: configure.ac
7453
7454 2021-06-04: David Anderson
7455 commit e0dccaeb2f4b2a068d7801441c95732fc9521ea4
7456 Merge: 5d62dbd1 3b2f73fd
7457
7458 Merge pull request #22 from vtorri/vtorri_libtool
7459
7460 libtool: do not check DLL libtool method on Windows
7461
7462 2021-06-04: David Anderson
7463 commit 5d62dbd1e09afae3ec3ce2c49c28842749a7b38f
7464
7465 Now has the few defines from libdwarfdefs.h.
7466 modified: src/lib/libdwarf/libdwarf_private.h
7467 No longer needed.
7468 The includes of libdwarfdefs.h have been changed to
7469 include libdwarf_private.h instead.
7470 deleted: src/lib/libdwarf/libdwarfdefs.h
7471 Many c files in libdwarf.
7472 One in test.
7473
7474 2021-06-04: David Anderson
7475 commit a190e0ceeb3d1d966f039967818abf128168bca2
7476
7477 A couple botches here. Deleted local getcwd as not used.
7478 Fixed the #include nest for windows.
7479 modified: test/test_linkedtopath.c
7480
7481 2021-06-04: David Anderson
7482 commit fa3bd8f5febce4482f08835803d812513102f42b
7483
7484 Fixed so reaches to libdwarf_private.h in libdwarf directory.
7485 modified: src/bin/dwarfdump/CMakeLists.txt
7486 Not needed now.
7487 deleted: src/bin/dwarfdump/libdwarf_private.h
7488 deleted: src/bin/dwarfexample/libdwarf_private.h
7489 deleted: src/bin/dwarfgen/libdwarf_private.h
7490
7491 2021-06-04: David Anderson
7492 commit 362dcbd7d1af02c5928f2b4f39b4917196169a42
7493
7494 Updated comments.
7495 modified: README.cmake
7496 modified: README.md
7497 Now cmake works to build things
7498 (the tests not yet ready in cmake)
7499 modified: src/bin/dwarfgen/CMakeLists.txt
7500 modified: src/lib/libdwarf/CMakeLists.txt
7501
7502 2021-06-04: David Anderson
7503 commit c49e3d929c585c99f2707fd2c6a63a21308426bf
7504
7505 Now a build works.
7506 modified: CMakeLists.txt
7507 modified: src/bin/dwarfdump/CMakeLists.txt
7508 modified: src/bin/dwarfexample/CMakeLists.txt
7509 modified: src/bin/dwarfgen/CMakeLists.txt
7510 modified: src/lib/libdwarf/CMakeLists.txt
7511 modified: src/lib/libdwarf/dwarf_elf_access.c
7512 Testing is not yet connected
7513 modified: test/CMakeLists.txt
7514
7515 2021-06-04: David Anderson
7516 commit 5a010db2d076e60c23e0b547cc133eccfa40b5f7
7517
7518 Not functional yet.
7519 new file: test/CMakeLists.txt
7520
7521 2021-06-04: David Anderson
7522 commit c768b0759d26b4966b65f45c08dee99dff43dd69
7523
7524 Updated about current state.
7525 modified: README.md
7526
7527 2021-06-04: David Anderson
7528 commit 6848816d83520d6e45261cf1f17b5a8634765e08
7529
7530 Revised comments to make it clear
7531 these are not to be run by hand.
7532 Just run scripts/buildstandardsource.sh
7533 which runs these.
7534 modified: scripts/ddbuild.sh
7535 modified: scripts/libbuild.sh
7536
7537 2021-06-04: David Anderson
7538 commit 4c8041dd2d44e093688c8906e07609876d99b8e2
7539
7540 This file is no longer needed.
7541 deleted: scripts/fixlibdwarfelf.sh
7542
7543 2021-06-04: David Anderson
7544 commit 75bf35e2e3509a0ac57d35eb57845ff734a11243
7545
7546 Now undefs things that the scripts/buildstandardsource.sh
7547 has no need for.
7548 modified: scripts/baseconfig.h
7549
7550 Regenerated with latest version string.
7551 modified: src/bin/dwarfdump/dwarf_names.c
7552 modified: src/bin/dwarfdump/dwarf_names.h
7553 modified: src/bin/dwarfdump/dwarfdump-af-table.h
7554 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
7555 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
7556 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
7557 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
7558 modified: src/lib/libdwarf/dwarf_names.c
7559 modified: src/lib/libdwarf/dwarf_names.h
7560 modified: src/lib/libdwarf/dwarf_names_enum.h
7561 modified: src/lib/libdwarf/dwarf_names_new.h
7562
7563 2021-06-04: David Anderson
7564 commit 1d89e2eb09aba68e72f22b083ae75f8d0177c533
7565
7566 New version. For testing scripts.
7567 modified: src/lib/libdwarf/libdwarf_version.h
7568
7569 2021-06-04: David Anderson
7570 commit 7b1bc661162bc589d385cbe3518eacceece242a4
7571
7572 A file we no longer need.
7573 deleted: scripts/FIX-CONFIGURE-TIMES
7574
7575 2021-06-04: David Anderson
7576 commit c71eb8b513cf4b970cce53aa72d52598451ce50a
7577
7578 scripts/buildstandardsource.sh is now
7579 mostly working, and a couple of files
7580 we do not want are deleted.
7581 deleted: scripts/UPD.awk
7582 modified: scripts/UPDATEDWARFDUMPVERSION.sh
7583 modified: scripts/buildstandardsource.sh
7584 modified: scripts/ddbuild.sh
7585 modified: scripts/libbuild.sh
7586 modified: src/bin/dwarfdump/dwarf_names.c
7587 modified: src/bin/dwarfdump/dwarf_names.h
7588 modified: src/bin/dwarfdump/dwarfdump-af-table.h
7589 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
7590 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
7591 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
7592 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
7593 modified: src/lib/libdwarf/dwarf_names.c
7594 modified: src/lib/libdwarf/dwarf_names.h
7595 modified: src/lib/libdwarf/dwarf_names_enum.h
7596 modified: src/lib/libdwarf/dwarf_names_new.h
7597 deleted: src/lib/libdwarf/generated_libdwarf.h.in
7598 modified: src/lib/libdwarf/gennames.c
7599 modified: src/lib/libdwarf/libdwarf_version.h
7600
7601 2021-06-04: Vincent Torri
7602 commit 466eaacef3dd7157fea3e412de11d87d1f159bd5
7603
7604 Windows: remove useless windows.h test
7605
7606 2021-06-04: Vincent Torri
7607 commit 3b2f73fd686c5d3548d244eafdaaea2a7faa0a74
7608
7609 libtool: do not check DLL libtool method on Windows
7610
7611 2021-06-03: David Anderson
7612 commit ee6ea9b8b7d21412a0ee0eed41e871ad16630279
7613
7614 dwarfgen: dwarfgen.1 is no longer in this directory,
7615 so removed from the Makefile.
7616 modified: Makefile.am
7617
7618 2021-06-03: David Anderson
7619 commit 694590bab1113ec5f85b219a304852dfbdd31694
7620
7621 Fixed typo in trivial local header.
7622 modified: src/bin/dwarfdump/libdwarf_private.h
7623 modified: src/bin/dwarfexample/libdwarf_private.h
7624 modified: src/bin/dwarfgen/libdwarf_private.h
7625 modified: src/lib/libdwarf/libdwarf_private.h
7626
7627 2021-06-03: David Anderson
7628 commit 12a9371442394a4275d775985e49bdf82a259e33
7629
7630 Just in case dwarfgen wants to use it.
7631 new file: dwarfgen/libdwarf_private.h
7632
7633 2021-06-03: David Anderson
7634 commit 2ce5c5793a99445f393a563b32b9cf61ab598f36
7635
7636 The trivial handful of trivial lld etc format
7637 defines is public domain so anyone can use it.
7638 modified: dwarfdump/libdwarf_private.h
7639 modified: dwarfexample/libdwarf_private.h
7640 modified: ../lib/libdwarf/libdwarf_private.h
7641
7642 2021-06-03: David Anderson
7643 commit 38921b9d3b39eb3be8ec3e870207e2d9a4ba7c8f
7644
7645 Now we also build dwarfexample
7646 modified: src/bin/dwarfexample/Makefile.am
7647 Does the tests and now counts each, so PASS: 12
7648 modified: test/Makefile.am
7649
7650 These needed #include libdwarf_private.h
7651 modified: src/bin/dwarfexample/dwdebuglink.c
7652 modified: src/bin/dwarfexample/findfuncbypc.c
7653 modified: src/bin/dwarfexample/frame1.c
7654 modified: src/bin/dwarfexample/simplereader.c
7655
7656 Move all the test data out of dwarfexample and into test.
7657 renamed: src/bin/dwarfexample/buildingdummy.sh -> test/buildingdummy.sh
7658 renamed: src/bin/dwarfexample/debuglink.base -> test/debuglink.base
7659 renamed: src/bin/dwarfexample/debuglink2.base -> test/debuglink2.base
7660 renamed: src/bin/dwarfexample/dummyexecutable -> test/dummyexecutable
7661 renamed: src/bin/dwarfexample/dummyexecutable.c -> test/dummyexecutable.c
7662 renamed: src/bin/dwarfexample/dummyexecutable.debug -> test/dummyexecutable.debug
7663
7664 Moved dwarfexample tests and fixed the test scripts.
7665 modified: test/runtestdd.sh
7666 renamed: src/bin/dwarfexample/runtests.sh -> test/runtestsexample.sh
7667
7668 Fix, I hope, windows make check this way.
7669 modified: test/test_linkedtopath.c
7670
7671 2021-06-03: David Anderson
7672 commit 1d6044be08fde7e73edc03710768a94827c6018e
7673
7674 Removed duplicate *dwarf.h installs.
7675 modified: src/lib/libdwarf/Makefile.am
7676 Removed space after backslash
7677 modified: test/Makefile.am
7678
7679 2021-06-03: David Anderson
7680 commit 4f3546bb4d3479efc52ca96bac83dc2ce968b454
7681
7682 Ignoring some more
7683 configure generated files
7684 modified: .gitignore
7685
7686 2021-06-02: David Anderson
7687 commit 0bd0793e657d3a0fa67edfe558185175cf35e0c8
7688
7689 Now make check works for dwarfdump and libdwarf
7690 sanity checks.
7691 modified: test/Makefile.am
7692 modified: test/runtestdd.sh
7693 modified: test/test_extra_flag_strings.c
7694
7695 2021-06-02: David Anderson
7696 commit 3cda50644e3b9dd985c7dcb45196faf69eae6af1
7697
7698 modified: src/bin/dwarfdump/Makefile.am
7699 modified: test/Makefile.am
7700 All the test code for make check etc, is moved
7701 to the test directory. Including the exe dSYM objects.
7702 This is much smaller than when in dwarfdump.
7703 Most of the checks run individually.
7704 The ones in runtestdd are hard to run without a script.
7705 renamed: src/bin/dwarfdump/runtests.sh -> test/runtestdd.sh
7706
7707 Not used. To be removed.
7708 modified: test/runtests.sh
7709
7710 2021-06-02: David Anderson
7711 commit e38c53007585625a04ea262230f02b9c22f27dfa
7712
7713 Some of the tests moved to test/
7714 modified: Makefile.am
7715 modified: src/lib/libdwarf/Makefile.am
7716 modified: test/Makefile.am
7717
7718 2021-06-02: David Anderson
7719 commit 03899d475bf9aab665ad3201d0dbaffe398f12f8
7720
7721 Now with libdwarf.pc.in
7722
7723 modified: configure.ac
7724 new file: libdwarf.pc.in
7725 modified: src/lib/libdwarf/Makefile.am
7726
7727 2021-06-02: David Anderson
7728 commit ad1506430a371bd3572d74dc8b9530cda68cedb2
7729
7730 moving tests from libdwarf to the test dir.
7731
7732 2021-06-02: David Anderson
7733 commit cc05b24fdbb08cffd7d70fdd02e2049e3cadcde1
7734
7735 modified: Makefile.am
7736 modified: configure.ac
7737 and also various Makefile.am to recognize
7738 moved source.
7739 And restore reading elf.h (not using libelf)
7740 which had been....broken, briefly.
7741
7742 2021-06-02: David Anderson
7743 commit 0ff16afe1b7083c91769aa7f66f089cbc87ee8b7
7744
7745 Rearranged source tree so it is
7746 src/bin/{dwarfgen,dwarfexample,dwarfdump}
7747 src/lib/libdwarf
7748
7749 2021-06-01: David Anderson
7750 commit d50db523746fdfaafd82a2319163f9baa1e07213
7751
7752 Added MAINTANERCLEANFILES rule
7753 modified: test/Makefile.am
7754
7755 2021-06-01: David Anderson
7756 commit 4346fd64161f24601bcb50f43b6b65e497b8e88c
7757
7758 Forgot to add this. Its not very useful yet.
7759 new file: doc/Makefile.am
7760
7761 2021-06-01: David Anderson
7762 commit 3d2d1e6c92001ab61359d014dd5e949b3887853a
7763
7764 We can build libdwarf an dwarfdump with configure.
7765 modified: Makefile.am
7766 modified: README
7767 modified: README.md
7768 deleted: ar-lib
7769 modified: configure.ac
7770 modified: lib/libdwarf/dwarf_elf_access.c
7771 modified: lib/libdwarf/dwarf_elf_defines.h
7772 modified: lib/libdwarf/dwarf_generic_init.c
7773 modified: lib/libdwarf/dwarf_original_elf_init.c
7774 modified: lib/libdwarf/pro_reloc_stream.c
7775 deleted: m4/libtool.m4
7776 deleted: m4/ltoptions.m4
7777 deleted: m4/ltsugar.m4
7778 deleted: m4/ltversion.m4
7779 deleted: m4/lt~obsolete.m4
7780 modified: src/dwarfdump/Makefile.am
7781 modified: src/dwarfdump/command_options.c
7782 modified: src/dwarfdump/dwarfdump.c
7783 modified: src/dwarfdump/globals.h
7784 modified: src/dwarfdump/print_reloc.c
7785
7786 2021-06-01: David Anderson
7787 commit 457b867e8da0c9286eaeb2a93116c1a65c8de9ec
7788
7789 Now libdwarf builds (static libdwarf.la)
7790 The libelf support in dwarf_original_elf_init.c
7791 and dwarf_elf_access.h returns ERROR now.
7792 dwarf_incl.h includes libdwarf_private.h
7793 modified: Makefile.am
7794 modified: dwarf_elf_access.h
7795 modified: dwarf_incl.h
7796 modified: dwarf_line.c
7797 modified: dwarf_original_elf_init.c
7798 modified: dwarf_print_lines.c
7799 modified: libdwarf_private.h
7800
7801 2021-06-01: David Anderson
7802 commit 9fbf7d1f76ba753144d5a6b6445203a2a7850988
7803
7804 Trying to get libdwarf to build.
7805 modified: Makefile.am
7806 modified: autogen.sh
7807 modified: configure.ac
7808 modified: lib/libdwarf/Makefile.am
7809 autotools expect the name 'test'
7810 renamed: tests/Makefile.am -> test/Makefile.am
7811
7812 2021-06-01: David Anderson
7813 commit 23580d2c403a384a3e6c91ee6cbcfbb8849b8b89
7814
7815 Now we use libdwarf_private.h for the DW_PR lines.
7816 And reference libdwarf.h (no libelf or elf.h, so simpler )
7817 modified: Makefile.am
7818 modified: dwarf_line.c
7819 modified: dwarf_print_lines.c
7820
7821 2021-06-01: David Anderson
7822 commit 1131651913b37a0f94613f3abe92b451fcf72bde
7823
7824 More accurate naming.
7825 renamed: lib/libdwarf/libdwarf_internal.h -> lib/libdwarf/libdwarf_private.h
7826 renamed: src/dwarfdump/libdwarf_internal.h -> src/dwarfdump/libdwarf_private.h
7827 renamed: src/dwarfexample/libdwarf_internal.h -> src/dwarfexample/libdwarf_private.h
7828
7829 2021-06-01: David Anderson
7830 commit 0e697093db642aff0cc6e93f7ee5c9a1c937e687
7831
7832 A placeholder to run make check
7833 new file: tests/Makefile.am
7834
7835 2021-06-01: David Anderson
7836 commit 26a5e23aa16d7d37de0041f05cf65a0d97b0c464
7837
7838 Removed the DW_PR stuff from libdwarf and put into
7839 libdwarf_internal (which is copied to dwarfdump
7840 and dwarfexample)
7841 modified: ../../lib/libdwarf/Makefile.am
7842 renamed: ../../lib/libdwarf/libdwarf.h.in -> ../../lib/libdwarf/libdwarf.h
7843 new file: ../../lib/libdwarf/libdwarf_internal.h
7844 new file: ../dwarfdump/libdwarf_internal.h
7845 new file: ../dwarfexample/libdwarf_internal.h
7846
7847 2021-06-01: David Anderson
7848 commit 1c4e7b94596188ef3b93ee3def39634271e78331
7849
7850 removing autotools-generated files.
7851 deleted: lib/libdwarf/Makefile.in
7852 deleted: src/dwarfdump/Makefile.in
7853 deleted: src/dwarfexample/Makefile.in
7854 deleted: src/dwarfgen/Makefile.in
7855
7856 2021-06-01: David Anderson
7857 commit 10d4ff81f520b4561a3f0e3ae0a0e2b7be01e405
7858
7859 Move libdwarf to lib/libdwarf
7860
7861 2021-06-01: David Anderson
7862 commit 631cf401eabe06f0434292f37da74325df164871
7863
7864 new file: autogen.sh
7865
7866 2021-06-01: David Anderson
7867 commit 312206de97cfe6191054d1b51e6d4cc2039b6c06
7868
7869 removed libelf and elf.h elf refs
7870 modified: configure.ac
7871 dwarfdump now src/dwarfdump
7872 dwarfgen now src/dwarfgen
7873 dwarfexample now src/dwarfexample
7874
7875 2021-06-01: David Anderson
7876 commit c02c1c2430034e639fe180fece008fb433719a58
7877
7878 Another autotools-generated file removed.
7879 deleted: aclocal.m4
7880
7881 2021-06-01: David Anderson
7882 commit f57115127daffc46b4d98322c75121d9f456f309
7883
7884 Removing the files autotools create
7885 and moving files to a better place.
7886 deleted: Makefile.in
7887 renamed: config.h.in.cmake -> cmake/config.h.cmake
7888 deleted: compile
7889 deleted: config.guess
7890 deleted: config.h.in
7891 deleted: config.sub
7892 deleted: configure
7893 deleted: depcomp
7894 renamed: dwarfdump/dwarfdump.1 -> doc/dwarfdump.1
7895 renamed: dwarfgen/dwarfgen.1 -> doc/dwarfgen.1
7896 deleted: install-sh
7897 deleted: ltmain.sh
7898 deleted: missing
7899 deleted: test-driver
7900
7901 dadebug ending report
7902 2021-05-31: David Anderson
7903 * CMakeLists.txt,configure.ac: version string is
7904 0.1.0
7905 * README mentions the new location of documentation:
7906 the doc directory, which we added just now.
7907 2021-05-28: David Anderson
7908 * CMakeLists.txt:Version string now 20210528
7909 * Makefile.am: Added scripts ChangeLogs for 2019,
7910 2020. Removed scripts items that were deleted
7911 from the source (no longer needed)
7912 * Makefile.in: Regenerated.
7913 * README.md: Removes reference to deleted script,
7914 references 'make dist' instead.
7915 * configure.ac: Version 20210528
7916 * configure: regenerated
7917 2021-05-20: David Anderson
7918 * CMakeLists.txt, configure.ac: Now version
7919 20210520
7920 * configure: Regenerated.
7921 2021-05-17: David Anderson
7922 * CMakeLists.txt: Removed test that has been
7923 irrelevant for quite a while (and had a serious
7924 misspelling too).
7925 * config.h.in.cmake: Added two missing header file
7926 checks and the associated cmakedefine lines.
7927 Removed cmakedefine NO_MINUS_C_MINUS_O as it
7928 only applies to configure (not to cmake).
7929 2021-05-17: David Anderson
7930 * README: Removed obsolete reference to libelf source.
7931 2021-05-14: David Anderson
7932 * bugxml/bugrecord.py, bugxml/readbugs.py: Reformatted
7933 to standard python style.
7934 2021-05-14: David Anderson
7935 * CMakeLists.txt: Updateing version to match
7936 configure.ac and adding comment to keep these
7937 files in sync.
7938 * configure.ac: Added comment to keep the version
7939 here and in CMakeLists.txt in sync.
7940 No other change.
7941 2021-05-12: David Anderson
7942 * CMakeLists.txt: Fixing a disastrous error removing
7943 creation of libdwarf.h from the build. The mistake
7944 was made in a commit 24 November 2020.
7945 Now ctest -R passes again, with or without libelf.
7946 2021-03-05: David Anderson
7947 * configure.ac: Now version 20210305.
7948 * configure: Regenerated.
7949 2021-02-14: David Anderson
7950 2021-02-19: David Anderson
7951 * scripts/ddbuild.sh: needed a -DSKIP_AF_CHECK
7952 to allow building a helper program that
7953 emits C source for dwarfdump.
7954 2021-02-15: David Anderson
7955 * configure.ac: Now version 20210214.
7956 * configure: Regenerated.
7957 2021-02-14: David Anderson
7958 * scripts/ddbuild.sh: Now also builds a table
7959 for initializing standard attr/form tables
7960 for checking attr/form combinations.
7961 2021-01-19: David Anderson
7962 * scripts/conddef.py,scripts/find_pdfpages.py,
7963 scripts/funcfinderhdr.py,scripts/funcfindermm.py,
7964 scripts/funcfindersrcs.py,scripts/haveinclude.py:
7965 All now are fairly close to following the Python
7966 PEP 8 style guide.`
7967
7968