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