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