blob: 2b51b5c23dedd4cb10308a11c42d8f831800ba26 [file] [log] [blame]
Roland McGrath124a7982005-12-15 02:37:09 +000012005-12-14 Roland McGrath <roland@redhat.com>
2
3 * run-native-test.sh: Redirect output from native test process.
4
Roland McGrath94d26ad2005-12-13 23:24:37 +000052005-12-13 Roland McGrath <roland@redhat.com>
6
7 * allregs.c (main): Fail if we find no registers.
8
9 * run-native-test.sh: New file.
10 * Makefile.am (TESTS, EXTRA_DIST): Add it.
11
Roland McGrathba72ab12005-12-12 00:04:33 +0000122005-12-10 Ulrich Drepper <drepper@redhat.com
13
14 * run-readelf-test1.sh: New file.
15 * Makefile.am (TESTS): Add run-readelf-test1.sh.
16 (EXTRA_DIST): Likewise.
17
Roland McGrathd804e722005-12-08 01:35:42 +0000182005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +000019
Roland McGrathd804e722005-12-08 01:35:42 +000020 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +000021
Roland McGrath994b4892005-12-05 22:46:21 +0000222005-11-25 Roland McGrath <roland@redhat.com>
23
24 * coverage.sh: Given -v argument, print names of unused files.
25
26 * addrscopes.c (main): Use dwfl_end before return.
27 * allregs.c (main): Likewise.
28 * find-prologues.c (main): Likewise.
29 * funcretval.c (main): Likewise.
30 * funcscopes.c (main): Likewise.
31 * line2addr.c (main): Likewise.
32
33 * run-allregs.sh: New file.
34 * Makefile.am (TESTS, EXTRA_DIST): Add it.
35
36 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
37 * Makefile.am (allregs_LDADD): Updated.
38
39 * allregs.c: New file.
40 * Makefile.am (noinst_PROGRAMS): Add it.
41 (allregs_LDADD): New variable.
42
Roland McGrath9365d2c2005-11-18 23:55:47 +0000432005-11-18 Roland McGrath <roland@redhat.com>
44
45 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
46 * test-wrapper.sh: Likewise.
47
Roland McGrath575dd392005-11-18 01:41:52 +0000482005-11-17 Roland McGrath <roland@redhat.com>
49
Roland McGrathaf74f5c2005-11-18 02:25:14 +000050 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
51 environment for test-wrapper.sh.
52 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
53 * test-subr.sh (installed_testrun): Likewise.
54 Use explicit path in ${bindir}.
55
Roland McGrath575dd392005-11-18 01:41:52 +000056 * Makefile.am (installcheck-local): Fix typo in last change.
57
Roland McGrathd7f8d0c2005-11-17 02:32:03 +0000582005-11-16 Roland McGrath <roland@redhat.com>
59
60 * configure.ac: New file, for standalone build/dist of test suite.
61 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
62 (asm_TESTS): New variable, broken out of ...
63 (TESTS): ... here. Also remove msg_tst.
64 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
65 (installed_TESTS_ENVIRONMENT): New variable.
66 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
67 [!STANDALONE] (installcheck-local): Likewise.
68 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
69 * addrscopes.c: Include <config.h>.
70 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
71 * allfcts.c: Likewise.
72 * asm-tst1.c: Likewise.
73 * asm-tst2.c: Likewise.
74 * asm-tst3.c: Likewise.
75 * asm-tst4.c: Likewise.
76 * asm-tst5.c: Likewise.
77 * asm-tst6.c: Likewise.
78 * asm-tst7.c: Likewise.
79 * asm-tst8.c: Likewise.
80 * asm-tst9.c: Likewise.
81 * dwflmodtest.c: Likewise.
82 * find-prologues.c: Likewise.
83 * funcscopes.c: Likewise.
84 * get-aranges.c: Likewise.
85 * get-files.c: Likewise.
86 * get-lines.c: Likewise.
87 * get-pubnames.c: Likewise.
88 * line2addr.c: Likewise.
89 * newscn.c: Likewise.
90 * show-abbrev.c: Likewise.
91 * show-die-info.c: Likewise.
92 * update3.c: Likewise.
93 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +000094 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000095
96 * dwflmodtest.c (print_instance): Don't use INTUSE.
97 (options): Don't use N_ macro.
98
Roland McGrath1b8b4462005-11-16 01:33:38 +0000992005-11-15 Roland McGrath <roland@redhat.com>
100
Roland McGrathe47ab762005-11-17 03:16:00 +0000101 * coverage.sh: Look in backends.
102 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
103 (TESTS_ENVIRONMENT): Likewise.
104
105 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
106 pass FUNCDIE direclty to dwfl_module_return_value_location.
107
Roland McGrath1b8b4462005-11-16 01:33:38 +0000108 * Makefile.am (BUILD_RPATH): New variable.
109 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
110 (tests_rpath): New variable.
111 (installcheck-local): Pass it to test-wrapper.sh.
112 * test-wrapper.sh: In "installed" format, take yes/no value
113 for elfutils_tests_rpath, which export. When running a test
114 binary for installcheck, exit 77.
115 * test-subr.sh (installed_testrun): When running a test binary
116 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
117
1182005-11-14 Roland McGrath <roland@redhat.com>
119
120 * test-subr.sh: New file.
121 * test-wrapper.sh: New file.
122 * Makefile.am (EXTRA_DIST): Add them.
123 (AM_LDFLAGS): Variable removed.
124 (TESTS_ENVIRONMENT): New variable.
125 (installcheck-local): New target.
126 * run-addrscopes.sh: Use test-subr.sh.
127 * run-allfcts.sh: Likewise.
128 * run-ecp-test.sh: Likewise.
129 * run-ecp-test2.sh: Likewise.
130 * run-elflint-self.sh: Likewise.
131 * run-elflint-test.sh: Likewise.
132 * run-find-prologues.sh: Likewise.
133 * run-funcscopes.sh: Likewise.
134 * run-get-aranges.sh: Likewise.
135 * run-get-files.sh: Likewise.
136 * run-get-lines.sh: Likewise.
137 * run-get-pubnames.sh: Likewise.
138 * run-line2addr.sh: Likewise.
139 * run-ranlib-test.sh: Likewise.
140 * run-ranlib-test2.sh: Likewise.
141 * run-show-abbrev.sh: Likewise.
142 * run-show-ciefde.sh: Likewise.
143 * run-show-die-info.sh: Likewise.
144 * run-strings-test.sh: Likewise.
145 * run-strip-test.sh: Likewise.
146
Roland McGrathe47ab762005-11-17 03:16:00 +00001472005-11-13 Roland McGrath <roland@redhat.com>
148
149 * funcretval.c: New file.
150 * Makefile.am (noinst_PROGRAMS): Add it.
151 (funcretval_LDADD): New variable.
152
Ulrich Drepper3840c1c2005-11-09 16:13:48 +00001532005-11-09 Ulrich Drepper <drepper@redhat.com>
154
155 * line2addr.c (handle_module): Add missing parameter to printf.
156
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001572005-10-27 Roland McGrath <roland@redhat.com>
158
Roland McGrath6724c902005-10-28 07:07:19 +0000159 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
160 * funcscopes.c (handle_function): Likewise.
161 * dwflmodtest.c (print_inline, print_func): Likewise.
162 * find-prologues.c (handle_function): Likewise.
163
1642005-10-27 Roland McGrath <roland@redhat.com>
165
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000166 * run-find-prologues.sh: New file.
167 * Makefile.am (TESTS, EXTRA_DIST): Add it.
168
169 * find-prologues.c (handle_function): Skip inlines.
170
1712005-10-25 Roland McGrath <roland@redhat.com>
172
173 * find-prologues.c: New file.
174 * Makefile.am (noinst_PROGRAMS): Add it.
175 (find_prologues_LDADD): New variable.
176
Ulrich Drepper3bbc9502005-09-02 20:29:56 +00001772005-09-02 Ulrich Drepper <drepper@redhat.com>
178
179 * run-strings-test.sh: Remove strings.out in the end.
180
Ulrich Drepper7d65d012005-08-31 15:14:26 +00001812005-08-31 Ulrich Drepper <drepper@redhat.com>
182
183 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
184 * run-allfcts.sh: Likewise.
185 * run-ecp-test.sh: Likewise.
186 * run-ecp-test2.sh: Likewise.
187 * run-elflint-test.sh: Likewise.
188 * run-funcscopes.sh: Likewise.
189 * run-get-aranges.sh: Likewise.
190 * run-get-files.sh: Likewise.
191 * run-get-lines.sh: Likewise.
192 * run-get-pubnames.sh: Likewise.
193 * run-line2addr.sh: Likewise.
194 * run-ranlib-test2.sh: Likewise.
195 * run-show-abbrev.sh: Likewise.
196 * run-show-ciefde.sh: Likewise.
197 * run-show-die-info.sh: Likewise.
198 * run-strings-test.sh: Likewise.
199 * run-strip-test.sh: Likewise.
200
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +00002012005-08-30 Ulrich Drepper <drepper@redhat.com>
202
203 * coverage.sh: Handle case where there is no .gcno file at all.
204
Ulrich Drepper39cec7a2005-08-30 01:22:01 +00002052005-08-29 Ulrich Drepper <drepper@redhat.com>
206
207 * Makefile.am (EXTRA_DIST): Add coverage.
208 [GCOV]: Generate coverage summary after the tests ran
209 * coverage.sh: New file.
210
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00002112005-08-28 Ulrich Drepper <drepper@redhat.com>
212
213 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
214 (CLEANFILES): Add *.gcno *.gcda *.gconv.
215
2162005-08-28 Ulrich Drepper <drepper@redhat.com>
217
218 * run-strings-test.sh: New file.
219 * Makefile.am (TESTS, EXTRA_DIST): Add it.
220
Roland McGrath71e15a02005-08-27 10:33:26 +00002212005-08-27 Roland McGrath <roland@redhat.com>
222
Roland McGrathb0bc2782005-08-27 21:07:16 +0000223 * addrscopes.c (handle_address): Apply bias to PC addresses.
224
Roland McGrath71e15a02005-08-27 10:33:26 +0000225 * run-funcscopes.sh: New file.
226 * testfile25.bz2: New data file.
227 * Makefile.am (TESTS, EXTRA_DIST): Add them.
228
2292005-08-26 Roland McGrath <roland@redhat.com>
230
231 * addrscopes.c (dwarf_diename_integrate): Removed.
232 (print_vars, handle_address): Use plain dwarf_diename.
233
2342005-08-25 Roland McGrath <roland@redhat.com>
235
236 * funcscopes.c: New file.
237 * Makefile.am (noinst_PROGRAMS): Add it.
238 (funcscopes_LDADD): New variable.
239
240 * run-addrscopes.sh: Add another case.
241 * testfile24.bz2: New data file.
242 * Makefile.am (EXTRA_DIST): Add it.
243
244 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
245 pass it to dwarf_getscopes.
246 (main): Pass it, true when '=' follows an address.
247
Roland McGrath4c305da2005-08-25 01:49:35 +00002482005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +0000249
Roland McGrath4c305da2005-08-25 01:49:35 +0000250 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +0000251
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00002522005-08-24 Ulrich Drepper <drepper@redhat.com>
253
Ulrich Drepper958bf132005-08-24 21:40:55 +0000254 * run-line2addr.sh: Remove testfile23 in the end.
255
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000256 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +0000257 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000258
Roland McGrathd17fac72005-08-23 08:20:21 +00002592005-08-22 Roland McGrath <roland@redhat.com>
260
261 * run-line2addr.sh: Add a case.
262 * testfile23.bz2: New data file.
263 * Makefile.am (EXTRA_DIST): Add it.
264
Roland McGrath9a1f3652005-08-18 20:57:04 +00002652005-08-18 Roland McGrath <roland@redhat.com>
266
Roland McGrathf5fda7d2005-08-18 22:01:57 +0000267 * run-addrscopes.sh: New file.
268 * testfile22.bz2: New data file.
269 * Makefile.am (TESTS, EXTRA_DIST): Add them.
270
Roland McGrath9a1f3652005-08-18 20:57:04 +0000271 * addrscopes.c: New file.
272 * Makefile.am (noinst_PROGRAMS): Add it.
273 (addrscopes_LDADD): New variable.
274
Ulrich Drepper837b5222005-08-16 05:12:01 +00002752005-08-15 Ulrich Drepper <drepper@redhat.com>
276
277 * run-elflint-self.sh: Don't run test if the file doesn't exist.
278
Roland McGrath1ecb6062005-08-15 09:53:04 +00002792005-08-15 Roland McGrath <roland@redhat.com>
280
281 * dwflmodtest.c (print_instance, print_inline): New functions.
282 (print_func): Call print_inline.
283 (options, parse_opt): Grok -i/--inlines.
284
Roland McGrath8d18c292005-08-07 21:42:07 +00002852005-08-07 Roland McGrath <roland@redhat.com>
286
287 * dwflmodtest.c: Print function details only if -f flag is given.
288
Ulrich Drepper47be7952005-08-07 04:41:39 +00002892005-08-06 Ulrich Drepper <drepper@redhat.com>
290
Ulrich Drepper637963b2005-08-07 05:33:07 +0000291 * run-elflint-self.sh: New file.
292 * Makefile.am (TESTS): Add run-elflint-self.sh.
293 (EXTRA_DIST): Likewise.
294
Ulrich Drepper47be7952005-08-07 04:41:39 +0000295 * Makefile.am: Link with statis libs if BUILD_STATIC.
296 (dwflmodtest_LDADD): Also link with -ldl.
297
Ulrich Drepper41de4882005-08-03 00:02:56 +00002982005-08-02 Ulrich Drepper <drepper@redhat.com>
299
Ulrich Dreppera38998e2005-08-03 02:05:39 +0000300 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
301 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
302 library first.
303 * asm-tst2.c: Likewise.
304 * asm-tst3.c: Likewise.
305 * asm-tst4.c: Likewise.
306 * asm-tst5.c: Likewise.
307 * asm-tst6.c: Likewise.
308 * asm-tst7.c: Likewise.
309 * asm-tst8.c: Likewise.
310 * asm-tst9.c: Likewise.
311
Ulrich Drepper41de4882005-08-03 00:02:56 +0000312 * msg_tst.c: Add new error message.
313
Ulrich Drepper18618fd2005-07-28 21:29:22 +00003142005-07-28 Ulrich Drepper <drepper@redhat.com>
315
316 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
317
Roland McGrathd17fac72005-08-23 08:20:21 +00003182005-06-01 Roland McGrath <roland@redhat.com>
319
320 * line2addr.c: Rewritten using libdwfl.
321 * run-line2addr.sh: Update test for changed arguments.
322 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
323 (libdwfl): New variable.
324 (line2addr_LDADD): Use it.
325
Roland McGrath18385902005-07-28 07:12:38 +00003262005-07-28 Roland McGrath <roland@redhat.com>
327
328 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
329 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
330 (dwflmodtest_LDADD): New variable.
331 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
332
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00003332005-07-21 Ulrich Drepper <drepper@redhat.com>
334
335 * testfile18.bz2: New file.
336 * run-elflint-test.sh: New file.
337 * Makefile.am (TESTS): Add run-elflint-test.sh.
338 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
339
3402005-05-24 Ulrich Drepper <drepper@redhat.com>
341
342 * get-files.c (main): Use correct format specifier.
343
3442005-05-21 Ulrich Drepper <drepper@redhat.com>
345
346 * Makefile.am: Add -Wextra to CFLAGS.
347 * get-files.c: Remove warning this produced.
348 * get-pubnames.c: Likewise.
349 * newfile.c: Likewise.
350 * newscn.c: Likewise.
351 * scnnames.c: Likewise.
352 * showptable.c: Likewise.
353 * test-nlist.c: Likewise.
354 * update1.c: Likewise.
355 * update2.c: Likewise.
356 * update3.c: Likewise.
357 * update4.c: Likewise.
358
3592005-05-08 Ulrich Drepper <drepper@redhat.com>
360
361 * run-line2addr.sh: Remove testfile14 at the end.
362
Ulrich Drepper282bf322005-07-28 21:49:05 +0000363 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000364
365 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
366 .bz, not .bz2.
367
3682005-05-03 Roland McGrath <roland@redhat.com>
369
370 * run-strip-test.sh: Use variables for test file names.
371 Optionally produce separate debug file and check it.
372 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
373 * run-strip-test3.sh: Likewise.
374 * run-strip-test4.sh: New file.
375 * run-strip-test5.sh: New file.
376 * run-strip-test6.sh: New file.
377 * testfile15.bz: New file.
378 * testfile15.debug.bz: New file.
379 * testfile16.bz: New file.
380 * testfile16.debug.bz: New file.
381 * testfile17.bz: New file.
382 * testfile17.debug.bz: New file.
383 * Makefile.am (TESTS, EXTRA_DIST): Add them.
384
3852005-04-25 Ulrich Drepper <drepper@redhat.com>
386
387 * run-line2addr.sh: Also use testfile14. Adjust for correct
388 return of multiple matches.
389 * testfile14.bz2: New file.
390 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
391
392 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
393
3942005-04-04 Roland McGrath <roland@frob.com>
395
396 * line2addr.c (main): Initialize LINES and NLINES before calling
397 dwarf_getsrc_file, and free LINES afterwards.
398
399 * allfcts.c (main): Use size_t for CUHL.
400
4012005-04-04 Ulrich Drepper <drepper@redhat.com>
402
403 * line2addr.c: New file.
404 * run-line2addr.sh: New file.
405 * Makefile.am: Add rules to build, run, and distribute new code.
406
4072005-04-02 Ulrich Drepper <drepper@redhat.com>
408
409 * allfcts.c: New file.
410 * run-allfcts.sh: New file.
411 * Makefile.am: Add rules to build, run, and distribute new code.
412
4132005-02-05 Ulrich Drepper <drepper@redhat.com>
414
415 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
416 programs with -lmudflap.
417
4182004-09-25 Ulrich Drepper <drepper@redhat.com>
419
420 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
421 * asm-tst5.c (main): Likewise.
422 * asm-tst6.c (main): Likewise.
423
4242004-01-17 Ulrich Drepper <drepper@redhat.com>
425
426 * Makefile.am: Support building with mudflap.
427
4282004-01-12 Ulrich Drepper <drepper@redhat.com>
429
430 * get-aranges.c: Rewrite to use libdw.
431 * Makefile.am: Reenable get-aranges test.
432
4332004-01-11 Ulrich Drepper <drepper@redhat.com>
434
435 * get-lines.c: New file.
436 * get-files.c: Adjust for libdw.
437 * run-get-files.sh: Adjust expected result.
438 * run-get-lines.sh: Likewise.
439 * Makefile.am: Run get-lines test. Don't run get-aranges and
440 get-ciefde test for now.
441
442 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
443 change. Print attribute offset information.
444 * run-show-abbrev.sh: Adjust expected output.
445
4462004-01-09 Ulrich Drepper <drepper@redhat.com>
447
448 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
449 * show-die-info.c: Likewise.
450 * run-show-die-info.sh: Adjust expected output.
451
4522003-08-13 Ulrich Drepper <drepper@redhat.com>
453
454 * Makefile.in: Depend on libebl.a, not libebl.so.
455
4562003-08-11 Ulrich Drepper <drepper@redhat.com>
457
458 * Moved to CVS archive.