| 1 |
2016-11-24 David Anderson |
| 2 |
* common.c,dwarfdump.c,tag_attr.c,tag_tree.c: |
| 3 |
Update version strings. |
| 4 |
2016-11-24 David Anderson |
| 5 |
* Makefile.in: Clean *~ |
| 6 |
2016-11-22 David Anderson |
| 7 |
* print_abbrevs.c: Some -k abbrev warnings did not make it clear that |
| 8 |
they were checking against a heuristic sanity-check value |
| 9 |
for the maximum number of attributes, not a genuine |
| 10 |
maximum. |
| 11 |
2016-11-22 David Anderson |
| 12 |
* tag_attr.c: Remove bogus blank line with trailing spaces. |
| 13 |
2016-11-11 David Anderson |
| 14 |
* print_frames.c: Apply fix to local_dwarf_decode_s_leb128_chk so |
| 15 |
it matches libdwarf dwarf_leb.c. A fix for certain bit |
| 16 |
pattern provoking undefined behavior in C.. |
| 17 |
2016-11-01 David Anderson |
| 18 |
* tag_attr.c,tag_common.h,tag_attr_ext.list: Adding |
| 19 |
Ada GNAT gcc attributes DW_AT_GNU_numerator, |
| 20 |
DW_AT_GNU_denominator, DW_AT_GNU_bias in the extended |
| 21 |
table for checking. |
| 22 |
2016-10-21 David Anderson |
| 23 |
* common.c,dwarfdump.c,tag_attr.c,tag_tree.c: Update |
| 24 |
version strings. |
| 25 |
2016-09-30 David Anderson |
| 26 |
* configure.in: Add additional -fsanitize tests to |
| 27 |
--enable-sanitize option. |
| 28 |
* configure: Regenerated. |
| 29 |
* print_die.c: Ensure << applied to unsigned |
| 30 |
to avoid undefined operation. We were getting |
| 31 |
officially undefined behavior. |
| 32 |
* tag_attr_ext.list: Removed trailing whitespace from |
| 33 |
two lines. |
| 34 |
2016-09-30 David Anderson |
| 35 |
* makename.c: The unused static function value_hashfunc() |
| 36 |
has been removed. |
| 37 |
* tag_attr.c, tag_tree.c: Changed (1<<bit) to |
| 38 |
(((unsigned)1)<<bit) to avoid a runtime error |
| 39 |
(during dwardump build) about the left shift. |
| 40 |
2016-09-27 David Anderson |
| 41 |
* esb.c: Deleted file-static variable that was only |
| 42 |
used for a test. No longer needed. |
| 43 |
2016-09-27 David Anderson |
| 44 |
* print_die.c: Changed the name of experimental |
| 45 |
loclist operators from LLE to LLEX |
| 46 |
as these are in use for certain DWARF4 loclist |
| 47 |
providers. The DWARF5 LLE don't use the same |
| 48 |
numberic values as the experimental ones. |
| 49 |
2016-09-23 David Anderson |
| 50 |
* Makefile.in: A mistake here meant every compile |
| 51 |
rebuilds all of dwarfdump even with a trivial change. |
| 52 |
Fixed so now trivial changes just rebuild a minimum. |
| 53 |
The dependencies here remain incomplete: if you change |
| 54 |
a data structure you must 'make clean' and recompile |
| 55 |
everything in dwarfdump. |
| 56 |
2016-09-22 David Anderson |
| 57 |
* dwarfdump.c,print_die.c,print_frames.c,print_gdbindex.c: |
| 58 |
In case of error, dwarf_dealloc the error once it |
| 59 |
has been printed. Avoiding a small memory leak. |
| 60 |
2016-09-21 David Anderson |
| 61 |
* configure.in: Supports --enable-sanitize which |
| 62 |
sets dwfsanitize so build uses -fsanitize=address . |
| 63 |
* configure: Regenerated. |
| 64 |
* Makefile.in: Now uses dwfsanitize (when set) |
| 65 |
during builds. Added dwarf_tsearchbal.c to the makename |
| 66 |
build so dwarf_tsearchbal.o is available for tag_tree_build |
| 67 |
and tag_attr _buildprograms at build time. |
| 68 |
* dwarfdump.c: Moved all static struct esb_s variables |
| 69 |
to the top level and ensure they are destructed on |
| 70 |
normal exit. Destruct all static makename strings, abbrev |
| 71 |
data, sanitized strings, and ranges strings. |
| 72 |
Now all allocated memory is freed before a normal exit. |
| 73 |
* esb.c: Added {} and commentary for clarity. |
| 74 |
esb_destructor now a bit more careful (redundantly but |
| 75 |
helpful for a reader). |
| 76 |
* globals.h: Declared destructors allowing access to |
| 77 |
static data allocated in certain source files. |
| 78 |
Fixed the selftest code. |
| 79 |
* macrocheck.c: Correct selftest code. |
| 80 |
* makename.c: Now uses dwarf_tsearch to keep a record of |
| 81 |
strings it allocates and avoids duplicating strings. |
| 82 |
A destructor gives a way to free the allocated memory. |
| 83 |
* makename.h: Added declaration of makename_destructor(). |
| 84 |
* print_abbrevs.c: Implemented destruct_abbrev_array() to |
| 85 |
clean up a static array. |
| 86 |
* print_die.c: Tidied up declaration/constructor pairs |
| 87 |
so it's easier to see that all declarations have a constructor |
| 88 |
call. |
| 89 |
* print_lines.c: Tidied up declaration/constructor pair |
| 90 |
so it's easier to see that the constructor is called. |
| 91 |
* print_locs.c: Tidied up declaration/constructor pair |
| 92 |
so it's easier to see that the constructor is called. |
| 93 |
* print_ranges.c: Implemented ranges_esb_string_destructor() |
| 94 |
to destruct local static esb string at normal dwarfdump exit. |
| 95 |
* sanitized.c: Implemented sanitized_string_destructor() |
| 96 |
to destruct local static esb string at normal dwarfdump exit. |
| 97 |
* strstrnocase.c: Code could do *ct past end of string. |
| 98 |
Fixed to avoid that. |
| 99 |
2016-09-15 David Anderson |
| 100 |
* configure.in: Added check for unistd.h. |
| 101 |
* configure: regenerated. |
| 102 |
* dwarfdump.c,tag_attr.c,tag_tree.c: Add #ifdef HAVE_UNISTD_H |
| 103 |
for unistd.h include. |
| 104 |
2016-09-15 David Anderson |
| 105 |
* tag_tree.c: Two local variables had no initializer. |
| 106 |
Though adding the initializers is logically unnecessary |
| 107 |
it is the standard way to code in libdwarf/dwarfdump. |
| 108 |
2016-09-13 David Anderson |
| 109 |
* print_die.c: Shortened the printing of DW_AT_discr_list |
| 110 |
to improve readability. |
| 111 |
2016-09-09 David Anderson |
| 112 |
* tag_attr.c,tag_tree.c: Further improvements to ensure we do not run |
| 113 |
off the ends of rows or columns. |
| 114 |
New commentary on array contents of generated arrays. |
| 115 |
* tag_tree.c: Further improvements to ensure we do not run |
| 116 |
off the ends of rows or columns. |
| 117 |
* tag_attr_ext.list: Removed accidental extra characters. |
| 118 |
Added DW_AT_GNU_dwo_id to dW_TAG_compile_unit. |
| 119 |
* tag_common.c: The static declaration of the internal tables |
| 120 |
used to build table source code was not checked so there |
| 121 |
were some array entries stepped on. fixed. |
| 122 |
* tag_common.h: Added commentary. Made the build-time-only |
| 123 |
static array declaration size macros more explicit. |
| 124 |
2016-09-09 David Anderson |
| 125 |
* print_die.c: Fixed compiler warnings introduced |
| 126 |
in previous commit. |
| 127 |
2016-09-08 David Anderson |
| 128 |
* print_die.c: Now we use the new dwarf_discr_list() |
| 129 |
to read DW_AT_discr_list correctly and print it. |
| 130 |
* tag_attr.c,tag_tree.c: Now we check for too-small and too-large |
| 131 |
array sizes and stop the build in case of error. |
| 132 |
* tag_common.h: Now the static array sizes match |
| 133 |
the lists. |
| 134 |
2016-06-13 David Anderson |
| 135 |
* sanitized.c: Added static keyword to declaration of |
| 136 |
no_questionable_chars(). |
| 137 |
* print_frames.c: Added a warning about a useless |
| 138 |
frame operator (if such appears, only checkedwith -f -vvv). |
| 139 |
Ensure we print rows generated even if a pointless last row |
| 140 |
(a break becomes continue). |
| 141 |
* common.c,dwarfdump.c,tag_attr.c,tag_tree.c,gennames.c: |
| 142 |
Update version string. |
| 143 |
2016-06-12 David Anderson |
| 144 |
* common.c,dwarfdump.c,tag_attr.c,tag_tree.c,gennames.c: |
| 145 |
Update version string. |
| 146 |
2016-06-12 David Anderson |
| 147 |
* print_frames.c: Using a new frame interface to reduce |
| 148 |
dwarfdump runtime on frame printing by 10 percent. |
| 149 |
2016-06-10 David Anderson |
| 150 |
* print_frames.c: Added commentary as the previous comment |
| 151 |
about printing CFA and other registers having a 'duplicate row' |
| 152 |
was a bit terse. |
| 153 |
2016-06-08 David Anderson |
| 154 |
* sanitized.c: Remove trailing whitespace. |
| 155 |
2016-06-08 David Anderson |
| 156 |
* common.c,dwarfdump.c,tag_attr.c,tag_tree.c: |
| 157 |
Update version string. |
| 158 |
* sanitized.c: Only fix strings that have bad |
| 159 |
characters in them. This improves dwarfdump performance. |
| 160 |
2016-06-01 David Anderson |
| 161 |
* dwarfdump.c, common.c: Update version string. |
| 162 |
Use DW_VERSION_DATE_STR instead of DWARFDUMP_VERSION |
| 163 |
* tag_attr.c, tag_tree.c: Use DW_VERSION_DATE_STR instead |
| 164 |
of __DATE__ __TIME__ |
| 165 |
* Makefile.in: Tweaked for debian build compatibility. |
| 166 |
2016-05-22 David Anderson |
| 167 |
* dwarfdump.c, common.c: Update version string. |
| 168 |
2016-05-20 David Anderson |
| 169 |
* print_frames.c: One test for erroneous length was |
| 170 |
incorrectly coded, leading to possible crash when encountering |
| 171 |
erroneous frame information. |
| 172 |
2016-05-19 David Anderson |
| 173 |
* configure.in: Does a better job reporting configure actions. |
| 174 |
* configure: Regenerated |
| 175 |
* dwarfdump.1: Fixed spelling errors and moved ./dwarfdump.conf |
| 176 |
right one space to get the dot off column 1. |
| 177 |
2016-05-18 David Anderson |
| 178 |
* print_die.c: Fix typo in error message. |
| 179 |
* print_frames.c: Do additional checks for incorrect data |
| 180 |
when printing frame instructions to avoid dwarfdump crash.. |
| 181 |
2016-05-12 David Anderson |
| 182 |
* print_abbrevs.c,print_aranges.c,print_frames.c,print_sections.c: |
| 183 |
Removed trailing whitespace. Fixed indentation. |
| 184 |
* tag_attr.c,tag_tree.c: Ensure calls to libdwarf interfaces |
| 185 |
in these build-time tools check the status returned. |
| 186 |
2016-05-10 David Anderson |
| 187 |
* print_aranges.c: Minor commentary change and |
| 188 |
rearranging lines for clarity. |
| 189 |
* print_die.c: formwith->form with |
| 190 |
in an error message. |
| 191 |
* print_frames.c: Now checks for bogus expression block |
| 192 |
lengths and bogus LEB values. LEB reading functions |
| 193 |
now here and static functions. |
| 194 |
* print_sections.c: Moved leb reading functions to print_frames.c |
| 195 |
2016-05-07 David Anderson |
| 196 |
* dwarfdump.c, common.c: Update version string. |
| 197 |
* print_frames.c: For local variable added |
| 198 |
initialization-at-definition. |
| 199 |
2016-05-06 David Anderson |
| 200 |
* sanitized.c: Fixed trailing whitespace and |
| 201 |
added 'static' to local function definition. |
| 202 |
2016-05-05 David Anderson |
| 203 |
* Makefile.in: Added sanitized.o to objects to build. |
| 204 |
* dwarfdump.1: Document '-x nosanitizestrings'. |
| 205 |
* dwarfdump.c: Set internal flag based on '-x nosanitizestrings'. |
| 206 |
* globals.h: add extern for the flag no_sanitize_string_garbage |
| 207 |
and the sanitized() interface. |
| 208 |
* print_die.c,print_frames.c,print_lines.c, |
| 209 |
print_macro.c, print_macros.c : Call sanitized() on some strings. |
| 210 |
* sanitized.c: Changes control characters int output to %xx |
| 211 |
uri-style (by default). See '-x nosanitizestrings'. |
| 212 |
2016-05-03 David Anderson |
| 213 |
* dwarfdump.c: revise print_error_maybe_continue() to |
| 214 |
print additional useful data. |
| 215 |
* print_die.c: If dwarf_srcfiles() gets DW_DLV_NO_ENTRY |
| 216 |
do not print a warning. Normal to have no DW_AT_stmt_list. |
| 217 |
* print_lines.c: Fix column header 'row' changed to 'lno'. |
| 218 |
Refine a CHECK message to say a DW_LNE_end_sequence |
| 219 |
does not exactly match function high address. It is not |
| 220 |
an error, just something about how the code was emitted. |
| 221 |
2016-04-30 David Anderson |
| 222 |
* dwarfdump.c, common.c: Update version string. |
| 223 |
2016-04-27 David Anderson |
| 224 |
* dwarfdump.c, common.c: Update version string. |
| 225 |
2016-04-27 David Anderson |
| 226 |
* dwarfdump.c: Update version string. |
| 227 |
Remove a field from printf on error as that duplicates |
| 228 |
the error number in the error string. |
| 229 |
2016-04-25 David Anderson |
| 230 |
* esb.c, dwarfdump.c: Fix a couple indent mistakes. |
| 231 |
2016-04-25 David Anderson |
| 232 |
* esb.h, esb.c: The typedef for 'string' is now gone, it |
| 233 |
was never helpful.. |
| 234 |
* dwarfdump.c: Remove 'string' use. |
| 235 |
* dwgetopt.c: Moved test-only function to getopttest.c. |
| 236 |
Added (void) argument to a the functions with no arguments. |
| 237 |
* getopttest.c: Repaired failures to to renaming |
| 238 |
to dwoptind etc and added the test-only |
| 239 |
function from dwgetopt.c |
| 240 |
* globals.h: Removed 'string' typedef. |
| 241 |
* print_die.c,print_frames.c, print_lines.c, print_strings.c, |
| 242 |
tag_attr.c, tag_tree.c: Removed use of 'string' type, use |
| 243 |
plain old char*. |
| 244 |
2016-04-21 Carlos Alberto Enciso |
| 245 |
Printing using the 'esb' module was broken. It seems to work |
| 246 |
because the default internal buffer size (240), was big enough |
| 247 |
to receive the resulting output. |
| 248 |
|
| 249 |
* esb.c, esb.h: Missing prefix 'esb' for 'allocate_more'. |
| 250 |
Initial buffer size reduced to 16. |
| 251 |
New function 'esb_open_null_device': open 'null' device. |
| 252 |
New function 'esb_close_null_device': close 'null' device. |
| 253 |
New function 'esb_allocate_more_if_needed': allocate more |
| 254 |
space if required, leaving the contents unchanged, so the |
| 255 |
caller, does not need to worry about it. |
| 256 |
There are 2 cases: |
| 257 |
Windows: use the 'null' device to get the required space |
| 258 |
UNIX: use a big buffer (512). But if the result is bigger, |
| 259 |
the original problem will be shown. |
| 260 |
The function 'esb_append_printf_ap', now takes care of |
| 261 |
increasing the buffer if needed. |
| 262 |
|
| 263 |
* dwarfdump.c: In the case of windows, open and close the 'null' |
| 264 |
device, in order to setup the esb module. |
| 265 |
2016-04-21 Carlos Alberto Enciso |
| 266 |
* globals.h: Do not define 'string' for a C++ build; it clashes with |
| 267 |
the 'std::string'. |
| 268 |
* print_die.c: Minor typo error. |
| 269 |
2016-04-21 Carlos Alberto Enciso |
| 270 |
* For a WINDOWS version, display the 32/64 bits configuration. |
| 271 |
2016-04-21 Carlos Alberto Enciso |
| 272 |
* Use the _WIN32 macro to identify a WINDOWS specific code. |
| 273 |
2016-03-17 David Anderson |
| 274 |
* print_die.c(print_one_die_section): One dieprint_cu_goffset |
| 275 |
Dwarf_Unsigned->Dwarf_Off. |
| 276 |
2016-03-12 David Anderson |
| 277 |
* print_abbrevs.c(print_abbrevs): Printed output of an abbrev with code |
| 278 |
and tag but no attributes was simply wrong. Now fixed. |
| 279 |
Now avoids printing children flag on a null abbrev (a NUL byte |
| 280 |
meaning no abbrev is there at all, ending a list of abbrevs). |
| 281 |
* print_die.c: it was difficult, even with -G -v, to identify |
| 282 |
the actual offset (in .debug_abbrev) of the abbreviations. |
| 283 |
Now -i -G -v gives a bit more data on abbreviations. |
| 284 |
2016-03-09 David Anderson |
| 285 |
* dwarfdump.c,globals.h,print_aranges.c,print_die.c,print_frames.c, |
| 286 |
print_lines.c,print_macro.c,print_pubnames.c: |
| 287 |
Remove the global dieprint_cu_offset, use local vars and pass around instead. |
| 288 |
Ensure the traverse() logic when checking type references do not evaluate |
| 289 |
references to other sections. Many argument lists got an additional argument or two. |
| 290 |
2016-03-07 David Anderson |
| 291 |
* dwarfdump.c: Update version string. Added CU_low_address so |
| 292 |
CU_base_address is properly used only for the DWARF |
| 293 |
CU 'base address' notion. Print CU_low_address in PRINT_CU_INFO(). |
| 294 |
* common.c: Update version string |
| 295 |
* globals.h: New macro DROP_ERROR_INSTANCE(d,r,e) improves consistency |
| 296 |
where we need to drop a Dwarf_Error instance. |
| 297 |
* print_die.c: Support for CU_low_address. Use DROP_ERROR_INSTANCE |
| 298 |
where appropriate. |
| 299 |
* print_frames.c: Use DROP_ERROR_INSTANCE |
| 300 |
where appropriate. |
| 301 |
2016-03-03 Carlos Alberto-Enciso |
| 302 |
* dwarfdump.c: Missing '_' just for consistency. |
| 303 |
Print any harmless errors only the required in command line |
| 304 |
* globals.h: Unused declaration. |
| 305 |
* print_die.c: When displaying a DW_AT_type offset error, uses the standard |
| 306 |
0xdddddddd format. Wrap to 80 columns, a long line. |
| 307 |
2016-02-17 Carlos Alberto-Enciso |
| 308 |
* dwarfdump/tag_attr_ext.list,dwarfdump/tag_common.h, |
| 309 |
dwarfdump/tag_tree_ext.list: Tighten up the list limits |
| 310 |
and add commentary about the list limits. |
| 311 |
2016-02-14 DavidAnderson |
| 312 |
* dwarfdump.c,common.c: Updated version strings. |
| 313 |
* print_die.c,print_strings.c: fixed indent errors. |
| 314 |
2016-02-14 Carlos Alberto-Enciso |
| 315 |
* tag_attr_ext.list, tag_tree_ext.list: Adding |
| 316 |
DW_TAG_GNU_template_parameter_pack,DW_TAG_GNU_formal_parameter_pack. |
| 317 |
* tag_tree.c: Printed wrong name from tag-tree table in |
| 318 |
a comment. |
| 319 |
* tag_common.h: Ext tag table rows count was higher than needed. |
| 320 |
Ext attr table rows increased to 11. |
| 321 |
2016-02-13 David Anderson |
| 322 |
* dwarfdump.c,globals.h,print_aranges.c,print_die.c, |
| 323 |
print_frames.c,print_lines.c,print_locs.c,print_macro.c, |
| 324 |
print_pubnames.c,print_reloc.ckprint_static_funcs.c, |
| 325 |
print_static_vars.c,print_strings.c,print_types.c, |
| 326 |
print_weaknames.c: Removed global Dwarf_Error err |
| 327 |
and provided local Dwarf_Error as needed. |
| 328 |
2016-02-13 David Anderson |
| 329 |
* configure.in: Add -Wshadow to --enable-shared. Add else and |
| 330 |
cross-compile [] to the AC_TRY_RUN |
| 331 |
* configure: Regenerate. |
| 332 |
* dwarf_tsearchbal.c: Delete shadowed variable p, we use |
| 333 |
the original instead. |
| 334 |
* dwarfdump.c: Rename variables to avoid confusing |
| 335 |
duplicated names (found by -Wshadow). #if 0 the |
| 336 |
unused function old_get_cu_name(), which should get deleted. |
| 337 |
* globals.h: Fixed prototypes, #if 0 prototype of |
| 338 |
the unused function old_get_cu_name(). |
| 339 |
* print_abbrevs.c, print_aranges.c,print_debugfission.c, |
| 340 |
print_die.c,print_frames.c, print_gdbindex.c, print_lines.c, |
| 341 |
print_pubnames.c, print_ranges.c, print_sections.c, |
| 342 |
tag_attr.c, tag_tree.c: Add local Dwarf_Error and |
| 343 |
rename variables to avoid shadowing confusion. |
| 344 |
2016-02-10 David Anderson |
| 345 |
* globals.h: Change enum val from std to singledw5. |
| 346 |
Some compilation environments reserve 'std'. |
| 347 |
* dwarfdump.c,print_lines.c: Use the new spelling. |
| 348 |
2016-02-10 David Anderson |
| 349 |
* common.c,dwarfdump.c: Update version string. |
| 350 |
2016-02-07 David Anderson |
| 351 |
* common.c,dwarfdump.c: Update version string. |
| 352 |
2016-02-06 David Anderson |
| 353 |
* print_die.c,tag_attr.c,tag_tree.c: Remove trailing whitespace. |
| 354 |
2016-02-06 David Anderson |
| 355 |
* warningcontrol.h: Defines UNUSEDARG macro as needed. |
| 356 |
* common.c,dwarf_tsearchbal.c,dwarfdump.c,globals.h, |
| 357 |
macrocheck.c: Now use UNUSEDARG macro so known-unused |
| 358 |
args do not cause spurious warnings. |
| 359 |
* configure.in: Sets HAVE_UNUSED_ATTRIBUTE if the compiler |
| 360 |
in use supports __attribute ((unused)). So we can have |
| 361 |
lots of warnings turned on without seeing the warnings |
| 362 |
we wish to ignore for now. |
| 363 |
* configure,config.h.in: Regenerated. |
| 364 |
2016-02-06 David Anderson |
| 365 |
* print_frames.c: Was printing cie index, not fde index, |
| 366 |
in the fde output. Now prints more sensibly. |
| 367 |
Now tests do_print_dwarf, the flag it should have been using, |
| 368 |
to decide whether to print. |
| 369 |
2016-02-02 David Anderson |
| 370 |
* dwarfdump.c: Get section sizes so we can do a better |
| 371 |
sanity check on offsets (ie, call |
| 372 |
dwarf_get_section_max_offsets_c()). |
| 373 |
Check DWARF2 macros for sanity just as we do DWARF5 |
| 374 |
macros. Read DWARF2 macros per-cu, not as a standalone |
| 375 |
section. Add global data section_high_offsets_global, |
| 376 |
a struct with all known section sizes. |
| 377 |
* macrocheck.c: New section size argument for more complete |
| 378 |
size analysis. |
| 379 |
* globals.h: Declarations for section_high_offsets_global. |
| 380 |
* macrocheck.h: Update prototype of print_macro_statistics(). |
| 381 |
* print_die.c: Drop section-as-a-whole macro reporting for |
| 382 |
macinfo in favor of reporting per CU. |
| 383 |
* print_macros.c: Allow for print and check runs (not both |
| 384 |
at once). |
| 385 |
2016-01-28 David Anderson |
| 386 |
* dwarfdump.c,common.c: Update version string. |
| 387 |
* print_die.c: Changed the most frequent global die |
| 388 |
offset values to print as GOFF=0x... |
| 389 |
for uniformity with -G and space saving from the |
| 390 |
string 'global die offset'. |
| 391 |
2016-01-27 David Anderson |
| 392 |
* print_die.c: Added a helpertree find call on typedieoffset |
| 393 |
which is really a better check for known signed/unsigned. |
| 394 |
2016-01-26 David Anderson |
| 395 |
* dwarfdump.c,common.c: Update version string. |
| 396 |
2016-01-26 David Anderson |
| 397 |
* Makefile.in: Added helpertree.h, and .c. |
| 398 |
* dwarfdump.c: Added include helpertree.h |
| 399 |
* print_die.c: Now attempts (harder) to |
| 400 |
figure out if a constant is really signed or insigned |
| 401 |
when printing it. Fixes annoyance with printing attributes |
| 402 |
longer than 27 characters. |
| 403 |
Unifies a number of printf-style calls into functions, reducing |
| 404 |
the number of statically visible calls to sprintf. |
| 405 |
Attempts to remember whether some things are explicitly |
| 406 |
typed as signed or unsigned. |
| 407 |
* helpertree.h, helpertree.c: New. Simple use of tsearch |
| 408 |
to memo-ize signedness. |
| 409 |
2016-01-20 |
| 410 |
* configure.in: Added more compiler optiosn to --enable-wall |
| 411 |
* configure: Regenerated |
| 412 |
* dwarf_tsearchbal.c: Fixed warnings. |
| 413 |
* dwarfdump.c: Fixed warnings. |
| 414 |
* dwconf.c: Fixed warnings. |
| 415 |
* dwconf.h: Fixed warnings. |
| 416 |
* esb.c: Fixed warnings. |
| 417 |
* globals.h: Fixed warnings. |
| 418 |
* print_debugfission.c: Fixed warnings. |
| 419 |
* print_die.c: Fixed warnings. |
| 420 |
* print_frames.c: Fixed warnings. |
| 421 |
* print_sections.c: Fixed warnings. |
| 422 |
2016-01-20 |
| 423 |
* macrocheck.c: Remove trailing whitespace. |
| 424 |
* print_lines.c: Only print line context record |
| 425 |
if we do_print_dwarf is non-zero. The directory index |
| 426 |
was printing as 0 in the line_context record. Was a typo |
| 427 |
in the printf, now fixed. |
| 428 |
2016-01-20 |
| 429 |
* configure.in: Now --enable-wall adds -Wdeclaration-after-statement |
| 430 |
etc. |
| 431 |
* configure: Regenerated. |
| 432 |
* dwarfdump.c: Now all functions have visible prototypes, no (). |
| 433 |
* dwconf.c: Now local func declared static. |
| 434 |
* dwgetopt.c: Added include dwgetopt.h. Unused function |
| 435 |
#if 0 so invisible. |
| 436 |
* globals.h: Now all functions have prototypes, no (). |
| 437 |
* macrocheck.c: Removed unused locals. Fixed a |
| 438 |
dwarf_twalk call to *tree (not just tree). |
| 439 |
* naming.c: Added include naming.h. |
| 440 |
* print_gdbindex.c: Made local function static. |
| 441 |
* tag_attr.c,tag_common.c: Made local function static. |
| 442 |
2016-01-19 David Anderson |
| 443 |
* dwarf_tsearchbal.c: Deleted the unused function rotatex(). |
| 444 |
* dwarfdump.c: Remove duplicate trailing ; |
| 445 |
* esb.c(esb_append): Straighten out the logic |
| 446 |
and avoid doing append if the to-be-appended |
| 447 |
string is empty. |
| 448 |
* globals.h Add ifdef __cplusplus for extern "C". |
| 449 |
* esb.h,naming.h: Idempotent #ifndef and __cplusplus extern "C" added. |
| 450 |
* print_frames.c: Ensure local var starts at zero. |
| 451 |
Move statement to below declarations. |
| 452 |
* print_lines.c: Ensure declarations before executable statements. |
| 453 |
2016-01-19 David Anderson |
| 454 |
* print_frames.c: Fix trailing whitespace and indentation. |
| 455 |
2016-01-19 David Anderson |
| 456 |
* print_die.c,tag_tree.c: Change statement ;; by removing |
| 457 |
second semicolon. |
| 458 |
2016-01-17 David Anderson |
| 459 |
* common.c: Update version string |
| 460 |
* dwarfdump.c: Made reset_overall_CU_error_data() a global. |
| 461 |
We now try to show CU name etc on case there is an error |
| 462 |
reading frame data. Update version strin. |
| 463 |
Added DEBUG_FRAME DEBUG_FRAME_EH to the PRINT_CU_INFO() tests. |
| 464 |
New function: load_CU_error_data(). |
| 465 |
* print_frames.c: Now uses a local Dwarf_Error |
| 466 |
in a few places (CU names for frames) instead |
| 467 |
of the global 'err' so we do not get the errors |
| 468 |
mixed up. |
| 469 |
We now try to show CU name etc on case there is an error |
| 470 |
reading frame data. |
| 471 |
2016-01-14 David Anderson |
| 472 |
* common.c: Update version string. |
| 473 |
* dwarfdump.c: Update version string. Include macrocheck.h. |
| 474 |
Delete one accidental blank line. |
| 475 |
* dwarf_tsearchbal.c: Added comment about compiler warning. |
| 476 |
* dwarf_macrocheck.c: Added missing return statement. |
| 477 |
Removed trailing whitespace. Fixed broken qsort_compare() |
| 478 |
* macrocheck.h: Fixed trailing whitespace. |
| 479 |
* print_abbrevs.c: Generalized an attribute count warning |
| 480 |
a bit (see GENERAL_MAX_ATTRIB_COUNT). Fixed the code |
| 481 |
handling the abbrev_array to be correct and a bit simpler. |
| 482 |
Added new abbreviations tests. |
| 483 |
* print_die.c: Include macrocheck.h. Fix trailing whitespace. |
| 484 |
2016-01-12 David Anderson |
| 485 |
* common.c: Update version string. |
| 486 |
* dwarfdump.c: Update version string. |
| 487 |
* print_abbrevs.c: If an abbreviation number is a bit |
| 488 |
goofy, accomodate it so we do not write to |
| 489 |
memory we did not allocate. It will |
| 490 |
be caught a bit later in the run as an invalid DIE |
| 491 |
or abbreviation. |
| 492 |
* print_die.c: When we switch sections inside a DIE print |
| 493 |
save and restore current_section_id to get the best |
| 494 |
reporting on errors/checks. |
| 495 |
2016-01-12 David Anderson |
| 496 |
* common.c,dwarfdump.c: Update version string. |
| 497 |
2016-01-12 David Anderson |
| 498 |
* Makefile.in: Adding macrocheck.h, and .c. Adding |
| 499 |
selftest of macrocheck.c. |
| 500 |
* dwarfdump.c: Now handles imported DWARF5 macros |
| 501 |
and adds support for -kw for macro section checking. |
| 502 |
* globals.h: Adding check_macros flag and macro_check_tree declaration |
| 503 |
and print_macros_5style_this_cu() declaration.. |
| 504 |
* print_die.c: Now prints imported macros using |
| 505 |
print_macros_5style_this_cu(). |
| 506 |
* print_macro.c: Now deals with imported macro units using |
| 507 |
macrocheck.c and .h. Fixed bug for DW_MACRO_define/undef |
| 508 |
where we did improper string validity check. |
| 509 |
|