~ubuntu-branches/debian/lenny/elfutils/lenny

« back to all changes in this revision

Viewing changes to libdw/ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-08-27 15:48:23 UTC
  • Revision ID: james.westby@ubuntu.com-20060827154823-mjwd7ydlbxgwqn4u
Tags: upstream-0.123
ImportĀ upstreamĀ versionĀ 0.123

Show diffs side-by-side

added added

removed removed

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