| 1 |
2021-05-31 David Anderson |
| 2 |
* moved all .mm and .pdf and bldpdf.sh to doc directory |
| 3 |
2021-05-31 David Anderson |
| 4 |
* test_linktopath.c: Fixed omission broke |
| 5 |
windows make check. |
| 6 |
2021-05-28 David Anderson |
| 7 |
* libdwarf_version.h: Updated version string. |
| 8 |
* dwarf_names.h,dwarf_names_enum.h,dwarf_names_new.h, |
| 9 |
dwarf_names.c: Regenerated. |
| 10 |
2021-05-25 David Anderson |
| 11 |
* dwarf_crc32.c: Added a comment for the Windows case |
| 12 |
in case it will help someone. I have no way to |
| 13 |
really test the alternative #include <windows.h>. |
| 14 |
2021-05-25 David Anderson |
| 15 |
* dwarf.h,dwarf_errmsg_list.h,dwarf_line.h, |
| 16 |
dwarf_line_table_reader_common.h: Removed trailing |
| 17 |
whitespace, fixed indents. |
| 18 |
* dwarf_leb.c,dwarf_leb_test.c,dwarf_line.c,dwarf_query.c: |
| 19 |
Fixed indents and removed trailing whitespace. |
| 20 |
Fixed one too-long line by splitting to 2 lines. |
| 21 |
2021-05-20 David Anderson |
| 22 |
* dwarf_line.h: Modified libdwarf-internal functions |
| 23 |
for LNCT handlng. Added a couple new functions |
| 24 |
for that as well. Added new fields for reporting the DW_LNCT |
| 25 |
extensions beyond DWARF5. |
| 26 |
* dwarf_line.c: New helper functions to report properly |
| 27 |
on errors in DW_LNCT forms. |
| 28 |
Completed handling of DWARF5 DW_LNCT and its FORMs. |
| 29 |
* dwarf_line_table_reader_common.h: Modified calls |
| 30 |
of the LNCT reading/checking for completeness. |
| 31 |
Moved some array/member refs to make the calls |
| 32 |
to _dwarf_decode_line_udata_form etc (all to do |
| 33 |
with DW_LNCT values). |
| 34 |
* dwarf_print_lines.c: Now prints the DW_LNCT extensions. |
| 35 |
2021-05-18 David Anderson |
| 36 |
* dwarf_errmsg_list.h, libdwarf.h.in: |
| 37 |
Add error DW_DLE_NEGATIVE_SIZE. |
| 38 |
generated_libdwarf.h.in: Regenerated. |
| 39 |
* dwarf_form.c: Properly set secend in |
| 40 |
_dwarf_extract_local_debug_str_string_given_offset |
| 41 |
for DW_FORM_line_strp. |
| 42 |
* dwarf_query.c: In _dwarf_die_attr_unsigned_constant() |
| 43 |
allow DW_FORM_implicit_const and add some |
| 44 |
comments on small functions. |
| 45 |
Return error and DW_DLE_NEGATIVE_SIZE in case |
| 46 |
the form is a negative implicit const. |
| 47 |
2021-05-18 David Anderson |
| 48 |
* pdfbld.sh: Comment out the build of the rearranged |
| 49 |
(placing the table of contents at the front) |
| 50 |
libdwarf2.1.pdf as that version is 20MiB! |
| 51 |
* CMakeLists.txt: Moved the install of libdwarf stuff |
| 52 |
here from ../CMakeLists.txt so it works for cmake before |
| 53 |
and after cmake 3.13. |
| 54 |
Repair an old ommission in an install that |
| 55 |
modern cmake seemingly did not care if |
| 56 |
repaired or not. |
| 57 |
2021-05-15 David Anderson |
| 58 |
* libdwarf2.1.mm: Added additional explanation |
| 59 |
of an example call to the library in the |
| 60 |
Dwarf_Error section. Now rev 3.27. |
| 61 |
* libdwarf2.1.pdf: Regenerated. Version 3.27. |
| 62 |
2021-05-13 David Anderson |
| 63 |
* test_dwarfstring.c,test_headersok.c,test_linkedtopath.c: |
| 64 |
Changes made to avoid compiler warnings. |
| 65 |
2021-05-11 David Anderson |
| 66 |
* libdwarf2.1.mm: Corrected errors in the formatting |
| 67 |
of a couple input lines to get consistency. |
| 68 |
the output in the pdf doex not change. Ver 3.26 |
| 69 |
* libdwarf2.1.pdf: Regenerated as 3.26 |
| 70 |
2021-04-20 David Anderson |
| 71 |
* dwarf_leb.c: Now reads uleb/sleb allowing |
| 72 |
zeroes padding at the end. |
| 73 |
* dwarf_leb_test.c: Additional tests added with |
| 74 |
constructed examples with zeroes padding and |
| 75 |
comments explaining how it all works. See |
| 76 |
tests v5, v6, and v7. |
| 77 |
2021-04-20 David Anderson |
| 78 |
* libdwarf2.1.pdf: Regenerated, no change intended. |
| 79 |
* pdfbld.sh: Now build the consumer both in |
| 80 |
standard and bloated form (we only ship the |
| 81 |
standard form). |
| 82 |
2021-03-07 David Anderson |
| 83 |
* pdfbld.sh: Abandon the rearrangement of the pdf, |
| 84 |
it bloated the pdf from 600KB to over 14MB. |
| 85 |
and would double the size of a release. |
| 86 |
* libdwarf2.1.pdf: Regenerated. |
| 87 |
2021-03-05 David Anderson |
| 88 |
* libdwarf_version.h: Updated version string. |
| 89 |
* dwarf_names.h,dwarf_names_enum.h,dwarf_names_new.h, |
| 90 |
dwarf_names.c: Regenerated. |
| 91 |
2021-02-24 David Anderson |
| 92 |
* dwarf.h: Now with the properly spelled _ghs_ names. |
| 93 |
* dwarf_names.c,dwarf_names_enum.h: Regenerated |
| 94 |
with the properly |
| 95 |
spelled _ghs_ names. |
| 96 |
2021-02-19 David Anderson |
| 97 |
* dwarf.h: Many DWARF-extension name/value pairs were made |
| 98 |
available to me, so those are now in dwarf.h. |
| 99 |
* dwarf_abbrev.c: An error issue with a corrupted |
| 100 |
object lead to an errormessage that read very |
| 101 |
confusingly. I've updated the message to be |
| 102 |
a bit clearer. |
| 103 |
* dwarf_names.c,dwarf_names_enum.h: Regenerated. |
| 104 |
* dwarf_query.c(dw_get_special_offset): Updated |
| 105 |
so we get some additional form classes report d |
| 106 |
correctly on certain DW_AT extensions to the |
| 107 |
standard.. |
| 108 |
* gennames.c: More names, so a constant used |
| 109 |
to generate .c and .h files needed to go 300->350. |
| 110 |
The array is only used to build C source code and |
| 111 |
does not appear in libdwarf or dwarfdump. |
| 112 |
2021-02-16 David Anderson |
| 113 |
* dwarf_query.c: Removed a () that was accidental. |
| 114 |
* dwarf_form_class_names.c: Removed a trailing space. |
| 115 |
2021-02-15 David Anderson |
| 116 |
* libdwarf_version.h: Updated version string. |
| 117 |
* dwarf_names.h,dwarf_names_enum.h,dwarf_names_new.h, |
| 118 |
dwarf_names.c: Regenerated. |
| 119 |
2021-02-14 David Anderson |
| 120 |
* dwarf_form_class_names: Fixed whitespace issue. |
| 121 |
* libdwarf.h.in: Revised the Form_Class enum |
| 122 |
for better readability. |
| 123 |
* generated_libdwarf.h.in: Regenerated. |
| 124 |
2021-02-13 David Anderson |
| 125 |
* dwarf_die_deliv.c: Fixing indents and trailing whitespace. |
| 126 |
Removed a couple blank lines. |
| 127 |
* dwarf_find_sigref.c,dwarf_line.c: Fixing indents |
| 128 |
and trailing whitespace. |
| 129 |
2021-02-12 David Anderson |
| 130 |
* dwarf_find_sigref.c: Deleted two pointless |
| 131 |
blank lines. |
| 132 |
* libdwarf.h.in: The dwarf_find_die_given_sig8 prototype |
| 133 |
showed actual argument names. Now those names hidden |
| 134 |
in comments. |
| 135 |
* generates_libdwarf.h.in: Regenerated. |
| 136 |
2021-02-06 David Anderson |
| 137 |
* CMakeLists.txt: Adding dwarf_find_sigref.c which follows |
| 138 |
DW_FORM_ref_sig8 to report targets. |
| 139 |
* Makefile.am: Adding dwarf_find_sigref.c which follows |
| 140 |
DW_FORM_ref_sig8 to report targets. |
| 141 |
* Makefile.in: Regenerated. |
| 142 |
* dwarf_abbrev.c: Deleted a blank line. |
| 143 |
* dwarf_die_deliv.c: Additional minor refactoring for clarity |
| 144 |
and reuse. |
| 145 |
* dwarf_find_sigref.c: Now correctly finds the ref_sig8 |
| 146 |
targets. Does not yet reference any tied-file. |
| 147 |
* dwarf_line.c: Minor refactoring to focus on the |
| 148 |
code flow, but also allowing (and reporting) |
| 149 |
when a compiler erroneously used DW_FORM_addr |
| 150 |
on DW_AT_stmt_list. |
| 151 |
* dwarf_opaque.h: refactored new CU context |
| 152 |
functions now availablt |
| 153 |
to dwarf_find_sigref.c. |
| 154 |
* libdwarf.h.in: New function dwarf_find_die_given_sig8() |
| 155 |
lets callers follow the references. |
| 156 |
Not yet documented in libdwarf2.1.mm. |
| 157 |
* generated_libdwarf.h.in: Regenerated. |
| 158 |
2021-02-04 David Anderson |
| 159 |
* dwarf_die_deliv.c: Refactored the code creating |
| 160 |
CU_Context records, removing duplicated code to |
| 161 |
three new small functions: calculate_next_cu_context_offset(), |
| 162 |
create_a_new_cu_context_record_on_list() and |
| 163 |
load_die_containing_section(). Much easier to understand |
| 164 |
the flow now. |
| 165 |
* dwarf_form.c: Clarified a comment. |
| 166 |
* dwarf_opaque.h: Corrected a comment about cc_unit_type |
| 167 |
field. |
| 168 |
* dwarf_tied.c: Corrected commentary about reading CUs. |
| 169 |
2021-02-02 David Anderson |
| 170 |
* libdwarf2.1.mm: Rev 3.25. Documents |
| 171 |
dwarf_get_FORM_CLASS_name(). |
| 172 |
* libdwarf2.1.pdf: Rev 3.25. Regenerated |
| 173 |
2021-02-02 David Anderson |
| 174 |
* dwarf_form_class_names.c: new. Lets library clients |
| 175 |
print the name of any enum Dwarf_Form_Class variable |
| 176 |
by calling dwarf_get_FORM_CLASS name(). |
| 177 |
* CMakeLists.txt,Makefile.am: Now builds |
| 178 |
dwarf_form_class_names.c. |
| 179 |
* Makefile.in:Regenerated. |
| 180 |
* libdwarf.h.in: Adds prototype for |
| 181 |
dwarf_get_FORM_CLASS name(). |
| 182 |
* generated_libdwarf.h.in: Regenerated. |
| 183 |
2021-01-31 David Anderson |
| 184 |
* dwarf_form.c(dwarf_addr_form_is_indexed): For better |
| 185 |
readability a chain of if-statements is now a switch/case. |
| 186 |
2021-01-28 David Anderson |
| 187 |
* checkexamples.c,crc32.c,dwarf_alloc.c,dwarf_arange.c, |
| 188 |
dwarf_debuglink.c,dwarf_die_deli,.c,dwarf_elf_access.c, |
| 189 |
dwarf_elf_load_headers.c,dwarf_elfread.c,dwarf_form.c, |
| 190 |
dwarf_frame.c,dwarf_frame2.c,dwarf_global.c,dwarf_gnu_index.c, |
| 191 |
dwarf_init_finish.c,dwarf_line.c,dwarf_loc.c, |
| 192 |
dwarf_locationop_read.c,dwarf_macro5.c,dwarf_object_detector.c, |
| 193 |
dwarf_query.c,dwarf_ranges.c,dwarf_stringsection.c, |
| 194 |
dwarf_tied_test.c,dwarf_tsearchhash.c,dwarf_util.c, |
| 195 |
dwarf_xu_index.c,dwarfstring.c,dwgetopt.c,pro_die.c, |
| 196 |
pro_expr.c,pro_forms.c,pro_frame.c,pro_funcs.c,pro_init.c, |
| 197 |
pro_log_extra_flag_strings.c,test_linkedtopath.c: |
| 198 |
Fix indents. |
| 199 |
2021-01-28 David Anderson |
| 200 |
* libdwarf2p.1.mm: Rev 1.53. Added a few words |
| 201 |
about relocating DW_OP_addr data: Such relocation |
| 202 |
generation only works right |
| 203 |
if the DW_OP_addr is the very first DW_OP |
| 204 |
in the expression. |
| 205 |
* libdwarf2p.1.pdf: Rev 1.53. Regenerated. |
| 206 |
* libdwarf2.1.mm: Rev 3.24. A font-marker |
| 207 |
was missing a \ so from page 252 the fonts |
| 208 |
were mixed up. |
| 209 |
* libdwarf2.1.pdf: Rev 3.24. Regenerated |