| 1 |
2021-05-28 David Anderson |
| 2 |
* dwarf_names.c,dwarf_names.h,dwarfdump-af-table.h, |
| 3 |
dwarfdump-ta-ext-table.h,dwarfdump-ta-table.h, |
| 4 |
dwarfdump-tt-ext-table.h,dwarfdump-tt-table.h: |
| 5 |
Regenerated with new version string. |
| 6 |
2021-05-25 David Anderson |
| 7 |
* attr_form.c,command_options.c,compiler_info.c,dwarfdump.c, |
| 8 |
dwconf.c,print_tag_attributes_usage.c: Fixed indents, |
| 9 |
removed trailing whitespace. |
| 10 |
2021-05-20 David Anderson |
| 11 |
* print_die.c: If a DW_OP_skip or DW_OP_bra |
| 12 |
went to a previous offset the correctness check |
| 13 |
did not find it and issued an erroneous error. |
| 14 |
2021-05-16 David Anderson |
| 15 |
* runtests.sh: A few small temporary files were |
| 16 |
overlooked and left behind. Now they are deleted. |
| 17 |
2021-03-06 David Anderson |
| 18 |
* command_options.c,dwconf.c: When a dwarfdump.conf |
| 19 |
is not findable the messages are now more meaningful |
| 20 |
and not quite so mysterious. |
| 21 |
Added new option --show-dwarfdump-conf to show |
| 22 |
the .dwarfdump.conf in use. The old and broken |
| 23 |
depencence on -v is gone. |
| 24 |
* glflags.c,glflags.h: New flag gf_show_dwarfdump_conf |
| 25 |
for the new option. |
| 26 |
* dwarfdump.1: Documented new option --show-dwarfdump-conf |
| 27 |
2021-03-05 David Anderson |
| 28 |
* dwarf_names.c,dwarf_names.h,dwarfdump-af-table.h, |
| 29 |
dwarfdump-ta-ext-table.h,dwarfdump-ta-table.h, |
| 30 |
dwarfdump-tt-ext-table.h,dwarfdump-tt-table.h: |
| 31 |
Regenerated with new version string. |
| 32 |
2021-03-05 David Anderson |
| 33 |
* dwconf.c: In case no dwarfdump.conf file found |
| 34 |
in one of the standard places (such as $HOME) |
| 35 |
the message printed is much clearer |
| 36 |
and more specific. |
| 37 |
2021-02-24 David Anderson |
| 38 |
* attr_form_build.c: Catastophic error texts |
| 39 |
now all have a trailing newline. |
| 40 |
* attr_formclass_ext.list: The _ghs_ |
| 41 |
attributes are now properly named as GreenHillls |
| 42 |
spells them |
| 43 |
* dwarf_names.c: Regenerated with the proper |
| 44 |
_ghs_ names. |
| 45 |
* dwarfdump-af-table.h,dwarfdump-ta-ext-table.h: Regenerated |
| 46 |
with the proper _ghs_ names. |
| 47 |
2021-02-20 David Anderson |
| 48 |
* tag_attr.c,tag_tree.c: When creating |
| 49 |
the tables below insert the precise array |
| 50 |
length in the array declarations so the |
| 51 |
compiler can check them. |
| 52 |
* dwarfdump-ta-table.h,dwarfdump-tt-table.h: |
| 53 |
Regenerated, now with precise array sizes |
| 54 |
everywhere. |
| 55 |
2021-02-19 David Anderson |
| 56 |
* attr_form.c: Now checks attr/form-class |
| 57 |
combinations and reports on them. The -ku |
| 58 |
option lets one see interesting counts |
| 59 |
without details cluttering the output. |
| 60 |
* attr_form.h: Argument list updates |
| 61 |
to support latest functionality. |
| 62 |
* attr_formclass.list,attr_formclass_ext.list: |
| 63 |
New declarations of attr/formclass combinations |
| 64 |
one expects to see. No doubt there will be |
| 65 |
more such to do. |
| 66 |
* attr_form_build.c: Deleted unused locals, |
| 67 |
fixing some compiler warnings. |
| 68 |
* dwarf_names.h: Regenerated. |
| 69 |
* dwarfdump-af-table.h: Regenerated the attr/formclass |
| 70 |
table. |
| 71 |
* dwarfdump-ta-ext-table.h: New extensions added. |
| 72 |
* dwarfdump-tt-table.h: Regenerated with explicit |
| 73 |
array sizes so compilers can check array references. |
| 74 |
* dwarfdump.c: Added calls to certain cleanups |
| 75 |
that have long been needed for correct |
| 76 |
-ku output when reading an Elf Archive |
| 77 |
* glflags.h: Added a new Dwarf_Check_Catetories entry |
| 78 |
of attr_formclass_result. |
| 79 |
* globals.h: New function declarations for |
| 80 |
form_class and tag-tree tag-attr counts |
| 81 |
in the Elf archive case. |
| 82 |
* print_die.c: Added arguments to record_attr_form_use |
| 83 |
now that we check and count usages. |
| 84 |
* print_tag_attributes_usage.c(reset_usage_rate_tag_tree): |
| 85 |
added reset function so printing of Elf archive |
| 86 |
member objects usages are correct. |
| 87 |
* tag_attr_ext.list: Added GHS attributes to list. |
| 88 |
* tag_common.h: Increased column counts due to |
| 89 |
adding the GHS attributes to tag_attr_ext.list. |
| 90 |
* tag_tree.c: Added array size to emitted C |
| 91 |
source so compiler can check references when |
| 92 |
that emitted source is built into dwarfdump. |
| 93 |
2021-02-16 David Anderson |
| 94 |
* command_options.c,compiler_info.c,glflags.c, |
| 95 |
glflags.h,print_tag_attributes_usage.c: |
| 96 |
sed 's/gf_check_attr_tag/gf_check_tag_attr/' fixed the |
| 97 |
ever-confusing name reversal unique to this flag. |
| 98 |
* print_die.c,dwarfdump.c: The above plus correcting |
| 99 |
minor mistakes in handling of -ku -kuf options. |
| 100 |
* dwarfdump.1: Clarified the meaning and use of |
| 101 |
-kr -ku -kuf -C as the descriptions have been |
| 102 |
misleading for a long time. |
| 103 |
2021-02-16 David Anderson |
| 104 |
* attr_form.c: Fixed indents and trailing whitespace. |
| 105 |
* dwarfdump.c: Fixed trailing whitespace. |
| 106 |
* print_die.c(append_useful_die_name): was not doing |
| 107 |
proper dealloc (which only mattered if one |
| 108 |
had turned off automatic cleanup at dwarf_finish()), |
| 109 |
but now it deallocs as desired. |
| 110 |
2021-02-15 David Anderson |
| 111 |
* dwarf_names.c,dwarf_names.h,dwarfdump-af-table.h, |
| 112 |
dwarfdump-ta-ext-table.h,dwarfdump-ta-table.h, |
| 113 |
dwarfdump-tt-ext-table.h,dwarfdump-tt-table.h: |
| 114 |
Regenerated with new version string. |
| 115 |
2021-02-15 David Anderson |
| 116 |
* CMakeLists.txt: Added the new source files. |
| 117 |
* Makefile.am: Added the new list and build files |
| 118 |
so they get into releases and the build. |
| 119 |
* Makefile.in: Regenerated. |
| 120 |
* attr_form.c: Added printing of attr/form/formclass |
| 121 |
reports with the existing -kE option. |
| 122 |
* globals.h: Renamed tag_specific_checks_setup() |
| 123 |
to tag_specific_globals_setup() to better reflect |
| 124 |
the meaning of the function. |
| 125 |
* attr_form.h: Added declaration so dwarfdump.c can |
| 126 |
call attr_form.c functions. Added idempotency |
| 127 |
in include and __cplusplus ifdefs. |
| 128 |
* attr_form_build.c: now we add idempotency |
| 129 |
code when generating dwarfdump-af-table.h. |
| 130 |
* dwarf_tsearch.h: Commentary improvements. |
| 131 |
* dwarfdump-af-table.h: Regenerated. |
| 132 |
* dwarfdump.c: When doing checks, set up |
| 133 |
the 3key tables using attr_form.c functions. |
| 134 |
* naming.c,naming.h: Added new function |
| 135 |
get_FORM_CLASS_name() to both. |
| 136 |
* print_abbrevs.c: Renaming per globals.h function rename. |
| 137 |
* print_die.c: Include attr_form.h, call |
| 138 |
record_attr_form_use(). Renamin here too per |
| 139 |
the globals.h function rename. |
| 140 |
* attr_form_build.c: Added idempotency |
| 141 |
and __cplusplus guards to the output |
| 142 |
file generated: dwarfdump-af-table.h. |
| 143 |
* print_tag_attributes_usage.c: Improvements in |
| 144 |
the specificity of some summary header lines. |
| 145 |
Now calls print_attr_form_usage() to print |
| 146 |
the attr/formclass/form tables (option -kE |
| 147 |
or -ka ). |
| 148 |
* tag_common.c: Removed unused local variables. |
| 149 |
* test-mach-o-32.base,testobjLE32PE.base,testuriLE64ELf.base, |
| 150 |
New baseline based on recent changes. |
| 151 |
2021-02-14 David Anderson |
| 152 |
* print_die.c: Move the last few hundred lines to |
| 153 |
the new file print_tag_attributes_usage.c. |
| 154 |
* tag_common.c: Fixed large indent botch. |
| 155 |
* globals.h: Now with print_tag_attributes_usage, |
| 156 |
record_tag_usage, legal_tag_attr_combination, |
| 157 |
legal_tag_tree_combination public for access from |
| 158 |
print_die.c. |
| 159 |
* dwarfdump.c: Reflects the simpler arguments to |
| 160 |
call print_tag_attributes_usage(). |
| 161 |
2021-02-14 David Anderson |
| 162 |
* Makefile.am: Added print_tag_attributes_usage.c |
| 163 |
* print_tag_attributes_usage.c: New file. Extracted |
| 164 |
this code (which prints a summary of tag/attr use) |
| 165 |
from print_die.c and put in this new file. |
| 166 |
* Makefile.in: Regenerated. |
| 167 |
* dwarfdump.1: Made the description of -kE a bit more |
| 168 |
specific. |
| 169 |
2021-02-14 David Anderson |
| 170 |
* command_options.c: Improved some commentary. |
| 171 |
* attr_form.c, attr_form_build.c: Fixed indents, |
| 172 |
trailing whitespace. |
| 173 |
2021-02-14 David Anderson |
| 174 |
* attr_form.c,attr_form.h,attr_form_build.c: Code to build |
| 175 |
and use date for recording and checking attr/form |
| 176 |
combinations. Not yet used by dwarfdump. |
| 177 |
* attr_formclass.list: List of standard attr/form-class |
| 178 |
combinations. |
| 179 |
* attr_formclass_ext.list: List of extension attr/form-class |
| 180 |
combinations. |
| 181 |
* dwarfdump-af-table.h: Generated C array of attr/form-class |
| 182 |
combinations in easy-to-use form for dwarfdump. |
| 183 |
* dwarfdump-af-table.h: New, a table to quickly |
| 184 |
load attr/form(class) standard matches. |
| 185 |
* tag_common.c: Added code to turn FORM_CLASS |
| 186 |
names into their enum values. |
| 187 |
* tag_common.h: Added define of HAVE_USAGE_ATTR_FORMCLASS |
| 188 |
(not strictly necessary at this point). |
| 189 |
2021-02-13 David Anderson |
| 190 |
* print_die.c: Somehow hundreds of lines got indented |
| 191 |
4 spaces for no reason. Fixed that mistake. |
| 192 |
Added a trailing > where intended in printing |
| 193 |
DW_AT_decl_file when the file name is unavailable. |
| 194 |
2021-02-06 David Anderson |
| 195 |
* print_die.c: Refactoring for clarity and adding |
| 196 |
following DW_FORM_ref_sig8 links to find DW_AT_type |
| 197 |
targets. Also reporting line table file numbers |
| 198 |
as file names. |
| 199 |
2021-01-31 David Anderson |
| 200 |
* dwarfdump.c: Ensures ERROR printf appear in the error count |
| 201 |
(A couple errors printed at the end were not counted.) |
| 202 |
* globals.h: Defining LoHiPc_s struct so we can calculate |
| 203 |
the high_pc from low_pc and offset-from-low-pc values. |
| 204 |
Simpler and better type checking than before. |
| 205 |
* print_die.c: Eliminate sets of 4 arguments, |
| 206 |
replace with LoHiPc pointer. |
| 207 |
* print_hipc_lopc_attr.c: Implement filling in |
| 208 |
LoHiPc_s and printing the calculated high_pc |
| 209 |
when appropriate. Much easier to understand than |
| 210 |
the earlier use of bSawLowp etc. |
| 211 |
2021-01-29 David Anderson |
| 212 |
* tag_attr_ext.list: Added some DW_AT_GNU entries to |
| 213 |
DW_TAG_skeleton unit as common extensions. |
| 214 |
2021-01-29 David Anderson |
| 215 |
* dwarfdump.c: Added commentary and slightly modified the |
| 216 |
producer names produced on CU DIE issues with the producer |
| 217 |
string. |
| 218 |
* glflags.c: Added commentary about the default producer name. |
| 219 |
2021-01-28 David Anderson |
| 220 |
* print_die.c: Cleared out dead #if 0 and fixed indents. |
| 221 |
* compiler_info.c,getopttest.c,makename_test.c, |
| 222 |
print_hipc_lopc_attr.c,testesb.c: Cleared out dead code |
| 223 |
and fixed indents. |
| 224 |
2021-01-28 David Anderson |
| 225 |
* compiler_info.c: Added comments about an unusual |
| 226 |
aspect of a couple arrays here. |
| 227 |
* dwarfdump.c: Removed a stray back-quote from a comment. |
| 228 |
* print_die.c: Revised printing of dwarf expressions |
| 229 |
and ensured such appear in more places. Revised error |
| 230 |
detection of attributes requiring a string yet |
| 231 |
that do not have any sort of string FORM. |
| 232 |
Some #if 0 present to be removed shortly. |
| 233 |
* print_hipc_lopc_attr.c: A new #if 0 here is a non-functional |
| 234 |
improvment in printing high-pc. Not ready for prime time. |
| 235 |
* print_origloclist_codes.c: added DW_LLE_start_end case |
| 236 |
seen in test object. |
| 237 |
2021-01-23 David Anderson |
| 238 |
* buildopscounttab.c,checkutil.c,command_options.c,common.c, |
| 239 |
dwarf_tsearch.h,dwarf_tsearchbal.c,dwarfdump-tt-table.h,dwarfdump.c, |
| 240 |
dwconf.c,dwgetopt.c,esb.c,esb.h,getopttest.c,glflags.h,globals.h, |
| 241 |
makename.c,naming.c,opscounttab.h,print_die.c,print_frames.c, |
| 242 |
print_gdbindex.c,print_macro.c,print_pubnames.c,print_ranges.c, |
| 243 |
print_reloc.c,sanitize.c,section_bitmaps.c,tag_attr.c, |
| 244 |
tag_common.c,tag_tree.c,testesb.c: Fixed indentation |
| 245 |
errors. |
| 246 |
|
| 247 |
2021-01-23 David Anderson |
| 248 |
* print_die.c: Now checks all instances of DW_OP_bra |
| 249 |
and DW_OP_skip to be sure the target offset actually |
| 250 |
is a valid target in this expression block. |
| 251 |
2021-01-22 David Anderson |
| 252 |
* glflags.h: Moved _dwarf_print_one_expr_op() out, |
| 253 |
it is now static in print_die.c |
| 254 |
* print_die.c: Now notices if DW_OP_skip or DW_OP_bra |
| 255 |
is in a set of operations and prefixes each operation |
| 256 |
with its block offset so its easy to understand the target |
| 257 |
offset. |