| 1 |
2006-12-24 David Anderson <[email protected]> |
| 2 |
* DWARFDUMPCOPYRIGHT: Added GPL copyright text with |
| 3 |
explanation of the intended content. |
| 4 |
* COPYING: added text explaining confusion of GPL vs LGPL. |
| 5 |
Thanks to Chris Quenelle for pointing out the disconnect |
| 6 |
between DWARFDUMPCOPYRIGHT and the source files in dwarfdump. |
| 7 |
2006-12-21 David Anderson <[email protected]> |
| 8 |
* tag_tree.list: add tags to make allowed list more complete. |
| 9 |
Omission noticed by Marcel Mettes. |
| 10 |
2006-06-14 David Anderson <[email protected]> |
| 11 |
* print_frames.c: Clean up printing of augmentation data by |
| 12 |
eliminating dangling 0x (for eh_frame). |
| 13 |
2006-04-28 David Anderson <[email protected]> |
| 14 |
* dwarfdump.conf: Now has x86_64 register names. |
| 15 |
x86_64 with help from Tom Hughes (verified |
| 16 |
from independent sources). |
| 17 |
Added m68k register names and refined x86 list |
| 18 |
by looking at various information-sources. |
| 19 |
2006-04-18 David Anderson <[email protected]> |
| 20 |
* *.c: Ran indent so all now follow a standard look. |
| 21 |
* dwconf.c: Added fclose(conf_stream). |
| 22 |
2006-04-18 David Anderson <[email protected]> |
| 23 |
* dwarfdump.c: Forgot to call key new functions for |
| 24 |
handling variable-size frame data and different |
| 25 |
frame rule initialization value. |
| 26 |
* dwconf.c: Add a default print for CFA in case of |
| 27 |
an omission in dwarfdump.conf. |
| 28 |
* dwarfdump.conf: Move setup and rename the ABIs slightly. |
| 29 |
2006-04-17 David Anderson <[email protected]> |
| 30 |
* dwarfdump.conf: Correct typos. Remove some register names. |
| 31 |
* dwarfdump.c: Fix compiler warnings, fix -x option usage message. |
| 32 |
* dwconf.h: Fix compiler warnings by changing types. |
| 33 |
* dwconf.c: Change error checking so we check all errors, do |
| 34 |
not stop at first error. Ran indent. Added code to check |
| 35 |
for extra junk after operand(s). |
| 36 |
* print_frames.c: Fix compiler warnings. |
| 37 |
* Makefile.in: get <prefix> used in install rule and creating |
| 38 |
places to search for dwarfdump.conf |
| 39 |
2006-04-16 David Anderson <[email protected]> |
| 40 |
* dwarfdump.conf: New dwarfdump configuration file. Makes using frame |
| 41 |
information easy to read and correct for any ABI/ISA |
| 42 |
without rebuilding dwarfdump. |
| 43 |
* Makefile.in: Added new files dwconf.h dwconf.c |
| 44 |
* dwconf.h dwconf.c: New files implement reading dwarfdump.conf |
| 45 |
and help print_frames.c print frame information correctly |
| 46 |
for ABIs specified at runtime. |
| 47 |
* dwarfdump.1: document -x commands. |
| 48 |
* globals.h: Minor changes to support dwarfdump.conf |
| 49 |
* print_frames.c: Major changes to support a run-time description of |
| 50 |
the frames info and dwarfdump.conf. |
| 51 |
* print_frames.h: Changes to support a run-time description of |
| 52 |
the frames info and dwarfdump.conf. |
| 53 |
* print_sections.c: Minor tweaks to support a run-time |
| 54 |
description of the frames info and dwarfdump.conf. |
| 55 |
|
| 56 |
2006-03-31 David Anderson <[email protected]> |
| 57 |
* Makefile.in globals.h print_sections.c: Refer to new |
| 58 |
print_frames.h print_frames.c. |
| 59 |
* print_frames.h print_frames.c: Extract cie, fde printing |
| 60 |
to separate file, separating loop logic from the printing |
| 61 |
of an entry from the loop. |
| 62 |
2006-03-31 David Anderson <[email protected]> |
| 63 |
* dwarfdump.c global.h print_sections.c: Preparing for |
| 64 |
dwarf3 frame interface. |
| 65 |
* print_die.c: Corrects handling of DW_AT_encoding (etc) value. |
| 66 |
2006-03-29 David Anderson <[email protected]> |
| 67 |
* print_sections.c: define DWARFDUMP_TURN_OFF_MIPS_REG_NAMES |
| 68 |
at compile time |
| 69 |
to turn off the MIPS register names printing. Instead |
| 70 |
(aside from cfa) use a name like r4 (where the DWARF |
| 71 |
register number follows the letter 'r'). |
| 72 |
Indent. Initialize some local variables at declarations. |
| 73 |
2006-03-13 David Anderson <[email protected]> |
| 74 |
* print_sections.c: Now gets gnu eh_augmentation data by calling |
| 75 |
dwarf_get_cie_augmentation_data() or dwarf_get_fde_augmentation_data() |
| 76 |
and prints it (use -v to see cie data). |
| 77 |
Now prints DWARF3 frame information. |
| 78 |
2006-03-08 David Anderson <[email protected]> |
| 79 |
* print_sections.c: Add 'break;' at line 710. |
| 80 |
Thanks to Richard Stuckey for noticing. |
| 81 |
2005-12-01 David Anderson <[email protected]> |
| 82 |
* dwarf_names.awk: use snprintf instead of sprintf for safety. |
| 83 |
2005-12-01 David Anderson <[email protected]> |
| 84 |
* Makefile.in: Build attr/tag trees with |
| 85 |
individual commands to catch build errors. |
| 86 |
* tag_attr.c,tag_tree.c: Verify that |
| 87 |
tables fit in the generated C code and check for |
| 88 |
format errors in the *.list files. |
| 89 |
* tag_attr.list, tag_tree.list: Added some valid entries. |
| 90 |
* globals.h: add DWARF_ERROR3 macro for better diagnostics. |
| 91 |
* print_die.c: Show both sides of questionable tag relation |
| 92 |
in CHECK -k diagnostic output. |
| 93 |
|
| 94 |
2005-11-25 David Anderson <[email protected]> |
| 95 |
* print_die.c: DW_AT_stride_size changed to DW_AT_bit_stride, |
| 96 |
added DW_AT_byte_stride. |
| 97 |
* tag_attr.c,tag_tree.c: fixed array size now a #define for |
| 98 |
readability. |
| 99 |
* tag_attr.list: Added DWARF3 attributes, also new TAGs. |
| 100 |
* tag_tree.list: Added DWARF3 TAGs. |
| 101 |
|
| 102 |
2005-11-08 David Anderson <[email protected]> |
| 103 |
* makename.c: remove non-standard malloc.h include, |
| 104 |
stdlib.h suffices and is already included. |
| 105 |
|
| 106 |
2005-10-24 David Anderson <[email protected]> |
| 107 |
* tag_attr.c tag_tree.c: added DWARF3 TAGs to string array. |
| 108 |
|
| 109 |
2005-08-01 David Anderson <[email protected]> |
| 110 |
* Makefile.in: Add esb.o and test rule (test code for esb.c). |
| 111 |
* dwarfdump.c: Remove old static buffer initialization. |
| 112 |
* print_die.c: Use esb now, avoid crash due to long loclist |
| 113 |
overrunning static buffer. Uses snprintf now, not sprintf. |
| 114 |
snprintf is for safety. |
| 115 |
* esb.h esb.c: Adding extensible string buffer (esb) code. |
| 116 |
* testesb.c: Test code for esb.c. |
| 117 |
* print_reloc.c: size field is now Elf64_Xword for |
| 118 |
Elf64 as Elf64_Word is only 32 bits. |
| 119 |
|
| 120 |
2005-07-15 David Anderson <[email protected]> |
| 121 |
* dwarfdump.c: Add print of .debug_pubtypes, remove |
| 122 |
erroneous dealloc after dwarf_formstring() call. |
| 123 |
* globals.h: Add declarations for .debug_pubtypes print. Add |
| 124 |
declaration for full dealloc. |
| 125 |
* print_die.c: Remove erroneous dealloc after dwarf_formstring() call. |
| 126 |
* print_exception_tables.c: Call dwarf_fde_cie_list_dealloc() |
| 127 |
for complete dealloc. |
| 128 |
* print_sections.c: Remove incorrect dealloc() call. |
| 129 |
Add calls to new dealloc routines. Add support of .debug_pubtypes |
| 130 |
print. |
| 131 |
2005-07-14 David Anderson <[email protected]> |
| 132 |
* print_sections.c (print_line_numbers_this_cu): Use new |
| 133 |
dwarf_srclines_dealloc() for deallocation after |
| 134 |
dwarf_srclines() called. |
| 135 |
|
| 136 |
2005-04-13 David Anderson <[email protected]> |
| 137 |
* print_sections.c: Factors out common print code into |
| 138 |
a new routine. Avoid indexing past end of register names |
| 139 |
array. Adds checks and prints so that certain errors |
| 140 |
in pubnames-like sections are printed usefully (and dwarfdump |
| 141 |
then stops if libdwarf gave an error). |
| 142 |
|
| 143 |
2005-03-21 David Anderson <[email protected]> |
| 144 |
* dwarfdump.c: Add -F flag to |
| 145 |
request .eh_frame section print. Changed -f flag meaning |
| 146 |
to print .debug_frame only. -a flag no longer |
| 147 |
prints .debug_frame by default. |
| 148 |
* print_sections.c: avoid printing an eh_frame we don't understand. |
| 149 |
Add new information per CU when printing line info: specifically |
| 150 |
the line section offset. |
| 151 |
* globals.h: Added arguments to print_frames() for -F flag. |
| 152 |
|
| 153 |
2005-03-18 David Anderson <[email protected]> |
| 154 |
* print_sections.c: Correct macro section printing. |
| 155 |
|
| 156 |
2004-10-28 David Anderson <[email protected]> |
| 157 |
* DWARFDUMPCOPYRIGHT config.h defs.h dwarfdump.c globals.h |
| 158 |
makename.c makename.h print_die.c print_exception_tables.c |
| 159 |
print_reloc.c print_sections.c tag_attr.c tag_attr.list |
| 160 |
tag_tree.c tag_tree.list: Copyright update, SGI |
| 161 |
corporate address change. |
| 162 |
|
| 163 |
2004-10-26 David Anderson <[email protected]> |
| 164 |
* acconfig.h: removed. Was old style autoconf usage. |
| 165 |
* configure.in: Updated AC_DEFINE usage, adding args 2 & 3. |
| 166 |
* config.guess: Updated. timestamp='2004-06-11'. |
| 167 |
* config.sub: Updated. timestamp='2004-03-12'. |
| 168 |
* configure config.h.in: regenerated with autoconf 2.58. |
| 169 |
|
| 170 |
2004-05-14 David Anderson <[email protected]> |
| 171 |
|
| 172 |
* print_die.c (print_die_and_children): Change to iteration |
| 173 |
on siblings (still recursing on children). |
| 174 |
|
| 175 |
|
| 176 |
2004-03-30 David Anderson <[email protected]> |
| 177 |
* dwarfdump.c (main): getopt() string should contain k:g |
| 178 |
not kg: Thanks to Peter Seiderer for pointing this out. |
| 179 |
|
| 180 |
2003-12-31 David Anderson <[email protected]> |
| 181 |
* README: Added configure example. |
| 182 |
* Makefile.in: Removed bogus LIBS line, updated copyright date. |
| 183 |
* acconfig.h: Added LGPL copyright to match libdwarf |
| 184 |
Silly, but it matches libdwarf version boilerplate. |
| 185 |
* config.guess config.sub: new versions from automake-1.6. |
| 186 |
* config.h.in configure: Regenerated. |
| 187 |
|
| 188 |
|
| 189 |
2003-10-06 David Anderson <[email protected]> |
| 190 |
* dwarfdump.c print_sections.c: applied indent(1). |
| 191 |
* print_die.c: applied indent and added ; after |
| 192 |
invocations of macros PUSH_DIE_STACK POP_DIE_STACK SPACE |
| 193 |
as these were confusing indent a bit. |
| 194 |
The indent control file .indent.pro contained: |
| 195 |
-bad -bap -nbbo -br -ce -brs |
| 196 |
-l72 -lc72 -hnl -nprs |
| 197 |
-fca -i4 -lp -psl -npcs |
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
2003-10-02 David Anderson <[email protected]> |
| 202 |
* dwarfdump.c: Add -g to indicate use of older |
| 203 |
location entry code in libdwarf. So dwarf_loclist |
| 204 |
and dwarf_loclist_n are testable. |
| 205 |
* globals.h: Added use_old_dwarf_loclist flag so one |
| 206 |
can choose the old dwarf_loclist() interface. |
| 207 |
For testing. |
| 208 |
* print_die.c: Rearranged to avoid code duplication. |
| 209 |
Now supports .debug_loc fully. |
| 210 |
* print_sections.c: Prints .debug_loc now. |
| 211 |
|
| 212 |
2003-09-29 David Anderson <[email protected]> |
| 213 |
|
| 214 |
* print_die.c: with -v, print 'loclist' start and |
| 215 |
end addr and also a hint that DW_FORM_indirect is used. |
| 216 |
No change for normal output (for now). |
| 217 |
|
| 218 |
2003-05-19 David Anderson <[email protected]> |
| 219 |
* dwarfdump.c call dwarf_srcfiles() to get file names |
| 220 |
per cu and pass down to die print routines. |
| 221 |
Removed incorrect tests for when to print ".debug_info", |
| 222 |
leaving simpler test. |
| 223 |
* print_die.c globals.h: print file name (from line info) |
| 224 |
with DW_AT_decl_file, adding data from dwarf_srcfiles |
| 225 |
to argument list of a few routines to make that possible. |
| 226 |
* print_sections.c: moved "line number info" string print so |
| 227 |
it prints for -v as well as normal line ouput. |
| 228 |
|
| 229 |
2002-10-23 Amaury Le Leyzour [email protected] |
| 230 |
* print_sections.c (print_weaknames): Changed |
| 231 |
DW_DLA_TYPENAME to DW_DLA_WEAK at dwarf_dealloc(). |
| 232 |
|
| 233 |
2002-10-22 Tom Hughes <[email protected]> |
| 234 |
* print_sections.c: macro printing now supported. |
| 235 |
* dwarfdump.c: removed erroneous dwarf_dealloc() |
| 236 |
of string returned by dwarf_errmsg(). |
| 237 |
|
| 238 |
2002-11-22 David Anderson <[email protected]> |
| 239 |
* dwarf_names.awk at_list.awk: Allow an name to have two |
| 240 |
spellings so the historical name preserved yet the dwarf3 |
| 241 |
version is supported. First name seen is used/reported |
| 242 |
by dwarfdump. |
| 243 |
* dwarf.h: DW_TAG_template_type_param(eter) |
| 244 |
DW_TAG_template_value_param(eter) DW_AT_namelist_itm(s) |
| 245 |
are the ones with alternate spellings now. |
| 246 |
Added Universal Parallel C TAGs/Attributes in |
| 247 |
user namespace. |
| 248 |
* tag_attr.c tag_attr.list tag_tree.c tag_tree.list: |
| 249 |
Use the DW_TAG_template_* dwarf3 spellings. |
| 250 |
|
| 251 |
|
| 252 |
2002-05-08 David Anderson <[email protected]> |
| 253 |
* tag_attr.list dwarf.h: DW_AT_namelist_items is |
| 254 |
wrong, changed to DW_AT_namelist_item |
| 255 |
|
| 256 |
2002-04-29 Stephen Clarke <[email protected]> |
| 257 |
* dwarfdump.c (main): #ifdef for __CYGWIN__ on open(). |
| 258 |
|
| 259 |
2001-06-14 David Anderson <[email protected]> |
| 260 |
|
| 261 |
* print_sections.c: Calling the new libdwarf function |
| 262 |
dwarf_get_arange_cu_header_offset() so we can print |
| 263 |
the cu header offset for aranges. |
| 264 |
|
| 265 |
|
| 266 |
2000-07-14 Fred Fish <[email protected]> |
| 267 |
|
| 268 |
* configure.in (LOCATION_OF_LIBELFHEADER): Fix typo for configure |
| 269 |
variable to be tested and enclose libelf/libelf.h in <>. |
| 270 |
* configure: Regenerated. |
| 271 |
|
| 272 |
2000-07-10 Fred Fish <[email protected]> |
| 273 |
|
| 274 |
* Makefile.in (install): Install dwarfdump.1 from $(srcdir). |
| 275 |
|
| 276 |
2000 June 12 [email protected] |
| 277 |
print_sections.c the DW_CFA_offset_extended print |
| 278 |
did not multiply by data-alignment factor in the |
| 279 |
-v -v detailed output. |
| 280 |
And the offsets used %2d when the values were |
| 281 |
unsigned int, so now %2u. |
| 282 |
|
| 283 |
And not all cfa prints of values had |
| 284 |
necessarily a type to match |
| 285 |
%llu or %lld where required. Depended on the size of Dwarf_Signed |
| 286 |
and Dwarf_Unsigned. |
| 287 |
So now explicitly use cast to the |
| 288 |
right type to match the % format. |
| 289 |
2000 April 13 [email protected] |
| 290 |
print_sections.c - 1.56 |
| 291 |
- A single byte of zero is a perfectly legitmate null |
| 292 |
abbreviation entry (in .debug_abbrev) |
| 293 |
now we print those directly and avoid a warning |
| 294 |
from dwarfdump |
| 295 |
|
| 296 |
print_die.c - 1.42 |
| 297 |
- Explain what combo checker is doing and make it |
| 298 |
more maintainable (and fix bug which would |
| 299 |
not be hit, but was real enough (in combo checker), |
| 300 |
using too large a number as highest tag number). |
| 301 |
|
| 302 |
tag_tree.list - 1.2 |
| 303 |
- Add valid parent/child relationships so checker |
| 304 |
does not report valid entries as bogus. |
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
2000 Feb 24 |
| 310 |
Jason Merrill <[email protected]> noticed that gcc did |
| 311 |
not like gcc -E foo.list, so incorporated his fix so |
| 312 |
now the Makefile.in makes a link and does gcc -E _tmp.c |
| 313 |
|
| 314 |
2000 Jan 26 |
| 315 |
[email protected] noticed that 3 statements in |
| 316 |
print_sections.c got warnings from the compiler |
| 317 |
she was using. Simple casts (provided by her) fixed these. |
| 318 |
|
| 319 |
1999 July 21 |
| 320 |
[email protected] |
| 321 |
print_sections changed to allow printing |
| 322 |
of dwarf-ish egcs c++ .eh_frame data |
| 323 |
|
| 324 |
|
| 325 |
1999 June 14 |
| 326 |
Fred Fish [email protected] contributed |
| 327 |
autoconf'ing of the libdwarf and dwarfdump source. |
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
1999 June 10 |
| 332 |
ChangeLog started. [email protected] David Anderson |