Roland McGrath | 4959bf8 | 2005-08-09 10:31:08 +0000 | [diff] [blame] | 1 | 2005-08-09 Roland McGrath <roland@redhat.com> |
| 2 | |
Roland McGrath | b6312e1 | 2005-08-09 10:36:01 +0000 | [diff] [blame^] | 3 | * dwarf.h (DW_LNS_set_epilog_begin): Renamed DW_LNS_set_epilogue_begin. |
| 4 | |
Roland McGrath | 4959bf8 | 2005-08-09 10:31:08 +0000 | [diff] [blame] | 5 | * dwarf_end.c: Add INTDEF. |
| 6 | * dwarf_error.c (dwarf_errmsg): Likewise. |
| 7 | * libdwP.h (dwarf_end, dwarf_errmsg): Add INTDECLs. |
| 8 | |
Roland McGrath | a5a8968 | 2005-08-02 01:24:01 +0000 | [diff] [blame] | 9 | 2005-08-01 Roland McGrath <roland@redhat.com> |
| 10 | |
| 11 | * dwarf_getaranges.c (dwarf_getaranges): Check for bogus offset. |
| 12 | * dwarf_getabbrev.c (__libdw_getabbrev): Likewise. |
| 13 | |
Ulrich Drepper | 18618fd | 2005-07-28 21:29:22 +0000 | [diff] [blame] | 14 | 2005-07-28 Ulrich Drepper <drepper@redhat.com> |
| 15 | |
| 16 | * Makefile.am (libdw.so): No need to link with libeu.a anymore. |
| 17 | (libdw_a_LIBADD): Add all files from libdwfl.a. |
| 18 | |
Roland McGrath | 366784a | 2005-07-28 06:20:53 +0000 | [diff] [blame] | 19 | 2005-07-27 Roland McGrath <roland@redhat.com> |
| 20 | |
Roland McGrath | 1838590 | 2005-07-28 07:12:38 +0000 | [diff] [blame] | 21 | * Makefile.am (libdw.so): Link ../libdwfl/libdwfl_pic.a in, |
| 22 | along with ../libebl/libebl.a and ../lib/libeu.a; |
| 23 | depend on ../libelf/libelf.so. |
| 24 | (libdw_so_LDADD): New variable. |
| 25 | * libdw.map: Add dwfl_* symbols formerly in ../libdwfl/libdwfl.map. |
| 26 | |
Roland McGrath | 366784a | 2005-07-28 06:20:53 +0000 | [diff] [blame] | 27 | * libdw.map: Define an empty base version and move all symbols to |
| 28 | version ELFUTILS_0.111; don't define ELFUTILS_1.0 at all yet. |
| 29 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 30 | 2005-07-23 Ulrich Drepper <drepper@redhat.com> |
| 31 | |
| 32 | * dwarf_error.c: Add internal alias for dwarf_errno. |
| 33 | * libdwP.h: Declare __dwarf_errno_internal. |
| 34 | * dwarf_getloclist.c: Use INTDEF for dwarf_errno. |
| 35 | |
| 36 | * dwarf_error.c [USE_TLS]: Actually use __thread in definition of |
| 37 | global_error. |
| 38 | |
| 39 | 2005-06-01 Roland McGrath <roland@redhat.com> |
| 40 | |
| 41 | * dwarf_getaranges.c (dwarf_getaranges): Sort result array. |
| 42 | * dwarf_getarange_addr.c (dwarf_getarange_addr): Use binary search. |
| 43 | |
| 44 | 2005-06-08 Roland McGrath <roland@redhat.com> |
| 45 | |
| 46 | * memory-access.h (get_uleb128_step, get_uleb128): Remove casts. |
| 47 | (get_sleb128_step, get_sleb128): Likewise. |
| 48 | * dwarf_getattrs.c (dwarf_getattrs): Add consts. |
| 49 | * dwarf_getloclist.c (getloclist): Likewise. |
| 50 | * dwarf_formblock.c (dwarf_formblock): Likewise. |
| 51 | * dwarf_getsrclines.c (dwarf_getsrclines): Likewise. |
| 52 | * dwarf_getabbrevattr.c (dwarf_getabbrevattr): Likewise. |
| 53 | * dwarf_formref.c (dwarf_formref): Likewise. |
| 54 | * dwarf_formsdata.c (dwarf_formsdata): Likewise. |
| 55 | * dwarf_formudata.c (dwarf_formudata): Likewise. |
| 56 | * dwarf_haschildren.c (dwarf_haschildren): Likewise. |
| 57 | * dwarf_child.c (__libdw_find_attr, __libdw_find_attr): Likewise. |
| 58 | * dwarf_tag.c (dwarf_tag): Likewise. |
| 59 | * dwarf_getabbrev.c (__libdw_getabbrev): Likewise. |
| 60 | * memory-access.c (__libdw_get_uleb128, __libdw_get_sleb128): Likewise. |
| 61 | * libdw_form.c (__libdw_form_val_len): Likewise. |
| 62 | * libdwP.h: Update decl. |
| 63 | |
| 64 | 2005-06-04 Roland McGrath <roland@redhat.com> |
| 65 | |
| 66 | * memory-access.h (get_uleb128_rest_return): New macro. |
| 67 | [! IS_LIBDW] (__libdw_get_uleb128): New static, defined using it. |
| 68 | (get_sleb128_rest_return): New macro. |
| 69 | [! IS_LIBDW] (__libdw_get_sleb128): New static, defined using it. |
| 70 | * memory-access.c: New file. |
| 71 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 72 | (DEFS): Add -DIS_LIBDW. |
| 73 | |
| 74 | 2005-05-31 Roland McGrath <roland@redhat.com> |
| 75 | |
| 76 | * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to |
| 77 | formref offset. |
| 78 | |
| 79 | 2005-05-30 Roland McGrath <roland@redhat.com> |
| 80 | |
| 81 | * dwarf_getloclist.c (dwarf_addrloclists): Use DW_AT_entry_pc for base |
| 82 | address if DW_AT_low_pc is missing. Not to spec, but GCC generates it. |
| 83 | |
| 84 | * dwarf_getloclist.c (dwarf_addrloclists): Don't sign-extend 4-byte |
| 85 | BEGIN value. Instead, match base address entries separately for |
| 86 | 32/64 size cases. |
| 87 | |
| 88 | 2005-05-28 Roland McGrath <roland@redhat.com> |
| 89 | |
| 90 | * dwarf_getloclist.c (dwarf_addrloclists): Fix decoding to advance |
| 91 | past location expression contents. |
| 92 | |
| 93 | 2005-05-23 Roland McGrath <roland@redhat.com> |
| 94 | |
| 95 | * dwarf_getsrclines.c: Comment typo fix. |
| 96 | |
| 97 | * dwarf_haspc.c (dwarf_haspc): Fix CU DIE address calculation. |
| 98 | * dwarf_getloclist.c (dwarf_addrloclists): Likewise. |
| 99 | |
| 100 | 2005-05-22 Ulrich Drepper <drepper@redhat.com> |
| 101 | |
| 102 | * libdwP.h: Only use INTDECL for alias prototypes. |
| 103 | |
| 104 | 2005-05-19 Roland McGrath <roland@redhat.com> |
| 105 | |
| 106 | * dwarf_getloclist.c (attr_ok): Permit DW_AT_static_link too. |
| 107 | |
| 108 | * dwarf_getscopevar.c: New file. |
| 109 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 110 | * libdw.h: Declare dwarf_getscopevar. |
| 111 | |
| 112 | * dwarf_getsrcfiles.c: Add INTDEF. |
| 113 | * dwarf_haschildren.c: Likewise. |
| 114 | * libdwP.h (dwarf_getsrcfiles, dwarf_haschildren): Add INTDECL. |
| 115 | |
| 116 | * dwarf_getscopes.c: New file. |
| 117 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 118 | * libdw.h: Declare dwarf_getscopes. |
| 119 | * libdw.map: Add it. |
| 120 | |
| 121 | 2005-05-18 Roland McGrath <roland@redhat.com> |
| 122 | |
| 123 | * libdwP.h (IDX_debug_ranges): New enum constant. |
| 124 | * dwarf_begin_elf.c (dwarf_scnnames): Add it for ".debug_ranges". |
| 125 | * libdwP.h (DWARF_E_NO_DEBUG_RANGES): New enum constant. |
| 126 | * dwarf_error.c (errmsgs): Add it. |
| 127 | * dwarf_haspc.c: New file. |
| 128 | * libdw.h: Declare dwarf_haspc. |
| 129 | * libdw.map: Add it. |
| 130 | * libdwP.h: Add INTDECL. |
| 131 | |
| 132 | * dwarf_attr_integrate.c: New file. |
| 133 | * dwarf_hasattr_integrate.c: New file. |
| 134 | * Makefile.am (libdw_a_SOURCES): Add them. |
| 135 | * libdw.h: Declare dwarf_attr_integrate, dwarf_hasattr_integrate. |
| 136 | * libdw.map: Add them. |
| 137 | |
| 138 | * dwarf_hasattr.c: Add INTDEF. |
| 139 | * libdwP.h: Add INTDECL for it. |
| 140 | |
| 141 | * dwarf_formref_die.c: New file. |
| 142 | * Makefile.am (libdw_a_SOURCES): Add it. |
| 143 | * libdw.h (dwarf_formref_die): Declare it. |
| 144 | * libdwP.h (dwarf_formref_die): Add INTDECL. |
| 145 | * libdw.map: Add it. |
| 146 | |
| 147 | * dwarf_getloclist.c (attr_ok, getloclist): New functions, broken out |
| 148 | of ... |
| 149 | (dwarf_getloclist): ... here. Call them. |
| 150 | (dwarf_addrloclists): New function. |
| 151 | * libdw.h: Declare it. |
| 152 | * libdw.map: Add it. |
| 153 | |
| 154 | * dwarf_getmacros.c (dwarf_getmacros): Don't bail at |
| 155 | DW_MACINFO_end_file. Recognize type 0 as terminator. |
| 156 | |
| 157 | 2005-05-05 Roland McGrath <roland@redhat.com> |
| 158 | |
| 159 | * dwarf_getsrc_die.c (dwarf_getsrc_die): Use binary search. |
| 160 | |
| 161 | * dwarf_getsrclines.c (dwarf_getsrclines): Sort result array, since |
| 162 | the line program does not produce all entries in ascending order. |
| 163 | |
| 164 | 2005-04-25 Ulrich Drepper <drepper@redhat.com> |
| 165 | |
| 166 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Handle multiple |
| 167 | occurences (e.g., inlines) better. |
| 168 | |
| 169 | 2005-04-24 Ulrich Drepper <drepper@redhat.com> |
| 170 | |
| 171 | * libdw.h (DWARF_END_ABBREV): Define. |
| 172 | * dwarf_getabbrev.c (__libdw_getabbrev): Return DWARF_END_ABBREV if |
| 173 | end is reached. |
| 174 | * dwarf_offabbrev.c (dwarf_offabbrev): Return -1 on error, 1 if end |
| 175 | of records reached. |
| 176 | * dwarf_tag.c (__libdw_findabbrev): Also recognize DWARF_END_ABBREV |
| 177 | as error of __libdw_getabbrev. |
| 178 | |
| 179 | 2005-04-04 Ulrich Drepper <drepper@redhat.com> |
| 180 | |
| 181 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Minor optimization. |
| 182 | |
| 183 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Always pass number of |
| 184 | results back to caller. |
| 185 | |
| 186 | 2005-04-04 Roland McGrath <roland@redhat.com> |
| 187 | |
| 188 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Use size_t for CUHL. |
| 189 | |
| 190 | * dwarf_func_line.c (__libdw_func_intval): Use internal_function in |
| 191 | defn. |
| 192 | |
| 193 | 2005-04-04 Ulrich Drepper <drepper@redhat.com> |
| 194 | |
| 195 | * dwarf_getsrc_file.c (dwarf_getsrc_file): Use INTUSE. |
| 196 | |
| 197 | * dwarf_getsrc_file.c: New file. |
| 198 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrc_file.c. |
| 199 | * libdw.h: Declare dwarf_getsrc_file. |
| 200 | * libdw.map: Add dwarf_getsrc_file. |
| 201 | |
| 202 | 2005-04-02 Ulrich Drepper <drepper@redhat.com> |
| 203 | |
| 204 | * dwarf_func_entrypc.c: New file. |
| 205 | * dwarf_func_col.c: New file. |
| 206 | * dwarf_func_line.c: New file. |
| 207 | * dwarf_func_file.c: New file. |
| 208 | * libdw.h: Add prototypes for new functions. |
| 209 | * libdw.map: Add dwarf_func_entrypc, dwarf_func_col, dwarf_func_line, |
| 210 | dwarf_func_file. |
| 211 | * Makefile.am (libdw_a_SOURCES): Add dwarf_func_entrypc.c, |
| 212 | dwarf_func_col.c, dwarf_func_line.c, dwarf_func_file.c. |
| 213 | * libdwP.h (struct Dwarf_Func_s): Add cudie element. |
| 214 | Declare __libdw_func_intval and __dwarf_formsdata_internal. |
| 215 | * dwarf_getfuncs.c: Also fill in cudie in Dwarf_Func object. |
| 216 | * dwarf_formsdata.c: Use INTUSE and INTDEF to avoid PLTs. |
| 217 | |
| 218 | * dwarf.h: Add some DWARF3 definitions. |
| 219 | |
| 220 | 2005-04-01 Ulrich Drepper <drepper@redhat.com> |
| 221 | |
| 222 | * dwarf_getfuncs.c: New file. |
| 223 | * dwarf_func_highpc.c: New file. |
| 224 | * dwarf_func_lowpc.c: New file. |
| 225 | * dwarf_func_name.c: New file. |
| 226 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getfuncs.c, |
| 227 | dwarf_func_highpc.c, dwarf_func_lowpc.c, and dwarf_func_name.c. |
| 228 | * libdw.map: Add dwarf_getfuncs, dwarf_func_highpc, dwarf_func_lowpc, |
| 229 | and dwarf_func_name. |
| 230 | * libdw.h: Add prototypes for new functions. |
| 231 | * dwarf_child.c: Use INTUSE and INTDEF to avoid PLTs. |
| 232 | * dwarf_siblingof.c: Likewise. |
| 233 | * dwarf_dieoffset.c: Likewise. |
| 234 | * dwarf_highpc.c: Likewise. |
| 235 | * dwarf_lowpc.c: Likewise. |
| 236 | * libdwP.h: Add prototypes for internal functions. |
| 237 | Define Dwarf_Func_s structure. |
| 238 | |
| 239 | 2005-03-29 Ulrich Drepper <drepper@redhat.com> |
| 240 | |
| 241 | * libdw.h: Add padding in Dwarf_die. |
| 242 | |
| 243 | * dwarf_arrayorder.c: Use INTUSE and INTDEF to avoid PLTs. |
| 244 | * dwarf_attr.c: Likewise. |
| 245 | * dwarf_begin.c: Likewise. |
| 246 | * dwarf_begin_elf.c: Likewise. |
| 247 | * dwarf_bitoffset.c: Likewise. |
| 248 | * dwarf_bitsize.c: Likewise. |
| 249 | * dwarf_bytesize.c: Likewise. |
| 250 | * dwarf_diename.c: Likewise. |
| 251 | * dwarf_formaddr.c: Likewise. |
| 252 | * dwarf_formblock.c: Likewise. |
| 253 | * dwarf_formref.c: Likewise. |
| 254 | * dwarf_formstring.c: Likewise. |
| 255 | * dwarf_formudata.c: Likewise. |
| 256 | * dwarf_getarange_addr.c: Likewise. |
| 257 | * dwarf_getarangeinfo.c: Likewise. |
| 258 | * dwarf_getaranges.c: Likewise. |
| 259 | * dwarf_getloclist.c: Likewise. |
| 260 | * dwarf_getmacros.c: Likewise. |
| 261 | * dwarf_getsrc_die.c: Likewise. |
| 262 | * dwarf_getsrcfiles.c: Likewise. |
| 263 | * dwarf_getsrclines.c: Likewise. |
| 264 | * dwarf_highpc.c: Likewise. |
| 265 | * dwarf_lowpc.c: Likewise. |
| 266 | * dwarf_nextcu.c: Likewise. |
| 267 | * dwarf_offdie.c: Likewise. |
| 268 | * dwarf_siblingof.c: Likewise. |
| 269 | * dwarf_srclang.c: Likewise. |
| 270 | * dwarf_tag.c: Likewise. |
| 271 | * libdw_findcu.c: Likewise. |
| 272 | * libdwP.h: Add prototypes for internal functions. |
| 273 | |
| 274 | * dwarf_addrdie.c: New file. |
| 275 | * dwarf_macro_opcode.c: New file. |
| 276 | * dwarf_macro_param1.c: New file. |
| 277 | * dwarf_macro_param2.c: New file. |
| 278 | * libdw.h: Add declarations. Move Dwarf_Macro definition to libdwP.h. |
| 279 | * libdwP.h: Remove Dwarf_Macro definition. |
| 280 | * Makefile.am (libdw_a_SOURCES): Add dwarf_addrdie.c, |
| 281 | dwarf_macro_opcode.c, dwarf_macro_param1.c, and dwarf_macro_param2.c. |
| 282 | * libdw.map: Add entries for new functions. |
| 283 | |
| 284 | 2005-03-21 Ulrich Drepper <drepper@redhat.com> |
| 285 | |
| 286 | * libdw.h: Handle broken gcc < 4. |
| 287 | |
| 288 | 2005-02-15 Ulrich Drepper <drepper@redhat.com> |
| 289 | |
| 290 | * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2. |
| 291 | |
| 292 | * dwarf_begin_elf.c: Fix warnings. |
| 293 | * dwarf_dieoffset.c: Likewise. |
| 294 | * dwarf_end.c: Likewise. |
| 295 | * dwarf_error.c: Likewise. |
| 296 | * dwarf_getpubnames.c: Likewise. |
| 297 | |
| 298 | * libdwP.h: Add new error values. |
| 299 | * dwarf_error.c: Support new error values. |
| 300 | * dwarf_getpubnames.c: Check parameter value. |
| 301 | |
| 302 | 2005-02-05 Ulrich Drepper <drepper@redhat.com> |
| 303 | |
| 304 | * Makefile.am: Check for text relocations in constructed DSO. |
| 305 | |
| 306 | * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. |
| 307 | |
| 308 | 2005-02-04 Ulrich Drepper <drepper@redhat.com> |
| 309 | |
| 310 | * dwarf_siblingof.c (dwarf_siblingof): Add some buffer boundary |
| 311 | checks to not read over buffer boundaries for ill-formed DWARF data. |
| 312 | |
| 313 | 2004-09-25 Ulrich Drepper <drepper@redhat.com> |
| 314 | |
| 315 | * dwarf_child.c: Make compile with gcc 4.0. |
| 316 | * dwarf_error.c: Likewise. |
| 317 | * dwarf_formblock.c: Likewise. |
| 318 | * dwarf_getabbrev.c: Likewise. |
| 319 | * dwarf_getattrs.c: Likewise. |
| 320 | * dwarf_getsrclines.c: Likewise. |
| 321 | * dwarf_tag.c: Likewise. |
| 322 | * libdw_form.c: Likewise. |
| 323 | |
| 324 | 2004-01-20 Ulrich Drepper <drepper@redhat.com> |
| 325 | |
| 326 | * Makefile.am: Support building with mudflap. |
| 327 | |
| 328 | * dwarf_getloclist.c: Fix warnings gcc 3.4 spits out. |
| 329 | * dwarf_getsrclines.c: Likewise. |
| 330 | * dwarf_memory-access.h: Likewise. |
| 331 | |
| 332 | 2004-01-19 Ulrich Drepper <drepper@redhat.com> |
| 333 | |
| 334 | * dwarf_getsrcfiles.c: Third parameter can be NULL. |
| 335 | |
| 336 | * libdw.h: Define Dwarf_macro. Declare dwarf_getmacros. |
| 337 | Third parameter of dwarf_getsrcfiles can be NULL. |
| 338 | |
| 339 | * libdw.map: Add dwarf_getmacros. |
| 340 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getmacros. |
| 341 | * dwarf_getmacros.c: New file. |
| 342 | |
| 343 | 2004-01-18 Ulrich Drepper <drepper@redhat.com> |
| 344 | |
| 345 | * libdw.h: Second parameter of dwarf_getaranges can be NULL. |
| 346 | |
| 347 | * dwarf_nextcu.c: Return -1 if dwarf parameter is NULL. |
| 348 | |
| 349 | * dwarf_getsrclines.c: |
| 350 | Use read_2ubyte_unaligned_inc instead of _inc-less variant. |
| 351 | |
| 352 | * dwarf_getaranges.c: Allow naranges parameter to be NULL. |
| 353 | |
| 354 | * libdwP.h (_): Use elfutils domain. |
| 355 | |
| 356 | * dwarf_getsrclines.c (dwarf_getsrclines): Add more branch prediction. |
| 357 | |
| 358 | * dwarf_getsrclines.c: Fix typo in comment. |
| 359 | |
| 360 | 2004-01-17 Ulrich Drepper <drepper@redhat.com> |
| 361 | |
| 362 | * Makefile.am: Support building with mudflap. |
| 363 | |
| 364 | 2004-01-16 Ulrich Drepper <drepper@redhat.com> |
| 365 | |
| 366 | * memory-access.h: Add lots of const in case a pointer passed is const. |
| 367 | |
| 368 | * dwarf_formflag.c: New file. |
| 369 | * dwarf_getattrs.c: New file. |
| 370 | * dwarf_error.c: Add new error value. |
| 371 | * libdw.h: Add prototypes for new functions. Adjust prototype for |
| 372 | dwarf_getpubnames. |
| 373 | * libdw.map: Add new functions. |
| 374 | * dwarf_getpubnames.c: Change type of return value and fourth parameter |
| 375 | to ptrdiff_t. |
| 376 | * libdwP.h: Add new error value. |
| 377 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getattrs.c and |
| 378 | dwarf_formflag.c. |
| 379 | |
| 380 | * dwarf_getpubnames.c (dwarf_getpubnames): Just fail if dbg is NULL. |
| 381 | |
| 382 | 2004-01-12 Ulrich Drepper <drepper@redhat.com> |
| 383 | |
| 384 | * dwarf_getarange_addr.c: New file |
| 385 | * dwarf_getarangeinfo.c: New file. |
| 386 | * dwarf_getaranges.c: New file. |
| 387 | * dwarf_onerange.c: New file. |
| 388 | * libdw.h: Declare new functions. Define Dwarf_Arange and |
| 389 | Dwarf_Aranges. |
| 390 | * libdw.map: Add new functions. |
| 391 | * libdwP.h: Add new errors. Add aranges member to struct Dwarf. |
| 392 | Define Dwarf_Aranges_s and Dwarf_Arange_s. |
| 393 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getaranges.c, |
| 394 | dwarf_onearange.c, dwarf_getarangeinfo.c, dwarf_getarange_addr.c. |
| 395 | * dwarf_error.c: Add new message. |
| 396 | |
| 397 | 2004-01-11 Ulrich Drepper <drepper@redhat.com> |
| 398 | |
| 399 | * Makefile.am (libdw_a_SOURCES): Add dwarf_lineaddr.c, dwarf_linecol.c, |
| 400 | dwarf_linebeginstatement.c, dwarf_lineendsequence.c, dwarf_lineblock.c, |
| 401 | dwarf_lineprologueend.c, dwarf_lineepiloguebegin.c, dwarf_onesrcline.c. |
| 402 | * dwarf_error.c: Add another message. |
| 403 | * dwarf_getsrc_die.c: Adjust for Dwarf_Files and Dwarf_Lines |
| 404 | introduction. |
| 405 | * dwarf_filesrc.c: Likewise. |
| 406 | * dwarf_getsrcfiles.c: Likewise. |
| 407 | * dwarf_getsrclines.c: Likewise. |
| 408 | * dwarf_lineaddr.c: New file. |
| 409 | * dwarf_linebeginstatement.c: New file. |
| 410 | * dwarf_lineblock.c: New file. |
| 411 | * dwarf_linecol.c: New file. |
| 412 | * dwarf_lineendsequence.c: New file. |
| 413 | * dwarf_lineepiloguebegin.c: New file. |
| 414 | * dwarf_lineno.c: New file. |
| 415 | * dwarf_lineprologueend.c: New file. |
| 416 | * dwarf_onesrcline.c: New file. |
| 417 | * dwarf_lineno.c: Change interface to store result in object pointed |
| 418 | to by second parameter. |
| 419 | * libdw.h: Add prototypes for new functions. Change dwarf_lineno |
| 420 | prototype. Define Dwarf_Files and Dwarf_Lines. |
| 421 | * libdw.map: Add new functions. |
| 422 | * libdwP.h: Define Dwarf_Files_s and Dwarf_Lines_s. |
| 423 | * libdw_findcu.c: Don't initialize nlines field. |
| 424 | |
| 425 | * dwarf_siblingof: Little optimization. |
| 426 | |
| 427 | * dwarf_begin.c: Remember that the ELF descriptor must be closed. |
| 428 | * dwarf_end.c: Close ELF descriptor if free_elf is set. |
| 429 | * libdwP.h (struct Dwarf): Add free_elf field. |
| 430 | |
| 431 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getstring.c and |
| 432 | dwarf_offabbrev.c. |
| 433 | * dwarf_getstring.c: New file. |
| 434 | * dwarf_offabbrev.c: New file. |
| 435 | * libdw.map: Add dwarf_getstring and dwarf_offabbrev. |
| 436 | * dwarf_getabbrev.c (__libdw_getabbrev): Add new dbg and result |
| 437 | parameters. Don't allocate memory if not necessary and don't lookup |
| 438 | previous results if no CU given. |
| 439 | (dwarf_getabbrev): Adjust call to __libdw_getabbrev. |
| 440 | * dwarf_tag.c: Adjust call to __libdw_getabbrev. |
| 441 | * libdw.h: Declare dwarf_offabbrev and dwarf_getstring. |
| 442 | * libdwP.h: Change prototype for __libdw_getabbrev. |
| 443 | |
| 444 | * dwarf_getabbrevattr.c: Add offsetp parameter. Fill in before |
| 445 | returning if this is wanted. |
| 446 | |
| 447 | 2004-01-09 Ulrich Drepper <drepper@redhat.com> |
| 448 | |
| 449 | * dwarf_nextcu.c: Add new parameter offset_sizep. Initialize it |
| 450 | with offset_size value. |
| 451 | * libdw.h: Adjust dwarf_nextcu prototype. |
| 452 | * libdwP.h (struct Dwarf_CU): Add offset_size member. |
| 453 | * libdw_findcu.c: Adjust dwarf_nextcu call. Initialize offset_size |
| 454 | member of new CU struct. |
| 455 | * dwarf_formstring.c: Depend on offset_size not address_size for |
| 456 | DW_FORM_strp handling. |
| 457 | * dwarf_form.c: Likewise for DW_FORM_strp and DW_FORM_ref_addr. |
| 458 | |
| 459 | * dwarf_tag.c (__libdw_findabbrev): Return correct value for |
| 460 | failing lookup. |
| 461 | (dwarf_tag): Correctly recognize failed lookup. |
| 462 | |
| 463 | * dwarf_end.c (cu_free): Call tdestroy for locs member. Use new |
| 464 | function noop_free. |
| 465 | * dwarf_error.c: Add message for DWARF_E_NO_BLOCK. |
| 466 | * dwarf_formblock.c: New file. |
| 467 | * dwarf_getloclist.c: Rewrite to handle a single block. |
| 468 | * libdw.h: Define Dwarf_Block. Rename Dwarf_Loc members. Remove |
| 469 | Dwarf_Locdesc definition. Declare dwarf_formblock. Remove |
| 470 | dwarf_getloclistent declaration. |
| 471 | * libdw.map: Add dwarf_formblock, remove dwarf_getloclistent. |
| 472 | * libdwP.h: Define struct loc_s and DWARF_E_NO_BLOCK. |
| 473 | Add locs member to struct Dwarf_CU. |
| 474 | * libdw_fundcu.c: Initialize locs member of new CU. |
| 475 | * Makefile.am (libdw_a_SOURCES): Add dwarf_formblock.c. |
| 476 | Remove dwarf_getloclistent.c. |
| 477 | |
| 478 | 2004-01-07 Ulrich Drepper <drepper@redhat.com> |
| 479 | |
| 480 | * libdw.h: Use __nonnull__ attribute only for gcc >= 3.3. |
| 481 | * libdwP.h: Likewise. |
| 482 | |
| 483 | * dwarf_getloclist.c: New file. |
| 484 | * dwarf_getloclistent.c: New file. |
| 485 | * libdw.h: Define Dwarf_Loc and Dwarf_Locdesc. |
| 486 | Declare dwarf_getloclistent and dwarf_getloclist. |
| 487 | * libdw.map: Add dwarf_getloclistent and dwarf_getloclist. |
| 488 | * libdwP.h: Define DWARF_E_NO_LOCLIST. |
| 489 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getloclistent.c and |
| 490 | dwarf_getloclist.c. |
| 491 | |
| 492 | * dwarf_error.c: More error messages. |
| 493 | |
| 494 | 2004-01-06 Ulrich Drepper <drepper@redhat.com> |
| 495 | |
| 496 | * dwarf_getsrclines.c: Remove debugging support. |
| 497 | |
| 498 | * dwarf_getsrcfiles.c: New file. |
| 499 | * dwarf_filesrc.c: New file. |
| 500 | * libdw.h: Declare these functions. Define Dwarf_File. |
| 501 | * libdwP.c: Adjust Dwarf_File_s definition. |
| 502 | * libdw.map: Add these functions. |
| 503 | * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrcfiles.c and |
| 504 | dwarf_filesrc.c. |
| 505 | * dwarf_getsrclines.c: Initialize cu->files. |
| 506 | |
| 507 | 2004-01-05 Ulrich Drepper <drepper@redhat.com> |
| 508 | |
| 509 | * libdw.h: Add more nonnull function attributes. |
| 510 | |
| 511 | * dwarf_begin_elf.c (dwarf_begin_elf): Don't initialize mem_tail->next. |
| 512 | * dwarf_end.c (cu_free): New function. |
| 513 | (dwarf_end): Also free CU tree. Correct freeing of memory blocks. |
| 514 | * dwarf_error.c (errmsgs): Add new messages. |
| 515 | * dwarf_getsrc_die.c: New file. |
| 516 | * dwarf_getsrclines.c: New file. |
| 517 | * dwarf_lineno.c: New file. |
| 518 | * dwarf_linesrc.c: New file. |
| 519 | * dwarf_nextcu.c (dwarf_nextcu): Use read_*byte_unaligned_inc |
| 520 | instead of the *_inc-less variants. |
| 521 | * libdw.h: Define Dwarf_Line. Add some function attributes. Declare |
| 522 | dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, and dwarf_linesrc. |
| 523 | * libdw.map: Add dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, |
| 524 | and dwarf_linesrc. |
| 525 | * libdwP.h: Add more error codes. |
| 526 | (struct Dwarf): Remove mem_tail.next member. |
| 527 | (Dwarf_File): Define type. |
| 528 | (struct Dwarf_Line_s): Define type. |
| 529 | (struct Dwarf_CU): Add lines and nlines members. |
| 530 | (libdw_alloc): Define local variable _tail and use it. |
| 531 | Add some function attributes. |
| 532 | * libdw_alloc.c (__libdw_allocate): Don't initialize next member. |
| 533 | * libdw_findcu.c (__libdw_findcu): Initialize lines and nlines members. |
| 534 | * memory-access.h: Add unlikely for the endian conversion paths. |
| 535 | * Makefile.am (AM_CFLAGS): Add -std parameter. |
| 536 | (libdw_a_SOURCES): Add dwarf_getsrclines, dwarf_getsrc_die, |
| 537 | dwarf_lineno, and dwarf_linesrc. |
| 538 | |
| 539 | 2003-08-11 Ulrich Drepper <drepper@redhat.com> |
| 540 | |
| 541 | * Moved to CVS archive. |