blob: aaca7474c3a09492de6003ab2c427e702ce89c90 [file] [log] [blame]
Ulrich Drepper7e678fa2009-01-10 18:02:05 -080012009-01-10 Ulrich Drepper <drepper@redhat.com>
2
3 * dwarf_error.c: Always use __thread. Remove all !USE_TLS code.
4
Roland McGrathe06762c2009-01-08 13:39:08 -080052009-01-08 Roland McGrath <roland@redhat.com>
6
7 * Makefile.am (libdw.so): Don't depend on $(zip_LIBS), just link it in.
8
Roland McGrathc462c632009-01-06 01:04:31 -080092009-01-06 Roland McGrath <roland@redhat.com>
Roland McGrathbca43152009-01-05 23:59:32 -080010
11 * Makefile.am (libdw.so): Link in $(zip_LIBS).
12
Ulrich Drepperac194d02009-01-06 00:30:01 -0800132009-01-06 Ulrich Drepper <drepper@redhat.com>
14
Roland McGrathc462c632009-01-06 01:04:31 -080015 * dwarf.h: Add definition for unwind and call frame information.
Ulrich Drepperac194d02009-01-06 00:30:01 -080016
17 * memory-access.h: Define read_ubyte_unaligned, read_sbyte_unaligned,
18 read_ubyte_unaligned_inc, and read_sbyte_unaligned_inc.
19
Roland McGrathb4d6f0f2008-08-25 22:55:17 +0000202008-08-15 Roland McGrath <roland@redhat.com>
21
22 * libdw.map (ELFUTILS_0.136): New version set, inherits from
23 ELFUTILS_0.130. Add dwfl_addrsegment, dwfl_report_segment.
24
Ulrich Drepper8d358d92008-01-22 06:34:31 +0000252008-01-21 Ulrich Drepper <drepper@redhat.com>
26
27 * dwarf_child.c: Minor optimizations.
28 * dwarf_getattrs.c: Likewise.
29 * dwarf_getpubnames.c: Likewise.
30 * dwarf_siblingof.c: Likewise.
31 * dwarf_tag.c: Likewise.
32
Ulrich Drepperb27ce002008-01-18 20:08:54 +0000332008-01-18 Ulrich Drepper <drepper@redhat.com>
34
35 * dwarf_getsrclines.c (dwarf_getsrclines): Don't require exact match
36 of DWARF_VERSION comparison, just fail if the file's version is newer.
37
Ulrich Drepper35f08c42008-01-18 19:59:08 +0000382008-01-17 Nick Clifton <nickc@redhat.com>
39
40 * dwarf.h (DWARF3_LENGTH_MIN_ESCAPE_CODE): New define.
41 (DWARF3_LENGTH_MAX_ESCAPE_CODE): New define.
42 (DWARF3_LENGTH_64_BIT): New define.
43 * dwarf_getaranges (dwarf_getaranges): Use the new definitions.
44 * dwarf_getpubnames: Include dwarf.h.
45 (get_offsets): Use the new definitions.
46 * dwarf_getsrclines.c (dwarf_getsrclines): Use the new defintions.
47 * dwarf_nextcu.c: Include dwarf.h. Correct comment.
48 (dwarf_nextcu): Use the new definitions.
49
50 * libdwP.h (DIE_OFFSET_FROM_CU_OFFSET): New macro.
Ulrich Dreppera969d8e2008-01-22 06:15:00 +000051 * dwarf_diecu.c (dwarf_diecu): Use the new macro.
Ulrich Drepper35f08c42008-01-18 19:59:08 +000052 * dwarf_getaranges (dwarf_getaranges): Use the new macro.
53 * dwarf_nextcu.c (dwarf_nextcu): Use the new macro.
54
55 * dwarf_getpubnames (get_offsets): Replace assertion with test and
56 error return.
57
58 * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Use CUDIE.
59
60 * dwarf_siblingof (dwarf_siblingof): Detect a NULL return pointer.
61 Set the address in the return structure to the address of the next
62 non-sibling die, if there is no sibling and the return pointer is
63 not the same as the die pointer.
64 * libdw.h: Expand the description of the dwarf_siblingof prototype.
65
66 * dwarf_child.c: Fix typo in comment.
67
68 * libdwP.h (DWARF_VERSION): Change to 3.
69
70 * dwarf_formref.c (__libdw_formref.c): Handle attributes which do
71 not have a initialised valp pointer.
72
73 * dwarf_getattrs.c (dwarf_getattrs): Return 1 rather than 0 when
74 the end of the attributes is reached. When the callback fails,
75 return the address of the failing attribute, not the address of
76 its successor.
77 * libdw.h: Expand the description of the dwarf_getattrs prototype.
78
79 * dwarf_child.c (__libdw_find_attr): Use the new definition.
80 (dwarf_child): Likewise.
81 * dwarf_tag.c (__libdw_findabbrev): Likewise.
82 (dwarf_tag): Likewise.
83
Ulrich Dreppere219f1c2008-01-09 05:49:49 +0000842008-01-08 Roland McGrath <roland@redhat.com>
85
86 * Makefile.am (euinclude): Variable removed.
87 (pkginclude_HEADERS): Set this instead of euinclude_HEADERS.
88 (libdw.so): Pass -Wl,--enable-new-dtags,-rpath,$(pkglibdir).
89
Roland McGrathe4c22ea2007-10-23 13:07:39 +0000902007-10-17 Roland McGrath <roland@redhat.com>
91
92 * libdw.h (__deprecated_attribute__): New macro.
93 (dwarf_formref): Mark it deprecated.
94 * dwarf_formref.c (__libdw_formref): New function, broken out of ...
95 (dwarf_formref): ... here. Call it. Remove INTDEF.
96 * libdwP.h: Remove INTDECL.
97 Declare __libdw_formref.
98 * dwarf_siblingof.c (dwarf_siblingof): Call __libdw_formref instead.
99 * dwarf_formref_die.c: Likewise. Handle DW_FORM_ref_addr here.
100
101 * libdw_form.c (__libdw_form_val_len): Fix DW_FORM_ref_addr result,
102 needs to check CU->version.
103
104 * libdwP.h (struct Dwarf_CU): New member `version'.
105 * libdw_findcu.c (__libdw_findcu): Initialize it.
106
107 * dwarf_child.c: Return 1 for null entry as first child.
108
Ulrich Drepperb597dfa2007-10-16 05:21:27 +00001092007-10-05 Roland McGrath <roland@redhat.com>
110
111 * dwarf_begin_elf.c (check_section): Punt on SHT_NOBITS sections.
112
113 * libdw.h (__extern_inline): Rename to __libdw_extern_inline.
114 [__OPTIMIZE__] (dwarf_whatattr, dwarf_whatform): Update uses.
115
Roland McGrath59ea7f32007-10-04 08:50:09 +00001162007-10-03 Roland McGrath <roland@redhat.com>
117
118 * libdw.map (ELFUTILS_0.130: Add dwfl_build_id_find_elf
119 and dwfl_build_id_find_debuginfo.
120
121 * libdw.map (ELFUTILS_0.130): New version set, inherits from
122 ELFUTILS_0.127. Add dwfl_module_build_id, dwfl_module_report_build_id.
123
Roland McGrath057ec6b2007-10-02 20:55:05 +00001242007-10-02 Roland McGrath <roland@redhat.com>
125
126 * libdw_visit_scopes.c (classify_die): Return walk for class_type and
127 structure_type.
128
Roland McGrathd1a48172007-08-07 19:51:01 +00001292007-08-07 Roland McGrath <roland@redhat.com>
130
131 * dwarf_getscopes.c (pc_match): Swallow dwarf_haspc error return when
132 error code is DWARF_E_NOERROR (0).
133
134 * dwarf_getscopes.c (pc_record): Always bail early if DIE->prune.
135 Fix typo in __libdw_visit_scopes argument.
136
137 * dwarf_getscopes.c (pc_match): Check dwarf_haspc error return,
138 swallow DWARF_E_NO_DEBUG_RANGES but not other errors.
139
Roland McGrath87d47802007-07-16 22:23:37 +00001402007-07-03 Roland McGrath <roland@redhat.com>
141
142 * libdw.h (__extern_inline): New macro.
143 [__OPTIMIZE__] (dwarf_whatattr, dwarf_whatform): Use it.
144
Roland McGrath43da9892007-04-16 23:13:37 +00001452007-04-16 Roland McGrath <roland@redhat.com>
146
147 * libdw.map (ELFUTILS_0.127): Add dwfl_module_address_section.
148
Roland McGrathbf2ee482007-04-05 09:27:36 +00001492007-04-05 Roland McGrath <roland@redhat.com>
150
Roland McGrath43da9892007-04-16 23:13:37 +0000151 * dwarf_getsrcdirs.c: New file.
152 * Makefile.am (libdw_a_SOURCES): Add it.
153 * libdw.h: Declare dwarf_getsrcdirs.
154 * libdw.map (ELFUTILS_0.127): Add it.
155
156 * libdwP.h (struct Dwarf_Files_s): New member ndirs.
157 * dwarf_getsrclines.c (dwarf_getsrclines): Don't clobber NDIRLIST to
158 zero before we use it to check for DWARF_E_INVALID_DIR_IDX.
159 Save DIRARRAY in the Dwarf_Files.
160
Roland McGrathbf2ee482007-04-05 09:27:36 +0000161 * dwarf_ranges.c (dwarf_ranges): Don't sign-extend 32-bit BEGIN
162 address to check for all-ones base address entry. Check directly.
163 Reported by Sébastien Dugué <sebastien.dugue@bull.net>.
164
Ulrich Drepperc07fbb32007-03-30 19:14:59 +00001652007-03-25 Roland McGrath <roland@redhat.com>
166
167 * dwarf_begin_elf.c (check_section): Return Dwarf * instead of void.
168 Return NULL when freeing RESULT on error.
169 (global_read, scngrp_read): Check return value from check_section,
170 break out of loop after it has freed RESULT.
171 (valid_p): Handle null argument.
172
Ulrich Drepper6258e742007-03-13 06:22:40 +00001732007-03-12 Roland McGrath <roland@redhat.com>
174
175 * libdw.map (ELFUTILS_0.127): Add dwfl_report_begin_add.
176
1772007-03-04 Roland McGrath <roland@redhat.com>
178
179 * libdw.map (ELFUTILS_0.127): New version set, inherits from
180 ELFUTILS_0.126. Add dwfl_module_addrsym.
181
Ulrich Drepper903c1162007-02-15 19:40:37 +00001822007-02-10 Roland McGrath <roland@redhat.com>
183
184 * dwarf.h (DW_OP_fbreg): Comment fix.
185
Ulrich Drepperaa915fd2007-02-05 07:25:33 +00001862007-02-03 Roland McGrath <roland@redhat.com>
187
188 * dwarf_getelf.c (dwarf_getelf): Renamed from dwarf_get_elf.
189 * libdw.map (ELFUTILS_0.126): New version set, inherits from
190 ELFUTILS_0.122. Move dwarf_getelf there; it was never truly
191 exported in the past.
192
Roland McGrath8190db62006-12-17 23:56:51 +00001932006-12-17 Roland McGrath <roland@redhat.com>
194
195 * dwarf_getlocation.c (dwarf_getlocation_addr): Use zero as base
196 address when the CU is missing attributes due to buggy GCC.
197
Roland McGrathc373d852006-10-10 00:25:21 +00001982006-08-29 Roland McGrath <roland@redhat.com>
199
200 * Makefile.am (CLEANFILES): Add libdw.so.$(VERSION).
201
202 * libdw.h (dwarf_diecu): Add __nonnull_attribute__.
203 (dwarf_child): Don't list arg 1 in __nonnull_attribute__.
204
205 * libdw_alloc.c (__libdw_allocate): Take new ALIGN argument, make sure
206 result is aligned. Adjust NEWP->remaining here for this allocation.
207 * libdwP.h: Update decl.
208 (libdw_alloc): Update caller.
209
Ulrich Drepper077c65f2006-07-12 19:54:51 +00002102006-07-12 Ulrich Drepper <drepper@redhat.com>
211
212 * dwarf_child.c: Adjust for internal_function_def removal.
213 * dwarf_getabbrev.c: Likewise.
214 * dwarf_tag.c: Likewise.
215 * libdw_form.c: Likewise.
216 * memory-access.c: Likewise.
217
Ulrich Dreppere1812e12006-07-12 07:46:03 +00002182006-06-28 Roland McGrath <roland@redhat.com>
219
220 * libdw.map: Export dwfl_linecu, dwfl_line_comp_dir.
221
222 * libdw.map: Bump to 0.122; export dwfl_module_getsymtab and
223 dwfl_module_getsym.
224
Ulrich Drepper3be74472006-05-27 18:15:40 +00002252006-05-27 Ulrich Drepper <drepper@redhat.com>
226
227 * libdw.h: Add extern "C".
228
Ulrich Dreppere7a73172006-05-22 18:16:45 +00002292006-05-22 Ulrich Drepper <drepper@redhat.com>
230
231 * dwarf_getaranges.c (dwarf_getaranges): Handle files without
232 aranges information.
233
Ulrich Drepper4f3d2a22006-05-22 01:30:56 +00002342006-05-21 Ulrich Drepper <drepper@redhat.com>
235
236 * libdw.h: Add nonnull attributes to dwarf_tag, dwarf_getattrs,
237 dwarf_haschildren.
238
Roland McGrath2dade662006-02-28 22:13:20 +00002392006-02-28 Roland McGrath <roland@redhat.com>
240
241 * dwarf.h: Add missing DW_ATE_*, DW_TAG_*, DW_LANG_*, DW_CFA_*,
242 DW_OP_* values, to match DWARF 3.0. Add new DW_DS_*, DW_END_*
243 values from DWARF 3.0.
244
Roland McGrath08333122006-02-27 04:54:26 +00002452006-02-22 Roland McGrath <roland@redhat.com>
246
247 * libdw.map: Bump to 0.120; export dwfl_version.
248
Roland McGrath50ffcbf2005-12-23 01:51:43 +00002492005-12-22 Roland McGrath <roland@redhat.com>
250
251 * libdw.map: Bump to 0.119; export dwfl_linux_proc_maps_report.
252
Roland McGrathdec3a242005-12-12 08:35:55 +00002532005-12-12 Roland McGrath <roland@redhat.com>
254
255 * dwarf_ranges.c: Copy CU base address-finding code from
256 dwarf_getlocation.
257
Roland McGrathf64a4422005-12-09 23:40:30 +00002582005-12-09 Roland McGrath <roland@redhat.com>
259
260 * dwarf_getlocation.c (dwarf_getlocation_addr): Add some unlikelys.
261 Delay CU base lookup until it's needed.
262 If CU base lookup fails with no error, flag invalid DWARF.
263
Roland McGrath994b4892005-12-05 22:46:21 +00002642005-11-25 Roland McGrath <roland@redhat.com>
265
266 * libdw.map: Bump to 0.118; export dwfl_module_register_names.
267
Roland McGrathe47ab762005-11-17 03:16:00 +00002682005-11-15 Roland McGrath <roland@redhat.com>
269
270 * Makefile.am [BUILD_STATIC] (AM_CFLAGS): Add -fpic.
271
2722005-11-13 Roland McGrath <roland@redhat.com>
273
274 * libdw.map: Bump to 0.117; export dwfl_module_return_value_location.
275
Roland McGrath07d4f2f2005-10-28 06:56:24 +00002762005-10-27 Roland McGrath <roland@redhat.com>
277
278 * dwarf_entry_breakpoints.c (search_range): Fix binary search code;
279 don't match end_sequence markers.
280
281 * dwarf_getsrclines.c (compare_lines): Sort end_sequence markers
282 before normal records at the same address.
283 * dwarf_getsrc_die.c (dwarf_getsrc_die): Don't match an end_sequence
284 marker.
285
2862005-10-26 Roland McGrath <roland@redhat.com>
287
Roland McGrath6724c902005-10-28 07:07:19 +0000288 * dwarf_getfuncs.c (dwarf_getfuncs): Use Dwarf_Die, not Dwarf_Func.
289 * dwarf_func_file.c: Renamed to ...
290 * dwarf_decl_file.c: ... here.
291 * dwarf_func_col.c: Renamed to ...
292 * dwarf_decl_column.c: ... here.
293 * dwarf_func_line.c: Renamed to ...
294 * dwarf_decl_line.c: ... here.
295 (dwarf_func_line): Renamed to ...
296 (dwarf_decl_line): ... this. Take a Dwarf_Die * argument.
297 (__libdw_func_intval): Renamed __libdw_attr_intval.
298 * dwarf_func_name.c: File removed.
299 * dwarf_func_lowpc.c: File removed.
300 * dwarf_func_highpc.c: File removed.
301 * dwarf_func_entrypc.c: File removed.
302 * dwarf_func_die.c: File removed.
303 * Makefile.am (libdw_a_SOURCES): Updated.
304 * libdw.h: Update decls.
305 (Dwarf_Func): Type removed.
306 * libdwP.h: Update decls.
307 (struct Dwarf_Func_s): Type removed.
308 * libdw.map: Updated.
309
310 * libdwP.h (CUDIE): New macro.
311 * dwarf_getlocation.c (dwarf_getlocation_addr): Use it.
312 * dwarf_getscopes_die.c (dwarf_getscopes_die): Likewise.
313 * dwarf_ranges.c (dwarf_ranges): Likewise.
314
315 * dwarf_getloclist.c: Renamed to ...
316 * dwarf_getlocation.c: ... here.
317 (getloclist): Renamed to getlocation.
318 (dwarf_getloclist): Renamed to dwarf_getlocation.
319 (dwarf_addrloclists): Renamed to dwarf_getlocation_addr.
320 * Makefile.am (libdw_a_SOURCES): Updated.
321 * libdw.h (dwarf_getloclist): Renamed to dwarf_getlocation.
322 (dwarf_addrloclists): Renamed dwarf_getlocation_addr.
323 (Dwarf_Loc): Renamed Dwarf_Op.
324 * libdwP.h (struct loc_s): Update use.
325 * libdw.map: Update map.
326
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000327 * dwarf_entry_breakpoints.c: Use the second line record within the
328 function, regardless of its source location data.
329
3302005-10-25 Roland McGrath <roland@redhat.com>
331
332 * dwarf_entry_breakpoints.c: Fall back to entrypc for contiguous too.
333
334 * libdw.map: Add dwarf_entrypc, dwarf_entry_breakpoints.
335
3362005-10-14 Roland McGrath <roland@redhat.com>
337
338 * dwarf_diecu.c (dwarf_diecu): New file.
339 * Makefile.am (libdw_a_SOURCES): Add it.
340 * libdw.h: Declare dwarf_diecu.
341 * libdw.map: Export it.
342
343 * libdw.map: Bump to 0.116; export dwarf_ranges.
344
3452005-09-20 Roland McGrath <roland@redhat.com>
346
347 * dwarf_haspc.c: Use dwarf_ranges.
348 * dwarf_entry_breakpoints.c: Likewise.
349
350 * dwarf_ranges.c: New file.
351 * Makefile.am (libdw_a_SOURCES): Add it.
352 * libdw.h: Declare dwarf_ranges.
353 * libdwP.h: Add INTDECL.
354
3552005-09-14 Roland McGrath <roland@redhat.com>
356
357 * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Fix braino in
358 prologue_end marker scanning loop.
359
3602005-09-11 Roland McGrath <roland@redhat.com>
361
362 * dwarf.h: Comment typo fix.
363
3642005-09-07 Roland McGrath <roland@redhat.com>
365
366 * dwarf_entry_breakpoints.c: New file.
367 * Makefile.am (libdw_a_SOURCES): Add it.
368 * libdw.h: Declare dwarf_entry_breakpoints.
369
370 * dwarf_entrypc.c: New file.
371 * Makefile.am (libdw_a_SOURCES): Add it.
372 * libdw.h: Declare dwarf_entrypc.
373 * libdwP.h: Add INTDECL.
374
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00003752005-08-28 Ulrich Drepper <drepper@redhat.com>
376
377 * Makefile.am: Use $(LINK) not $(CC) when creating DSO.
378 (%.os): Use COMPILE.os.
379 (COMPILE.os): Filter out gconv options.
380
Roland McGrath71e15a02005-08-27 10:33:26 +00003812005-08-27 Roland McGrath <roland@redhat.com>
382
383 * dwarf_getscopes.c (dwarf_getscopes): Rewritten using
384 __libdw_visit_scopes.
385
386 * dwarf_getscopes_die.c: New file.
387 * Makefile.am (libdw_a_SOURCES): Add it.
388 * libdw.h: Declare dwarf_getscopes_die.
389 * libdw.map: Bump to 0.115 and add it.
390
391 * libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct
392 containing a DIE and its parent pointer, instead of just Dwarf_Die.
393 Take two functions for both preorder and postorder visitors.
394 * libdwP.h: Update decl.
395 (struct Dwarf_Die_Chain): New type.
396 * dwarf_func_inline.c: Update uses.
397
398 * dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate.
399 Add INTDEF.
400 * libdwP.h: Add INTDECL.
401 * dwarf_func_name.c (dwarf_func_name): Use dwarf_diename.
402
Roland McGrathd17fac72005-08-23 08:20:21 +00004032005-08-23 Roland McGrath <roland@redhat.com>
404
405 * dwarf_attr_integrate.c (dwarf_attr_integrate): Treat
406 DW_AT_specification the same as DW_AT_abstract_origin.
407
4082005-08-20 Roland McGrath <roland@redhat.com>
409
410 * libdw.map: Add dwfl_cumodule, remove dwfl_linecu.
411 Add dwfl_linux_kernel_report_offline, dwfl_offline_section_address,
412 and dwfl_report_offline.
413
4142005-08-19 Roland McGrath <roland@redhat.com>
415
416 * libdw.map: Bump version to ELFUTILS_0.114 for libdwfl changes.
417 Add dwfl_module_relocate_address, dwfl_module_relocations,
418 dwfl_module_relocation_info.
419
Roland McGrathf5fda7d2005-08-18 22:01:57 +00004202005-08-18 Roland McGrath <roland@redhat.com>
421
422 * dwarf_getscopes.c (dwarf_getscopes): Include the CU itself as
423 outermost scope in the results.
424
Roland McGrath1ecb6062005-08-15 09:53:04 +00004252005-08-15 Roland McGrath <roland@redhat.com>
426
427 * dwarf_func_inline.c: New file.
428 * Makefile.am (libdw_a_SOURCES): Add it.
429 * libdw.h: Declare dwarf_func_inline, dwarf_func_inline_instances.
430 * libdw.map: Add them.
431
432 * dwarf_func_die.c: New file.
433 * Makefile.am (libdw_a_SOURCES): Add it.
434 * libdw.h: Declare dwarf_func_die.
435 * libdw.map: Add it. Bump version to ELFUTILS_0.114.
436
Roland McGrath1c83bf12005-08-11 07:03:55 +00004372005-08-10 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000438
Roland McGrath1c83bf12005-08-11 07:03:55 +0000439 * dwarf_getsrclines.c (dwarf_getsrclines): Correct fallout of renaming
440 of DW_LNS_set_epilog_begin.
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000441
Roland McGrath4959bf82005-08-09 10:31:08 +00004422005-08-09 Roland McGrath <roland@redhat.com>
443
Roland McGrathb6312e12005-08-09 10:36:01 +0000444 * dwarf.h (DW_LNS_set_epilog_begin): Renamed DW_LNS_set_epilogue_begin.
445
Roland McGrath4959bf82005-08-09 10:31:08 +0000446 * dwarf_end.c: Add INTDEF.
447 * dwarf_error.c (dwarf_errmsg): Likewise.
448 * libdwP.h (dwarf_end, dwarf_errmsg): Add INTDECLs.
449
Roland McGratha5a89682005-08-02 01:24:01 +00004502005-08-01 Roland McGrath <roland@redhat.com>
451
452 * dwarf_getaranges.c (dwarf_getaranges): Check for bogus offset.
453 * dwarf_getabbrev.c (__libdw_getabbrev): Likewise.
454
Ulrich Drepper18618fd2005-07-28 21:29:22 +00004552005-07-28 Ulrich Drepper <drepper@redhat.com>
456
457 * Makefile.am (libdw.so): No need to link with libeu.a anymore.
458 (libdw_a_LIBADD): Add all files from libdwfl.a.
459
Roland McGrath366784a2005-07-28 06:20:53 +00004602005-07-27 Roland McGrath <roland@redhat.com>
461
Roland McGrath18385902005-07-28 07:12:38 +0000462 * Makefile.am (libdw.so): Link ../libdwfl/libdwfl_pic.a in,
463 along with ../libebl/libebl.a and ../lib/libeu.a;
464 depend on ../libelf/libelf.so.
465 (libdw_so_LDADD): New variable.
466 * libdw.map: Add dwfl_* symbols formerly in ../libdwfl/libdwfl.map.
467
Roland McGrath366784a2005-07-28 06:20:53 +0000468 * libdw.map: Define an empty base version and move all symbols to
469 version ELFUTILS_0.111; don't define ELFUTILS_1.0 at all yet.
470
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00004712005-07-23 Ulrich Drepper <drepper@redhat.com>
472
473 * dwarf_error.c: Add internal alias for dwarf_errno.
474 * libdwP.h: Declare __dwarf_errno_internal.
475 * dwarf_getloclist.c: Use INTDEF for dwarf_errno.
476
477 * dwarf_error.c [USE_TLS]: Actually use __thread in definition of
478 global_error.
479
4802005-06-01 Roland McGrath <roland@redhat.com>
481
482 * dwarf_getaranges.c (dwarf_getaranges): Sort result array.
483 * dwarf_getarange_addr.c (dwarf_getarange_addr): Use binary search.
484
4852005-06-08 Roland McGrath <roland@redhat.com>
486
487 * memory-access.h (get_uleb128_step, get_uleb128): Remove casts.
488 (get_sleb128_step, get_sleb128): Likewise.
489 * dwarf_getattrs.c (dwarf_getattrs): Add consts.
490 * dwarf_getloclist.c (getloclist): Likewise.
491 * dwarf_formblock.c (dwarf_formblock): Likewise.
492 * dwarf_getsrclines.c (dwarf_getsrclines): Likewise.
493 * dwarf_getabbrevattr.c (dwarf_getabbrevattr): Likewise.
494 * dwarf_formref.c (dwarf_formref): Likewise.
495 * dwarf_formsdata.c (dwarf_formsdata): Likewise.
496 * dwarf_formudata.c (dwarf_formudata): Likewise.
497 * dwarf_haschildren.c (dwarf_haschildren): Likewise.
498 * dwarf_child.c (__libdw_find_attr, __libdw_find_attr): Likewise.
499 * dwarf_tag.c (dwarf_tag): Likewise.
500 * dwarf_getabbrev.c (__libdw_getabbrev): Likewise.
501 * memory-access.c (__libdw_get_uleb128, __libdw_get_sleb128): Likewise.
502 * libdw_form.c (__libdw_form_val_len): Likewise.
503 * libdwP.h: Update decl.
504
5052005-06-04 Roland McGrath <roland@redhat.com>
506
507 * memory-access.h (get_uleb128_rest_return): New macro.
508 [! IS_LIBDW] (__libdw_get_uleb128): New static, defined using it.
509 (get_sleb128_rest_return): New macro.
510 [! IS_LIBDW] (__libdw_get_sleb128): New static, defined using it.
511 * memory-access.c: New file.
512 * Makefile.am (libdw_a_SOURCES): Add it.
513 (DEFS): Add -DIS_LIBDW.
514
5152005-05-31 Roland McGrath <roland@redhat.com>
516
517 * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to
518 formref offset.
519
5202005-05-30 Roland McGrath <roland@redhat.com>
521
522 * dwarf_getloclist.c (dwarf_addrloclists): Use DW_AT_entry_pc for base
523 address if DW_AT_low_pc is missing. Not to spec, but GCC generates it.
524
525 * dwarf_getloclist.c (dwarf_addrloclists): Don't sign-extend 4-byte
526 BEGIN value. Instead, match base address entries separately for
527 32/64 size cases.
528
5292005-05-28 Roland McGrath <roland@redhat.com>
530
531 * dwarf_getloclist.c (dwarf_addrloclists): Fix decoding to advance
532 past location expression contents.
533
5342005-05-23 Roland McGrath <roland@redhat.com>
535
536 * dwarf_getsrclines.c: Comment typo fix.
537
538 * dwarf_haspc.c (dwarf_haspc): Fix CU DIE address calculation.
539 * dwarf_getloclist.c (dwarf_addrloclists): Likewise.
540
5412005-05-22 Ulrich Drepper <drepper@redhat.com>
542
543 * libdwP.h: Only use INTDECL for alias prototypes.
544
5452005-05-19 Roland McGrath <roland@redhat.com>
546
547 * dwarf_getloclist.c (attr_ok): Permit DW_AT_static_link too.
548
549 * dwarf_getscopevar.c: New file.
550 * Makefile.am (libdw_a_SOURCES): Add it.
551 * libdw.h: Declare dwarf_getscopevar.
552
553 * dwarf_getsrcfiles.c: Add INTDEF.
554 * dwarf_haschildren.c: Likewise.
555 * libdwP.h (dwarf_getsrcfiles, dwarf_haschildren): Add INTDECL.
556
557 * dwarf_getscopes.c: New file.
558 * Makefile.am (libdw_a_SOURCES): Add it.
559 * libdw.h: Declare dwarf_getscopes.
560 * libdw.map: Add it.
561
5622005-05-18 Roland McGrath <roland@redhat.com>
563
564 * libdwP.h (IDX_debug_ranges): New enum constant.
565 * dwarf_begin_elf.c (dwarf_scnnames): Add it for ".debug_ranges".
566 * libdwP.h (DWARF_E_NO_DEBUG_RANGES): New enum constant.
567 * dwarf_error.c (errmsgs): Add it.
568 * dwarf_haspc.c: New file.
569 * libdw.h: Declare dwarf_haspc.
570 * libdw.map: Add it.
571 * libdwP.h: Add INTDECL.
572
573 * dwarf_attr_integrate.c: New file.
574 * dwarf_hasattr_integrate.c: New file.
575 * Makefile.am (libdw_a_SOURCES): Add them.
576 * libdw.h: Declare dwarf_attr_integrate, dwarf_hasattr_integrate.
577 * libdw.map: Add them.
578
579 * dwarf_hasattr.c: Add INTDEF.
580 * libdwP.h: Add INTDECL for it.
581
582 * dwarf_formref_die.c: New file.
583 * Makefile.am (libdw_a_SOURCES): Add it.
584 * libdw.h (dwarf_formref_die): Declare it.
585 * libdwP.h (dwarf_formref_die): Add INTDECL.
586 * libdw.map: Add it.
587
588 * dwarf_getloclist.c (attr_ok, getloclist): New functions, broken out
589 of ...
590 (dwarf_getloclist): ... here. Call them.
591 (dwarf_addrloclists): New function.
592 * libdw.h: Declare it.
593 * libdw.map: Add it.
594
595 * dwarf_getmacros.c (dwarf_getmacros): Don't bail at
596 DW_MACINFO_end_file. Recognize type 0 as terminator.
597
5982005-05-05 Roland McGrath <roland@redhat.com>
599
600 * dwarf_getsrc_die.c (dwarf_getsrc_die): Use binary search.
601
602 * dwarf_getsrclines.c (dwarf_getsrclines): Sort result array, since
603 the line program does not produce all entries in ascending order.
604
6052005-04-25 Ulrich Drepper <drepper@redhat.com>
606
607 * dwarf_getsrc_file.c (dwarf_getsrc_file): Handle multiple
608 occurences (e.g., inlines) better.
609
6102005-04-24 Ulrich Drepper <drepper@redhat.com>
611
612 * libdw.h (DWARF_END_ABBREV): Define.
613 * dwarf_getabbrev.c (__libdw_getabbrev): Return DWARF_END_ABBREV if
614 end is reached.
615 * dwarf_offabbrev.c (dwarf_offabbrev): Return -1 on error, 1 if end
616 of records reached.
617 * dwarf_tag.c (__libdw_findabbrev): Also recognize DWARF_END_ABBREV
618 as error of __libdw_getabbrev.
619
6202005-04-04 Ulrich Drepper <drepper@redhat.com>
621
622 * dwarf_getsrc_file.c (dwarf_getsrc_file): Minor optimization.
623
624 * dwarf_getsrc_file.c (dwarf_getsrc_file): Always pass number of
625 results back to caller.
626
6272005-04-04 Roland McGrath <roland@redhat.com>
628
629 * dwarf_getsrc_file.c (dwarf_getsrc_file): Use size_t for CUHL.
630
631 * dwarf_func_line.c (__libdw_func_intval): Use internal_function in
632 defn.
633
6342005-04-04 Ulrich Drepper <drepper@redhat.com>
635
636 * dwarf_getsrc_file.c (dwarf_getsrc_file): Use INTUSE.
637
638 * dwarf_getsrc_file.c: New file.
639 * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrc_file.c.
640 * libdw.h: Declare dwarf_getsrc_file.
641 * libdw.map: Add dwarf_getsrc_file.
642
6432005-04-02 Ulrich Drepper <drepper@redhat.com>
644
645 * dwarf_func_entrypc.c: New file.
646 * dwarf_func_col.c: New file.
647 * dwarf_func_line.c: New file.
648 * dwarf_func_file.c: New file.
649 * libdw.h: Add prototypes for new functions.
650 * libdw.map: Add dwarf_func_entrypc, dwarf_func_col, dwarf_func_line,
651 dwarf_func_file.
652 * Makefile.am (libdw_a_SOURCES): Add dwarf_func_entrypc.c,
653 dwarf_func_col.c, dwarf_func_line.c, dwarf_func_file.c.
654 * libdwP.h (struct Dwarf_Func_s): Add cudie element.
655 Declare __libdw_func_intval and __dwarf_formsdata_internal.
656 * dwarf_getfuncs.c: Also fill in cudie in Dwarf_Func object.
657 * dwarf_formsdata.c: Use INTUSE and INTDEF to avoid PLTs.
658
659 * dwarf.h: Add some DWARF3 definitions.
660
6612005-04-01 Ulrich Drepper <drepper@redhat.com>
662
663 * dwarf_getfuncs.c: New file.
664 * dwarf_func_highpc.c: New file.
665 * dwarf_func_lowpc.c: New file.
666 * dwarf_func_name.c: New file.
667 * Makefile.am (libdw_a_SOURCES): Add dwarf_getfuncs.c,
668 dwarf_func_highpc.c, dwarf_func_lowpc.c, and dwarf_func_name.c.
669 * libdw.map: Add dwarf_getfuncs, dwarf_func_highpc, dwarf_func_lowpc,
670 and dwarf_func_name.
671 * libdw.h: Add prototypes for new functions.
672 * dwarf_child.c: Use INTUSE and INTDEF to avoid PLTs.
673 * dwarf_siblingof.c: Likewise.
674 * dwarf_dieoffset.c: Likewise.
675 * dwarf_highpc.c: Likewise.
676 * dwarf_lowpc.c: Likewise.
677 * libdwP.h: Add prototypes for internal functions.
678 Define Dwarf_Func_s structure.
679
6802005-03-29 Ulrich Drepper <drepper@redhat.com>
681
682 * libdw.h: Add padding in Dwarf_die.
683
684 * dwarf_arrayorder.c: Use INTUSE and INTDEF to avoid PLTs.
685 * dwarf_attr.c: Likewise.
686 * dwarf_begin.c: Likewise.
687 * dwarf_begin_elf.c: Likewise.
688 * dwarf_bitoffset.c: Likewise.
689 * dwarf_bitsize.c: Likewise.
690 * dwarf_bytesize.c: Likewise.
691 * dwarf_diename.c: Likewise.
692 * dwarf_formaddr.c: Likewise.
693 * dwarf_formblock.c: Likewise.
694 * dwarf_formref.c: Likewise.
695 * dwarf_formstring.c: Likewise.
696 * dwarf_formudata.c: Likewise.
697 * dwarf_getarange_addr.c: Likewise.
698 * dwarf_getarangeinfo.c: Likewise.
699 * dwarf_getaranges.c: Likewise.
700 * dwarf_getloclist.c: Likewise.
701 * dwarf_getmacros.c: Likewise.
702 * dwarf_getsrc_die.c: Likewise.
703 * dwarf_getsrcfiles.c: Likewise.
704 * dwarf_getsrclines.c: Likewise.
705 * dwarf_highpc.c: Likewise.
706 * dwarf_lowpc.c: Likewise.
707 * dwarf_nextcu.c: Likewise.
708 * dwarf_offdie.c: Likewise.
709 * dwarf_siblingof.c: Likewise.
710 * dwarf_srclang.c: Likewise.
711 * dwarf_tag.c: Likewise.
712 * libdw_findcu.c: Likewise.
713 * libdwP.h: Add prototypes for internal functions.
714
715 * dwarf_addrdie.c: New file.
716 * dwarf_macro_opcode.c: New file.
717 * dwarf_macro_param1.c: New file.
718 * dwarf_macro_param2.c: New file.
719 * libdw.h: Add declarations. Move Dwarf_Macro definition to libdwP.h.
720 * libdwP.h: Remove Dwarf_Macro definition.
721 * Makefile.am (libdw_a_SOURCES): Add dwarf_addrdie.c,
722 dwarf_macro_opcode.c, dwarf_macro_param1.c, and dwarf_macro_param2.c.
723 * libdw.map: Add entries for new functions.
724
7252005-03-21 Ulrich Drepper <drepper@redhat.com>
726
727 * libdw.h: Handle broken gcc < 4.
728
7292005-02-15 Ulrich Drepper <drepper@redhat.com>
730
731 * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
732
733 * dwarf_begin_elf.c: Fix warnings.
734 * dwarf_dieoffset.c: Likewise.
735 * dwarf_end.c: Likewise.
736 * dwarf_error.c: Likewise.
737 * dwarf_getpubnames.c: Likewise.
738
739 * libdwP.h: Add new error values.
740 * dwarf_error.c: Support new error values.
741 * dwarf_getpubnames.c: Check parameter value.
742
7432005-02-05 Ulrich Drepper <drepper@redhat.com>
744
745 * Makefile.am: Check for text relocations in constructed DSO.
746
747 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.
748
7492005-02-04 Ulrich Drepper <drepper@redhat.com>
750
751 * dwarf_siblingof.c (dwarf_siblingof): Add some buffer boundary
752 checks to not read over buffer boundaries for ill-formed DWARF data.
753
7542004-09-25 Ulrich Drepper <drepper@redhat.com>
755
756 * dwarf_child.c: Make compile with gcc 4.0.
757 * dwarf_error.c: Likewise.
758 * dwarf_formblock.c: Likewise.
759 * dwarf_getabbrev.c: Likewise.
760 * dwarf_getattrs.c: Likewise.
761 * dwarf_getsrclines.c: Likewise.
762 * dwarf_tag.c: Likewise.
763 * libdw_form.c: Likewise.
764
7652004-01-20 Ulrich Drepper <drepper@redhat.com>
766
767 * Makefile.am: Support building with mudflap.
768
769 * dwarf_getloclist.c: Fix warnings gcc 3.4 spits out.
770 * dwarf_getsrclines.c: Likewise.
771 * dwarf_memory-access.h: Likewise.
772
7732004-01-19 Ulrich Drepper <drepper@redhat.com>
774
775 * dwarf_getsrcfiles.c: Third parameter can be NULL.
776
777 * libdw.h: Define Dwarf_macro. Declare dwarf_getmacros.
778 Third parameter of dwarf_getsrcfiles can be NULL.
779
780 * libdw.map: Add dwarf_getmacros.
781 * Makefile.am (libdw_a_SOURCES): Add dwarf_getmacros.
782 * dwarf_getmacros.c: New file.
783
7842004-01-18 Ulrich Drepper <drepper@redhat.com>
785
786 * libdw.h: Second parameter of dwarf_getaranges can be NULL.
787
788 * dwarf_nextcu.c: Return -1 if dwarf parameter is NULL.
789
790 * dwarf_getsrclines.c:
791 Use read_2ubyte_unaligned_inc instead of _inc-less variant.
792
793 * dwarf_getaranges.c: Allow naranges parameter to be NULL.
794
795 * libdwP.h (_): Use elfutils domain.
796
797 * dwarf_getsrclines.c (dwarf_getsrclines): Add more branch prediction.
798
799 * dwarf_getsrclines.c: Fix typo in comment.
800
8012004-01-17 Ulrich Drepper <drepper@redhat.com>
802
803 * Makefile.am: Support building with mudflap.
804
8052004-01-16 Ulrich Drepper <drepper@redhat.com>
806
807 * memory-access.h: Add lots of const in case a pointer passed is const.
808
809 * dwarf_formflag.c: New file.
810 * dwarf_getattrs.c: New file.
811 * dwarf_error.c: Add new error value.
812 * libdw.h: Add prototypes for new functions. Adjust prototype for
813 dwarf_getpubnames.
814 * libdw.map: Add new functions.
815 * dwarf_getpubnames.c: Change type of return value and fourth parameter
816 to ptrdiff_t.
817 * libdwP.h: Add new error value.
818 * Makefile.am (libdw_a_SOURCES): Add dwarf_getattrs.c and
819 dwarf_formflag.c.
820
821 * dwarf_getpubnames.c (dwarf_getpubnames): Just fail if dbg is NULL.
822
8232004-01-12 Ulrich Drepper <drepper@redhat.com>
824
825 * dwarf_getarange_addr.c: New file
826 * dwarf_getarangeinfo.c: New file.
827 * dwarf_getaranges.c: New file.
828 * dwarf_onerange.c: New file.
829 * libdw.h: Declare new functions. Define Dwarf_Arange and
830 Dwarf_Aranges.
831 * libdw.map: Add new functions.
832 * libdwP.h: Add new errors. Add aranges member to struct Dwarf.
833 Define Dwarf_Aranges_s and Dwarf_Arange_s.
834 * Makefile.am (libdw_a_SOURCES): Add dwarf_getaranges.c,
835 dwarf_onearange.c, dwarf_getarangeinfo.c, dwarf_getarange_addr.c.
836 * dwarf_error.c: Add new message.
837
8382004-01-11 Ulrich Drepper <drepper@redhat.com>
839
840 * Makefile.am (libdw_a_SOURCES): Add dwarf_lineaddr.c, dwarf_linecol.c,
841 dwarf_linebeginstatement.c, dwarf_lineendsequence.c, dwarf_lineblock.c,
842 dwarf_lineprologueend.c, dwarf_lineepiloguebegin.c, dwarf_onesrcline.c.
843 * dwarf_error.c: Add another message.
844 * dwarf_getsrc_die.c: Adjust for Dwarf_Files and Dwarf_Lines
845 introduction.
846 * dwarf_filesrc.c: Likewise.
847 * dwarf_getsrcfiles.c: Likewise.
848 * dwarf_getsrclines.c: Likewise.
849 * dwarf_lineaddr.c: New file.
850 * dwarf_linebeginstatement.c: New file.
851 * dwarf_lineblock.c: New file.
852 * dwarf_linecol.c: New file.
853 * dwarf_lineendsequence.c: New file.
854 * dwarf_lineepiloguebegin.c: New file.
855 * dwarf_lineno.c: New file.
856 * dwarf_lineprologueend.c: New file.
857 * dwarf_onesrcline.c: New file.
858 * dwarf_lineno.c: Change interface to store result in object pointed
859 to by second parameter.
860 * libdw.h: Add prototypes for new functions. Change dwarf_lineno
861 prototype. Define Dwarf_Files and Dwarf_Lines.
862 * libdw.map: Add new functions.
863 * libdwP.h: Define Dwarf_Files_s and Dwarf_Lines_s.
864 * libdw_findcu.c: Don't initialize nlines field.
865
866 * dwarf_siblingof: Little optimization.
867
868 * dwarf_begin.c: Remember that the ELF descriptor must be closed.
869 * dwarf_end.c: Close ELF descriptor if free_elf is set.
870 * libdwP.h (struct Dwarf): Add free_elf field.
871
872 * Makefile.am (libdw_a_SOURCES): Add dwarf_getstring.c and
873 dwarf_offabbrev.c.
874 * dwarf_getstring.c: New file.
875 * dwarf_offabbrev.c: New file.
876 * libdw.map: Add dwarf_getstring and dwarf_offabbrev.
877 * dwarf_getabbrev.c (__libdw_getabbrev): Add new dbg and result
878 parameters. Don't allocate memory if not necessary and don't lookup
879 previous results if no CU given.
880 (dwarf_getabbrev): Adjust call to __libdw_getabbrev.
881 * dwarf_tag.c: Adjust call to __libdw_getabbrev.
882 * libdw.h: Declare dwarf_offabbrev and dwarf_getstring.
883 * libdwP.h: Change prototype for __libdw_getabbrev.
884
885 * dwarf_getabbrevattr.c: Add offsetp parameter. Fill in before
886 returning if this is wanted.
887
8882004-01-09 Ulrich Drepper <drepper@redhat.com>
889
890 * dwarf_nextcu.c: Add new parameter offset_sizep. Initialize it
891 with offset_size value.
892 * libdw.h: Adjust dwarf_nextcu prototype.
893 * libdwP.h (struct Dwarf_CU): Add offset_size member.
894 * libdw_findcu.c: Adjust dwarf_nextcu call. Initialize offset_size
895 member of new CU struct.
896 * dwarf_formstring.c: Depend on offset_size not address_size for
897 DW_FORM_strp handling.
898 * dwarf_form.c: Likewise for DW_FORM_strp and DW_FORM_ref_addr.
899
900 * dwarf_tag.c (__libdw_findabbrev): Return correct value for
901 failing lookup.
902 (dwarf_tag): Correctly recognize failed lookup.
903
904 * dwarf_end.c (cu_free): Call tdestroy for locs member. Use new
905 function noop_free.
906 * dwarf_error.c: Add message for DWARF_E_NO_BLOCK.
907 * dwarf_formblock.c: New file.
908 * dwarf_getloclist.c: Rewrite to handle a single block.
909 * libdw.h: Define Dwarf_Block. Rename Dwarf_Loc members. Remove
910 Dwarf_Locdesc definition. Declare dwarf_formblock. Remove
911 dwarf_getloclistent declaration.
912 * libdw.map: Add dwarf_formblock, remove dwarf_getloclistent.
913 * libdwP.h: Define struct loc_s and DWARF_E_NO_BLOCK.
914 Add locs member to struct Dwarf_CU.
915 * libdw_fundcu.c: Initialize locs member of new CU.
916 * Makefile.am (libdw_a_SOURCES): Add dwarf_formblock.c.
917 Remove dwarf_getloclistent.c.
918
9192004-01-07 Ulrich Drepper <drepper@redhat.com>
920
921 * libdw.h: Use __nonnull__ attribute only for gcc >= 3.3.
922 * libdwP.h: Likewise.
923
924 * dwarf_getloclist.c: New file.
925 * dwarf_getloclistent.c: New file.
926 * libdw.h: Define Dwarf_Loc and Dwarf_Locdesc.
927 Declare dwarf_getloclistent and dwarf_getloclist.
928 * libdw.map: Add dwarf_getloclistent and dwarf_getloclist.
929 * libdwP.h: Define DWARF_E_NO_LOCLIST.
930 * Makefile.am (libdw_a_SOURCES): Add dwarf_getloclistent.c and
931 dwarf_getloclist.c.
932
933 * dwarf_error.c: More error messages.
934
9352004-01-06 Ulrich Drepper <drepper@redhat.com>
936
937 * dwarf_getsrclines.c: Remove debugging support.
938
939 * dwarf_getsrcfiles.c: New file.
940 * dwarf_filesrc.c: New file.
941 * libdw.h: Declare these functions. Define Dwarf_File.
942 * libdwP.c: Adjust Dwarf_File_s definition.
943 * libdw.map: Add these functions.
944 * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrcfiles.c and
945 dwarf_filesrc.c.
946 * dwarf_getsrclines.c: Initialize cu->files.
947
9482004-01-05 Ulrich Drepper <drepper@redhat.com>
949
950 * libdw.h: Add more nonnull function attributes.
951
952 * dwarf_begin_elf.c (dwarf_begin_elf): Don't initialize mem_tail->next.
953 * dwarf_end.c (cu_free): New function.
954 (dwarf_end): Also free CU tree. Correct freeing of memory blocks.
955 * dwarf_error.c (errmsgs): Add new messages.
956 * dwarf_getsrc_die.c: New file.
957 * dwarf_getsrclines.c: New file.
958 * dwarf_lineno.c: New file.
959 * dwarf_linesrc.c: New file.
960 * dwarf_nextcu.c (dwarf_nextcu): Use read_*byte_unaligned_inc
961 instead of the *_inc-less variants.
962 * libdw.h: Define Dwarf_Line. Add some function attributes. Declare
963 dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, and dwarf_linesrc.
964 * libdw.map: Add dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno,
965 and dwarf_linesrc.
966 * libdwP.h: Add more error codes.
967 (struct Dwarf): Remove mem_tail.next member.
968 (Dwarf_File): Define type.
969 (struct Dwarf_Line_s): Define type.
970 (struct Dwarf_CU): Add lines and nlines members.
971 (libdw_alloc): Define local variable _tail and use it.
972 Add some function attributes.
973 * libdw_alloc.c (__libdw_allocate): Don't initialize next member.
974 * libdw_findcu.c (__libdw_findcu): Initialize lines and nlines members.
975 * memory-access.h: Add unlikely for the endian conversion paths.
976 * Makefile.am (AM_CFLAGS): Add -std parameter.
977 (libdw_a_SOURCES): Add dwarf_getsrclines, dwarf_getsrc_die,
978 dwarf_lineno, and dwarf_linesrc.
979
9802003-08-11 Ulrich Drepper <drepper@redhat.com>
981
982 * Moved to CVS archive.