blob: 67a8ad64e776de76f636aaf37d3c44d9e9590b82 [file] [log] [blame]
Roland McGrath060fa052006-03-02 07:51:50 +000012006-03-01 Roland McGrath <roland@redhat.com>
2
3 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
4 changes matching 3.0 spec.
5
Roland McGrathc40f58a2006-01-13 20:13:21 +000062006-01-13 Roland McGrath <roland@redhat.com>
7
8 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
9 bash 3.1 whines when it's done in the trap 0 handler.
10
Roland McGrath4b248ce2006-01-12 03:34:38 +0000112006-01-11 Roland McGrath <roland@redhat.com>
12
13 * testfile26.bz2: New data file.
14 * testfile27.bz2: New data file.
15 * Makefile.am (EXTRA_DIST): Add them.
16 * run-allregs.sh: Test s390 data.
17
Roland McGrath124a7982005-12-15 02:37:09 +0000182005-12-14 Roland McGrath <roland@redhat.com>
19
20 * run-native-test.sh: Redirect output from native test process.
21
Roland McGrath94d26ad2005-12-13 23:24:37 +0000222005-12-13 Roland McGrath <roland@redhat.com>
23
24 * allregs.c (main): Fail if we find no registers.
25
26 * run-native-test.sh: New file.
27 * Makefile.am (TESTS, EXTRA_DIST): Add it.
28
Roland McGrathba72ab12005-12-12 00:04:33 +0000292005-12-10 Ulrich Drepper <drepper@redhat.com
30
31 * run-readelf-test1.sh: New file.
32 * Makefile.am (TESTS): Add run-readelf-test1.sh.
33 (EXTRA_DIST): Likewise.
34
Roland McGrathd804e722005-12-08 01:35:42 +0000352005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +000036
Roland McGrathd804e722005-12-08 01:35:42 +000037 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +000038
Roland McGrath994b4892005-12-05 22:46:21 +0000392005-11-25 Roland McGrath <roland@redhat.com>
40
41 * coverage.sh: Given -v argument, print names of unused files.
42
43 * addrscopes.c (main): Use dwfl_end before return.
44 * allregs.c (main): Likewise.
45 * find-prologues.c (main): Likewise.
46 * funcretval.c (main): Likewise.
47 * funcscopes.c (main): Likewise.
48 * line2addr.c (main): Likewise.
49
50 * run-allregs.sh: New file.
51 * Makefile.am (TESTS, EXTRA_DIST): Add it.
52
53 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
54 * Makefile.am (allregs_LDADD): Updated.
55
56 * allregs.c: New file.
57 * Makefile.am (noinst_PROGRAMS): Add it.
58 (allregs_LDADD): New variable.
59
Roland McGrath9365d2c2005-11-18 23:55:47 +0000602005-11-18 Roland McGrath <roland@redhat.com>
61
62 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
63 * test-wrapper.sh: Likewise.
64
Roland McGrath575dd392005-11-18 01:41:52 +0000652005-11-17 Roland McGrath <roland@redhat.com>
66
Roland McGrathaf74f5c2005-11-18 02:25:14 +000067 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
68 environment for test-wrapper.sh.
69 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
70 * test-subr.sh (installed_testrun): Likewise.
71 Use explicit path in ${bindir}.
72
Roland McGrath575dd392005-11-18 01:41:52 +000073 * Makefile.am (installcheck-local): Fix typo in last change.
74
Roland McGrathd7f8d0c2005-11-17 02:32:03 +0000752005-11-16 Roland McGrath <roland@redhat.com>
76
77 * configure.ac: New file, for standalone build/dist of test suite.
78 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
79 (asm_TESTS): New variable, broken out of ...
80 (TESTS): ... here. Also remove msg_tst.
81 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
82 (installed_TESTS_ENVIRONMENT): New variable.
83 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
84 [!STANDALONE] (installcheck-local): Likewise.
85 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
86 * addrscopes.c: Include <config.h>.
87 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
88 * allfcts.c: Likewise.
89 * asm-tst1.c: Likewise.
90 * asm-tst2.c: Likewise.
91 * asm-tst3.c: Likewise.
92 * asm-tst4.c: Likewise.
93 * asm-tst5.c: Likewise.
94 * asm-tst6.c: Likewise.
95 * asm-tst7.c: Likewise.
96 * asm-tst8.c: Likewise.
97 * asm-tst9.c: Likewise.
98 * dwflmodtest.c: Likewise.
99 * find-prologues.c: Likewise.
100 * funcscopes.c: Likewise.
101 * get-aranges.c: Likewise.
102 * get-files.c: Likewise.
103 * get-lines.c: Likewise.
104 * get-pubnames.c: Likewise.
105 * line2addr.c: Likewise.
106 * newscn.c: Likewise.
107 * show-abbrev.c: Likewise.
108 * show-die-info.c: Likewise.
109 * update3.c: Likewise.
110 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +0000111 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +0000112
113 * dwflmodtest.c (print_instance): Don't use INTUSE.
114 (options): Don't use N_ macro.
115
Roland McGrath1b8b4462005-11-16 01:33:38 +00001162005-11-15 Roland McGrath <roland@redhat.com>
117
Roland McGrathe47ab762005-11-17 03:16:00 +0000118 * coverage.sh: Look in backends.
119 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
120 (TESTS_ENVIRONMENT): Likewise.
121
122 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
123 pass FUNCDIE direclty to dwfl_module_return_value_location.
124
Roland McGrath1b8b4462005-11-16 01:33:38 +0000125 * Makefile.am (BUILD_RPATH): New variable.
126 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
127 (tests_rpath): New variable.
128 (installcheck-local): Pass it to test-wrapper.sh.
129 * test-wrapper.sh: In "installed" format, take yes/no value
130 for elfutils_tests_rpath, which export. When running a test
131 binary for installcheck, exit 77.
132 * test-subr.sh (installed_testrun): When running a test binary
133 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
134
1352005-11-14 Roland McGrath <roland@redhat.com>
136
137 * test-subr.sh: New file.
138 * test-wrapper.sh: New file.
139 * Makefile.am (EXTRA_DIST): Add them.
140 (AM_LDFLAGS): Variable removed.
141 (TESTS_ENVIRONMENT): New variable.
142 (installcheck-local): New target.
143 * run-addrscopes.sh: Use test-subr.sh.
144 * run-allfcts.sh: Likewise.
145 * run-ecp-test.sh: Likewise.
146 * run-ecp-test2.sh: Likewise.
147 * run-elflint-self.sh: Likewise.
148 * run-elflint-test.sh: Likewise.
149 * run-find-prologues.sh: Likewise.
150 * run-funcscopes.sh: Likewise.
151 * run-get-aranges.sh: Likewise.
152 * run-get-files.sh: Likewise.
153 * run-get-lines.sh: Likewise.
154 * run-get-pubnames.sh: Likewise.
155 * run-line2addr.sh: Likewise.
156 * run-ranlib-test.sh: Likewise.
157 * run-ranlib-test2.sh: Likewise.
158 * run-show-abbrev.sh: Likewise.
159 * run-show-ciefde.sh: Likewise.
160 * run-show-die-info.sh: Likewise.
161 * run-strings-test.sh: Likewise.
162 * run-strip-test.sh: Likewise.
163
Roland McGrathe47ab762005-11-17 03:16:00 +00001642005-11-13 Roland McGrath <roland@redhat.com>
165
166 * funcretval.c: New file.
167 * Makefile.am (noinst_PROGRAMS): Add it.
168 (funcretval_LDADD): New variable.
169
Ulrich Drepper3840c1c2005-11-09 16:13:48 +00001702005-11-09 Ulrich Drepper <drepper@redhat.com>
171
172 * line2addr.c (handle_module): Add missing parameter to printf.
173
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001742005-10-27 Roland McGrath <roland@redhat.com>
175
Roland McGrath6724c902005-10-28 07:07:19 +0000176 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
177 * funcscopes.c (handle_function): Likewise.
178 * dwflmodtest.c (print_inline, print_func): Likewise.
179 * find-prologues.c (handle_function): Likewise.
180
1812005-10-27 Roland McGrath <roland@redhat.com>
182
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000183 * run-find-prologues.sh: New file.
184 * Makefile.am (TESTS, EXTRA_DIST): Add it.
185
186 * find-prologues.c (handle_function): Skip inlines.
187
1882005-10-25 Roland McGrath <roland@redhat.com>
189
190 * find-prologues.c: New file.
191 * Makefile.am (noinst_PROGRAMS): Add it.
192 (find_prologues_LDADD): New variable.
193
Ulrich Drepper3bbc9502005-09-02 20:29:56 +00001942005-09-02 Ulrich Drepper <drepper@redhat.com>
195
196 * run-strings-test.sh: Remove strings.out in the end.
197
Ulrich Drepper7d65d012005-08-31 15:14:26 +00001982005-08-31 Ulrich Drepper <drepper@redhat.com>
199
200 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
201 * run-allfcts.sh: Likewise.
202 * run-ecp-test.sh: Likewise.
203 * run-ecp-test2.sh: Likewise.
204 * run-elflint-test.sh: Likewise.
205 * run-funcscopes.sh: Likewise.
206 * run-get-aranges.sh: Likewise.
207 * run-get-files.sh: Likewise.
208 * run-get-lines.sh: Likewise.
209 * run-get-pubnames.sh: Likewise.
210 * run-line2addr.sh: Likewise.
211 * run-ranlib-test2.sh: Likewise.
212 * run-show-abbrev.sh: Likewise.
213 * run-show-ciefde.sh: Likewise.
214 * run-show-die-info.sh: Likewise.
215 * run-strings-test.sh: Likewise.
216 * run-strip-test.sh: Likewise.
217
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +00002182005-08-30 Ulrich Drepper <drepper@redhat.com>
219
220 * coverage.sh: Handle case where there is no .gcno file at all.
221
Ulrich Drepper39cec7a2005-08-30 01:22:01 +00002222005-08-29 Ulrich Drepper <drepper@redhat.com>
223
224 * Makefile.am (EXTRA_DIST): Add coverage.
225 [GCOV]: Generate coverage summary after the tests ran
226 * coverage.sh: New file.
227
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00002282005-08-28 Ulrich Drepper <drepper@redhat.com>
229
230 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
231 (CLEANFILES): Add *.gcno *.gcda *.gconv.
232
2332005-08-28 Ulrich Drepper <drepper@redhat.com>
234
235 * run-strings-test.sh: New file.
236 * Makefile.am (TESTS, EXTRA_DIST): Add it.
237
Roland McGrath71e15a02005-08-27 10:33:26 +00002382005-08-27 Roland McGrath <roland@redhat.com>
239
Roland McGrathb0bc2782005-08-27 21:07:16 +0000240 * addrscopes.c (handle_address): Apply bias to PC addresses.
241
Roland McGrath71e15a02005-08-27 10:33:26 +0000242 * run-funcscopes.sh: New file.
243 * testfile25.bz2: New data file.
244 * Makefile.am (TESTS, EXTRA_DIST): Add them.
245
2462005-08-26 Roland McGrath <roland@redhat.com>
247
248 * addrscopes.c (dwarf_diename_integrate): Removed.
249 (print_vars, handle_address): Use plain dwarf_diename.
250
2512005-08-25 Roland McGrath <roland@redhat.com>
252
253 * funcscopes.c: New file.
254 * Makefile.am (noinst_PROGRAMS): Add it.
255 (funcscopes_LDADD): New variable.
256
257 * run-addrscopes.sh: Add another case.
258 * testfile24.bz2: New data file.
259 * Makefile.am (EXTRA_DIST): Add it.
260
261 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
262 pass it to dwarf_getscopes.
263 (main): Pass it, true when '=' follows an address.
264
Roland McGrath4c305da2005-08-25 01:49:35 +00002652005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +0000266
Roland McGrath4c305da2005-08-25 01:49:35 +0000267 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +0000268
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00002692005-08-24 Ulrich Drepper <drepper@redhat.com>
270
Ulrich Drepper958bf132005-08-24 21:40:55 +0000271 * run-line2addr.sh: Remove testfile23 in the end.
272
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000273 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +0000274 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000275
Roland McGrathd17fac72005-08-23 08:20:21 +00002762005-08-22 Roland McGrath <roland@redhat.com>
277
278 * run-line2addr.sh: Add a case.
279 * testfile23.bz2: New data file.
280 * Makefile.am (EXTRA_DIST): Add it.
281
Roland McGrath9a1f3652005-08-18 20:57:04 +00002822005-08-18 Roland McGrath <roland@redhat.com>
283
Roland McGrathf5fda7d2005-08-18 22:01:57 +0000284 * run-addrscopes.sh: New file.
285 * testfile22.bz2: New data file.
286 * Makefile.am (TESTS, EXTRA_DIST): Add them.
287
Roland McGrath9a1f3652005-08-18 20:57:04 +0000288 * addrscopes.c: New file.
289 * Makefile.am (noinst_PROGRAMS): Add it.
290 (addrscopes_LDADD): New variable.
291
Ulrich Drepper837b5222005-08-16 05:12:01 +00002922005-08-15 Ulrich Drepper <drepper@redhat.com>
293
294 * run-elflint-self.sh: Don't run test if the file doesn't exist.
295
Roland McGrath1ecb6062005-08-15 09:53:04 +00002962005-08-15 Roland McGrath <roland@redhat.com>
297
298 * dwflmodtest.c (print_instance, print_inline): New functions.
299 (print_func): Call print_inline.
300 (options, parse_opt): Grok -i/--inlines.
301
Roland McGrath8d18c292005-08-07 21:42:07 +00003022005-08-07 Roland McGrath <roland@redhat.com>
303
304 * dwflmodtest.c: Print function details only if -f flag is given.
305
Ulrich Drepper47be7952005-08-07 04:41:39 +00003062005-08-06 Ulrich Drepper <drepper@redhat.com>
307
Ulrich Drepper637963b2005-08-07 05:33:07 +0000308 * run-elflint-self.sh: New file.
309 * Makefile.am (TESTS): Add run-elflint-self.sh.
310 (EXTRA_DIST): Likewise.
311
Ulrich Drepper47be7952005-08-07 04:41:39 +0000312 * Makefile.am: Link with statis libs if BUILD_STATIC.
313 (dwflmodtest_LDADD): Also link with -ldl.
314
Ulrich Drepper41de4882005-08-03 00:02:56 +00003152005-08-02 Ulrich Drepper <drepper@redhat.com>
316
Ulrich Dreppera38998e2005-08-03 02:05:39 +0000317 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
318 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
319 library first.
320 * asm-tst2.c: Likewise.
321 * asm-tst3.c: Likewise.
322 * asm-tst4.c: Likewise.
323 * asm-tst5.c: Likewise.
324 * asm-tst6.c: Likewise.
325 * asm-tst7.c: Likewise.
326 * asm-tst8.c: Likewise.
327 * asm-tst9.c: Likewise.
328
Ulrich Drepper41de4882005-08-03 00:02:56 +0000329 * msg_tst.c: Add new error message.
330
Ulrich Drepper18618fd2005-07-28 21:29:22 +00003312005-07-28 Ulrich Drepper <drepper@redhat.com>
332
333 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
334
Roland McGrathd17fac72005-08-23 08:20:21 +00003352005-06-01 Roland McGrath <roland@redhat.com>
336
337 * line2addr.c: Rewritten using libdwfl.
338 * run-line2addr.sh: Update test for changed arguments.
339 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
340 (libdwfl): New variable.
341 (line2addr_LDADD): Use it.
342
Roland McGrath18385902005-07-28 07:12:38 +00003432005-07-28 Roland McGrath <roland@redhat.com>
344
345 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
346 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
347 (dwflmodtest_LDADD): New variable.
348 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
349
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00003502005-07-21 Ulrich Drepper <drepper@redhat.com>
351
352 * testfile18.bz2: New file.
353 * run-elflint-test.sh: New file.
354 * Makefile.am (TESTS): Add run-elflint-test.sh.
355 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
356
3572005-05-24 Ulrich Drepper <drepper@redhat.com>
358
359 * get-files.c (main): Use correct format specifier.
360
3612005-05-21 Ulrich Drepper <drepper@redhat.com>
362
363 * Makefile.am: Add -Wextra to CFLAGS.
364 * get-files.c: Remove warning this produced.
365 * get-pubnames.c: Likewise.
366 * newfile.c: Likewise.
367 * newscn.c: Likewise.
368 * scnnames.c: Likewise.
369 * showptable.c: Likewise.
370 * test-nlist.c: Likewise.
371 * update1.c: Likewise.
372 * update2.c: Likewise.
373 * update3.c: Likewise.
374 * update4.c: Likewise.
375
3762005-05-08 Ulrich Drepper <drepper@redhat.com>
377
378 * run-line2addr.sh: Remove testfile14 at the end.
379
Ulrich Drepper282bf322005-07-28 21:49:05 +0000380 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000381
382 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
383 .bz, not .bz2.
384
3852005-05-03 Roland McGrath <roland@redhat.com>
386
387 * run-strip-test.sh: Use variables for test file names.
388 Optionally produce separate debug file and check it.
389 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
390 * run-strip-test3.sh: Likewise.
391 * run-strip-test4.sh: New file.
392 * run-strip-test5.sh: New file.
393 * run-strip-test6.sh: New file.
394 * testfile15.bz: New file.
395 * testfile15.debug.bz: New file.
396 * testfile16.bz: New file.
397 * testfile16.debug.bz: New file.
398 * testfile17.bz: New file.
399 * testfile17.debug.bz: New file.
400 * Makefile.am (TESTS, EXTRA_DIST): Add them.
401
4022005-04-25 Ulrich Drepper <drepper@redhat.com>
403
404 * run-line2addr.sh: Also use testfile14. Adjust for correct
405 return of multiple matches.
406 * testfile14.bz2: New file.
407 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
408
409 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
410
4112005-04-04 Roland McGrath <roland@frob.com>
412
413 * line2addr.c (main): Initialize LINES and NLINES before calling
414 dwarf_getsrc_file, and free LINES afterwards.
415
416 * allfcts.c (main): Use size_t for CUHL.
417
4182005-04-04 Ulrich Drepper <drepper@redhat.com>
419
420 * line2addr.c: New file.
421 * run-line2addr.sh: New file.
422 * Makefile.am: Add rules to build, run, and distribute new code.
423
4242005-04-02 Ulrich Drepper <drepper@redhat.com>
425
426 * allfcts.c: New file.
427 * run-allfcts.sh: New file.
428 * Makefile.am: Add rules to build, run, and distribute new code.
429
4302005-02-05 Ulrich Drepper <drepper@redhat.com>
431
432 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
433 programs with -lmudflap.
434
4352004-09-25 Ulrich Drepper <drepper@redhat.com>
436
437 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
438 * asm-tst5.c (main): Likewise.
439 * asm-tst6.c (main): Likewise.
440
4412004-01-17 Ulrich Drepper <drepper@redhat.com>
442
443 * Makefile.am: Support building with mudflap.
444
4452004-01-12 Ulrich Drepper <drepper@redhat.com>
446
447 * get-aranges.c: Rewrite to use libdw.
448 * Makefile.am: Reenable get-aranges test.
449
4502004-01-11 Ulrich Drepper <drepper@redhat.com>
451
452 * get-lines.c: New file.
453 * get-files.c: Adjust for libdw.
454 * run-get-files.sh: Adjust expected result.
455 * run-get-lines.sh: Likewise.
456 * Makefile.am: Run get-lines test. Don't run get-aranges and
457 get-ciefde test for now.
458
459 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
460 change. Print attribute offset information.
461 * run-show-abbrev.sh: Adjust expected output.
462
4632004-01-09 Ulrich Drepper <drepper@redhat.com>
464
465 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
466 * show-die-info.c: Likewise.
467 * run-show-die-info.sh: Adjust expected output.
468
4692003-08-13 Ulrich Drepper <drepper@redhat.com>
470
471 * Makefile.in: Depend on libebl.a, not libebl.so.
472
4732003-08-11 Ulrich Drepper <drepper@redhat.com>
474
475 * Moved to CVS archive.