Roland McGrath | 019d9fb | 2010-01-05 13:36:07 -0800 | [diff] [blame^] | 1 | 2010-01-05 Roland McGrath <roland@redhat.com> |
| 2 | |
| 3 | * dwarf.h: Add DW_AT_GNU_vector, DW_AT_GNU_template_name. |
| 4 | |
Roland McGrath | 888381b | 2009-11-21 17:03:34 -0800 | [diff] [blame] | 5 | 2009-11-21 Roland McGrath <roland@redhat.com> |
| 6 | |
| 7 | * dwarf_getlocation.c (check_constant_offset): Return 1 for all |
| 8 | non-constant forms. |
| 9 | |
Roland McGrath | 9ca7bc4 | 2009-10-15 12:26:49 -0700 | [diff] [blame] | 10 | 2009-10-15 Roland McGrath <roland@redhat.com> |
| 11 | |
| 12 | * libdw_form.c (__libdw_form_val_len): Grok DW_FORM_sec_offset, |
| 13 | DW_FORM_exprloc, DW_FORM_flag_present, and DW_FORM_ref_sig8. |
| 14 | |
Roland McGrath | 7e0aecd | 2009-09-17 15:02:34 -0700 | [diff] [blame] | 15 | 2009-09-17 Roland McGrath <roland@redhat.com> |
| 16 | |
| 17 | * dwarf_getlocation.c (dwarf_getlocation_implicit_value): Make OP |
| 18 | argument a pointer to const. |
| 19 | * libdw.h: Update decl. |
| 20 | |
Roland McGrath | f037104 | 2009-09-10 12:39:09 -0700 | [diff] [blame] | 21 | 2009-09-10 Roland McGrath <roland@redhat.com> |
| 22 | |
| 23 | * dwarf_getlocation.c (store_implicit_value): New function. |
| 24 | (__libdw_intern_expression): Use it, handle DW_OP_implicit_value. |
| 25 | (dwarf_getlocation_implicit_value): New function. |
| 26 | * libdw.h: Declare it. |
| 27 | * libdw.map (ELFUTILS_0.143): Add it. |
| 28 | |
Mark Wielaard | 418ae4c | 2009-09-09 20:59:26 +0200 | [diff] [blame] | 29 | 2009-09-09 Mark Wielaard <mjw@redhat.com> |
| 30 | |
| 31 | * dwarf_getcfi.c (dwarf_getcfi): Clear cfi->ebl. |
| 32 | |
Josh Stone | cc93cc4 | 2009-08-21 18:04:44 -0700 | [diff] [blame] | 33 | 2009-08-21 Josh Stone <jistone@redhat.com> |
| 34 | |
| 35 | * dwarf_hasattr_integrate.c: Integrate DW_AT_specification too. |
| 36 | |
Roland McGrath | 08277ba | 2009-08-10 15:08:08 -0700 | [diff] [blame] | 37 | 2009-08-10 Roland McGrath <roland@redhat.com> |
| 38 | |
| 39 | * dwarf_getscopevar.c: Use dwarf_diename. |
| 40 | |
Roland McGrath | ebfb648 | 2009-08-09 15:40:52 -0700 | [diff] [blame] | 41 | 2009-08-09 Roland McGrath <roland@redhat.com> |
| 42 | |
| 43 | * libdw.map (ELFUTILS_0.143): New version set, |
| 44 | inherits from ELFUTILS_0.142. |
| 45 | * dwarf_arrayorder.c: Use OLD_VERSION and NEW_VERSION to define an |
| 46 | alias in the ELFUTILS_0.122 version set and the default in the new set. |
| 47 | * dwarf_srclang.c: Likewise. |
| 48 | * dwarf_decl_file.c: Likewise. |
| 49 | * dwarf_decl_line.c: Likewise. |
| 50 | * dwarf_decl_column.c: Likewise. |
| 51 | * dwarf_bytesize.c: Likewise. |
| 52 | * dwarf_bitsize.c: Likewise. |
| 53 | * dwarf_bitoffset.c: Likewise. |
| 54 | |
Roland McGrath | de69d52 | 2009-08-07 18:26:19 -0700 | [diff] [blame] | 55 | 2009-08-07 Roland McGrath <roland@redhat.com> |
| 56 | |
| 57 | * dwarf_arrayorder.c: Use dwarf_attr_integrate. |
| 58 | * dwarf_srclang.c: Likewise. |
| 59 | * dwarf_decl_file.c: Likewise. |
| 60 | * dwarf_decl_line.c (__libdw_attr_intval): Likewise. |
| 61 | * dwarf_bytesize.c: Likewise. |
| 62 | * dwarf_bitsize.c: Likewise. |
| 63 | * dwarf_bitoffset.c: Likewise. |
| 64 | |
Roland McGrath | af80014 | 2009-07-22 13:55:50 -0700 | [diff] [blame] | 65 | 2009-07-22 Roland McGrath <roland@redhat.com> |
| 66 | |
| 67 | * dwarf_frame_cfa.c: Change calling convention. |
| 68 | * libdw.h: Update decl. |
| 69 | |
| 70 | * dwarf_frame_register.c: Change calling/return-value convention for |
| 71 | value-only results and undefined/same_value. |
| 72 | * libdw.h: Update decl. |
| 73 | |
| 74 | * dwarf_getlocation.c (__libdw_intern_expression): Take new bool |
| 75 | argument, append DW_OP_stack_value if set. Don't take NOPS argument, |
| 76 | return that value instead. |
| 77 | (getlocation): Update caller. |
| 78 | * dwarf_frame_cfa.c: Likewise. |
| 79 | * libdwP.h: Update decl. |
| 80 | |
Roland McGrath | e23e9e7 | 2009-07-21 18:14:52 -0700 | [diff] [blame] | 81 | 2009-07-21 Roland McGrath <roland@redhat.com> |
| 82 | |
| 83 | * dwarf_getsrc_file.c: Ignore a CU that just has no DW_AT_stmt_list. |
| 84 | Fix loop iteration after skipping a bogus or useless CU. |
| 85 | |
| 86 | * dwarf_entry_breakpoints.c: Handle 0 dwarf_errno () as harmless |
| 87 | absence, not DWARF_E_NO_DEBUG_LINE. |
| 88 | |
Roland McGrath | 96349ff | 2009-07-20 11:51:41 -0700 | [diff] [blame] | 89 | 2009-07-20 Roland McGrath <roland@redhat.com> |
| 90 | |
| 91 | * dwarf_getlocation.c (__libdw_intern_expression): |
| 92 | Handle DW_OP_stack_value. |
| 93 | |
Roland McGrath | a6abdfd | 2009-07-16 17:40:19 -0700 | [diff] [blame] | 94 | 2009-07-16 Roland McGrath <roland@redhat.com> |
| 95 | |
Roland McGrath | e160cc9 | 2009-07-16 17:48:27 -0700 | [diff] [blame] | 96 | * dwarf_formudata.c (__libdw_formptr): Handle DW_FORM_sec_offset, |
| 97 | reject others when CU's version > 3. |
| 98 | |
| 99 | * dwarf_formflag.c: Handle DW_FORM_flag_present. |
| 100 | |
Roland McGrath | a6abdfd | 2009-07-16 17:40:19 -0700 | [diff] [blame] | 101 | * dwarf.h: Add DW_OP_{implicit,stack}_value from DWARF 4 draft. |
| 102 | Also DW_TAG_type_unit and DW_TAG_rvalue_reference_type. |
| 103 | Also DW_AT_signature, DW_AT_main_subprogram, DW_AT_data_bit_offset, |
| 104 | and DW_AT_const_expr. |
| 105 | Also DW_FORM_sec_offset, DW_FORM_exprloc, DW_FORM_flag_present, |
| 106 | and DW_FORM_ref_sig8. |
| 107 | |
Roland McGrath | 7dd9464 | 2009-07-15 11:14:23 -0700 | [diff] [blame] | 108 | 2009-07-15 Roland McGrath <roland@redhat.com> |
| 109 | |
| 110 | * dwarf_getlocation.c: Grok DW_OP_form_tls_address, |
| 111 | DW_OP_GNU_push_tls_address, and DW_OP_bit_piece. |
| 112 | |
Roland McGrath | 8089343 | 2009-07-13 12:08:55 -0700 | [diff] [blame] | 113 | 2009-07-13 Roland McGrath <roland@redhat.com> |
| 114 | |
| 115 | * dwarf_getlocation.c: Grok DW_OP_call_frame_cfa. |
| 116 | |
Roland McGrath | cfdd86e | 2009-07-08 13:15:07 -0700 | [diff] [blame] | 117 | 2009-07-08 Roland McGrath <roland@redhat.com> |
| 118 | |
Roland McGrath | 3c84db3 | 2009-06-24 17:41:40 -0700 | [diff] [blame] | 119 | * libdw.map (ELFUTILS_0.142): Add dwfl_module_dwarf_cfi, |
| 120 | dwfl_module_eh_cfi. |
| 121 | |
| 122 | * libdwP.h (struct Dwarf): Add member `cfi'. |
| 123 | * dwarf_end.c (dwarf_end): Call __libdw_destroy_frame_cache on it. |
| 124 | * dwarf_getcfi.c: New file. |
| 125 | * dwarf_getcfi_elf.c: New file. |
| 126 | * dwarf_cfi_end.c: New file. |
| 127 | * dwarf_cfi_addrframe.c: New file. |
| 128 | * dwarf_frame_cfa.c: New file. |
| 129 | * dwarf_frame_register.c: New file. |
| 130 | * dwarf_frame_return_address_register.c: New file. |
| 131 | * Makefile.am (libdw_a_SOURCES): Add them. |
| 132 | * unwind.h: Declare those functions. |
| 133 | * libdw.map (ELFUTILS_0.142): Export them. |
| 134 | |
| 135 | * dwarf_getlocation.c (__libdw_intern_expression): New function, |
| 136 | broken out of ... |
| 137 | (getlocation): ... here, call it. |
| 138 | * libdwP.h: Declare it. |
| 139 | |
| 140 | * cie.c: New file. |
| 141 | * fde.c: New file. |
| 142 | * frame-cache.c: New file. |
| 143 | * cfi.c: New file. |
| 144 | * cfi.h: New file. |
| 145 | * encoded-value.h: New file. |
| 146 | * Makefile.am (libdw_a_SOURCES, noinst_HEADERS): Add them. |
| 147 | * libdwP.h: Add DWARF_E_INVALID_CFI to errors enum. |
| 148 | * dwarf_error.c (errmsgs): Add element for it. |
| 149 | |
| 150 | * dwarf_next_cfi.c: New file. |
| 151 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 152 | * libdw.h (Dwarf_CIE, Dwarf_FDE, Dwarf_CIE_Entry): New types. |
| 153 | Declare dwarf_next_cfi. |
| 154 | * libdw.map (ELFUTILS_0.142): New set, inherits from ELFUTILS_0.136. |
| 155 | Add dwarf_next_cfi. |
| 156 | |
| 157 | * memory-access.h [! ALLOW_UNALIGNED] |
| 158 | (read_2ubyte_unaligned): Renamed to ... |
| 159 | (read_2ubyte_unaligned_1): ... this. Take bool rather than Dwarf *. |
| 160 | (read_2ubyte_unaligned): Define as macro passing dbg->other_byte_order. |
| 161 | (read_2sbyte_unaligned): Likewise. |
| 162 | (read_4ubyte_unaligned): Likewise. |
| 163 | (read_4sbyte_unaligned): Likewise. |
| 164 | (read_8ubyte_unaligned): Likewise. |
| 165 | (read_8sbyte_unaligned): Likewise. |
| 166 | |
| 167 | * libdwP.h (IDX_eh_frame): Remove it. |
| 168 | * dwarf_begin_elf.c (dwarf_scnnames): Remove its element. |
| 169 | |
| 170 | 2009-07-08 Roland McGrath <roland@redhat.com> |
| 171 | |
Roland McGrath | 6e1f465 | 2009-07-08 14:48:34 -0700 | [diff] [blame] | 172 | * libdwP.h (struct Dwarf_Line_s): Reorder members to pack better. |
| 173 | |
Roland McGrath | cfdd86e | 2009-07-08 13:15:07 -0700 | [diff] [blame] | 174 | * dwarf_getlocation.c (check_constant_offset): New function. |
| 175 | (dwarf_getlocation, dwarf_getlocation_addr): Call it to |
| 176 | handle DW_AT_data_member_location of data[48] as constant offset. |
| 177 | |
Roland McGrath | 05c4e04 | 2009-06-18 13:56:02 -0700 | [diff] [blame] | 178 | 2009-06-18 Roland McGrath <roland@redhat.com> |
| 179 | |
| 180 | * libdwP.h (__libdw_read_address_inc): Constify. |
| 181 | (__libdw_read_offset_inc): Likewise. |
| 182 | * dwarf_getaranges.c: Likewise. |
| 183 | * dwarf_getlocation.c: Likewise. |
| 184 | * dwarf_getsrclines.c: Likewise. |
| 185 | * dwarf_nextcu.c: Likewise. |
| 186 | |
Ulrich Drepper | 99d2372 | 2009-06-14 20:19:45 -0700 | [diff] [blame] | 187 | 2009-05-05 Petr Machata <pmachata@redhat.com> |
| 188 | |
| 189 | * libdwP.h (__libdw_formptr): Declare new function. |
| 190 | * dwarf_formudata.c: Implement it here. |
| 191 | * dwarf_getlocation.c (dwarf_getlocation_addr): |
| 192 | Call it instead of hand-rolled offset handling code. |
| 193 | * dwarf_getsrclines.c (dwarf_getsrclines): Likewise. |
| 194 | * dwarf_ranges.c (dwarf_ranges): Likewise. |
| 195 | |
| 196 | 2009-05-04 Petr Machata <pmachata@redhat.com> |
| 197 | |
| 198 | * libdwP.h (__libdw_read_begin_end_pair_inc): Declare new function. |
| 199 | * dwarf_ranges.c: Implement it here. |
| 200 | (dwarf_ranges): Call it. |
| 201 | * dwarf_getlocation.c (dwarf_getlocation_addr): Call it also here. |
| 202 | |
| 203 | 2009-04-23 Petr Machata <pmachata@redhat.com> |
| 204 | |
| 205 | * dwarf_formaddr.c (dwarf_formaddr): Call __libdw_read_* instead |
| 206 | of read_*ubyte_unaligned. |
| 207 | * dwarf_formref_die.c (dwarf_formref_die): Likewise. |
| 208 | * dwarf_formstring.c (dwarf_formstring): Likewise. |
| 209 | * dwarf_formudate.c (dwarf_formudata): Likewise. |
| 210 | * dwarf_getaranges.c (dwarf_getaranges): Likewise. |
| 211 | * dwarf_getlocation.c (dwarf_getlocation_addr): Likewise. |
| 212 | * dwarf_getpubnames.c (get_offsets): Likewise. |
| 213 | * dwarf_nextcu.c (dwarf_nextcu): Likewise. |
| 214 | |
| 215 | 2009-04-23 Petr Machata <pmachata@redhat.com> |
| 216 | |
| 217 | * libdwP.h (__libdw_read_addr_inc, __libdw_read_off_inc, |
| 218 | __libdw_read_addr, __libdw_read_off): Add four new internal |
| 219 | functions. |
| 220 | |
Roland McGrath | e2eabd8 | 2009-05-07 18:54:52 -0700 | [diff] [blame] | 221 | 2009-05-07 Roland McGrath <roland@redhat.com> |
| 222 | |
| 223 | * dwarf_getmacros.c (dwarf_getmacros): Use absolute section offset in |
| 224 | return value and OFFSET argument, not CU-relative. Only fetch the |
| 225 | attribute data when called with OFFSET of 0. |
| 226 | |
Petr Machata | f3df61f | 2009-05-07 21:02:33 +0200 | [diff] [blame] | 227 | 2009-05-07 Petr Machata <pmachata@redhat.com> |
| 228 | |
| 229 | * dwarf_getmacros.c (dwarf_getmacros): Take into account offset in |
| 230 | DW_AT_macro_info attribute of CU DIE. |
| 231 | |
Roland McGrath | 2fb9051 | 2009-04-15 14:47:13 -0700 | [diff] [blame] | 232 | 2009-04-15 Roland McGrath <roland@redhat.com> |
| 233 | |
| 234 | * dwarf.h (DW_CIE_ID): Removed. |
| 235 | (DW_CIE_ID_32, DW_CIE_ID_64): New constants replace it. |
| 236 | |
Roland McGrath | 6a4bdd9 | 2009-04-01 14:25:29 -0700 | [diff] [blame] | 237 | 2009-04-01 Roland McGrath <roland@redhat.com> |
| 238 | |
| 239 | * dwarf.h: Add DW_CFA_GNU_negative_offset_extended. |
| 240 | |
Roland McGrath | c5acb30 | 2009-01-28 18:28:52 -0800 | [diff] [blame] | 241 | 2009-01-28 Roland McGrath <roland@redhat.com> |
| 242 | |
Roland McGrath | 03288f0 | 2009-01-28 22:00:54 -0800 | [diff] [blame] | 243 | * libdwP.h (struct Dwarf_Line_s): Move out of struct Dwarf_Lines_s |
| 244 | defn so C++ doesn't scope the name to not match the Dwarf_Line typedef. |
| 245 | |
Roland McGrath | c5acb30 | 2009-01-28 18:28:52 -0800 | [diff] [blame] | 246 | * libdwP.h (struct Dwarf_Files_s): Replace dbg field with cu field. |
| 247 | |
Roland McGrath | f46272a | 2009-01-26 18:36:16 -0800 | [diff] [blame] | 248 | 2009-01-26 Roland McGrath <roland@redhat.com> |
| 249 | |
| 250 | * dwarf_ranges.c: Return 0 when no ranges or *_pc attrs at all. |
| 251 | |
Roland McGrath | d31505f | 2009-01-25 19:37:33 -0800 | [diff] [blame] | 252 | 2009-01-25 Roland McGrath <roland@redhat.com> |
| 253 | |
| 254 | * dwarf_getattrs.c: Correctly skip attribute values when restarting. |
| 255 | |
Roland McGrath | 3bf7a09 | 2009-01-23 16:34:07 -0800 | [diff] [blame] | 256 | 2009-01-23 Roland McGrath <roland@redhat.com> |
| 257 | |
| 258 | * Makefile.am ($(srcdir)/known-dwarf.h): Target renamed back. |
| 259 | Put these rules under if MAINTAINER_MODE. |
| 260 | |
Roland McGrath | afdd51e | 2009-01-22 02:26:24 -0800 | [diff] [blame] | 261 | 2009-01-22 Roland McGrath <roland@redhat.com> |
| 262 | |
| 263 | * dwarf.h: Add DW_OP_GNU_encoded_addr. |
| 264 | |
Roland McGrath | 1ea4fdc | 2009-01-21 19:14:37 -0800 | [diff] [blame] | 265 | 2009-01-21 Roland McGrath <roland@redhat.com> |
| 266 | |
| 267 | * Makefile.am (CLEANFILES): Renamed to ... |
| 268 | (MOSTLYCLEANFILES): ... here. |
| 269 | (CLEANFILES): New variable, add known-dwarf.h. |
| 270 | |
Roland McGrath | 24b0330 | 2009-01-17 14:34:13 -0800 | [diff] [blame] | 271 | 2009-01-17 Roland McGrath <roland@redhat.com> |
| 272 | |
Roland McGrath | 54456d8 | 2009-01-17 14:39:35 -0800 | [diff] [blame] | 273 | * Makefile.am (known-dwarf.h): Target renamed, not in $(srcdir). |
| 274 | Make it unconditional. |
| 275 | (BUILT_SOURCES): Updated. |
Roland McGrath | 5513e64 | 2009-01-11 01:35:11 -0800 | [diff] [blame] | 276 | |
| 277 | * dwarf.h: Add description comments for DW_LANG_* values. |
| 278 | |
| 279 | * Makefile.am [MAINTAINER_MODE] |
| 280 | ($(srcdir)/known-dwarf.h): New target. |
| 281 | (BUILT_SOURCES): Add it. |
| 282 | |
Roland McGrath | 24b0330 | 2009-01-17 14:34:13 -0800 | [diff] [blame] | 283 | * dwarf.h: Add DW_OP_GNU_push_tls_address, DW_OP_GNU_uninit. |
| 284 | |
Ulrich Drepper | 7e678fa | 2009-01-10 18:02:05 -0800 | [diff] [blame] | 285 | 2009-01-10 Ulrich Drepper <drepper@redhat.com> |
| 286 | |
| 287 | * dwarf_error.c: Always use __thread. Remove all !USE_TLS code. |
| 288 | |
Roland McGrath | e06762c | 2009-01-08 13:39:08 -0800 | [diff] [blame] | 289 | 2009-01-08 Roland McGrath <roland@redhat.com> |
| 290 | |
| 291 | * Makefile.am (libdw.so): Don't depend on $(zip_LIBS), just link it in. |
| 292 | |
Roland McGrath | 7e827f2 | 2009-01-06 02:09:50 -0800 | [diff] [blame] | 293 | 2008-01-06 Roland McGrath <roland@redhat.com> |
Roland McGrath | 1f6d201 | 2008-12-31 00:21:04 -0800 | [diff] [blame] | 294 | |
| 295 | * libdwP.h (struct Dwarf_Abbrev): Change type of 'has_children' to bool. |
| 296 | Reorder members. |
| 297 | * dwarf_haschildren.c: Return -1 for error case, not 0. |
Roland McGrath | bca4315 | 2009-01-05 23:59:32 -0800 | [diff] [blame] | 298 | |
| 299 | * Makefile.am (libdw.so): Link in $(zip_LIBS). |
| 300 | |
Ulrich Drepper | ac194d0 | 2009-01-06 00:30:01 -0800 | [diff] [blame] | 301 | 2009-01-06 Ulrich Drepper <drepper@redhat.com> |
| 302 | |
Roland McGrath | c462c63 | 2009-01-06 01:04:31 -0800 | [diff] [blame] | 303 | * dwarf.h: Add definition for unwind and call frame information. |
Ulrich Drepper | ac194d0 | 2009-01-06 00:30:01 -0800 | [diff] [blame] | 304 | |
| 305 | * memory-access.h: Define read_ubyte_unaligned, read_sbyte_unaligned, |
| 306 | read_ubyte_unaligned_inc, and read_sbyte_unaligned_inc. |
| 307 | |
Roland McGrath | b4d6f0f | 2008-08-25 22:55:17 +0000 | [diff] [blame] | 308 | 2008-08-15 Roland McGrath <roland@redhat.com> |
| 309 | |
| 310 | * libdw.map (ELFUTILS_0.136): New version set, inherits from |
| 311 | ELFUTILS_0.130. Add dwfl_addrsegment, dwfl_report_segment. |
| 312 | |
Ulrich Drepper | 8d358d9 | 2008-01-22 06:34:31 +0000 | [diff] [blame] | 313 | 2008-01-21 Ulrich Drepper <drepper@redhat.com> |
| 314 | |
| 315 | * dwarf_child.c: Minor optimizations. |
| 316 | * dwarf_getattrs.c: Likewise. |
| 317 | * dwarf_getpubnames.c: Likewise. |
| 318 | * dwarf_siblingof.c: Likewise. |
| 319 | * dwarf_tag.c: Likewise. |
| 320 | |
Ulrich Drepper | b27ce00 | 2008-01-18 20:08:54 +0000 | [diff] [blame] | 321 | 2008-01-18 Ulrich Drepper <drepper@redhat.com> |
| 322 | |
| 323 | * dwarf_getsrclines.c (dwarf_getsrclines): Don't require exact match |
| 324 | of DWARF_VERSION comparison, just fail if the file's version is newer. |
| 325 | |
Ulrich Drepper | 35f08c4 | 2008-01-18 19:59:08 +0000 | [diff] [blame] | 326 | 2008-01-17 Nick Clifton <nickc@redhat.com> |
| 327 | |
| 328 | * dwarf.h (DWARF3_LENGTH_MIN_ESCAPE_CODE): New define. |
| 329 | (DWARF3_LENGTH_MAX_ESCAPE_CODE): New define. |
| 330 | (DWARF3_LENGTH_64_BIT): New define. |
| 331 | * dwarf_getaranges (dwarf_getaranges): Use the new definitions. |
| 332 | * dwarf_getpubnames: Include dwarf.h. |
| 333 | (get_offsets): Use the new definitions. |
| 334 | * dwarf_getsrclines.c (dwarf_getsrclines): Use the new defintions. |
| 335 | * dwarf_nextcu.c: Include dwarf.h. Correct comment. |
| 336 | (dwarf_nextcu): Use the new definitions. |
| 337 | |
| 338 | * libdwP.h (DIE_OFFSET_FROM_CU_OFFSET): New macro. |
Ulrich Drepper | a969d8e | 2008-01-22 06:15:00 +0000 | [diff] [blame] | 339 | * dwarf_diecu.c (dwarf_diecu): Use the new macro. |
Ulrich Drepper | 35f08c4 | 2008-01-18 19:59:08 +0000 | [diff] [blame] | 340 | * dwarf_getaranges (dwarf_getaranges): Use the new macro. |
| 341 | * dwarf_nextcu.c (dwarf_nextcu): Use the new macro. |
| 342 | |
| 343 | * dwarf_getpubnames (get_offsets): Replace assertion with test and |
| 344 | error return. |
| 345 | |
| 346 | * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Use CUDIE. |
| 347 | |
| 348 | * dwarf_siblingof (dwarf_siblingof): Detect a NULL return pointer. |
| 349 | Set the address in the return structure to the address of the next |
| 350 | non-sibling die, if there is no sibling and the return pointer is |
| 351 | not the same as the die pointer. |
| 352 | * libdw.h: Expand the description of the dwarf_siblingof prototype. |
| 353 | |
| 354 | * dwarf_child.c: Fix typo in comment. |
| 355 | |
| 356 | * libdwP.h (DWARF_VERSION): Change to 3. |
| 357 | |
| 358 | * dwarf_formref.c (__libdw_formref.c): Handle attributes which do |
| 359 | not have a initialised valp pointer. |
| 360 | |
| 361 | * dwarf_getattrs.c (dwarf_getattrs): Return 1 rather than 0 when |
| 362 | the end of the attributes is reached. When the callback fails, |
| 363 | return the address of the failing attribute, not the address of |
| 364 | its successor. |
| 365 | * libdw.h: Expand the description of the dwarf_getattrs prototype. |
| 366 | |
| 367 | * dwarf_child.c (__libdw_find_attr): Use the new definition. |
| 368 | (dwarf_child): Likewise. |
| 369 | * dwarf_tag.c (__libdw_findabbrev): Likewise. |
| 370 | (dwarf_tag): Likewise. |
| 371 | |
Ulrich Drepper | e219f1c | 2008-01-09 05:49:49 +0000 | [diff] [blame] | 372 | 2008-01-08 Roland McGrath <roland@redhat.com> |
| 373 | |
| 374 | * Makefile.am (euinclude): Variable removed. |
| 375 | (pkginclude_HEADERS): Set this instead of euinclude_HEADERS. |
| 376 | (libdw.so): Pass -Wl,--enable-new-dtags,-rpath,$(pkglibdir). |
| 377 | |
Roland McGrath | e4c22ea | 2007-10-23 13:07:39 +0000 | [diff] [blame] | 378 | 2007-10-17 Roland McGrath <roland@redhat.com> |
| 379 | |
| 380 | * libdw.h (__deprecated_attribute__): New macro. |
| 381 | (dwarf_formref): Mark it deprecated. |
| 382 | * dwarf_formref.c (__libdw_formref): New function, broken out of ... |
| 383 | (dwarf_formref): ... here. Call it. Remove INTDEF. |
| 384 | * libdwP.h: Remove INTDECL. |
| 385 | Declare __libdw_formref. |
| 386 | * dwarf_siblingof.c (dwarf_siblingof): Call __libdw_formref instead. |
| 387 | * dwarf_formref_die.c: Likewise. Handle DW_FORM_ref_addr here. |
| 388 | |
| 389 | * libdw_form.c (__libdw_form_val_len): Fix DW_FORM_ref_addr result, |
| 390 | needs to check CU->version. |
| 391 | |
| 392 | * libdwP.h (struct Dwarf_CU): New member `version'. |
| 393 | * libdw_findcu.c (__libdw_findcu): Initialize it. |
| 394 | |
| 395 | * dwarf_child.c: Return 1 for null entry as first child. |
| 396 | |
Ulrich Drepper | b597dfa | 2007-10-16 05:21:27 +0000 | [diff] [blame] | 397 | 2007-10-05 Roland McGrath <roland@redhat.com> |
| 398 | |
| 399 | * dwarf_begin_elf.c (check_section): Punt on SHT_NOBITS sections. |
| 400 | |
| 401 | * libdw.h (__extern_inline): Rename to __libdw_extern_inline. |
| 402 | [__OPTIMIZE__] (dwarf_whatattr, dwarf_whatform): Update uses. |
| 403 | |
Roland McGrath | 59ea7f3 | 2007-10-04 08:50:09 +0000 | [diff] [blame] | 404 | 2007-10-03 Roland McGrath <roland@redhat.com> |
| 405 | |
| 406 | * libdw.map (ELFUTILS_0.130: Add dwfl_build_id_find_elf |
| 407 | and dwfl_build_id_find_debuginfo. |
| 408 | |
| 409 | * libdw.map (ELFUTILS_0.130): New version set, inherits from |
| 410 | ELFUTILS_0.127. Add dwfl_module_build_id, dwfl_module_report_build_id. |
| 411 | |
Roland McGrath | 057ec6b | 2007-10-02 20:55:05 +0000 | [diff] [blame] | 412 | 2007-10-02 Roland McGrath <roland@redhat.com> |
| 413 | |
| 414 | * libdw_visit_scopes.c (classify_die): Return walk for class_type and |
| 415 | structure_type. |
| 416 | |
Roland McGrath | d1a4817 | 2007-08-07 19:51:01 +0000 | [diff] [blame] | 417 | 2007-08-07 Roland McGrath <roland@redhat.com> |
| 418 | |
| 419 | * dwarf_getscopes.c (pc_match): Swallow dwarf_haspc error return when |
| 420 | error code is DWARF_E_NOERROR (0). |
| 421 | |
| 422 | * dwarf_getscopes.c (pc_record): Always bail early if DIE->prune. |
| 423 | Fix typo in __libdw_visit_scopes argument. |
| 424 | |
| 425 | * dwarf_getscopes.c (pc_match): Check dwarf_haspc error return, |
| 426 | swallow DWARF_E_NO_DEBUG_RANGES but not other errors. |
| 427 | |
Roland McGrath | 87d4780 | 2007-07-16 22:23:37 +0000 | [diff] [blame] | 428 | 2007-07-03 Roland McGrath <roland@redhat.com> |
| 429 | |
| 430 | * libdw.h (__extern_inline): New macro. |
| 431 | [__OPTIMIZE__] (dwarf_whatattr, dwarf_whatform): Use it. |
| 432 | |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 433 | 2007-04-16 Roland McGrath <roland@redhat.com> |
| 434 | |
| 435 | * libdw.map (ELFUTILS_0.127): Add dwfl_module_address_section. |
| 436 | |
Roland McGrath | bf2ee48 | 2007-04-05 09:27:36 +0000 | [diff] [blame] | 437 | 2007-04-05 Roland McGrath <roland@redhat.com> |
| 438 | |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 439 | * dwarf_getsrcdirs.c: New file. |
| 440 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 441 | * libdw.h: Declare dwarf_getsrcdirs. |
| 442 | * libdw.map (ELFUTILS_0.127): Add it. |
| 443 | |
| 444 | * libdwP.h (struct Dwarf_Files_s): New member ndirs. |
| 445 | * dwarf_getsrclines.c (dwarf_getsrclines): Don't clobber NDIRLIST to |
| 446 | zero before we use it to check for DWARF_E_INVALID_DIR_IDX. |
| 447 | Save DIRARRAY in the Dwarf_Files. |
| 448 | |
Roland McGrath | bf2ee48 | 2007-04-05 09:27:36 +0000 | [diff] [blame] | 449 | * dwarf_ranges.c (dwarf_ranges): Don't sign-extend 32-bit BEGIN |
| 450 | address to check for all-ones base address entry. Check directly. |
| 451 | Reported by Sébastien Dugué <sebastien.dugue@bull.net>. |
| 452 | |
Ulrich Drepper | c07fbb3 | 2007-03-30 19:14:59 +0000 | [diff] [blame] | 453 | 2007-03-25 Roland McGrath <roland@redhat.com> |
| 454 | |
| 455 | * dwarf_begin_elf.c (check_section): Return Dwarf * instead of void. |
| 456 | Return NULL when freeing RESULT on error. |
| 457 | (global_read, scngrp_read): Check return value from check_section, |
| 458 | break out of loop after it has freed RESULT. |
| 459 | (valid_p): Handle null argument. |
| 460 | |
Ulrich Drepper | 6258e74 | 2007-03-13 06:22:40 +0000 | [diff] [blame] | 461 | 2007-03-12 Roland McGrath <roland@redhat.com> |
| 462 | |
| 463 | * libdw.map (ELFUTILS_0.127): Add dwfl_report_begin_add. |
| 464 | |
| 465 | 2007-03-04 Roland McGrath <roland@redhat.com> |
| 466 | |
| 467 | * libdw.map (ELFUTILS_0.127): New version set, inherits from |
| 468 | ELFUTILS_0.126. Add dwfl_module_addrsym. |
| 469 | |
Ulrich Drepper | 903c116 | 2007-02-15 19:40:37 +0000 | [diff] [blame] | 470 | 2007-02-10 Roland McGrath <roland@redhat.com> |
| 471 | |
| 472 | * dwarf.h (DW_OP_fbreg): Comment fix. |
| 473 | |
Ulrich Drepper | aa915fd | 2007-02-05 07:25:33 +0000 | [diff] [blame] | 474 | 2007-02-03 Roland McGrath <roland@redhat.com> |
| 475 | |
| 476 | * dwarf_getelf.c (dwarf_getelf): Renamed from dwarf_get_elf. |
| 477 | * libdw.map (ELFUTILS_0.126): New version set, inherits from |
| 478 | ELFUTILS_0.122. Move dwarf_getelf there; it was never truly |
| 479 | exported in the past. |
| 480 | |
Roland McGrath | 8190db6 | 2006-12-17 23:56:51 +0000 | [diff] [blame] | 481 | 2006-12-17 Roland McGrath <roland@redhat.com> |
| 482 | |
| 483 | * dwarf_getlocation.c (dwarf_getlocation_addr): Use zero as base |
| 484 | address when the CU is missing attributes due to buggy GCC. |
| 485 | |
Roland McGrath | c373d85 | 2006-10-10 00:25:21 +0000 | [diff] [blame] | 486 | 2006-08-29 Roland McGrath <roland@redhat.com> |
| 487 | |
| 488 | * Makefile.am (CLEANFILES): Add libdw.so.$(VERSION). |
| 489 | |
| 490 | * libdw.h (dwarf_diecu): Add __nonnull_attribute__. |
| 491 | (dwarf_child): Don't list arg 1 in __nonnull_attribute__. |
| 492 | |
| 493 | * libdw_alloc.c (__libdw_allocate): Take new ALIGN argument, make sure |
| 494 | result is aligned. Adjust NEWP->remaining here for this allocation. |
| 495 | * libdwP.h: Update decl. |
| 496 | (libdw_alloc): Update caller. |
| 497 | |
Ulrich Drepper | 077c65f | 2006-07-12 19:54:51 +0000 | [diff] [blame] | 498 | 2006-07-12 Ulrich Drepper <drepper@redhat.com> |
| 499 | |
| 500 | * dwarf_child.c: Adjust for internal_function_def removal. |
| 501 | * dwarf_getabbrev.c: Likewise. |
| 502 | * dwarf_tag.c: Likewise. |
| 503 | * libdw_form.c: Likewise. |
| 504 | * memory-access.c: Likewise. |
| 505 | |
Ulrich Drepper | e1812e1 | 2006-07-12 07:46:03 +0000 | [diff] [blame] | 506 | 2006-06-28 Roland McGrath <roland@redhat.com> |
| 507 | |
| 508 | * libdw.map: Export dwfl_linecu, dwfl_line_comp_dir. |
| 509 | |
| 510 | * libdw.map: Bump to 0.122; export dwfl_module_getsymtab and |
| 511 | dwfl_module_getsym. |
| 512 | |
Ulrich Drepper | 3be7447 | 2006-05-27 18:15:40 +0000 | [diff] [blame] | 513 | 2006-05-27 Ulrich Drepper <drepper@redhat.com> |
| 514 | |
| 515 | * libdw.h: Add extern "C". |
| 516 | |
Ulrich Drepper | e7a7317 | 2006-05-22 18:16:45 +0000 | [diff] [blame] | 517 | 2006-05-22 Ulrich Drepper <drepper@redhat.com> |
| 518 | |
| 519 | * dwarf_getaranges.c (dwarf_getaranges): Handle files without |
| 520 | aranges information. |
| 521 | |
Ulrich Drepper | 4f3d2a2 | 2006-05-22 01:30:56 +0000 | [diff] [blame] | 522 | 2006-05-21 Ulrich Drepper <drepper@redhat.com> |
| 523 | |
| 524 | * libdw.h: Add nonnull attributes to dwarf_tag, dwarf_getattrs, |
| 525 | dwarf_haschildren. |
| 526 | |
Roland McGrath | 2dade66 | 2006-02-28 22:13:20 +0000 | [diff] [blame] | 527 | 2006-02-28 Roland McGrath <roland@redhat.com> |
| 528 | |
| 529 | * dwarf.h: Add missing DW_ATE_*, DW_TAG_*, DW_LANG_*, DW_CFA_*, |
| 530 | DW_OP_* values, to match DWARF 3.0. Add new DW_DS_*, DW_END_* |
| 531 | values from DWARF 3.0. |
| 532 | |
Roland McGrath | 0833312 | 2006-02-27 04:54:26 +0000 | [diff] [blame] | 533 | 2006-02-22 Roland McGrath <roland@redhat.com> |
| 534 | |
| 535 | * libdw.map: Bump to 0.120; export dwfl_version. |
| 536 | |
Roland McGrath | 50ffcbf | 2005-12-23 01:51:43 +0000 | [diff] [blame] | 537 | 2005-12-22 Roland McGrath <roland@redhat.com> |
| 538 | |
| 539 | * libdw.map: Bump to 0.119; export dwfl_linux_proc_maps_report. |
| 540 | |
Roland McGrath | dec3a24 | 2005-12-12 08:35:55 +0000 | [diff] [blame] | 541 | 2005-12-12 Roland McGrath <roland@redhat.com> |
| 542 | |
| 543 | * dwarf_ranges.c: Copy CU base address-finding code from |
| 544 | dwarf_getlocation. |
| 545 | |
Roland McGrath | f64a442 | 2005-12-09 23:40:30 +0000 | [diff] [blame] | 546 | 2005-12-09 Roland McGrath <roland@redhat.com> |
| 547 | |
| 548 | * dwarf_getlocation.c (dwarf_getlocation_addr): Add some unlikelys. |
| 549 | Delay CU base lookup until it's needed. |
| 550 | If CU base lookup fails with no error, flag invalid DWARF. |
| 551 | |
Roland McGrath | 994b489 | 2005-12-05 22:46:21 +0000 | [diff] [blame] | 552 | 2005-11-25 Roland McGrath <roland@redhat.com> |
| 553 | |
| 554 | * libdw.map: Bump to 0.118; export dwfl_module_register_names. |
| 555 | |
Roland McGrath | e47ab76 | 2005-11-17 03:16:00 +0000 | [diff] [blame] | 556 | 2005-11-15 Roland McGrath <roland@redhat.com> |
| 557 | |
| 558 | * Makefile.am [BUILD_STATIC] (AM_CFLAGS): Add -fpic. |
| 559 | |
| 560 | 2005-11-13 Roland McGrath <roland@redhat.com> |
| 561 | |
| 562 | * libdw.map: Bump to 0.117; export dwfl_module_return_value_location. |
| 563 | |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 564 | 2005-10-27 Roland McGrath <roland@redhat.com> |
| 565 | |
| 566 | * dwarf_entry_breakpoints.c (search_range): Fix binary search code; |
| 567 | don't match end_sequence markers. |
| 568 | |
| 569 | * dwarf_getsrclines.c (compare_lines): Sort end_sequence markers |
| 570 | before normal records at the same address. |
| 571 | * dwarf_getsrc_die.c (dwarf_getsrc_die): Don't match an end_sequence |
| 572 | marker. |
| 573 | |
| 574 | 2005-10-26 Roland McGrath <roland@redhat.com> |
| 575 | |
Roland McGrath | 6724c90 | 2005-10-28 07:07:19 +0000 | [diff] [blame] | 576 | * dwarf_getfuncs.c (dwarf_getfuncs): Use Dwarf_Die, not Dwarf_Func. |
| 577 | * dwarf_func_file.c: Renamed to ... |
| 578 | * dwarf_decl_file.c: ... here. |
| 579 | * dwarf_func_col.c: Renamed to ... |
| 580 | * dwarf_decl_column.c: ... here. |
| 581 | * dwarf_func_line.c: Renamed to ... |
| 582 | * dwarf_decl_line.c: ... here. |
| 583 | (dwarf_func_line): Renamed to ... |
| 584 | (dwarf_decl_line): ... this. Take a Dwarf_Die * argument. |
| 585 | (__libdw_func_intval): Renamed __libdw_attr_intval. |
| 586 | * dwarf_func_name.c: File removed. |
| 587 | * dwarf_func_lowpc.c: File removed. |
| 588 | * dwarf_func_highpc.c: File removed. |
| 589 | * dwarf_func_entrypc.c: File removed. |
| 590 | * dwarf_func_die.c: File removed. |
| 591 | * Makefile.am (libdw_a_SOURCES): Updated. |
| 592 | * libdw.h: Update decls. |
| 593 | (Dwarf_Func): Type removed. |
| 594 | * libdwP.h: Update decls. |
| 595 | (struct Dwarf_Func_s): Type removed. |
| 596 | * libdw.map: Updated. |
| 597 | |
| 598 | * libdwP.h (CUDIE): New macro. |
| 599 | * dwarf_getlocation.c (dwarf_getlocation_addr): Use it. |
| 600 | * dwarf_getscopes_die.c (dwarf_getscopes_die): Likewise. |
| 601 | * dwarf_ranges.c (dwarf_ranges): Likewise. |
| 602 | |
| 603 | * dwarf_getloclist.c: Renamed to ... |
| 604 | * dwarf_getlocation.c: ... here. |
| 605 | (getloclist): Renamed to getlocation. |
| 606 | (dwarf_getloclist): Renamed to dwarf_getlocation. |
| 607 | (dwarf_addrloclists): Renamed to dwarf_getlocation_addr. |
| 608 | * Makefile.am (libdw_a_SOURCES): Updated. |
| 609 | * libdw.h (dwarf_getloclist): Renamed to dwarf_getlocation. |
| 610 | (dwarf_addrloclists): Renamed dwarf_getlocation_addr. |
| 611 | (Dwarf_Loc): Renamed Dwarf_Op. |
| 612 | * libdwP.h (struct loc_s): Update use. |
| 613 | * libdw.map: Update map. |
| 614 | |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 615 | * dwarf_entry_breakpoints.c: Use the second line record within the |
| 616 | function, regardless of its source location data. |
| 617 | |
| 618 | 2005-10-25 Roland McGrath <roland@redhat.com> |
| 619 | |
| 620 | * dwarf_entry_breakpoints.c: Fall back to entrypc for contiguous too. |
| 621 | |
| 622 | * libdw.map: Add dwarf_entrypc, dwarf_entry_breakpoints. |
| 623 | |
| 624 | 2005-10-14 Roland McGrath <roland@redhat.com> |
| 625 | |
| 626 | * dwarf_diecu.c (dwarf_diecu): New file. |
| 627 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 628 | * libdw.h: Declare dwarf_diecu. |
| 629 | * libdw.map: Export it. |
| 630 | |
| 631 | * libdw.map: Bump to 0.116; export dwarf_ranges. |
| 632 | |
| 633 | 2005-09-20 Roland McGrath <roland@redhat.com> |
| 634 | |
| 635 | * dwarf_haspc.c: Use dwarf_ranges. |
| 636 | * dwarf_entry_breakpoints.c: Likewise. |
| 637 | |
| 638 | * dwarf_ranges.c: New file. |
| 639 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 640 | * libdw.h: Declare dwarf_ranges. |
| 641 | * libdwP.h: Add INTDECL. |
| 642 | |
| 643 | 2005-09-14 Roland McGrath <roland@redhat.com> |
| 644 | |
| 645 | * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Fix braino in |
| 646 | prologue_end marker scanning loop. |
| 647 | |
| 648 | 2005-09-11 Roland McGrath <roland@redhat.com> |
| 649 | |
| 650 | * dwarf.h: Comment typo fix. |
| 651 | |
| 652 | 2005-09-07 Roland McGrath <roland@redhat.com> |
| 653 | |
| 654 | * dwarf_entry_breakpoints.c: New file. |
| 655 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 656 | * libdw.h: Declare dwarf_entry_breakpoints. |
| 657 | |
| 658 | * dwarf_entrypc.c: New file. |
| 659 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 660 | * libdw.h: Declare dwarf_entrypc. |
| 661 | * libdwP.h: Add INTDECL. |
| 662 | |
Ulrich Drepper | fbe998a | 2005-08-29 16:27:10 +0000 | [diff] [blame] | 663 | 2005-08-28 Ulrich Drepper <drepper@redhat.com> |
| 664 | |
| 665 | * Makefile.am: Use $(LINK) not $(CC) when creating DSO. |
| 666 | (%.os): Use COMPILE.os. |
| 667 | (COMPILE.os): Filter out gconv options. |
| 668 | |
Roland McGrath | 71e15a0 | 2005-08-27 10:33:26 +0000 | [diff] [blame] | 669 | 2005-08-27 Roland McGrath <roland@redhat.com> |
| 670 | |
| 671 | * dwarf_getscopes.c (dwarf_getscopes): Rewritten using |
| 672 | __libdw_visit_scopes. |
| 673 | |
| 674 | * dwarf_getscopes_die.c: New file. |
| 675 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 676 | * libdw.h: Declare dwarf_getscopes_die. |
| 677 | * libdw.map: Bump to 0.115 and add it. |
| 678 | |
| 679 | * libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct |
| 680 | containing a DIE and its parent pointer, instead of just Dwarf_Die. |
| 681 | Take two functions for both preorder and postorder visitors. |
| 682 | * libdwP.h: Update decl. |
| 683 | (struct Dwarf_Die_Chain): New type. |
| 684 | * dwarf_func_inline.c: Update uses. |
| 685 | |
| 686 | * dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate. |
| 687 | Add INTDEF. |
| 688 | * libdwP.h: Add INTDECL. |
| 689 | * dwarf_func_name.c (dwarf_func_name): Use dwarf_diename. |
| 690 | |
Roland McGrath | d17fac7 | 2005-08-23 08:20:21 +0000 | [diff] [blame] | 691 | 2005-08-23 Roland McGrath <roland@redhat.com> |
| 692 | |
| 693 | * dwarf_attr_integrate.c (dwarf_attr_integrate): Treat |
| 694 | DW_AT_specification the same as DW_AT_abstract_origin. |
| 695 | |
| 696 | 2005-08-20 Roland McGrath <roland@redhat.com> |
| 697 | |
| 698 | * libdw.map: Add dwfl_cumodule, remove dwfl_linecu. |
| 699 | Add dwfl_linux_kernel_report_offline, dwfl_offline_section_address, |
| 700 | and dwfl_report_offline. |
| 701 | |
| 702 | 2005-08-19 Roland McGrath <roland@redhat.com> |
| 703 | |
| 704 | * libdw.map: Bump version to ELFUTILS_0.114 for libdwfl changes. |
| 705 | Add dwfl_module_relocate_address, dwfl_module_relocations, |
| 706 | dwfl_module_relocation_info. |
| 707 | |
Roland McGrath | f5fda7d | 2005-08-18 22:01:57 +0000 | [diff] [blame] | 708 | 2005-08-18 Roland McGrath <roland@redhat.com> |
| 709 | |
| 710 | * dwarf_getscopes.c (dwarf_getscopes): Include the CU itself as |
| 711 | outermost scope in the results. |
| 712 | |
Roland McGrath | 1ecb606 | 2005-08-15 09:53:04 +0000 | [diff] [blame] | 713 | 2005-08-15 Roland McGrath <roland@redhat.com> |
| 714 | |
| 715 | * dwarf_func_inline.c: New file. |
| 716 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 717 | * libdw.h: Declare dwarf_func_inline, dwarf_func_inline_instances. |
| 718 | * libdw.map: Add them. |
| 719 | |
| 720 | * dwarf_func_die.c: New file. |
| 721 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 722 | * libdw.h: Declare dwarf_func_die. |
| 723 | * libdw.map: Add it. Bump version to ELFUTILS_0.114. |
| 724 | |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 725 | 2005-08-10 Ulrich Drepper <drepper@redhat.com> |
Ulrich Drepper | 6d5c3bd | 2005-08-11 04:37:52 +0000 | [diff] [blame] | 726 | |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 727 | * dwarf_getsrclines.c (dwarf_getsrclines): Correct fallout of renaming |
| 728 | of DW_LNS_set_epilog_begin. |
Ulrich Drepper | 6d5c3bd | 2005-08-11 04:37:52 +0000 | [diff] [blame] | 729 | |
Roland McGrath | 4959bf8 | 2005-08-09 10:31:08 +0000 | [diff] [blame] | 730 | 2005-08-09 Roland McGrath <roland@redhat.com> |
| 731 | |
Roland McGrath | b6312e1 | 2005-08-09 10:36:01 +0000 | [diff] [blame] | 732 | * dwarf.h (DW_LNS_set_epilog_begin): Renamed DW_LNS_set_epilogue_begin. |
| 733 | |
Roland McGrath | 4959bf8 | 2005-08-09 10:31:08 +0000 | [diff] [blame] | 734 | * dwarf_end.c: Add INTDEF. |
| 735 | * dwarf_error.c (dwarf_errmsg): Likewise. |
| 736 | * libdwP.h (dwarf_end, dwarf_errmsg): Add INTDECLs. |
| 737 | |
Roland McGrath | a5a8968 | 2005-08-02 01:24:01 +0000 | [diff] [blame] | 738 | 2005-08-01 Roland McGrath <roland@redhat.com> |
| 739 | |
| 740 | * dwarf_getaranges.c (dwarf_getaranges): Check for bogus offset. |
| 741 | * dwarf_getabbrev.c (__libdw_getabbrev): Likewise. |
| 742 | |
Ulrich Drepper | 18618fd | 2005-07-28 21:29:22 +0000 | [diff] [blame] | 743 | 2005-07-28 Ulrich Drepper <drepper@redhat.com> |
| 744 | |
| 745 | * Makefile.am (libdw.so): No need to link with libeu.a anymore. |
| 746 | (libdw_a_LIBADD): Add all files from libdwfl.a. |
| 747 | |
Roland McGrath | 366784a | 2005-07-28 06:20:53 +0000 | [diff] [blame] | 748 | 2005-07-27 Roland McGrath <roland@redhat.com> |
| 749 | |
Roland McGrath | 1838590 | 2005-07-28 07:12:38 +0000 | [diff] [blame] | 750 | * Makefile.am (libdw.so): Link ../libdwfl/libdwfl_pic.a in, |
| 751 | along with ../libebl/libebl.a and ../lib/libeu.a; |
| 752 | depend on ../libelf/libelf.so. |
| 753 | (libdw_so_LDADD): New variable. |
| 754 | * libdw.map: Add dwfl_* symbols formerly in ../libdwfl/libdwfl.map. |
| 755 | |
Roland McGrath | 366784a | 2005-07-28 06:20:53 +0000 | [diff] [blame] | 756 | * libdw.map: Define an empty base version and move all symbols to |
| 757 | version ELFUTILS_0.111; don't define ELFUTILS_1.0 at all yet. |
| 758 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 759 | 2005-07-23 Ulrich Drepper <drepper@redhat.com> |
| 760 | |
| 761 | * dwarf_error.c: Add internal alias for dwarf_errno. |
| 762 | * libdwP.h: Declare __dwarf_errno_internal. |
| 763 | * dwarf_getloclist.c: Use INTDEF for dwarf_errno. |
| 764 | |
| 765 | * dwarf_error.c [USE_TLS]: Actually use __thread in definition of |
| 766 | global_error. |
| 767 | |
| 768 | 2005-06-01 Roland McGrath <roland@redhat.com> |
| 769 | |
| 770 | * dwarf_getaranges.c (dwarf_getaranges): Sort result array. |
| 771 | * dwarf_getarange_addr.c (dwarf_getarange_addr): Use binary search. |
| 772 | |
| 773 | 2005-06-08 Roland McGrath <roland@redhat.com> |
| 774 | |
| 775 | * memory-access.h (get_uleb128_step, get_uleb128): Remove casts. |
| 776 | (get_sleb128_step, get_sleb128): Likewise. |
| 777 | * dwarf_getattrs.c (dwarf_getattrs): Add consts. |
| 778 | * dwarf_getloclist.c (getloclist): Likewise. |
| 779 | * dwarf_formblock.c (dwarf_formblock): Likewise. |
| 780 | * dwarf_getsrclines.c (dwarf_getsrclines): Likewise. |
| 781 | * dwarf_getabbrevattr.c (dwarf_getabbrevattr): Likewise. |
| 782 | * dwarf_formref.c (dwarf_formref): Likewise. |
| 783 | * dwarf_formsdata.c (dwarf_formsdata): Likewise. |
| 784 | * dwarf_formudata.c (dwarf_formudata): Likewise. |
| 785 | * dwarf_haschildren.c (dwarf_haschildren): Likewise. |
| 786 | * dwarf_child.c (__libdw_find_attr, __libdw_find_attr): Likewise. |
| 787 | * dwarf_tag.c (dwarf_tag): Likewise. |
| 788 | * dwarf_getabbrev.c (__libdw_getabbrev): Likewise. |
| 789 | * memory-access.c (__libdw_get_uleb128, __libdw_get_sleb128): Likewise. |
| 790 | * libdw_form.c (__libdw_form_val_len): Likewise. |
| 791 | * libdwP.h: Update decl. |
| 792 | |
| 793 | 2005-06-04 Roland McGrath <roland@redhat.com> |
| 794 | |
| 795 | * memory-access.h (get_uleb128_rest_return): New macro. |
| 796 | [! IS_LIBDW] (__libdw_get_uleb128): New static, defined using it. |
| 797 | (get_sleb128_rest_return): New macro. |
| 798 | [! IS_LIBDW] (__libdw_get_sleb128): New static, defined using it. |
| 799 | * memory-access.c: New file. |
| 800 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 801 | (DEFS): Add -DIS_LIBDW. |
| 802 | |
| 803 | 2005-05-31 Roland McGrath <roland@redhat.com> |
| 804 | |
| 805 | * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to |
| 806 | formref offset. |
| 807 | |
| 808 | 2005-05-30 Roland McGrath <roland@redhat.com> |
| 809 | |
| 810 | * dwarf_getloclist.c (dwarf_addrloclists): Use DW_AT_entry_pc for base |
| 811 | address if DW_AT_low_pc is missing. Not to spec, but GCC generates it. |
| 812 | |
| 813 | * dwarf_getloclist.c (dwarf_addrloclists): Don't sign-extend 4-byte |
| 814 | BEGIN value. Instead, match base address entries separately for |
| 815 | 32/64 size cases. |
| 816 | |
| 817 | 2005-05-28 Roland McGrath <roland@redhat.com> |
| 818 | |
| 819 | * dwarf_getloclist.c (dwarf_addrloclists): Fix decoding to advance |
| 820 | past location expression contents. |
| 821 | |
| 822 | 2005-05-23 Roland McGrath <roland@redhat.com> |
| 823 | |
| 824 | * dwarf_getsrclines.c: Comment typo fix. |
| 825 | |
| 826 | * dwarf_haspc.c (dwarf_haspc): Fix CU DIE address calculation. |
| 827 | * dwarf_getloclist.c (dwarf_addrloclists): Likewise. |
| 828 | |
| 829 | 2005-05-22 Ulrich Drepper <drepper@redhat.com> |
| 830 | |
| 831 | * libdwP.h: Only use INTDECL for alias prototypes. |
| 832 | |
| 833 | 2005-05-19 Roland McGrath <roland@redhat.com> |
| 834 | |
| 835 | * dwarf_getloclist.c (attr_ok): Permit DW_AT_static_link too. |
| 836 | |
| 837 | * dwarf_getscopevar.c: New file. |
| 838 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 839 | * libdw.h: Declare dwarf_getscopevar. |
| 840 | |
| 841 | * dwarf_getsrcfiles.c: Add INTDEF. |
| 842 | * dwarf_haschildren.c: Likewise. |
| 843 | * libdwP.h (dwarf_getsrcfiles, dwarf_haschildren): Add INTDECL. |
| 844 | |
| 845 | * dwarf_getscopes.c: New file. |
| 846 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 847 | * libdw.h: Declare dwarf_getscopes. |
| 848 | * libdw.map: Add it. |
| 849 | |
| 850 | 2005-05-18 Roland McGrath <roland@redhat.com> |
| 851 | |
| 852 | * libdwP.h (IDX_debug_ranges): New enum constant. |
| 853 | * dwarf_begin_elf.c (dwarf_scnnames): Add it for ".debug_ranges". |
| 854 | * libdwP.h (DWARF_E_NO_DEBUG_RANGES): New enum constant. |
| 855 | * dwarf_error.c (errmsgs): Add it. |
| 856 | * dwarf_haspc.c: New file. |
| 857 | * libdw.h: Declare dwarf_haspc. |
| 858 | * libdw.map: Add it. |
| 859 | * libdwP.h: Add INTDECL. |
| 860 | |
| 861 | * dwarf_attr_integrate.c: New file. |
| 862 | * dwarf_hasattr_integrate.c: New file. |
| 863 | * Makefile.am (libdw_a_SOURCES): Add them. |
| 864 | * libdw.h: Declare dwarf_attr_integrate, dwarf_hasattr_integrate. |
| 865 | * libdw.map: Add them. |
| 866 | |
| 867 | * dwarf_hasattr.c: Add INTDEF. |
| 868 | * libdwP.h: Add INTDECL for it. |
| 869 | |
| 870 | * dwarf_formref_die.c: New file. |
| 871 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 872 | * libdw.h (dwarf_formref_die): Declare it. |
| 873 | * libdwP.h (dwarf_formref_die): Add INTDECL. |
| 874 | * libdw.map: Add it. |
| 875 | |
| 876 | * dwarf_getloclist.c (attr_ok, getloclist): New functions, broken out |
| 877 | of ... |
| 878 | (dwarf_getloclist): ... here. Call them. |
| 879 | (dwarf_addrloclists): New function. |
| 880 | * libdw.h: Declare it. |
| 881 | * libdw.map: Add it. |
| 882 | |
| 883 | * dwarf_getmacros.c (dwarf_getmacros): Don't bail at |
| 884 | DW_MACINFO_end_file. Recognize type 0 as terminator. |
| 885 | |
| 886 | 2005-05-05 Roland McGrath <roland@redhat.com> |
| 887 | |
| 888 | * dwarf_getsrc_die.c (dwarf_getsrc_die): Use binary search. |
| 889 | |
| 890 | * dwarf_getsrclines.c (dwarf_getsrclines): Sort result array, since |
| 891 | the line program does not produce all entries in ascending order. |
| 892 | |
| 893 | 2005-04-25 Ulrich Drepper <drepper@redhat.com> |
| 894 | |
| 895 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Handle multiple |
| 896 | occurences (e.g., inlines) better. |
| 897 | |
| 898 | 2005-04-24 Ulrich Drepper <drepper@redhat.com> |
| 899 | |
| 900 | * libdw.h (DWARF_END_ABBREV): Define. |
| 901 | * dwarf_getabbrev.c (__libdw_getabbrev): Return DWARF_END_ABBREV if |
| 902 | end is reached. |
| 903 | * dwarf_offabbrev.c (dwarf_offabbrev): Return -1 on error, 1 if end |
| 904 | of records reached. |
| 905 | * dwarf_tag.c (__libdw_findabbrev): Also recognize DWARF_END_ABBREV |
| 906 | as error of __libdw_getabbrev. |
| 907 | |
| 908 | 2005-04-04 Ulrich Drepper <drepper@redhat.com> |
| 909 | |
| 910 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Minor optimization. |
| 911 | |
| 912 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Always pass number of |
| 913 | results back to caller. |
| 914 | |
| 915 | 2005-04-04 Roland McGrath <roland@redhat.com> |
| 916 | |
| 917 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Use size_t for CUHL. |
| 918 | |
| 919 | * dwarf_func_line.c (__libdw_func_intval): Use internal_function in |
| 920 | defn. |
| 921 | |
| 922 | 2005-04-04 Ulrich Drepper <drepper@redhat.com> |
| 923 | |
| 924 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Use INTUSE. |
| 925 | |
| 926 | * dwarf_getsrc_file.c: New file. |
| 927 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrc_file.c. |
| 928 | * libdw.h: Declare dwarf_getsrc_file. |
| 929 | * libdw.map: Add dwarf_getsrc_file. |
| 930 | |
| 931 | 2005-04-02 Ulrich Drepper <drepper@redhat.com> |
| 932 | |
| 933 | * dwarf_func_entrypc.c: New file. |
| 934 | * dwarf_func_col.c: New file. |
| 935 | * dwarf_func_line.c: New file. |
| 936 | * dwarf_func_file.c: New file. |
| 937 | * libdw.h: Add prototypes for new functions. |
| 938 | * libdw.map: Add dwarf_func_entrypc, dwarf_func_col, dwarf_func_line, |
| 939 | dwarf_func_file. |
| 940 | * Makefile.am (libdw_a_SOURCES): Add dwarf_func_entrypc.c, |
| 941 | dwarf_func_col.c, dwarf_func_line.c, dwarf_func_file.c. |
| 942 | * libdwP.h (struct Dwarf_Func_s): Add cudie element. |
| 943 | Declare __libdw_func_intval and __dwarf_formsdata_internal. |
| 944 | * dwarf_getfuncs.c: Also fill in cudie in Dwarf_Func object. |
| 945 | * dwarf_formsdata.c: Use INTUSE and INTDEF to avoid PLTs. |
| 946 | |
| 947 | * dwarf.h: Add some DWARF3 definitions. |
| 948 | |
| 949 | 2005-04-01 Ulrich Drepper <drepper@redhat.com> |
| 950 | |
| 951 | * dwarf_getfuncs.c: New file. |
| 952 | * dwarf_func_highpc.c: New file. |
| 953 | * dwarf_func_lowpc.c: New file. |
| 954 | * dwarf_func_name.c: New file. |
| 955 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getfuncs.c, |
| 956 | dwarf_func_highpc.c, dwarf_func_lowpc.c, and dwarf_func_name.c. |
| 957 | * libdw.map: Add dwarf_getfuncs, dwarf_func_highpc, dwarf_func_lowpc, |
| 958 | and dwarf_func_name. |
| 959 | * libdw.h: Add prototypes for new functions. |
| 960 | * dwarf_child.c: Use INTUSE and INTDEF to avoid PLTs. |
| 961 | * dwarf_siblingof.c: Likewise. |
| 962 | * dwarf_dieoffset.c: Likewise. |
| 963 | * dwarf_highpc.c: Likewise. |
| 964 | * dwarf_lowpc.c: Likewise. |
| 965 | * libdwP.h: Add prototypes for internal functions. |
| 966 | Define Dwarf_Func_s structure. |
| 967 | |
| 968 | 2005-03-29 Ulrich Drepper <drepper@redhat.com> |
| 969 | |
| 970 | * libdw.h: Add padding in Dwarf_die. |
| 971 | |
| 972 | * dwarf_arrayorder.c: Use INTUSE and INTDEF to avoid PLTs. |
| 973 | * dwarf_attr.c: Likewise. |
| 974 | * dwarf_begin.c: Likewise. |
| 975 | * dwarf_begin_elf.c: Likewise. |
| 976 | * dwarf_bitoffset.c: Likewise. |
| 977 | * dwarf_bitsize.c: Likewise. |
| 978 | * dwarf_bytesize.c: Likewise. |
| 979 | * dwarf_diename.c: Likewise. |
| 980 | * dwarf_formaddr.c: Likewise. |
| 981 | * dwarf_formblock.c: Likewise. |
| 982 | * dwarf_formref.c: Likewise. |
| 983 | * dwarf_formstring.c: Likewise. |
| 984 | * dwarf_formudata.c: Likewise. |
| 985 | * dwarf_getarange_addr.c: Likewise. |
| 986 | * dwarf_getarangeinfo.c: Likewise. |
| 987 | * dwarf_getaranges.c: Likewise. |
| 988 | * dwarf_getloclist.c: Likewise. |
| 989 | * dwarf_getmacros.c: Likewise. |
| 990 | * dwarf_getsrc_die.c: Likewise. |
| 991 | * dwarf_getsrcfiles.c: Likewise. |
| 992 | * dwarf_getsrclines.c: Likewise. |
| 993 | * dwarf_highpc.c: Likewise. |
| 994 | * dwarf_lowpc.c: Likewise. |
| 995 | * dwarf_nextcu.c: Likewise. |
| 996 | * dwarf_offdie.c: Likewise. |
| 997 | * dwarf_siblingof.c: Likewise. |
| 998 | * dwarf_srclang.c: Likewise. |
| 999 | * dwarf_tag.c: Likewise. |
| 1000 | * libdw_findcu.c: Likewise. |
| 1001 | * libdwP.h: Add prototypes for internal functions. |
| 1002 | |
| 1003 | * dwarf_addrdie.c: New file. |
| 1004 | * dwarf_macro_opcode.c: New file. |
| 1005 | * dwarf_macro_param1.c: New file. |
| 1006 | * dwarf_macro_param2.c: New file. |
| 1007 | * libdw.h: Add declarations. Move Dwarf_Macro definition to libdwP.h. |
| 1008 | * libdwP.h: Remove Dwarf_Macro definition. |
| 1009 | * Makefile.am (libdw_a_SOURCES): Add dwarf_addrdie.c, |
| 1010 | dwarf_macro_opcode.c, dwarf_macro_param1.c, and dwarf_macro_param2.c. |
| 1011 | * libdw.map: Add entries for new functions. |
| 1012 | |
| 1013 | 2005-03-21 Ulrich Drepper <drepper@redhat.com> |
| 1014 | |
| 1015 | * libdw.h: Handle broken gcc < 4. |
| 1016 | |
| 1017 | 2005-02-15 Ulrich Drepper <drepper@redhat.com> |
| 1018 | |
| 1019 | * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2. |
| 1020 | |
| 1021 | * dwarf_begin_elf.c: Fix warnings. |
| 1022 | * dwarf_dieoffset.c: Likewise. |
| 1023 | * dwarf_end.c: Likewise. |
| 1024 | * dwarf_error.c: Likewise. |
| 1025 | * dwarf_getpubnames.c: Likewise. |
| 1026 | |
| 1027 | * libdwP.h: Add new error values. |
| 1028 | * dwarf_error.c: Support new error values. |
| 1029 | * dwarf_getpubnames.c: Check parameter value. |
| 1030 | |
| 1031 | 2005-02-05 Ulrich Drepper <drepper@redhat.com> |
| 1032 | |
| 1033 | * Makefile.am: Check for text relocations in constructed DSO. |
| 1034 | |
| 1035 | * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. |
| 1036 | |
| 1037 | 2005-02-04 Ulrich Drepper <drepper@redhat.com> |
| 1038 | |
| 1039 | * dwarf_siblingof.c (dwarf_siblingof): Add some buffer boundary |
| 1040 | checks to not read over buffer boundaries for ill-formed DWARF data. |
| 1041 | |
| 1042 | 2004-09-25 Ulrich Drepper <drepper@redhat.com> |
| 1043 | |
| 1044 | * dwarf_child.c: Make compile with gcc 4.0. |
| 1045 | * dwarf_error.c: Likewise. |
| 1046 | * dwarf_formblock.c: Likewise. |
| 1047 | * dwarf_getabbrev.c: Likewise. |
| 1048 | * dwarf_getattrs.c: Likewise. |
| 1049 | * dwarf_getsrclines.c: Likewise. |
| 1050 | * dwarf_tag.c: Likewise. |
| 1051 | * libdw_form.c: Likewise. |
| 1052 | |
| 1053 | 2004-01-20 Ulrich Drepper <drepper@redhat.com> |
| 1054 | |
| 1055 | * Makefile.am: Support building with mudflap. |
| 1056 | |
| 1057 | * dwarf_getloclist.c: Fix warnings gcc 3.4 spits out. |
| 1058 | * dwarf_getsrclines.c: Likewise. |
| 1059 | * dwarf_memory-access.h: Likewise. |
| 1060 | |
| 1061 | 2004-01-19 Ulrich Drepper <drepper@redhat.com> |
| 1062 | |
| 1063 | * dwarf_getsrcfiles.c: Third parameter can be NULL. |
| 1064 | |
| 1065 | * libdw.h: Define Dwarf_macro. Declare dwarf_getmacros. |
| 1066 | Third parameter of dwarf_getsrcfiles can be NULL. |
| 1067 | |
| 1068 | * libdw.map: Add dwarf_getmacros. |
| 1069 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getmacros. |
| 1070 | * dwarf_getmacros.c: New file. |
| 1071 | |
| 1072 | 2004-01-18 Ulrich Drepper <drepper@redhat.com> |
| 1073 | |
| 1074 | * libdw.h: Second parameter of dwarf_getaranges can be NULL. |
| 1075 | |
| 1076 | * dwarf_nextcu.c: Return -1 if dwarf parameter is NULL. |
| 1077 | |
| 1078 | * dwarf_getsrclines.c: |
| 1079 | Use read_2ubyte_unaligned_inc instead of _inc-less variant. |
| 1080 | |
| 1081 | * dwarf_getaranges.c: Allow naranges parameter to be NULL. |
| 1082 | |
| 1083 | * libdwP.h (_): Use elfutils domain. |
| 1084 | |
| 1085 | * dwarf_getsrclines.c (dwarf_getsrclines): Add more branch prediction. |
| 1086 | |
| 1087 | * dwarf_getsrclines.c: Fix typo in comment. |
| 1088 | |
| 1089 | 2004-01-17 Ulrich Drepper <drepper@redhat.com> |
| 1090 | |
| 1091 | * Makefile.am: Support building with mudflap. |
| 1092 | |
| 1093 | 2004-01-16 Ulrich Drepper <drepper@redhat.com> |
| 1094 | |
| 1095 | * memory-access.h: Add lots of const in case a pointer passed is const. |
| 1096 | |
| 1097 | * dwarf_formflag.c: New file. |
| 1098 | * dwarf_getattrs.c: New file. |
| 1099 | * dwarf_error.c: Add new error value. |
| 1100 | * libdw.h: Add prototypes for new functions. Adjust prototype for |
| 1101 | dwarf_getpubnames. |
| 1102 | * libdw.map: Add new functions. |
| 1103 | * dwarf_getpubnames.c: Change type of return value and fourth parameter |
| 1104 | to ptrdiff_t. |
| 1105 | * libdwP.h: Add new error value. |
| 1106 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getattrs.c and |
| 1107 | dwarf_formflag.c. |
| 1108 | |
| 1109 | * dwarf_getpubnames.c (dwarf_getpubnames): Just fail if dbg is NULL. |
| 1110 | |
| 1111 | 2004-01-12 Ulrich Drepper <drepper@redhat.com> |
| 1112 | |
| 1113 | * dwarf_getarange_addr.c: New file |
| 1114 | * dwarf_getarangeinfo.c: New file. |
| 1115 | * dwarf_getaranges.c: New file. |
| 1116 | * dwarf_onerange.c: New file. |
| 1117 | * libdw.h: Declare new functions. Define Dwarf_Arange and |
| 1118 | Dwarf_Aranges. |
| 1119 | * libdw.map: Add new functions. |
| 1120 | * libdwP.h: Add new errors. Add aranges member to struct Dwarf. |
| 1121 | Define Dwarf_Aranges_s and Dwarf_Arange_s. |
| 1122 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getaranges.c, |
| 1123 | dwarf_onearange.c, dwarf_getarangeinfo.c, dwarf_getarange_addr.c. |
| 1124 | * dwarf_error.c: Add new message. |
| 1125 | |
| 1126 | 2004-01-11 Ulrich Drepper <drepper@redhat.com> |
| 1127 | |
| 1128 | * Makefile.am (libdw_a_SOURCES): Add dwarf_lineaddr.c, dwarf_linecol.c, |
| 1129 | dwarf_linebeginstatement.c, dwarf_lineendsequence.c, dwarf_lineblock.c, |
| 1130 | dwarf_lineprologueend.c, dwarf_lineepiloguebegin.c, dwarf_onesrcline.c. |
| 1131 | * dwarf_error.c: Add another message. |
| 1132 | * dwarf_getsrc_die.c: Adjust for Dwarf_Files and Dwarf_Lines |
| 1133 | introduction. |
| 1134 | * dwarf_filesrc.c: Likewise. |
| 1135 | * dwarf_getsrcfiles.c: Likewise. |
| 1136 | * dwarf_getsrclines.c: Likewise. |
| 1137 | * dwarf_lineaddr.c: New file. |
| 1138 | * dwarf_linebeginstatement.c: New file. |
| 1139 | * dwarf_lineblock.c: New file. |
| 1140 | * dwarf_linecol.c: New file. |
| 1141 | * dwarf_lineendsequence.c: New file. |
| 1142 | * dwarf_lineepiloguebegin.c: New file. |
| 1143 | * dwarf_lineno.c: New file. |
| 1144 | * dwarf_lineprologueend.c: New file. |
| 1145 | * dwarf_onesrcline.c: New file. |
| 1146 | * dwarf_lineno.c: Change interface to store result in object pointed |
| 1147 | to by second parameter. |
| 1148 | * libdw.h: Add prototypes for new functions. Change dwarf_lineno |
| 1149 | prototype. Define Dwarf_Files and Dwarf_Lines. |
| 1150 | * libdw.map: Add new functions. |
| 1151 | * libdwP.h: Define Dwarf_Files_s and Dwarf_Lines_s. |
| 1152 | * libdw_findcu.c: Don't initialize nlines field. |
| 1153 | |
| 1154 | * dwarf_siblingof: Little optimization. |
| 1155 | |
| 1156 | * dwarf_begin.c: Remember that the ELF descriptor must be closed. |
| 1157 | * dwarf_end.c: Close ELF descriptor if free_elf is set. |
| 1158 | * libdwP.h (struct Dwarf): Add free_elf field. |
| 1159 | |
| 1160 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getstring.c and |
| 1161 | dwarf_offabbrev.c. |
| 1162 | * dwarf_getstring.c: New file. |
| 1163 | * dwarf_offabbrev.c: New file. |
| 1164 | * libdw.map: Add dwarf_getstring and dwarf_offabbrev. |
| 1165 | * dwarf_getabbrev.c (__libdw_getabbrev): Add new dbg and result |
| 1166 | parameters. Don't allocate memory if not necessary and don't lookup |
| 1167 | previous results if no CU given. |
| 1168 | (dwarf_getabbrev): Adjust call to __libdw_getabbrev. |
| 1169 | * dwarf_tag.c: Adjust call to __libdw_getabbrev. |
| 1170 | * libdw.h: Declare dwarf_offabbrev and dwarf_getstring. |
| 1171 | * libdwP.h: Change prototype for __libdw_getabbrev. |
| 1172 | |
| 1173 | * dwarf_getabbrevattr.c: Add offsetp parameter. Fill in before |
| 1174 | returning if this is wanted. |
| 1175 | |
| 1176 | 2004-01-09 Ulrich Drepper <drepper@redhat.com> |
| 1177 | |
| 1178 | * dwarf_nextcu.c: Add new parameter offset_sizep. Initialize it |
| 1179 | with offset_size value. |
| 1180 | * libdw.h: Adjust dwarf_nextcu prototype. |
| 1181 | * libdwP.h (struct Dwarf_CU): Add offset_size member. |
| 1182 | * libdw_findcu.c: Adjust dwarf_nextcu call. Initialize offset_size |
| 1183 | member of new CU struct. |
| 1184 | * dwarf_formstring.c: Depend on offset_size not address_size for |
| 1185 | DW_FORM_strp handling. |
| 1186 | * dwarf_form.c: Likewise for DW_FORM_strp and DW_FORM_ref_addr. |
| 1187 | |
| 1188 | * dwarf_tag.c (__libdw_findabbrev): Return correct value for |
| 1189 | failing lookup. |
| 1190 | (dwarf_tag): Correctly recognize failed lookup. |
| 1191 | |
| 1192 | * dwarf_end.c (cu_free): Call tdestroy for locs member. Use new |
| 1193 | function noop_free. |
| 1194 | * dwarf_error.c: Add message for DWARF_E_NO_BLOCK. |
| 1195 | * dwarf_formblock.c: New file. |
| 1196 | * dwarf_getloclist.c: Rewrite to handle a single block. |
| 1197 | * libdw.h: Define Dwarf_Block. Rename Dwarf_Loc members. Remove |
| 1198 | Dwarf_Locdesc definition. Declare dwarf_formblock. Remove |
| 1199 | dwarf_getloclistent declaration. |
| 1200 | * libdw.map: Add dwarf_formblock, remove dwarf_getloclistent. |
| 1201 | * libdwP.h: Define struct loc_s and DWARF_E_NO_BLOCK. |
| 1202 | Add locs member to struct Dwarf_CU. |
| 1203 | * libdw_fundcu.c: Initialize locs member of new CU. |
| 1204 | * Makefile.am (libdw_a_SOURCES): Add dwarf_formblock.c. |
| 1205 | Remove dwarf_getloclistent.c. |
| 1206 | |
| 1207 | 2004-01-07 Ulrich Drepper <drepper@redhat.com> |
| 1208 | |
| 1209 | * libdw.h: Use __nonnull__ attribute only for gcc >= 3.3. |
| 1210 | * libdwP.h: Likewise. |
| 1211 | |
| 1212 | * dwarf_getloclist.c: New file. |
| 1213 | * dwarf_getloclistent.c: New file. |
| 1214 | * libdw.h: Define Dwarf_Loc and Dwarf_Locdesc. |
| 1215 | Declare dwarf_getloclistent and dwarf_getloclist. |
| 1216 | * libdw.map: Add dwarf_getloclistent and dwarf_getloclist. |
| 1217 | * libdwP.h: Define DWARF_E_NO_LOCLIST. |
| 1218 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getloclistent.c and |
| 1219 | dwarf_getloclist.c. |
| 1220 | |
| 1221 | * dwarf_error.c: More error messages. |
| 1222 | |
| 1223 | 2004-01-06 Ulrich Drepper <drepper@redhat.com> |
| 1224 | |
| 1225 | * dwarf_getsrclines.c: Remove debugging support. |
| 1226 | |
| 1227 | * dwarf_getsrcfiles.c: New file. |
| 1228 | * dwarf_filesrc.c: New file. |
| 1229 | * libdw.h: Declare these functions. Define Dwarf_File. |
| 1230 | * libdwP.c: Adjust Dwarf_File_s definition. |
| 1231 | * libdw.map: Add these functions. |
| 1232 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrcfiles.c and |
| 1233 | dwarf_filesrc.c. |
| 1234 | * dwarf_getsrclines.c: Initialize cu->files. |
| 1235 | |
| 1236 | 2004-01-05 Ulrich Drepper <drepper@redhat.com> |
| 1237 | |
| 1238 | * libdw.h: Add more nonnull function attributes. |
| 1239 | |
| 1240 | * dwarf_begin_elf.c (dwarf_begin_elf): Don't initialize mem_tail->next. |
| 1241 | * dwarf_end.c (cu_free): New function. |
| 1242 | (dwarf_end): Also free CU tree. Correct freeing of memory blocks. |
| 1243 | * dwarf_error.c (errmsgs): Add new messages. |
| 1244 | * dwarf_getsrc_die.c: New file. |
| 1245 | * dwarf_getsrclines.c: New file. |
| 1246 | * dwarf_lineno.c: New file. |
| 1247 | * dwarf_linesrc.c: New file. |
| 1248 | * dwarf_nextcu.c (dwarf_nextcu): Use read_*byte_unaligned_inc |
| 1249 | instead of the *_inc-less variants. |
| 1250 | * libdw.h: Define Dwarf_Line. Add some function attributes. Declare |
| 1251 | dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, and dwarf_linesrc. |
| 1252 | * libdw.map: Add dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, |
| 1253 | and dwarf_linesrc. |
| 1254 | * libdwP.h: Add more error codes. |
| 1255 | (struct Dwarf): Remove mem_tail.next member. |
| 1256 | (Dwarf_File): Define type. |
| 1257 | (struct Dwarf_Line_s): Define type. |
| 1258 | (struct Dwarf_CU): Add lines and nlines members. |
| 1259 | (libdw_alloc): Define local variable _tail and use it. |
| 1260 | Add some function attributes. |
| 1261 | * libdw_alloc.c (__libdw_allocate): Don't initialize next member. |
| 1262 | * libdw_findcu.c (__libdw_findcu): Initialize lines and nlines members. |
| 1263 | * memory-access.h: Add unlikely for the endian conversion paths. |
| 1264 | * Makefile.am (AM_CFLAGS): Add -std parameter. |
| 1265 | (libdw_a_SOURCES): Add dwarf_getsrclines, dwarf_getsrc_die, |
| 1266 | dwarf_lineno, and dwarf_linesrc. |
| 1267 | |
| 1268 | 2003-08-11 Ulrich Drepper <drepper@redhat.com> |
| 1269 | |
| 1270 | * Moved to CVS archive. |