| 1 |
2014-12-31: David Anderson |
| 2 |
* dwarf_error.c: Add DW_DLE_DW_DLE_ATTR_OUTSIDE_SECTION. |
| 3 |
* libdwarf.h.in: Add DW_DLE_DW_DLE_ATTR_OUTSIDE_SECTION. |
| 4 |
* dwarf_form.c(dwarf_formexprloc): Call the new function |
| 5 |
_dwarf_reference_outside_section() as a check |
| 6 |
for an exprloc with data that is outside the section it |
| 7 |
belongs in. Ie, a bug somewhere. Return error |
| 8 |
DW_DLE_DW_DLE_ATTR_OUTSIDE_SECTION if applicable. |
| 9 |
* dwarf_frame2.c(read_encoded_ptr): Pass error down so we set |
| 10 |
a complete Dwarf_Error record at the point of error. |
| 11 |
Just three functions that could use this were changed. |
| 12 |
* dwarf_leb.c(_dwarf_decode_u_leb128): Presented with bogus |
| 13 |
leb values we stop scanning the leb number before |
| 14 |
overrunning our value-output buffer (and dumping core). |
| 15 |
The change is reasonably adequate but will not catch |
| 16 |
all cases. |
| 17 |
* dwarf_query.c(dwarf_attrlist): Call _dwarf_reference_outside_section |
| 18 |
to check the pointer is valid. |
| 19 |
* dwarf_util.c,dwarf_util.h: Implement _dwarf_reference_outside_section(). |
| 20 |
2014-12-28: David Anderson |
| 21 |
* dwarf_alloc.c: Added global _dwarf_failsafe_error |
| 22 |
to enable better error reporting when malloc arena |
| 23 |
has no space left. On dwarf_dealloc() avoids attempting |
| 24 |
a free() of the static struct. |
| 25 |
* dwarf_error.c,libdwarf.h.in: New error code |
| 26 |
DW_DLE_FAILSAFE_ERRVAL for the malloc-arena-exhausted |
| 27 |
case. Now use that static instead of aborting. |
| 28 |
* dwarf_error.h: New field and library-private extern declaration |
| 29 |
for the malloc-arena-exhausted case. |
| 30 |
* libdwarf2.1.mm: Documented the handling of Dwarf_Error |
| 31 |
when malloc space exhausted. |
| 32 |
* libdwarf2.1.pdf: Regenerated. Rev 2.23. |
| 33 |
2014-09-10: David Anderson |
| 34 |
* dwarf_tsearchhash.c(calculate_allowed_fill): Moved a declaration |
| 35 |
to avoid using a C99 feature. |
| 36 |
* dwarf_query.c(dwarf_highpc_b): Moved a declaration to avoid using |
| 37 |
aC99 feature. |
| 38 |
* dwarf_util.c(dwarf_print): Moved a declaration to avoid using |
| 39 |
aC99 feature. |
| 40 |
2014-08-11 David Anderson, avoiding some compiler warnings. |
| 41 |
*dwarf_xu_index.c,dwarf_macro.c: Failed to cast the pointer |
| 42 |
returned by _dwarf_get_macro (one place in each file). |
| 43 |
2014-08-04 David Anderson, avoiding some compiler warnings. |
| 44 |
* dwarf_alloc.c, dwarf_alloc.h: Change some uses of Dwarf_Ptr to be char * |
| 45 |
so we avoid adding (etc) to Dwarf_Ptr. |
| 46 |
* dwarf_gdbindex.c: Cast _dwarf_get_alloc() return properly. |
| 47 |
* dwarf_loc.c: Cast Dwarf_Ptr to char * in a couple places. |
| 48 |
* dwarf_query.c,dwarf_sort_line.c,pro_arange.c: Change names of local |
| 49 |
variables to avoid |
| 50 |
compiler warning about shadowing other locals. |
| 51 |
* dwarf_tsearchhash.c: Changed to avoid compiler warnings |
| 52 |
about const casts whereever possible. |
| 53 |
* libdwarf.h.in: Added prototypes for DWARF5 |
| 54 |
dwarf_get_SECT_name() and dwarf_get_MACRO_name(). |
| 55 |
* pro_alloc.c: Add include of pro_alloc.h. |
| 56 |
* pro_forms.c: Made _dwarf_add_AT_reference_internal() |
| 57 |
static to avoid warning. |
| 58 |
* pro_types.c: Add include of pro_types.h. |
| 59 |
2014-08-02 David Anderson |
| 60 |
* dwarf_gdbindex.c: Fix an argument list by adding section name. |
| 61 |
* libdwarf.h.in: Fix an argument list by adding section name. |
| 62 |
Clarify some commentary on dwarf_get_xu* function declarations. |
| 63 |
* libdwarf2.1.mm: Documented the new gdbindex and dwarf_get_xu* |
| 64 |
functions. |
| 65 |
* libdwarf2.1.pdf: Regenerate. Version 2.22. |
| 66 |
2014-07-12 David Anderson |
| 67 |
* dwarf_die_deliv.c: Remove trailing whitespace. |
| 68 |
Implement dwarf_get_die_section_name() allow |
| 69 |
clients to get the Elf |
| 70 |
section name actually used for the section. |
| 71 |
* dwarf_xu_index.c: Remmove traling whitespace and fix |
| 72 |
indents. |
| 73 |
2014-07-11 David Anderson |
| 74 |
* dwarf_opaque.h: Various CU context fields were |
| 75 |
not clarified by comments, so comments added. |
| 76 |
2014-07-11 David Anderson |
| 77 |
* dwarf_opaque.h: Clarified a couple comments. |
| 78 |
2014-07-11 David Anderson |
| 79 |
* dwarf_xu_index.c: Now extracts the offset and size table |
| 80 |
data correctly. |
| 81 |
2014-07-10 David Anderson |
| 82 |
* dwarf_die_deliv.c: Clarify a comment a little bit. |
| 83 |
No change in the code. |
| 84 |
2014-07-10 David Anderson |
| 85 |
* dwarf_error.c,libdwarf.h.in: Added new error codes. |
| 86 |
* dwarf_xu_index.c: Now extracts the hash table |
| 87 |
values from .debug_tu_index and .debug_cu_index sections. |
| 88 |
2014-07-09 David Anderson |
| 89 |
* dwarf_alloc.c,dwarf_xu_index.c,dwarf_xu_index.h: |
| 90 |
Removed trailing whitespace characters. |
| 91 |
2014-07-09 David Anderson |
| 92 |
* Makefile.in: Added dwarf_xu_index.o. Moved dwarf_macro.o |
| 93 |
to get closer to alphabetical order in the list. |
| 94 |
* dwarf.h: Added DW_SECT codes so the .debug_[tc]u.index |
| 95 |
sections can be interpreted properly. DWARF5. |
| 96 |
* dwarf_alloc.c: Added dwarf_xu_index.h #include. Added |
| 97 |
struct Dwarf_Xu_Index_Header_s to alloced structs. |
| 98 |
Added a couple lines of commentary about .gdb_index |
| 99 |
section access type. |
| 100 |
* dwarf_alloc.h: Increased ALLOC_AREA_INDEX_TABLE_MAX to 57 |
| 101 |
for the new alloc type. |
| 102 |
* dwarf_die_deliv.c: Removed trailing whitespace. |
| 103 |
* dwarf_elf_access.c: Added commentary. |
| 104 |
* dwarf_error.c: Added new error codes for .debug_tu_index |
| 105 |
and .debug_cu_index sections code. |
| 106 |
* dwarf_init_finish.c: Add handling of .debug_tu_index |
| 107 |
and .debug_cu_index sections. |
| 108 |
* dwarf_opaque.h: Add de_debug_cu_index and |
| 109 |
de_debug_tu_index to Dwarf_Debug_s struct. |
| 110 |
* dwarf_xu_index.c: New code for the newly handled |
| 111 |
DWARF5 sections .debug_tu_index and .debug_cu_index . |
| 112 |
* dwarf_xu_index.h: Defines struct Dwarf_Xu_Index_Header_s. |
| 113 |
* libdwarf.h.in: Declares new functions implementing some of the |
| 114 |
new section interfaces. |
| 115 |
2014-07-05 David Anderson |
| 116 |
* dwarf_arange.c(dwarf_get_aranges_list): Remove the length variable |
| 117 |
as its calculated value is unused. rename length to area_length |
| 118 |
for clarity. Calculate arange_ptr_past_end early and |
| 119 |
correctly. Ensure that the test for version 4 is a >= |
| 120 |
to reflect normal standards upgrades. |
| 121 |
* dwarf_die_deliv.c(dwarf_find_offdie_CU_Context): Add commentary |
| 122 |
about offsets and lengths for clarity. |
| 123 |
Rename fields for clarity about local vs global offset. |
| 124 |
Use the newly named fields for precise tests of section overflow of |
| 125 |
a type unit. |
| 126 |
* dwarf_frame.h: Add commentary about pointers in the cie_fde_prefix_s |
| 127 |
structure. |
| 128 |
* dwarf_global.c(_dwarf_internal_get_pubnames_like_data): Add |
| 129 |
commentary about the of fields. |
| 130 |
* dwarf_opaque.h: Improve commentary about offsets. |
| 131 |
2014-07-03 David Anderson |
| 132 |
* dwarf_die_deliv.c: Fixed CU type offset check. Created local variable |
| 133 |
so we do not repeat a calculation so the error does not recur and simplifying |
| 134 |
nearby code. |
| 135 |
* gdb_index.c: Remove unused local variable. |
| 136 |
* dwarf_opaque.h: Change offset entries from Dwarf_Word to Dwarf_Unsigned |
| 137 |
to ensure we do not remove bits from values. |
| 138 |
* dwarf_query.c: Remove unused local variable and a comment referencing |
| 139 |
that unused variable. |
| 140 |
* pro_reloc_stream.c: Remove unused local variable. |
| 141 |
2014-07-01 David Anderson |
| 142 |
* dwarf_alloc.c, dwarf_gdbindex.c, dwarf_init_finish.c, dwarf_opaque.h, libdwarf.h.in: |
| 143 |
Fixed indent errors and removed trailing whitespace. |
| 144 |
2014-07-01 David Anderson |
| 145 |
* libdwarf.h.in: Matched up gdbindex symboltable interfaces with |
| 146 |
the C source. |
| 147 |
* dwarf_gdbindex.c: Implement Symbol table access. |
| 148 |
2014-06-30 David Anderson |
| 149 |
* libdwarf.h.in: Remove useless interface to gdbindex. |
| 150 |
* dwarf_gdbindex.c: Implement TU list access code. |
| 151 |
Implement access to the address area. |
| 152 |
2014-06-29 David Anderson |
| 153 |
* dwarf_error.c: Added error codes for gdbindex access. |
| 154 |
* libdwarf.h.in: Revised gdbindex function interface: simpler. |
| 155 |
* dwarf_gdbindex.c, dwarf_gdbindex.h: Implement gdbindex |
| 156 |
functions. |
| 157 |
2014-06-28 David Anderson |
| 158 |
* Makefile.in: Add dwarf_gdbindex.o to objects. |
| 159 |
* dwarf_alloc.c: Add new type Dwarf_Gdbindex_s to allocatable |
| 160 |
types. |
| 161 |
* dwarf_elf_access.c: Add a comment reflecting lack of need |
| 162 |
to relocate a .gdb_index section. |
| 163 |
* dwarf_error.c: Add new error strings for gdb_index |
| 164 |
related errors. |
| 165 |
* dwarf_init_finish.c: Add .gdb_index section to the |
| 166 |
sections we read. Refactor a test into a function |
| 167 |
this_section_dwarf_relevant() to make code more readable. |
| 168 |
* dwarf_opaque.h: Add de_debug_gdbindex to Dwarf_Debug_s. |
| 169 |
* libdwarf.h.in: Add opaque types for .gdb_index section |
| 170 |
interfaces. Add DW_DLA_GDBINDEX for allocatability of |
| 171 |
the new type. Add new GDB_INDEX error codes in DW_DLA list. |
| 172 |
Declare new gdb_index interfaces. |
| 173 |
2014-05-19 David Anderson |
| 174 |
* dwarf_init_finish.c: Removed unused local variable. |
| 175 |
* dwarf_opaque.h: Added _dwarf_extract_string_offset_via_str_offsets() |
| 176 |
to communicate the argument list to other libdwarf source files. |
| 177 |
* dwarf_query.c: Fixed botch in call argument list, the dwarf_opaque.h |
| 178 |
change exposed it. Deleted an unused local variable. |
| 179 |
* pro_reloc_symbolic.c: Deleted an unused local variable. |
| 180 |
2014-05-18 David Anderson |
| 181 |
* libdwarf2.1.mm: Fixed a typo in the H3 line |
| 182 |
for dwarf_get_debug_add_index(). |
| 183 |
* libdwarf2.1.pdf: Regenerated. Rev 2.20, May 18 2014. |
| 184 |
2014-05-18 David Anderson |
| 185 |
* dwarf_loc.: Fixed offset update for DW_OP_constx/addrx. |
| 186 |
2014-05-18 David Anderson |
| 187 |
* dwarf_form.c: Removed trailing whitespace, added commentary. |
| 188 |
* dwarf_loc.c: Added commentary. |
| 189 |
2014-05-18 David Anderson |
| 190 |
* libdwarf.h.in, dwarf_form.c: Restored the function |
| 191 |
dwarf_get_debug_addr_index(). It is useful as a convenience |
| 192 |
for apps like dwarfdump. |
| 193 |
2014-05-18 David Anderson |
| 194 |
* dwarf_die_deliv.c,dwarf_error.c,dwarf_form.c,dwarf_init_finish.c, |
| 195 |
dwarf_opaque.h,dwarf_query.c,dwarf_util.c,libdwarf.h.in: |
| 196 |
Fixed numerous indent errors and removed trailing whitespace. |
| 197 |
2014-05-17 David Anderson |
| 198 |
* dwarf.h: Minor comment enhancement. |
| 199 |
* dwarf_loc.c: Fixed code for DW_OP_constx, DW_OP_addrx, |
| 200 |
DW_OP_GNU_addr_index, DW_OP_GNU_const_index. |
| 201 |
* dwarf_form.c: DW_FORM_addr_index, DW_FORM_addrx, |
| 202 |
DW_FORM_strx, DW_FORM_GNU_str_index |
| 203 |
* dwarf_opaque.h: added new field dss_name to help |
| 204 |
debugging. |
| 205 |
* dwarf_query.c: Returns DW_DLE_MISSING_NEEDED_DEBUG_ADDR_SECTION when |
| 206 |
debug_addr is missing so address cannot be |
| 207 |
literally extracted. |
| 208 |
New functions: dwarf_get_debug_addr_index() |
| 209 |
and dwarf_get_debug_str_index(). |
| 210 |
* libdwarf.h.in: New error codes for FORM errors. |
| 211 |
New function declarations: dwarf_get_debug_addr_index() |
| 212 |
and dwarf_get_debug_str_index(). |
| 213 |
2014-05-14 David Anderson |
| 214 |
* dwarf_die_deliv.c: Refactored several interfaces and used |
| 215 |
DW_DLV_OK (etc) returned values internally much more than |
| 216 |
before to get the desired behavior easily. |
| 217 |
* dwarf_error.c: Error strings for 8 new error numbers. |
| 218 |
* dwarf_form.c: DW_FORM_addr_index, DW_FORM_addrx |
| 219 |
support added. |
| 220 |
* dwarf_init_finish.c: Sections .debug_addr and |
| 221 |
.debug_addr.dwo now handled if present. |
| 222 |
* dwarf_opaque.h: New Dwarf_CU_Context fields added |
| 223 |
so we can get CU DIE attributes for DW_FORM_addrx |
| 224 |
DW_FORM_strx etc. |
| 225 |
New de_debug* fields added for the new DebugFission |
| 226 |
sections. |
| 227 |
* dwarf_query.c: Using the revised _dwarf_get_size_of_val() |
| 228 |
internal function. |
| 229 |
Handling DW_FORM_GNU_str_index, DW_FORM_strx. |
| 230 |
New functions (internal) for DW_FORM_strx, DW_FORM_addrx |
| 231 |
and the GNU version of these to avoid duplicating code. |
| 232 |
* dwarf_util.c: Implement revised _dwarf_get_size_of_val(). |
| 233 |
Handling DW_FORM_GNU_str_index, DW_FORM_strx. |
| 234 |
* dwarf_util.h: Updated _dwarf_get_size_of_val() |
| 235 |
declaration. |
| 236 |
* libdwarf2.1.mm: Revision 2.8. May 15 2014. Documented |
| 237 |
a restriction to a sensible view to strings that |
| 238 |
dwarf_errmsg() returns. However without actually |
| 239 |
changing anything to take advantage of that restriction. |
| 240 |
* libdwarf2.1.pdf: Regenerated. |
| 241 |
2014-05-11 David Anderson |
| 242 |
* dwarf_error.c: Added 3 new error strings. |
| 243 |
* dwarf_form.c: Added DW_FORM_GNU_str_index and partial |
| 244 |
DW_FORM_GNU_addr_index handling. |
| 245 |
* dwarf_init_finish.c: Refactored initial section setup |
| 246 |
so we can handle dwo (DebugFission) or regular sections. |
| 247 |
* dwarf_query.c: Add support for DW_FORM_GNU_str_index. |
| 248 |
Partial support for DW_FORM_GNU_addr_index. |
| 249 |
* dwarf_util.c: Add support for DW_FORM_GNU_str_index, |
| 250 |
DW_FORM_GNU_addr_index. |
| 251 |
* libdwarf.h.in: 4 new error codes in DW_DLE_ list. Last now 248. |
| 252 |
2014-05-09 David Anderson |
| 253 |
* Makefile.in: Write ar std-out to ar-output-temp |
| 254 |
so the text is not needlessly filling a terminal window. |
| 255 |
2014-05-08 David Anderson |
| 256 |
* dwarf.h: Adds DW_AT_GNU_dwo_id, DW_AT_GNU_dwo_name and other |
| 257 |
GNU extensions. |
| 258 |
* libdwarf.h.in: Producer code changes: |
| 259 |
The dwarf_producer_init_d() is new and has new arguments. |
| 260 |
The older dwarf_producer_init() and _b _c versions are removed. |
| 261 |
Only one producer callback declaration exists now: |
| 262 |
Dwarf_Callback_Func. |
| 263 |
* pro_init.c: Implements the new dwarf_producer_init_d() |
| 264 |
function and initializes fields at runtime to select |
| 265 |
what DWARF to emit. Messy and confusing initialization code |
| 266 |
rewritten to depend on the runtime arguments |
| 267 |
to dwarf_producer_init_d, not library compile-time. |
| 268 |
* pro_opaque.h: New runtime fields set by initialization code. |
| 269 |
* pro_reloc.c: Fix a couple comment indentations. |
| 270 |
* pro_forms.c: Add curly braces in an if to avoid |
| 271 |
a hard-to-find bug (there was none yet, but it was a trap...). |
| 272 |
* pro_reloc_symbolic.c,pro_reloc_stream.c: Remove use |
| 273 |
of obsolete callback functions. |
| 274 |
* pro_section.c: Ensure only IRIX isa/abi target generates |
| 275 |
an exception CIE entry. Remove use of obsolete |
| 276 |
callbacks. |
| 277 |
* pro_util.h: Remove confusing and unreadable |
| 278 |
relocation number ifdefs that |
| 279 |
depended on settings at library compile-time. Most of the |
| 280 |
content of the file is deleted now. See |
| 281 |
isa_relocs[] in pro_init.c |
| 282 |
* dwarf_error.c: Added error code (used by producer code). |
| 283 |
* libdwarf2p.1.mm: Now version 1.36. Updated dwarf_producer_init() |
| 284 |
documentation. |
| 285 |
* libdwarf2p.1.pdf: Regenerated. |
| 286 |
2014-04-14 David Anderson |
| 287 |
* pro_forms.c: Modified a comment about DW_FORM_ref_addr. |
| 288 |
No logic change. |
| 289 |
* bldDWindex.sh: Deleted. This shell script was intended for |
| 290 |
DWARF2 postscript post-processing and was never useful. |
| 291 |
2014-04-12 David Anderson |
| 292 |
* dwarf_die_deliv.c,dwarf_query.c: Gets the version stamp passed to |
| 293 |
_dwarf_get_size_of_val() so DW_FORM_ref_addr handled |
| 294 |
correctly. |
| 295 |
* dwarf_form.c: Handle DW_FORM_ref_addr as the V2 |
| 296 |
specification says (V3 and later continue to |
| 297 |
be handled unchanged.). |
| 298 |
* dwarf_util.c: Handle DW_FORM_ref_addr as the V2 |
| 299 |
specification says (V3 and later continue to |
| 300 |
be handled unchanged.). |
| 301 |
* dwarf_addr_finder.c: Removed a mistaken handling |
| 302 |
of DW_FORM_ref_addr. No one should be using this |
| 303 |
function's features though... |
| 304 |
* pro_forms.c: Made a comment clearer about |
| 305 |
DW_FORM_ref_addr. |
| 306 |
* pro_section.c: Made a comment clearer, removed |
| 307 |
#if 0 code. |
| 308 |
2014-04-02 David Anderson |
| 309 |
* libdwarf2.1.mm: Examples using dwarf_offdie_b() were |
| 310 |
miscoded (is_info argument not provided). Now fixed. |
| 311 |
Now at version 2.17. |
| 312 |
* libdwarf2.1.pdf: Regenerated |
| 313 |
2014-03-17 David Anderson |
| 314 |
* dwarf.v2.mm,dwarf.v2.pdf,index.v2.mm,index.v2.pdf: Removed |
| 315 |
these files, they are now on dwarfstd.org. |
| 316 |
* Makefile.in: Removed mention of the deleted files. |
| 317 |
* README, COPYING: Removed mention of the deleted files. |
| 318 |
2014-02-08 David Anderson |
| 319 |
* libdwarf2p.1.mm: Now version 1.35. Added a few words |
| 320 |
about the sect_name_index field in the callback |
| 321 |
from libdwarf to your code for each new Elf section |
| 322 |
to be generated. |
| 323 |
* libdwarf2p.1.pdf: Regenerated. |
| 324 |
2014-02-02 David Anderson |
| 325 |
* dwarf_alloc.c: Added commentary. |
| 326 |
* dwarf_loc.c: Fixed two indents. |
| 327 |
* gennames.c: Removed trailing newlines from the printf |
| 328 |
output (dwarf_names_new.h is the file generated). |
| 329 |
* libdwarf.h.in: Removed trailing whitespace. |
| 330 |
2014-02-01 David Anderson |
| 331 |
* dwarf_alloc.c: Instead of doing a long list of address compares, |
| 332 |
use the hash 'tree' and tfind() to determine if we malloced |
| 333 |
the space or simply took an address from .debug_info ( |
| 334 |
or other in-memory section) when |
| 335 |
we returned a _dwarf_get_alloc() pointer to the user. |
| 336 |
2014-01-31 David Anderson |
| 337 |
* configure.in: The test to generate HAVE___UINT32_T_IN_SYS_TYPES_H |
| 338 |
was in a strange place. Moved it up a few lines. |
| 339 |
* configure: Regenerated. |
| 340 |
* dwarf_alloc.c: Added comment hinting at how dwarf_dealloc |
| 341 |
can be further simplified. |
| 342 |
2014-01-30 David Anderson |
| 343 |
* dwarf_loc.c: Add support for DW_FORM_exprloc |
| 344 |
to dwarf_loclist_n(). |
| 345 |
* libdwarf2.1.mm: Document support for DW_FORM_exprloc.Version 2.16 |
| 346 |
* libdwarf2.1.pdf: Regenerate. |
| 347 |
* dwarf.h, dwarf_form.c, dwarf_line.c, |
| 348 |
dwarf_query.c, dwarf_util.c: Add limited support for DW_FORM_GNU_ref_alt |
| 349 |
and DW_FORM_GNU_strp_alt. |
| 350 |
2014-01-30 David Anderson |
| 351 |
* dwarf_alloc.c: Refactored and added relevant commentary. |
| 352 |
Added a check for debug_types in dwarf_dealloc(). |
| 353 |
* dwarf_init_finish.c: Corrected a comment and made one line |
| 354 |
declation-is-initialization. |
| 355 |
* dwarf_opaque.h: Added commentary. |
| 356 |
|
| 357 |
2014-01-29 David Anderson |
| 358 |
* common.h,dwarf.h,dwarf_abbrev.c,dwarf_abbrev.h,dwarf_addr_finder.c, |
| 359 |
dwarf_alloc.c,dwarf_alloc.h,dwarf_arange.c,dwarf_arange.h, |
| 360 |
dwarf_base_types.h,dwarf_die_deliv.c,dwarf_die_deliv.h, |
| 361 |
dwarf_elf_access.c,dwarf_elf_access.h,dwarf_error.c,dwarf_error.h, |
| 362 |
dwarf_form.c,dwarf_frame.c,dwarf_frame.h,dwarf_frame2.c, |
| 363 |
dwarf_frame3.c,dwarf_funcs.c,dwarf_funcs.h,dwarf_global.c, |
| 364 |
dwarf_global.h,dwarf_harmless.c,dwarf_harmless.h,dwarf_incl.h, |
| 365 |
dwarf_init_finish.c,dwarf_line.c,dwarf_line.h,dwarf_line2.c, |
| 366 |
dwarf_loc.h,dwarf_macro.h,dwarf_opaque.h,dwarf_reloc_arm.h, |
| 367 |
dwarf_reloc_mips.h,dwarf_reloc_ppc.h,dwarf_reloc_ppc64.h, |
| 368 |
dwarf_reloc_x86_64.h,dwarf_tsearch.h,dwarf_types.h,dwarf_util.h, |
| 369 |
dwarf_vars.h,dwarf_weaks.h,libdwarfdefs.h,malloc_check.h, |
| 370 |
pro_alloc.h,pro_arange.h,pro_die.h,pro_encode_nm.h,pro_error.h, |
| 371 |
pro_frame.h,pro_incl.h,pro_line.h,pro_opaque.h,dwarf_tsearch.h: |
| 372 |
Remove trailing whitespace. |
| 373 |
2014-01-29 David Anderson |
| 374 |
* dwarf_tsearch.h, dwarf_tsearchhash.c: New files implementing |
| 375 |
a hashed tree with tsearch() interfaces. |
| 376 |
* Makefile.in: Add dwarf_tsearchhash.c to the build. |
| 377 |
* dwarf_init_finish.c: Remove references to malloc_check and _dwarf_setup_debug() |
| 378 |
and include of "malloc_check.h" as those are no longer needed. |
| 379 |
* dwarf_line.c: Removed a superfluous _dwarf_get_alloc(). The result of the call |
| 380 |
was never used. |
| 381 |
* dwarf_opaque.h: Removed Dwarf_Alloc_Hdr_s references and simple malloc references. |
| 382 |
added de_alloc_tree as base of a hash database replacing most of dwarf_alloc.c. |
| 383 |
* dwarf_query.c: Removed an unused local variable. |
| 384 |
* dwarf_alloc.h,dwarf_alloc.c: Removed simple malloc support and all the |
| 385 |
complicated code handling allocation record-keeping in favor of |
| 386 |
much simpler code calling functions |
| 387 |
using a tsearch-like interface. |
| 388 |
2014-01-10 David Anderson |
| 389 |
* dwarf_print_lines.c,dwarf_macro.c: Remove trailing whitespace. |
| 390 |
* dwarf_ranges.c, dwarf_sort_lines.c: Remove trailing whitespace. |
| 391 |
* dwarf_query.c, dwarf_pubtypes.c: Remove trailing whitespace. |
| 392 |
* dwarf_original_elf_init.c,dwarf_loc.c: Remove trailing whitespace. |
| 393 |
* gennames.c: Fix a printf so the generated dwarf_names.c |
| 394 |
does not have a trailing space. |
| 395 |
2014-01-10 David Anderson |
| 396 |
* gennames.c: Added comment clarifying why error is set |
| 397 |
before the call to fgets, and fixing the declaration |
| 398 |
order to avoid c99-ism. |
| 399 |
* dwarf_frame2.c: Use /* not // for comments in C. |