Roland McGrath | bf2ee48 | 2007-04-05 09:27:36 +0000 | [diff] [blame^] | 1 | 2007-04-05 Roland McGrath <roland@redhat.com> |
| 2 | |
| 3 | * dwarf_ranges.c (dwarf_ranges): Don't sign-extend 32-bit BEGIN |
| 4 | address to check for all-ones base address entry. Check directly. |
| 5 | Reported by Sébastien Dugué <sebastien.dugue@bull.net>. |
| 6 | |
Ulrich Drepper | c07fbb3 | 2007-03-30 19:14:59 +0000 | [diff] [blame] | 7 | 2007-03-25 Roland McGrath <roland@redhat.com> |
| 8 | |
| 9 | * dwarf_begin_elf.c (check_section): Return Dwarf * instead of void. |
| 10 | Return NULL when freeing RESULT on error. |
| 11 | (global_read, scngrp_read): Check return value from check_section, |
| 12 | break out of loop after it has freed RESULT. |
| 13 | (valid_p): Handle null argument. |
| 14 | |
Ulrich Drepper | 6258e74 | 2007-03-13 06:22:40 +0000 | [diff] [blame] | 15 | 2007-03-12 Roland McGrath <roland@redhat.com> |
| 16 | |
| 17 | * libdw.map (ELFUTILS_0.127): Add dwfl_report_begin_add. |
| 18 | |
| 19 | 2007-03-04 Roland McGrath <roland@redhat.com> |
| 20 | |
| 21 | * libdw.map (ELFUTILS_0.127): New version set, inherits from |
| 22 | ELFUTILS_0.126. Add dwfl_module_addrsym. |
| 23 | |
Ulrich Drepper | 903c116 | 2007-02-15 19:40:37 +0000 | [diff] [blame] | 24 | 2007-02-10 Roland McGrath <roland@redhat.com> |
| 25 | |
| 26 | * dwarf.h (DW_OP_fbreg): Comment fix. |
| 27 | |
Ulrich Drepper | aa915fd | 2007-02-05 07:25:33 +0000 | [diff] [blame] | 28 | 2007-02-03 Roland McGrath <roland@redhat.com> |
| 29 | |
| 30 | * dwarf_getelf.c (dwarf_getelf): Renamed from dwarf_get_elf. |
| 31 | * libdw.map (ELFUTILS_0.126): New version set, inherits from |
| 32 | ELFUTILS_0.122. Move dwarf_getelf there; it was never truly |
| 33 | exported in the past. |
| 34 | |
Roland McGrath | 8190db6 | 2006-12-17 23:56:51 +0000 | [diff] [blame] | 35 | 2006-12-17 Roland McGrath <roland@redhat.com> |
| 36 | |
| 37 | * dwarf_getlocation.c (dwarf_getlocation_addr): Use zero as base |
| 38 | address when the CU is missing attributes due to buggy GCC. |
| 39 | |
Roland McGrath | c373d85 | 2006-10-10 00:25:21 +0000 | [diff] [blame] | 40 | 2006-08-29 Roland McGrath <roland@redhat.com> |
| 41 | |
| 42 | * Makefile.am (CLEANFILES): Add libdw.so.$(VERSION). |
| 43 | |
| 44 | * libdw.h (dwarf_diecu): Add __nonnull_attribute__. |
| 45 | (dwarf_child): Don't list arg 1 in __nonnull_attribute__. |
| 46 | |
| 47 | * libdw_alloc.c (__libdw_allocate): Take new ALIGN argument, make sure |
| 48 | result is aligned. Adjust NEWP->remaining here for this allocation. |
| 49 | * libdwP.h: Update decl. |
| 50 | (libdw_alloc): Update caller. |
| 51 | |
Ulrich Drepper | 077c65f | 2006-07-12 19:54:51 +0000 | [diff] [blame] | 52 | 2006-07-12 Ulrich Drepper <drepper@redhat.com> |
| 53 | |
| 54 | * dwarf_child.c: Adjust for internal_function_def removal. |
| 55 | * dwarf_getabbrev.c: Likewise. |
| 56 | * dwarf_tag.c: Likewise. |
| 57 | * libdw_form.c: Likewise. |
| 58 | * memory-access.c: Likewise. |
| 59 | |
Ulrich Drepper | e1812e1 | 2006-07-12 07:46:03 +0000 | [diff] [blame] | 60 | 2006-06-28 Roland McGrath <roland@redhat.com> |
| 61 | |
| 62 | * libdw.map: Export dwfl_linecu, dwfl_line_comp_dir. |
| 63 | |
| 64 | * libdw.map: Bump to 0.122; export dwfl_module_getsymtab and |
| 65 | dwfl_module_getsym. |
| 66 | |
Ulrich Drepper | 3be7447 | 2006-05-27 18:15:40 +0000 | [diff] [blame] | 67 | 2006-05-27 Ulrich Drepper <drepper@redhat.com> |
| 68 | |
| 69 | * libdw.h: Add extern "C". |
| 70 | |
Ulrich Drepper | e7a7317 | 2006-05-22 18:16:45 +0000 | [diff] [blame] | 71 | 2006-05-22 Ulrich Drepper <drepper@redhat.com> |
| 72 | |
| 73 | * dwarf_getaranges.c (dwarf_getaranges): Handle files without |
| 74 | aranges information. |
| 75 | |
Ulrich Drepper | 4f3d2a2 | 2006-05-22 01:30:56 +0000 | [diff] [blame] | 76 | 2006-05-21 Ulrich Drepper <drepper@redhat.com> |
| 77 | |
| 78 | * libdw.h: Add nonnull attributes to dwarf_tag, dwarf_getattrs, |
| 79 | dwarf_haschildren. |
| 80 | |
Roland McGrath | 2dade66 | 2006-02-28 22:13:20 +0000 | [diff] [blame] | 81 | 2006-02-28 Roland McGrath <roland@redhat.com> |
| 82 | |
| 83 | * dwarf.h: Add missing DW_ATE_*, DW_TAG_*, DW_LANG_*, DW_CFA_*, |
| 84 | DW_OP_* values, to match DWARF 3.0. Add new DW_DS_*, DW_END_* |
| 85 | values from DWARF 3.0. |
| 86 | |
Roland McGrath | 0833312 | 2006-02-27 04:54:26 +0000 | [diff] [blame] | 87 | 2006-02-22 Roland McGrath <roland@redhat.com> |
| 88 | |
| 89 | * libdw.map: Bump to 0.120; export dwfl_version. |
| 90 | |
Roland McGrath | 50ffcbf | 2005-12-23 01:51:43 +0000 | [diff] [blame] | 91 | 2005-12-22 Roland McGrath <roland@redhat.com> |
| 92 | |
| 93 | * libdw.map: Bump to 0.119; export dwfl_linux_proc_maps_report. |
| 94 | |
Roland McGrath | dec3a24 | 2005-12-12 08:35:55 +0000 | [diff] [blame] | 95 | 2005-12-12 Roland McGrath <roland@redhat.com> |
| 96 | |
| 97 | * dwarf_ranges.c: Copy CU base address-finding code from |
| 98 | dwarf_getlocation. |
| 99 | |
Roland McGrath | f64a442 | 2005-12-09 23:40:30 +0000 | [diff] [blame] | 100 | 2005-12-09 Roland McGrath <roland@redhat.com> |
| 101 | |
| 102 | * dwarf_getlocation.c (dwarf_getlocation_addr): Add some unlikelys. |
| 103 | Delay CU base lookup until it's needed. |
| 104 | If CU base lookup fails with no error, flag invalid DWARF. |
| 105 | |
Roland McGrath | 994b489 | 2005-12-05 22:46:21 +0000 | [diff] [blame] | 106 | 2005-11-25 Roland McGrath <roland@redhat.com> |
| 107 | |
| 108 | * libdw.map: Bump to 0.118; export dwfl_module_register_names. |
| 109 | |
Roland McGrath | e47ab76 | 2005-11-17 03:16:00 +0000 | [diff] [blame] | 110 | 2005-11-15 Roland McGrath <roland@redhat.com> |
| 111 | |
| 112 | * Makefile.am [BUILD_STATIC] (AM_CFLAGS): Add -fpic. |
| 113 | |
| 114 | 2005-11-13 Roland McGrath <roland@redhat.com> |
| 115 | |
| 116 | * libdw.map: Bump to 0.117; export dwfl_module_return_value_location. |
| 117 | |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 118 | 2005-10-27 Roland McGrath <roland@redhat.com> |
| 119 | |
| 120 | * dwarf_entry_breakpoints.c (search_range): Fix binary search code; |
| 121 | don't match end_sequence markers. |
| 122 | |
| 123 | * dwarf_getsrclines.c (compare_lines): Sort end_sequence markers |
| 124 | before normal records at the same address. |
| 125 | * dwarf_getsrc_die.c (dwarf_getsrc_die): Don't match an end_sequence |
| 126 | marker. |
| 127 | |
| 128 | 2005-10-26 Roland McGrath <roland@redhat.com> |
| 129 | |
Roland McGrath | 6724c90 | 2005-10-28 07:07:19 +0000 | [diff] [blame] | 130 | * dwarf_getfuncs.c (dwarf_getfuncs): Use Dwarf_Die, not Dwarf_Func. |
| 131 | * dwarf_func_file.c: Renamed to ... |
| 132 | * dwarf_decl_file.c: ... here. |
| 133 | * dwarf_func_col.c: Renamed to ... |
| 134 | * dwarf_decl_column.c: ... here. |
| 135 | * dwarf_func_line.c: Renamed to ... |
| 136 | * dwarf_decl_line.c: ... here. |
| 137 | (dwarf_func_line): Renamed to ... |
| 138 | (dwarf_decl_line): ... this. Take a Dwarf_Die * argument. |
| 139 | (__libdw_func_intval): Renamed __libdw_attr_intval. |
| 140 | * dwarf_func_name.c: File removed. |
| 141 | * dwarf_func_lowpc.c: File removed. |
| 142 | * dwarf_func_highpc.c: File removed. |
| 143 | * dwarf_func_entrypc.c: File removed. |
| 144 | * dwarf_func_die.c: File removed. |
| 145 | * Makefile.am (libdw_a_SOURCES): Updated. |
| 146 | * libdw.h: Update decls. |
| 147 | (Dwarf_Func): Type removed. |
| 148 | * libdwP.h: Update decls. |
| 149 | (struct Dwarf_Func_s): Type removed. |
| 150 | * libdw.map: Updated. |
| 151 | |
| 152 | * libdwP.h (CUDIE): New macro. |
| 153 | * dwarf_getlocation.c (dwarf_getlocation_addr): Use it. |
| 154 | * dwarf_getscopes_die.c (dwarf_getscopes_die): Likewise. |
| 155 | * dwarf_ranges.c (dwarf_ranges): Likewise. |
| 156 | |
| 157 | * dwarf_getloclist.c: Renamed to ... |
| 158 | * dwarf_getlocation.c: ... here. |
| 159 | (getloclist): Renamed to getlocation. |
| 160 | (dwarf_getloclist): Renamed to dwarf_getlocation. |
| 161 | (dwarf_addrloclists): Renamed to dwarf_getlocation_addr. |
| 162 | * Makefile.am (libdw_a_SOURCES): Updated. |
| 163 | * libdw.h (dwarf_getloclist): Renamed to dwarf_getlocation. |
| 164 | (dwarf_addrloclists): Renamed dwarf_getlocation_addr. |
| 165 | (Dwarf_Loc): Renamed Dwarf_Op. |
| 166 | * libdwP.h (struct loc_s): Update use. |
| 167 | * libdw.map: Update map. |
| 168 | |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 169 | * dwarf_entry_breakpoints.c: Use the second line record within the |
| 170 | function, regardless of its source location data. |
| 171 | |
| 172 | 2005-10-25 Roland McGrath <roland@redhat.com> |
| 173 | |
| 174 | * dwarf_entry_breakpoints.c: Fall back to entrypc for contiguous too. |
| 175 | |
| 176 | * libdw.map: Add dwarf_entrypc, dwarf_entry_breakpoints. |
| 177 | |
| 178 | 2005-10-14 Roland McGrath <roland@redhat.com> |
| 179 | |
| 180 | * dwarf_diecu.c (dwarf_diecu): New file. |
| 181 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 182 | * libdw.h: Declare dwarf_diecu. |
| 183 | * libdw.map: Export it. |
| 184 | |
| 185 | * libdw.map: Bump to 0.116; export dwarf_ranges. |
| 186 | |
| 187 | 2005-09-20 Roland McGrath <roland@redhat.com> |
| 188 | |
| 189 | * dwarf_haspc.c: Use dwarf_ranges. |
| 190 | * dwarf_entry_breakpoints.c: Likewise. |
| 191 | |
| 192 | * dwarf_ranges.c: New file. |
| 193 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 194 | * libdw.h: Declare dwarf_ranges. |
| 195 | * libdwP.h: Add INTDECL. |
| 196 | |
| 197 | 2005-09-14 Roland McGrath <roland@redhat.com> |
| 198 | |
| 199 | * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Fix braino in |
| 200 | prologue_end marker scanning loop. |
| 201 | |
| 202 | 2005-09-11 Roland McGrath <roland@redhat.com> |
| 203 | |
| 204 | * dwarf.h: Comment typo fix. |
| 205 | |
| 206 | 2005-09-07 Roland McGrath <roland@redhat.com> |
| 207 | |
| 208 | * dwarf_entry_breakpoints.c: New file. |
| 209 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 210 | * libdw.h: Declare dwarf_entry_breakpoints. |
| 211 | |
| 212 | * dwarf_entrypc.c: New file. |
| 213 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 214 | * libdw.h: Declare dwarf_entrypc. |
| 215 | * libdwP.h: Add INTDECL. |
| 216 | |
Ulrich Drepper | fbe998a | 2005-08-29 16:27:10 +0000 | [diff] [blame] | 217 | 2005-08-28 Ulrich Drepper <drepper@redhat.com> |
| 218 | |
| 219 | * Makefile.am: Use $(LINK) not $(CC) when creating DSO. |
| 220 | (%.os): Use COMPILE.os. |
| 221 | (COMPILE.os): Filter out gconv options. |
| 222 | |
Roland McGrath | 71e15a0 | 2005-08-27 10:33:26 +0000 | [diff] [blame] | 223 | 2005-08-27 Roland McGrath <roland@redhat.com> |
| 224 | |
| 225 | * dwarf_getscopes.c (dwarf_getscopes): Rewritten using |
| 226 | __libdw_visit_scopes. |
| 227 | |
| 228 | * dwarf_getscopes_die.c: New file. |
| 229 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 230 | * libdw.h: Declare dwarf_getscopes_die. |
| 231 | * libdw.map: Bump to 0.115 and add it. |
| 232 | |
| 233 | * libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct |
| 234 | containing a DIE and its parent pointer, instead of just Dwarf_Die. |
| 235 | Take two functions for both preorder and postorder visitors. |
| 236 | * libdwP.h: Update decl. |
| 237 | (struct Dwarf_Die_Chain): New type. |
| 238 | * dwarf_func_inline.c: Update uses. |
| 239 | |
| 240 | * dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate. |
| 241 | Add INTDEF. |
| 242 | * libdwP.h: Add INTDECL. |
| 243 | * dwarf_func_name.c (dwarf_func_name): Use dwarf_diename. |
| 244 | |
Roland McGrath | d17fac7 | 2005-08-23 08:20:21 +0000 | [diff] [blame] | 245 | 2005-08-23 Roland McGrath <roland@redhat.com> |
| 246 | |
| 247 | * dwarf_attr_integrate.c (dwarf_attr_integrate): Treat |
| 248 | DW_AT_specification the same as DW_AT_abstract_origin. |
| 249 | |
| 250 | 2005-08-20 Roland McGrath <roland@redhat.com> |
| 251 | |
| 252 | * libdw.map: Add dwfl_cumodule, remove dwfl_linecu. |
| 253 | Add dwfl_linux_kernel_report_offline, dwfl_offline_section_address, |
| 254 | and dwfl_report_offline. |
| 255 | |
| 256 | 2005-08-19 Roland McGrath <roland@redhat.com> |
| 257 | |
| 258 | * libdw.map: Bump version to ELFUTILS_0.114 for libdwfl changes. |
| 259 | Add dwfl_module_relocate_address, dwfl_module_relocations, |
| 260 | dwfl_module_relocation_info. |
| 261 | |
Roland McGrath | f5fda7d | 2005-08-18 22:01:57 +0000 | [diff] [blame] | 262 | 2005-08-18 Roland McGrath <roland@redhat.com> |
| 263 | |
| 264 | * dwarf_getscopes.c (dwarf_getscopes): Include the CU itself as |
| 265 | outermost scope in the results. |
| 266 | |
Roland McGrath | 1ecb606 | 2005-08-15 09:53:04 +0000 | [diff] [blame] | 267 | 2005-08-15 Roland McGrath <roland@redhat.com> |
| 268 | |
| 269 | * dwarf_func_inline.c: New file. |
| 270 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 271 | * libdw.h: Declare dwarf_func_inline, dwarf_func_inline_instances. |
| 272 | * libdw.map: Add them. |
| 273 | |
| 274 | * dwarf_func_die.c: New file. |
| 275 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 276 | * libdw.h: Declare dwarf_func_die. |
| 277 | * libdw.map: Add it. Bump version to ELFUTILS_0.114. |
| 278 | |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 279 | 2005-08-10 Ulrich Drepper <drepper@redhat.com> |
Ulrich Drepper | 6d5c3bd | 2005-08-11 04:37:52 +0000 | [diff] [blame] | 280 | |
Roland McGrath | 1c83bf1 | 2005-08-11 07:03:55 +0000 | [diff] [blame] | 281 | * dwarf_getsrclines.c (dwarf_getsrclines): Correct fallout of renaming |
| 282 | of DW_LNS_set_epilog_begin. |
Ulrich Drepper | 6d5c3bd | 2005-08-11 04:37:52 +0000 | [diff] [blame] | 283 | |
Roland McGrath | 4959bf8 | 2005-08-09 10:31:08 +0000 | [diff] [blame] | 284 | 2005-08-09 Roland McGrath <roland@redhat.com> |
| 285 | |
Roland McGrath | b6312e1 | 2005-08-09 10:36:01 +0000 | [diff] [blame] | 286 | * dwarf.h (DW_LNS_set_epilog_begin): Renamed DW_LNS_set_epilogue_begin. |
| 287 | |
Roland McGrath | 4959bf8 | 2005-08-09 10:31:08 +0000 | [diff] [blame] | 288 | * dwarf_end.c: Add INTDEF. |
| 289 | * dwarf_error.c (dwarf_errmsg): Likewise. |
| 290 | * libdwP.h (dwarf_end, dwarf_errmsg): Add INTDECLs. |
| 291 | |
Roland McGrath | a5a8968 | 2005-08-02 01:24:01 +0000 | [diff] [blame] | 292 | 2005-08-01 Roland McGrath <roland@redhat.com> |
| 293 | |
| 294 | * dwarf_getaranges.c (dwarf_getaranges): Check for bogus offset. |
| 295 | * dwarf_getabbrev.c (__libdw_getabbrev): Likewise. |
| 296 | |
Ulrich Drepper | 18618fd | 2005-07-28 21:29:22 +0000 | [diff] [blame] | 297 | 2005-07-28 Ulrich Drepper <drepper@redhat.com> |
| 298 | |
| 299 | * Makefile.am (libdw.so): No need to link with libeu.a anymore. |
| 300 | (libdw_a_LIBADD): Add all files from libdwfl.a. |
| 301 | |
Roland McGrath | 366784a | 2005-07-28 06:20:53 +0000 | [diff] [blame] | 302 | 2005-07-27 Roland McGrath <roland@redhat.com> |
| 303 | |
Roland McGrath | 1838590 | 2005-07-28 07:12:38 +0000 | [diff] [blame] | 304 | * Makefile.am (libdw.so): Link ../libdwfl/libdwfl_pic.a in, |
| 305 | along with ../libebl/libebl.a and ../lib/libeu.a; |
| 306 | depend on ../libelf/libelf.so. |
| 307 | (libdw_so_LDADD): New variable. |
| 308 | * libdw.map: Add dwfl_* symbols formerly in ../libdwfl/libdwfl.map. |
| 309 | |
Roland McGrath | 366784a | 2005-07-28 06:20:53 +0000 | [diff] [blame] | 310 | * libdw.map: Define an empty base version and move all symbols to |
| 311 | version ELFUTILS_0.111; don't define ELFUTILS_1.0 at all yet. |
| 312 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 313 | 2005-07-23 Ulrich Drepper <drepper@redhat.com> |
| 314 | |
| 315 | * dwarf_error.c: Add internal alias for dwarf_errno. |
| 316 | * libdwP.h: Declare __dwarf_errno_internal. |
| 317 | * dwarf_getloclist.c: Use INTDEF for dwarf_errno. |
| 318 | |
| 319 | * dwarf_error.c [USE_TLS]: Actually use __thread in definition of |
| 320 | global_error. |
| 321 | |
| 322 | 2005-06-01 Roland McGrath <roland@redhat.com> |
| 323 | |
| 324 | * dwarf_getaranges.c (dwarf_getaranges): Sort result array. |
| 325 | * dwarf_getarange_addr.c (dwarf_getarange_addr): Use binary search. |
| 326 | |
| 327 | 2005-06-08 Roland McGrath <roland@redhat.com> |
| 328 | |
| 329 | * memory-access.h (get_uleb128_step, get_uleb128): Remove casts. |
| 330 | (get_sleb128_step, get_sleb128): Likewise. |
| 331 | * dwarf_getattrs.c (dwarf_getattrs): Add consts. |
| 332 | * dwarf_getloclist.c (getloclist): Likewise. |
| 333 | * dwarf_formblock.c (dwarf_formblock): Likewise. |
| 334 | * dwarf_getsrclines.c (dwarf_getsrclines): Likewise. |
| 335 | * dwarf_getabbrevattr.c (dwarf_getabbrevattr): Likewise. |
| 336 | * dwarf_formref.c (dwarf_formref): Likewise. |
| 337 | * dwarf_formsdata.c (dwarf_formsdata): Likewise. |
| 338 | * dwarf_formudata.c (dwarf_formudata): Likewise. |
| 339 | * dwarf_haschildren.c (dwarf_haschildren): Likewise. |
| 340 | * dwarf_child.c (__libdw_find_attr, __libdw_find_attr): Likewise. |
| 341 | * dwarf_tag.c (dwarf_tag): Likewise. |
| 342 | * dwarf_getabbrev.c (__libdw_getabbrev): Likewise. |
| 343 | * memory-access.c (__libdw_get_uleb128, __libdw_get_sleb128): Likewise. |
| 344 | * libdw_form.c (__libdw_form_val_len): Likewise. |
| 345 | * libdwP.h: Update decl. |
| 346 | |
| 347 | 2005-06-04 Roland McGrath <roland@redhat.com> |
| 348 | |
| 349 | * memory-access.h (get_uleb128_rest_return): New macro. |
| 350 | [! IS_LIBDW] (__libdw_get_uleb128): New static, defined using it. |
| 351 | (get_sleb128_rest_return): New macro. |
| 352 | [! IS_LIBDW] (__libdw_get_sleb128): New static, defined using it. |
| 353 | * memory-access.c: New file. |
| 354 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 355 | (DEFS): Add -DIS_LIBDW. |
| 356 | |
| 357 | 2005-05-31 Roland McGrath <roland@redhat.com> |
| 358 | |
| 359 | * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to |
| 360 | formref offset. |
| 361 | |
| 362 | 2005-05-30 Roland McGrath <roland@redhat.com> |
| 363 | |
| 364 | * dwarf_getloclist.c (dwarf_addrloclists): Use DW_AT_entry_pc for base |
| 365 | address if DW_AT_low_pc is missing. Not to spec, but GCC generates it. |
| 366 | |
| 367 | * dwarf_getloclist.c (dwarf_addrloclists): Don't sign-extend 4-byte |
| 368 | BEGIN value. Instead, match base address entries separately for |
| 369 | 32/64 size cases. |
| 370 | |
| 371 | 2005-05-28 Roland McGrath <roland@redhat.com> |
| 372 | |
| 373 | * dwarf_getloclist.c (dwarf_addrloclists): Fix decoding to advance |
| 374 | past location expression contents. |
| 375 | |
| 376 | 2005-05-23 Roland McGrath <roland@redhat.com> |
| 377 | |
| 378 | * dwarf_getsrclines.c: Comment typo fix. |
| 379 | |
| 380 | * dwarf_haspc.c (dwarf_haspc): Fix CU DIE address calculation. |
| 381 | * dwarf_getloclist.c (dwarf_addrloclists): Likewise. |
| 382 | |
| 383 | 2005-05-22 Ulrich Drepper <drepper@redhat.com> |
| 384 | |
| 385 | * libdwP.h: Only use INTDECL for alias prototypes. |
| 386 | |
| 387 | 2005-05-19 Roland McGrath <roland@redhat.com> |
| 388 | |
| 389 | * dwarf_getloclist.c (attr_ok): Permit DW_AT_static_link too. |
| 390 | |
| 391 | * dwarf_getscopevar.c: New file. |
| 392 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 393 | * libdw.h: Declare dwarf_getscopevar. |
| 394 | |
| 395 | * dwarf_getsrcfiles.c: Add INTDEF. |
| 396 | * dwarf_haschildren.c: Likewise. |
| 397 | * libdwP.h (dwarf_getsrcfiles, dwarf_haschildren): Add INTDECL. |
| 398 | |
| 399 | * dwarf_getscopes.c: New file. |
| 400 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 401 | * libdw.h: Declare dwarf_getscopes. |
| 402 | * libdw.map: Add it. |
| 403 | |
| 404 | 2005-05-18 Roland McGrath <roland@redhat.com> |
| 405 | |
| 406 | * libdwP.h (IDX_debug_ranges): New enum constant. |
| 407 | * dwarf_begin_elf.c (dwarf_scnnames): Add it for ".debug_ranges". |
| 408 | * libdwP.h (DWARF_E_NO_DEBUG_RANGES): New enum constant. |
| 409 | * dwarf_error.c (errmsgs): Add it. |
| 410 | * dwarf_haspc.c: New file. |
| 411 | * libdw.h: Declare dwarf_haspc. |
| 412 | * libdw.map: Add it. |
| 413 | * libdwP.h: Add INTDECL. |
| 414 | |
| 415 | * dwarf_attr_integrate.c: New file. |
| 416 | * dwarf_hasattr_integrate.c: New file. |
| 417 | * Makefile.am (libdw_a_SOURCES): Add them. |
| 418 | * libdw.h: Declare dwarf_attr_integrate, dwarf_hasattr_integrate. |
| 419 | * libdw.map: Add them. |
| 420 | |
| 421 | * dwarf_hasattr.c: Add INTDEF. |
| 422 | * libdwP.h: Add INTDECL for it. |
| 423 | |
| 424 | * dwarf_formref_die.c: New file. |
| 425 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 426 | * libdw.h (dwarf_formref_die): Declare it. |
| 427 | * libdwP.h (dwarf_formref_die): Add INTDECL. |
| 428 | * libdw.map: Add it. |
| 429 | |
| 430 | * dwarf_getloclist.c (attr_ok, getloclist): New functions, broken out |
| 431 | of ... |
| 432 | (dwarf_getloclist): ... here. Call them. |
| 433 | (dwarf_addrloclists): New function. |
| 434 | * libdw.h: Declare it. |
| 435 | * libdw.map: Add it. |
| 436 | |
| 437 | * dwarf_getmacros.c (dwarf_getmacros): Don't bail at |
| 438 | DW_MACINFO_end_file. Recognize type 0 as terminator. |
| 439 | |
| 440 | 2005-05-05 Roland McGrath <roland@redhat.com> |
| 441 | |
| 442 | * dwarf_getsrc_die.c (dwarf_getsrc_die): Use binary search. |
| 443 | |
| 444 | * dwarf_getsrclines.c (dwarf_getsrclines): Sort result array, since |
| 445 | the line program does not produce all entries in ascending order. |
| 446 | |
| 447 | 2005-04-25 Ulrich Drepper <drepper@redhat.com> |
| 448 | |
| 449 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Handle multiple |
| 450 | occurences (e.g., inlines) better. |
| 451 | |
| 452 | 2005-04-24 Ulrich Drepper <drepper@redhat.com> |
| 453 | |
| 454 | * libdw.h (DWARF_END_ABBREV): Define. |
| 455 | * dwarf_getabbrev.c (__libdw_getabbrev): Return DWARF_END_ABBREV if |
| 456 | end is reached. |
| 457 | * dwarf_offabbrev.c (dwarf_offabbrev): Return -1 on error, 1 if end |
| 458 | of records reached. |
| 459 | * dwarf_tag.c (__libdw_findabbrev): Also recognize DWARF_END_ABBREV |
| 460 | as error of __libdw_getabbrev. |
| 461 | |
| 462 | 2005-04-04 Ulrich Drepper <drepper@redhat.com> |
| 463 | |
| 464 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Minor optimization. |
| 465 | |
| 466 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Always pass number of |
| 467 | results back to caller. |
| 468 | |
| 469 | 2005-04-04 Roland McGrath <roland@redhat.com> |
| 470 | |
| 471 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Use size_t for CUHL. |
| 472 | |
| 473 | * dwarf_func_line.c (__libdw_func_intval): Use internal_function in |
| 474 | defn. |
| 475 | |
| 476 | 2005-04-04 Ulrich Drepper <drepper@redhat.com> |
| 477 | |
| 478 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Use INTUSE. |
| 479 | |
| 480 | * dwarf_getsrc_file.c: New file. |
| 481 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrc_file.c. |
| 482 | * libdw.h: Declare dwarf_getsrc_file. |
| 483 | * libdw.map: Add dwarf_getsrc_file. |
| 484 | |
| 485 | 2005-04-02 Ulrich Drepper <drepper@redhat.com> |
| 486 | |
| 487 | * dwarf_func_entrypc.c: New file. |
| 488 | * dwarf_func_col.c: New file. |
| 489 | * dwarf_func_line.c: New file. |
| 490 | * dwarf_func_file.c: New file. |
| 491 | * libdw.h: Add prototypes for new functions. |
| 492 | * libdw.map: Add dwarf_func_entrypc, dwarf_func_col, dwarf_func_line, |
| 493 | dwarf_func_file. |
| 494 | * Makefile.am (libdw_a_SOURCES): Add dwarf_func_entrypc.c, |
| 495 | dwarf_func_col.c, dwarf_func_line.c, dwarf_func_file.c. |
| 496 | * libdwP.h (struct Dwarf_Func_s): Add cudie element. |
| 497 | Declare __libdw_func_intval and __dwarf_formsdata_internal. |
| 498 | * dwarf_getfuncs.c: Also fill in cudie in Dwarf_Func object. |
| 499 | * dwarf_formsdata.c: Use INTUSE and INTDEF to avoid PLTs. |
| 500 | |
| 501 | * dwarf.h: Add some DWARF3 definitions. |
| 502 | |
| 503 | 2005-04-01 Ulrich Drepper <drepper@redhat.com> |
| 504 | |
| 505 | * dwarf_getfuncs.c: New file. |
| 506 | * dwarf_func_highpc.c: New file. |
| 507 | * dwarf_func_lowpc.c: New file. |
| 508 | * dwarf_func_name.c: New file. |
| 509 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getfuncs.c, |
| 510 | dwarf_func_highpc.c, dwarf_func_lowpc.c, and dwarf_func_name.c. |
| 511 | * libdw.map: Add dwarf_getfuncs, dwarf_func_highpc, dwarf_func_lowpc, |
| 512 | and dwarf_func_name. |
| 513 | * libdw.h: Add prototypes for new functions. |
| 514 | * dwarf_child.c: Use INTUSE and INTDEF to avoid PLTs. |
| 515 | * dwarf_siblingof.c: Likewise. |
| 516 | * dwarf_dieoffset.c: Likewise. |
| 517 | * dwarf_highpc.c: Likewise. |
| 518 | * dwarf_lowpc.c: Likewise. |
| 519 | * libdwP.h: Add prototypes for internal functions. |
| 520 | Define Dwarf_Func_s structure. |
| 521 | |
| 522 | 2005-03-29 Ulrich Drepper <drepper@redhat.com> |
| 523 | |
| 524 | * libdw.h: Add padding in Dwarf_die. |
| 525 | |
| 526 | * dwarf_arrayorder.c: Use INTUSE and INTDEF to avoid PLTs. |
| 527 | * dwarf_attr.c: Likewise. |
| 528 | * dwarf_begin.c: Likewise. |
| 529 | * dwarf_begin_elf.c: Likewise. |
| 530 | * dwarf_bitoffset.c: Likewise. |
| 531 | * dwarf_bitsize.c: Likewise. |
| 532 | * dwarf_bytesize.c: Likewise. |
| 533 | * dwarf_diename.c: Likewise. |
| 534 | * dwarf_formaddr.c: Likewise. |
| 535 | * dwarf_formblock.c: Likewise. |
| 536 | * dwarf_formref.c: Likewise. |
| 537 | * dwarf_formstring.c: Likewise. |
| 538 | * dwarf_formudata.c: Likewise. |
| 539 | * dwarf_getarange_addr.c: Likewise. |
| 540 | * dwarf_getarangeinfo.c: Likewise. |
| 541 | * dwarf_getaranges.c: Likewise. |
| 542 | * dwarf_getloclist.c: Likewise. |
| 543 | * dwarf_getmacros.c: Likewise. |
| 544 | * dwarf_getsrc_die.c: Likewise. |
| 545 | * dwarf_getsrcfiles.c: Likewise. |
| 546 | * dwarf_getsrclines.c: Likewise. |
| 547 | * dwarf_highpc.c: Likewise. |
| 548 | * dwarf_lowpc.c: Likewise. |
| 549 | * dwarf_nextcu.c: Likewise. |
| 550 | * dwarf_offdie.c: Likewise. |
| 551 | * dwarf_siblingof.c: Likewise. |
| 552 | * dwarf_srclang.c: Likewise. |
| 553 | * dwarf_tag.c: Likewise. |
| 554 | * libdw_findcu.c: Likewise. |
| 555 | * libdwP.h: Add prototypes for internal functions. |
| 556 | |
| 557 | * dwarf_addrdie.c: New file. |
| 558 | * dwarf_macro_opcode.c: New file. |
| 559 | * dwarf_macro_param1.c: New file. |
| 560 | * dwarf_macro_param2.c: New file. |
| 561 | * libdw.h: Add declarations. Move Dwarf_Macro definition to libdwP.h. |
| 562 | * libdwP.h: Remove Dwarf_Macro definition. |
| 563 | * Makefile.am (libdw_a_SOURCES): Add dwarf_addrdie.c, |
| 564 | dwarf_macro_opcode.c, dwarf_macro_param1.c, and dwarf_macro_param2.c. |
| 565 | * libdw.map: Add entries for new functions. |
| 566 | |
| 567 | 2005-03-21 Ulrich Drepper <drepper@redhat.com> |
| 568 | |
| 569 | * libdw.h: Handle broken gcc < 4. |
| 570 | |
| 571 | 2005-02-15 Ulrich Drepper <drepper@redhat.com> |
| 572 | |
| 573 | * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2. |
| 574 | |
| 575 | * dwarf_begin_elf.c: Fix warnings. |
| 576 | * dwarf_dieoffset.c: Likewise. |
| 577 | * dwarf_end.c: Likewise. |
| 578 | * dwarf_error.c: Likewise. |
| 579 | * dwarf_getpubnames.c: Likewise. |
| 580 | |
| 581 | * libdwP.h: Add new error values. |
| 582 | * dwarf_error.c: Support new error values. |
| 583 | * dwarf_getpubnames.c: Check parameter value. |
| 584 | |
| 585 | 2005-02-05 Ulrich Drepper <drepper@redhat.com> |
| 586 | |
| 587 | * Makefile.am: Check for text relocations in constructed DSO. |
| 588 | |
| 589 | * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. |
| 590 | |
| 591 | 2005-02-04 Ulrich Drepper <drepper@redhat.com> |
| 592 | |
| 593 | * dwarf_siblingof.c (dwarf_siblingof): Add some buffer boundary |
| 594 | checks to not read over buffer boundaries for ill-formed DWARF data. |
| 595 | |
| 596 | 2004-09-25 Ulrich Drepper <drepper@redhat.com> |
| 597 | |
| 598 | * dwarf_child.c: Make compile with gcc 4.0. |
| 599 | * dwarf_error.c: Likewise. |
| 600 | * dwarf_formblock.c: Likewise. |
| 601 | * dwarf_getabbrev.c: Likewise. |
| 602 | * dwarf_getattrs.c: Likewise. |
| 603 | * dwarf_getsrclines.c: Likewise. |
| 604 | * dwarf_tag.c: Likewise. |
| 605 | * libdw_form.c: Likewise. |
| 606 | |
| 607 | 2004-01-20 Ulrich Drepper <drepper@redhat.com> |
| 608 | |
| 609 | * Makefile.am: Support building with mudflap. |
| 610 | |
| 611 | * dwarf_getloclist.c: Fix warnings gcc 3.4 spits out. |
| 612 | * dwarf_getsrclines.c: Likewise. |
| 613 | * dwarf_memory-access.h: Likewise. |
| 614 | |
| 615 | 2004-01-19 Ulrich Drepper <drepper@redhat.com> |
| 616 | |
| 617 | * dwarf_getsrcfiles.c: Third parameter can be NULL. |
| 618 | |
| 619 | * libdw.h: Define Dwarf_macro. Declare dwarf_getmacros. |
| 620 | Third parameter of dwarf_getsrcfiles can be NULL. |
| 621 | |
| 622 | * libdw.map: Add dwarf_getmacros. |
| 623 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getmacros. |
| 624 | * dwarf_getmacros.c: New file. |
| 625 | |
| 626 | 2004-01-18 Ulrich Drepper <drepper@redhat.com> |
| 627 | |
| 628 | * libdw.h: Second parameter of dwarf_getaranges can be NULL. |
| 629 | |
| 630 | * dwarf_nextcu.c: Return -1 if dwarf parameter is NULL. |
| 631 | |
| 632 | * dwarf_getsrclines.c: |
| 633 | Use read_2ubyte_unaligned_inc instead of _inc-less variant. |
| 634 | |
| 635 | * dwarf_getaranges.c: Allow naranges parameter to be NULL. |
| 636 | |
| 637 | * libdwP.h (_): Use elfutils domain. |
| 638 | |
| 639 | * dwarf_getsrclines.c (dwarf_getsrclines): Add more branch prediction. |
| 640 | |
| 641 | * dwarf_getsrclines.c: Fix typo in comment. |
| 642 | |
| 643 | 2004-01-17 Ulrich Drepper <drepper@redhat.com> |
| 644 | |
| 645 | * Makefile.am: Support building with mudflap. |
| 646 | |
| 647 | 2004-01-16 Ulrich Drepper <drepper@redhat.com> |
| 648 | |
| 649 | * memory-access.h: Add lots of const in case a pointer passed is const. |
| 650 | |
| 651 | * dwarf_formflag.c: New file. |
| 652 | * dwarf_getattrs.c: New file. |
| 653 | * dwarf_error.c: Add new error value. |
| 654 | * libdw.h: Add prototypes for new functions. Adjust prototype for |
| 655 | dwarf_getpubnames. |
| 656 | * libdw.map: Add new functions. |
| 657 | * dwarf_getpubnames.c: Change type of return value and fourth parameter |
| 658 | to ptrdiff_t. |
| 659 | * libdwP.h: Add new error value. |
| 660 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getattrs.c and |
| 661 | dwarf_formflag.c. |
| 662 | |
| 663 | * dwarf_getpubnames.c (dwarf_getpubnames): Just fail if dbg is NULL. |
| 664 | |
| 665 | 2004-01-12 Ulrich Drepper <drepper@redhat.com> |
| 666 | |
| 667 | * dwarf_getarange_addr.c: New file |
| 668 | * dwarf_getarangeinfo.c: New file. |
| 669 | * dwarf_getaranges.c: New file. |
| 670 | * dwarf_onerange.c: New file. |
| 671 | * libdw.h: Declare new functions. Define Dwarf_Arange and |
| 672 | Dwarf_Aranges. |
| 673 | * libdw.map: Add new functions. |
| 674 | * libdwP.h: Add new errors. Add aranges member to struct Dwarf. |
| 675 | Define Dwarf_Aranges_s and Dwarf_Arange_s. |
| 676 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getaranges.c, |
| 677 | dwarf_onearange.c, dwarf_getarangeinfo.c, dwarf_getarange_addr.c. |
| 678 | * dwarf_error.c: Add new message. |
| 679 | |
| 680 | 2004-01-11 Ulrich Drepper <drepper@redhat.com> |
| 681 | |
| 682 | * Makefile.am (libdw_a_SOURCES): Add dwarf_lineaddr.c, dwarf_linecol.c, |
| 683 | dwarf_linebeginstatement.c, dwarf_lineendsequence.c, dwarf_lineblock.c, |
| 684 | dwarf_lineprologueend.c, dwarf_lineepiloguebegin.c, dwarf_onesrcline.c. |
| 685 | * dwarf_error.c: Add another message. |
| 686 | * dwarf_getsrc_die.c: Adjust for Dwarf_Files and Dwarf_Lines |
| 687 | introduction. |
| 688 | * dwarf_filesrc.c: Likewise. |
| 689 | * dwarf_getsrcfiles.c: Likewise. |
| 690 | * dwarf_getsrclines.c: Likewise. |
| 691 | * dwarf_lineaddr.c: New file. |
| 692 | * dwarf_linebeginstatement.c: New file. |
| 693 | * dwarf_lineblock.c: New file. |
| 694 | * dwarf_linecol.c: New file. |
| 695 | * dwarf_lineendsequence.c: New file. |
| 696 | * dwarf_lineepiloguebegin.c: New file. |
| 697 | * dwarf_lineno.c: New file. |
| 698 | * dwarf_lineprologueend.c: New file. |
| 699 | * dwarf_onesrcline.c: New file. |
| 700 | * dwarf_lineno.c: Change interface to store result in object pointed |
| 701 | to by second parameter. |
| 702 | * libdw.h: Add prototypes for new functions. Change dwarf_lineno |
| 703 | prototype. Define Dwarf_Files and Dwarf_Lines. |
| 704 | * libdw.map: Add new functions. |
| 705 | * libdwP.h: Define Dwarf_Files_s and Dwarf_Lines_s. |
| 706 | * libdw_findcu.c: Don't initialize nlines field. |
| 707 | |
| 708 | * dwarf_siblingof: Little optimization. |
| 709 | |
| 710 | * dwarf_begin.c: Remember that the ELF descriptor must be closed. |
| 711 | * dwarf_end.c: Close ELF descriptor if free_elf is set. |
| 712 | * libdwP.h (struct Dwarf): Add free_elf field. |
| 713 | |
| 714 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getstring.c and |
| 715 | dwarf_offabbrev.c. |
| 716 | * dwarf_getstring.c: New file. |
| 717 | * dwarf_offabbrev.c: New file. |
| 718 | * libdw.map: Add dwarf_getstring and dwarf_offabbrev. |
| 719 | * dwarf_getabbrev.c (__libdw_getabbrev): Add new dbg and result |
| 720 | parameters. Don't allocate memory if not necessary and don't lookup |
| 721 | previous results if no CU given. |
| 722 | (dwarf_getabbrev): Adjust call to __libdw_getabbrev. |
| 723 | * dwarf_tag.c: Adjust call to __libdw_getabbrev. |
| 724 | * libdw.h: Declare dwarf_offabbrev and dwarf_getstring. |
| 725 | * libdwP.h: Change prototype for __libdw_getabbrev. |
| 726 | |
| 727 | * dwarf_getabbrevattr.c: Add offsetp parameter. Fill in before |
| 728 | returning if this is wanted. |
| 729 | |
| 730 | 2004-01-09 Ulrich Drepper <drepper@redhat.com> |
| 731 | |
| 732 | * dwarf_nextcu.c: Add new parameter offset_sizep. Initialize it |
| 733 | with offset_size value. |
| 734 | * libdw.h: Adjust dwarf_nextcu prototype. |
| 735 | * libdwP.h (struct Dwarf_CU): Add offset_size member. |
| 736 | * libdw_findcu.c: Adjust dwarf_nextcu call. Initialize offset_size |
| 737 | member of new CU struct. |
| 738 | * dwarf_formstring.c: Depend on offset_size not address_size for |
| 739 | DW_FORM_strp handling. |
| 740 | * dwarf_form.c: Likewise for DW_FORM_strp and DW_FORM_ref_addr. |
| 741 | |
| 742 | * dwarf_tag.c (__libdw_findabbrev): Return correct value for |
| 743 | failing lookup. |
| 744 | (dwarf_tag): Correctly recognize failed lookup. |
| 745 | |
| 746 | * dwarf_end.c (cu_free): Call tdestroy for locs member. Use new |
| 747 | function noop_free. |
| 748 | * dwarf_error.c: Add message for DWARF_E_NO_BLOCK. |
| 749 | * dwarf_formblock.c: New file. |
| 750 | * dwarf_getloclist.c: Rewrite to handle a single block. |
| 751 | * libdw.h: Define Dwarf_Block. Rename Dwarf_Loc members. Remove |
| 752 | Dwarf_Locdesc definition. Declare dwarf_formblock. Remove |
| 753 | dwarf_getloclistent declaration. |
| 754 | * libdw.map: Add dwarf_formblock, remove dwarf_getloclistent. |
| 755 | * libdwP.h: Define struct loc_s and DWARF_E_NO_BLOCK. |
| 756 | Add locs member to struct Dwarf_CU. |
| 757 | * libdw_fundcu.c: Initialize locs member of new CU. |
| 758 | * Makefile.am (libdw_a_SOURCES): Add dwarf_formblock.c. |
| 759 | Remove dwarf_getloclistent.c. |
| 760 | |
| 761 | 2004-01-07 Ulrich Drepper <drepper@redhat.com> |
| 762 | |
| 763 | * libdw.h: Use __nonnull__ attribute only for gcc >= 3.3. |
| 764 | * libdwP.h: Likewise. |
| 765 | |
| 766 | * dwarf_getloclist.c: New file. |
| 767 | * dwarf_getloclistent.c: New file. |
| 768 | * libdw.h: Define Dwarf_Loc and Dwarf_Locdesc. |
| 769 | Declare dwarf_getloclistent and dwarf_getloclist. |
| 770 | * libdw.map: Add dwarf_getloclistent and dwarf_getloclist. |
| 771 | * libdwP.h: Define DWARF_E_NO_LOCLIST. |
| 772 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getloclistent.c and |
| 773 | dwarf_getloclist.c. |
| 774 | |
| 775 | * dwarf_error.c: More error messages. |
| 776 | |
| 777 | 2004-01-06 Ulrich Drepper <drepper@redhat.com> |
| 778 | |
| 779 | * dwarf_getsrclines.c: Remove debugging support. |
| 780 | |
| 781 | * dwarf_getsrcfiles.c: New file. |
| 782 | * dwarf_filesrc.c: New file. |
| 783 | * libdw.h: Declare these functions. Define Dwarf_File. |
| 784 | * libdwP.c: Adjust Dwarf_File_s definition. |
| 785 | * libdw.map: Add these functions. |
| 786 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrcfiles.c and |
| 787 | dwarf_filesrc.c. |
| 788 | * dwarf_getsrclines.c: Initialize cu->files. |
| 789 | |
| 790 | 2004-01-05 Ulrich Drepper <drepper@redhat.com> |
| 791 | |
| 792 | * libdw.h: Add more nonnull function attributes. |
| 793 | |
| 794 | * dwarf_begin_elf.c (dwarf_begin_elf): Don't initialize mem_tail->next. |
| 795 | * dwarf_end.c (cu_free): New function. |
| 796 | (dwarf_end): Also free CU tree. Correct freeing of memory blocks. |
| 797 | * dwarf_error.c (errmsgs): Add new messages. |
| 798 | * dwarf_getsrc_die.c: New file. |
| 799 | * dwarf_getsrclines.c: New file. |
| 800 | * dwarf_lineno.c: New file. |
| 801 | * dwarf_linesrc.c: New file. |
| 802 | * dwarf_nextcu.c (dwarf_nextcu): Use read_*byte_unaligned_inc |
| 803 | instead of the *_inc-less variants. |
| 804 | * libdw.h: Define Dwarf_Line. Add some function attributes. Declare |
| 805 | dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, and dwarf_linesrc. |
| 806 | * libdw.map: Add dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, |
| 807 | and dwarf_linesrc. |
| 808 | * libdwP.h: Add more error codes. |
| 809 | (struct Dwarf): Remove mem_tail.next member. |
| 810 | (Dwarf_File): Define type. |
| 811 | (struct Dwarf_Line_s): Define type. |
| 812 | (struct Dwarf_CU): Add lines and nlines members. |
| 813 | (libdw_alloc): Define local variable _tail and use it. |
| 814 | Add some function attributes. |
| 815 | * libdw_alloc.c (__libdw_allocate): Don't initialize next member. |
| 816 | * libdw_findcu.c (__libdw_findcu): Initialize lines and nlines members. |
| 817 | * memory-access.h: Add unlikely for the endian conversion paths. |
| 818 | * Makefile.am (AM_CFLAGS): Add -std parameter. |
| 819 | (libdw_a_SOURCES): Add dwarf_getsrclines, dwarf_getsrc_die, |
| 820 | dwarf_lineno, and dwarf_linesrc. |
| 821 | |
| 822 | 2003-08-11 Ulrich Drepper <drepper@redhat.com> |
| 823 | |
| 824 | * Moved to CVS archive. |