blob: bccd736c3e69d18348335d1dfb089c049453f05f [file] [log] [blame]
Roland McGrathdd7e22b2006-03-09 23:05:47 +000012006-03-09 Roland McGrath <roland@redhat.com>
2
3 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
4
Roland McGrath060fa052006-03-02 07:51:50 +000052006-03-01 Roland McGrath <roland@redhat.com>
6
7 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
8 changes matching 3.0 spec.
9
Roland McGrathc40f58a2006-01-13 20:13:21 +0000102006-01-13 Roland McGrath <roland@redhat.com>
11
12 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
13 bash 3.1 whines when it's done in the trap 0 handler.
14
Roland McGrath4b248ce2006-01-12 03:34:38 +0000152006-01-11 Roland McGrath <roland@redhat.com>
16
17 * testfile26.bz2: New data file.
18 * testfile27.bz2: New data file.
19 * Makefile.am (EXTRA_DIST): Add them.
20 * run-allregs.sh: Test s390 data.
21
Roland McGrath124a7982005-12-15 02:37:09 +0000222005-12-14 Roland McGrath <roland@redhat.com>
23
24 * run-native-test.sh: Redirect output from native test process.
25
Roland McGrath94d26ad2005-12-13 23:24:37 +0000262005-12-13 Roland McGrath <roland@redhat.com>
27
28 * allregs.c (main): Fail if we find no registers.
29
30 * run-native-test.sh: New file.
31 * Makefile.am (TESTS, EXTRA_DIST): Add it.
32
Roland McGrathba72ab12005-12-12 00:04:33 +0000332005-12-10 Ulrich Drepper <drepper@redhat.com
34
35 * run-readelf-test1.sh: New file.
36 * Makefile.am (TESTS): Add run-readelf-test1.sh.
37 (EXTRA_DIST): Likewise.
38
Roland McGrathd804e722005-12-08 01:35:42 +0000392005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +000040
Roland McGrathd804e722005-12-08 01:35:42 +000041 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +000042
Roland McGrath994b4892005-12-05 22:46:21 +0000432005-11-25 Roland McGrath <roland@redhat.com>
44
45 * coverage.sh: Given -v argument, print names of unused files.
46
47 * addrscopes.c (main): Use dwfl_end before return.
48 * allregs.c (main): Likewise.
49 * find-prologues.c (main): Likewise.
50 * funcretval.c (main): Likewise.
51 * funcscopes.c (main): Likewise.
52 * line2addr.c (main): Likewise.
53
54 * run-allregs.sh: New file.
55 * Makefile.am (TESTS, EXTRA_DIST): Add it.
56
57 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
58 * Makefile.am (allregs_LDADD): Updated.
59
60 * allregs.c: New file.
61 * Makefile.am (noinst_PROGRAMS): Add it.
62 (allregs_LDADD): New variable.
63
Roland McGrath9365d2c2005-11-18 23:55:47 +0000642005-11-18 Roland McGrath <roland@redhat.com>
65
66 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
67 * test-wrapper.sh: Likewise.
68
Roland McGrath575dd392005-11-18 01:41:52 +0000692005-11-17 Roland McGrath <roland@redhat.com>
70
Roland McGrathaf74f5c2005-11-18 02:25:14 +000071 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
72 environment for test-wrapper.sh.
73 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
74 * test-subr.sh (installed_testrun): Likewise.
75 Use explicit path in ${bindir}.
76
Roland McGrath575dd392005-11-18 01:41:52 +000077 * Makefile.am (installcheck-local): Fix typo in last change.
78
Roland McGrathd7f8d0c2005-11-17 02:32:03 +0000792005-11-16 Roland McGrath <roland@redhat.com>
80
81 * configure.ac: New file, for standalone build/dist of test suite.
82 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
83 (asm_TESTS): New variable, broken out of ...
84 (TESTS): ... here. Also remove msg_tst.
85 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
86 (installed_TESTS_ENVIRONMENT): New variable.
87 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
88 [!STANDALONE] (installcheck-local): Likewise.
89 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
90 * addrscopes.c: Include <config.h>.
91 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
92 * allfcts.c: Likewise.
93 * asm-tst1.c: Likewise.
94 * asm-tst2.c: Likewise.
95 * asm-tst3.c: Likewise.
96 * asm-tst4.c: Likewise.
97 * asm-tst5.c: Likewise.
98 * asm-tst6.c: Likewise.
99 * asm-tst7.c: Likewise.
100 * asm-tst8.c: Likewise.
101 * asm-tst9.c: Likewise.
102 * dwflmodtest.c: Likewise.
103 * find-prologues.c: Likewise.
104 * funcscopes.c: Likewise.
105 * get-aranges.c: Likewise.
106 * get-files.c: Likewise.
107 * get-lines.c: Likewise.
108 * get-pubnames.c: Likewise.
109 * line2addr.c: Likewise.
110 * newscn.c: Likewise.
111 * show-abbrev.c: Likewise.
112 * show-die-info.c: Likewise.
113 * update3.c: Likewise.
114 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +0000115 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +0000116
117 * dwflmodtest.c (print_instance): Don't use INTUSE.
118 (options): Don't use N_ macro.
119
Roland McGrath1b8b4462005-11-16 01:33:38 +00001202005-11-15 Roland McGrath <roland@redhat.com>
121
Roland McGrathe47ab762005-11-17 03:16:00 +0000122 * coverage.sh: Look in backends.
123 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
124 (TESTS_ENVIRONMENT): Likewise.
125
126 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
127 pass FUNCDIE direclty to dwfl_module_return_value_location.
128
Roland McGrath1b8b4462005-11-16 01:33:38 +0000129 * Makefile.am (BUILD_RPATH): New variable.
130 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
131 (tests_rpath): New variable.
132 (installcheck-local): Pass it to test-wrapper.sh.
133 * test-wrapper.sh: In "installed" format, take yes/no value
134 for elfutils_tests_rpath, which export. When running a test
135 binary for installcheck, exit 77.
136 * test-subr.sh (installed_testrun): When running a test binary
137 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
138
1392005-11-14 Roland McGrath <roland@redhat.com>
140
141 * test-subr.sh: New file.
142 * test-wrapper.sh: New file.
143 * Makefile.am (EXTRA_DIST): Add them.
144 (AM_LDFLAGS): Variable removed.
145 (TESTS_ENVIRONMENT): New variable.
146 (installcheck-local): New target.
147 * run-addrscopes.sh: Use test-subr.sh.
148 * run-allfcts.sh: Likewise.
149 * run-ecp-test.sh: Likewise.
150 * run-ecp-test2.sh: Likewise.
151 * run-elflint-self.sh: Likewise.
152 * run-elflint-test.sh: Likewise.
153 * run-find-prologues.sh: Likewise.
154 * run-funcscopes.sh: Likewise.
155 * run-get-aranges.sh: Likewise.
156 * run-get-files.sh: Likewise.
157 * run-get-lines.sh: Likewise.
158 * run-get-pubnames.sh: Likewise.
159 * run-line2addr.sh: Likewise.
160 * run-ranlib-test.sh: Likewise.
161 * run-ranlib-test2.sh: Likewise.
162 * run-show-abbrev.sh: Likewise.
163 * run-show-ciefde.sh: Likewise.
164 * run-show-die-info.sh: Likewise.
165 * run-strings-test.sh: Likewise.
166 * run-strip-test.sh: Likewise.
167
Roland McGrathe47ab762005-11-17 03:16:00 +00001682005-11-13 Roland McGrath <roland@redhat.com>
169
170 * funcretval.c: New file.
171 * Makefile.am (noinst_PROGRAMS): Add it.
172 (funcretval_LDADD): New variable.
173
Ulrich Drepper3840c1c2005-11-09 16:13:48 +00001742005-11-09 Ulrich Drepper <drepper@redhat.com>
175
176 * line2addr.c (handle_module): Add missing parameter to printf.
177
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001782005-10-27 Roland McGrath <roland@redhat.com>
179
Roland McGrath6724c902005-10-28 07:07:19 +0000180 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
181 * funcscopes.c (handle_function): Likewise.
182 * dwflmodtest.c (print_inline, print_func): Likewise.
183 * find-prologues.c (handle_function): Likewise.
184
1852005-10-27 Roland McGrath <roland@redhat.com>
186
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000187 * run-find-prologues.sh: New file.
188 * Makefile.am (TESTS, EXTRA_DIST): Add it.
189
190 * find-prologues.c (handle_function): Skip inlines.
191
1922005-10-25 Roland McGrath <roland@redhat.com>
193
194 * find-prologues.c: New file.
195 * Makefile.am (noinst_PROGRAMS): Add it.
196 (find_prologues_LDADD): New variable.
197
Ulrich Drepper3bbc9502005-09-02 20:29:56 +00001982005-09-02 Ulrich Drepper <drepper@redhat.com>
199
200 * run-strings-test.sh: Remove strings.out in the end.
201
Ulrich Drepper7d65d012005-08-31 15:14:26 +00002022005-08-31 Ulrich Drepper <drepper@redhat.com>
203
204 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
205 * run-allfcts.sh: Likewise.
206 * run-ecp-test.sh: Likewise.
207 * run-ecp-test2.sh: Likewise.
208 * run-elflint-test.sh: Likewise.
209 * run-funcscopes.sh: Likewise.
210 * run-get-aranges.sh: Likewise.
211 * run-get-files.sh: Likewise.
212 * run-get-lines.sh: Likewise.
213 * run-get-pubnames.sh: Likewise.
214 * run-line2addr.sh: Likewise.
215 * run-ranlib-test2.sh: Likewise.
216 * run-show-abbrev.sh: Likewise.
217 * run-show-ciefde.sh: Likewise.
218 * run-show-die-info.sh: Likewise.
219 * run-strings-test.sh: Likewise.
220 * run-strip-test.sh: Likewise.
221
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +00002222005-08-30 Ulrich Drepper <drepper@redhat.com>
223
224 * coverage.sh: Handle case where there is no .gcno file at all.
225
Ulrich Drepper39cec7a2005-08-30 01:22:01 +00002262005-08-29 Ulrich Drepper <drepper@redhat.com>
227
228 * Makefile.am (EXTRA_DIST): Add coverage.
229 [GCOV]: Generate coverage summary after the tests ran
230 * coverage.sh: New file.
231
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00002322005-08-28 Ulrich Drepper <drepper@redhat.com>
233
234 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
235 (CLEANFILES): Add *.gcno *.gcda *.gconv.
236
2372005-08-28 Ulrich Drepper <drepper@redhat.com>
238
239 * run-strings-test.sh: New file.
240 * Makefile.am (TESTS, EXTRA_DIST): Add it.
241
Roland McGrath71e15a02005-08-27 10:33:26 +00002422005-08-27 Roland McGrath <roland@redhat.com>
243
Roland McGrathb0bc2782005-08-27 21:07:16 +0000244 * addrscopes.c (handle_address): Apply bias to PC addresses.
245
Roland McGrath71e15a02005-08-27 10:33:26 +0000246 * run-funcscopes.sh: New file.
247 * testfile25.bz2: New data file.
248 * Makefile.am (TESTS, EXTRA_DIST): Add them.
249
2502005-08-26 Roland McGrath <roland@redhat.com>
251
252 * addrscopes.c (dwarf_diename_integrate): Removed.
253 (print_vars, handle_address): Use plain dwarf_diename.
254
2552005-08-25 Roland McGrath <roland@redhat.com>
256
257 * funcscopes.c: New file.
258 * Makefile.am (noinst_PROGRAMS): Add it.
259 (funcscopes_LDADD): New variable.
260
261 * run-addrscopes.sh: Add another case.
262 * testfile24.bz2: New data file.
263 * Makefile.am (EXTRA_DIST): Add it.
264
265 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
266 pass it to dwarf_getscopes.
267 (main): Pass it, true when '=' follows an address.
268
Roland McGrath4c305da2005-08-25 01:49:35 +00002692005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +0000270
Roland McGrath4c305da2005-08-25 01:49:35 +0000271 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +0000272
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00002732005-08-24 Ulrich Drepper <drepper@redhat.com>
274
Ulrich Drepper958bf132005-08-24 21:40:55 +0000275 * run-line2addr.sh: Remove testfile23 in the end.
276
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000277 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +0000278 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000279
Roland McGrathd17fac72005-08-23 08:20:21 +00002802005-08-22 Roland McGrath <roland@redhat.com>
281
282 * run-line2addr.sh: Add a case.
283 * testfile23.bz2: New data file.
284 * Makefile.am (EXTRA_DIST): Add it.
285
Roland McGrath9a1f3652005-08-18 20:57:04 +00002862005-08-18 Roland McGrath <roland@redhat.com>
287
Roland McGrathf5fda7d2005-08-18 22:01:57 +0000288 * run-addrscopes.sh: New file.
289 * testfile22.bz2: New data file.
290 * Makefile.am (TESTS, EXTRA_DIST): Add them.
291
Roland McGrath9a1f3652005-08-18 20:57:04 +0000292 * addrscopes.c: New file.
293 * Makefile.am (noinst_PROGRAMS): Add it.
294 (addrscopes_LDADD): New variable.
295
Ulrich Drepper837b5222005-08-16 05:12:01 +00002962005-08-15 Ulrich Drepper <drepper@redhat.com>
297
298 * run-elflint-self.sh: Don't run test if the file doesn't exist.
299
Roland McGrath1ecb6062005-08-15 09:53:04 +00003002005-08-15 Roland McGrath <roland@redhat.com>
301
302 * dwflmodtest.c (print_instance, print_inline): New functions.
303 (print_func): Call print_inline.
304 (options, parse_opt): Grok -i/--inlines.
305
Roland McGrath8d18c292005-08-07 21:42:07 +00003062005-08-07 Roland McGrath <roland@redhat.com>
307
308 * dwflmodtest.c: Print function details only if -f flag is given.
309
Ulrich Drepper47be7952005-08-07 04:41:39 +00003102005-08-06 Ulrich Drepper <drepper@redhat.com>
311
Ulrich Drepper637963b2005-08-07 05:33:07 +0000312 * run-elflint-self.sh: New file.
313 * Makefile.am (TESTS): Add run-elflint-self.sh.
314 (EXTRA_DIST): Likewise.
315
Ulrich Drepper47be7952005-08-07 04:41:39 +0000316 * Makefile.am: Link with statis libs if BUILD_STATIC.
317 (dwflmodtest_LDADD): Also link with -ldl.
318
Ulrich Drepper41de4882005-08-03 00:02:56 +00003192005-08-02 Ulrich Drepper <drepper@redhat.com>
320
Ulrich Dreppera38998e2005-08-03 02:05:39 +0000321 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
322 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
323 library first.
324 * asm-tst2.c: Likewise.
325 * asm-tst3.c: Likewise.
326 * asm-tst4.c: Likewise.
327 * asm-tst5.c: Likewise.
328 * asm-tst6.c: Likewise.
329 * asm-tst7.c: Likewise.
330 * asm-tst8.c: Likewise.
331 * asm-tst9.c: Likewise.
332
Ulrich Drepper41de4882005-08-03 00:02:56 +0000333 * msg_tst.c: Add new error message.
334
Ulrich Drepper18618fd2005-07-28 21:29:22 +00003352005-07-28 Ulrich Drepper <drepper@redhat.com>
336
337 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
338
Roland McGrathd17fac72005-08-23 08:20:21 +00003392005-06-01 Roland McGrath <roland@redhat.com>
340
341 * line2addr.c: Rewritten using libdwfl.
342 * run-line2addr.sh: Update test for changed arguments.
343 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
344 (libdwfl): New variable.
345 (line2addr_LDADD): Use it.
346
Roland McGrath18385902005-07-28 07:12:38 +00003472005-07-28 Roland McGrath <roland@redhat.com>
348
349 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
350 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
351 (dwflmodtest_LDADD): New variable.
352 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
353
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00003542005-07-21 Ulrich Drepper <drepper@redhat.com>
355
356 * testfile18.bz2: New file.
357 * run-elflint-test.sh: New file.
358 * Makefile.am (TESTS): Add run-elflint-test.sh.
359 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
360
3612005-05-24 Ulrich Drepper <drepper@redhat.com>
362
363 * get-files.c (main): Use correct format specifier.
364
3652005-05-21 Ulrich Drepper <drepper@redhat.com>
366
367 * Makefile.am: Add -Wextra to CFLAGS.
368 * get-files.c: Remove warning this produced.
369 * get-pubnames.c: Likewise.
370 * newfile.c: Likewise.
371 * newscn.c: Likewise.
372 * scnnames.c: Likewise.
373 * showptable.c: Likewise.
374 * test-nlist.c: Likewise.
375 * update1.c: Likewise.
376 * update2.c: Likewise.
377 * update3.c: Likewise.
378 * update4.c: Likewise.
379
3802005-05-08 Ulrich Drepper <drepper@redhat.com>
381
382 * run-line2addr.sh: Remove testfile14 at the end.
383
Ulrich Drepper282bf322005-07-28 21:49:05 +0000384 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000385
386 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
387 .bz, not .bz2.
388
3892005-05-03 Roland McGrath <roland@redhat.com>
390
391 * run-strip-test.sh: Use variables for test file names.
392 Optionally produce separate debug file and check it.
393 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
394 * run-strip-test3.sh: Likewise.
395 * run-strip-test4.sh: New file.
396 * run-strip-test5.sh: New file.
397 * run-strip-test6.sh: New file.
398 * testfile15.bz: New file.
399 * testfile15.debug.bz: New file.
400 * testfile16.bz: New file.
401 * testfile16.debug.bz: New file.
402 * testfile17.bz: New file.
403 * testfile17.debug.bz: New file.
404 * Makefile.am (TESTS, EXTRA_DIST): Add them.
405
4062005-04-25 Ulrich Drepper <drepper@redhat.com>
407
408 * run-line2addr.sh: Also use testfile14. Adjust for correct
409 return of multiple matches.
410 * testfile14.bz2: New file.
411 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
412
413 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
414
4152005-04-04 Roland McGrath <roland@frob.com>
416
417 * line2addr.c (main): Initialize LINES and NLINES before calling
418 dwarf_getsrc_file, and free LINES afterwards.
419
420 * allfcts.c (main): Use size_t for CUHL.
421
4222005-04-04 Ulrich Drepper <drepper@redhat.com>
423
424 * line2addr.c: New file.
425 * run-line2addr.sh: New file.
426 * Makefile.am: Add rules to build, run, and distribute new code.
427
4282005-04-02 Ulrich Drepper <drepper@redhat.com>
429
430 * allfcts.c: New file.
431 * run-allfcts.sh: New file.
432 * Makefile.am: Add rules to build, run, and distribute new code.
433
4342005-02-05 Ulrich Drepper <drepper@redhat.com>
435
436 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
437 programs with -lmudflap.
438
4392004-09-25 Ulrich Drepper <drepper@redhat.com>
440
441 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
442 * asm-tst5.c (main): Likewise.
443 * asm-tst6.c (main): Likewise.
444
4452004-01-17 Ulrich Drepper <drepper@redhat.com>
446
447 * Makefile.am: Support building with mudflap.
448
4492004-01-12 Ulrich Drepper <drepper@redhat.com>
450
451 * get-aranges.c: Rewrite to use libdw.
452 * Makefile.am: Reenable get-aranges test.
453
4542004-01-11 Ulrich Drepper <drepper@redhat.com>
455
456 * get-lines.c: New file.
457 * get-files.c: Adjust for libdw.
458 * run-get-files.sh: Adjust expected result.
459 * run-get-lines.sh: Likewise.
460 * Makefile.am: Run get-lines test. Don't run get-aranges and
461 get-ciefde test for now.
462
463 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
464 change. Print attribute offset information.
465 * run-show-abbrev.sh: Adjust expected output.
466
4672004-01-09 Ulrich Drepper <drepper@redhat.com>
468
469 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
470 * show-die-info.c: Likewise.
471 * run-show-die-info.sh: Adjust expected output.
472
4732003-08-13 Ulrich Drepper <drepper@redhat.com>
474
475 * Makefile.in: Depend on libebl.a, not libebl.so.
476
4772003-08-11 Ulrich Drepper <drepper@redhat.com>
478
479 * Moved to CVS archive.