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