blob: 7564e0925d4321aa63eb553bae003d05e3fe959e [file] [log] [blame]
Roland McGrath994b4892005-12-05 22:46:21 +000012005-11-25 Roland McGrath <roland@redhat.com>
2
3 * coverage.sh: Given -v argument, print names of unused files.
4
5 * addrscopes.c (main): Use dwfl_end before return.
6 * allregs.c (main): Likewise.
7 * find-prologues.c (main): Likewise.
8 * funcretval.c (main): Likewise.
9 * funcscopes.c (main): Likewise.
10 * line2addr.c (main): Likewise.
11
12 * run-allregs.sh: New file.
13 * Makefile.am (TESTS, EXTRA_DIST): Add it.
14
15 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
16 * Makefile.am (allregs_LDADD): Updated.
17
18 * allregs.c: New file.
19 * Makefile.am (noinst_PROGRAMS): Add it.
20 (allregs_LDADD): New variable.
21
Roland McGrath9365d2c2005-11-18 23:55:47 +0000222005-11-18 Roland McGrath <roland@redhat.com>
23
24 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
25 * test-wrapper.sh: Likewise.
26
Roland McGrath575dd392005-11-18 01:41:52 +0000272005-11-17 Roland McGrath <roland@redhat.com>
28
Roland McGrathaf74f5c2005-11-18 02:25:14 +000029 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
30 environment for test-wrapper.sh.
31 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
32 * test-subr.sh (installed_testrun): Likewise.
33 Use explicit path in ${bindir}.
34
Roland McGrath575dd392005-11-18 01:41:52 +000035 * Makefile.am (installcheck-local): Fix typo in last change.
36
Roland McGrathd7f8d0c2005-11-17 02:32:03 +0000372005-11-16 Roland McGrath <roland@redhat.com>
38
39 * configure.ac: New file, for standalone build/dist of test suite.
40 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
41 (asm_TESTS): New variable, broken out of ...
42 (TESTS): ... here. Also remove msg_tst.
43 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
44 (installed_TESTS_ENVIRONMENT): New variable.
45 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
46 [!STANDALONE] (installcheck-local): Likewise.
47 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
48 * addrscopes.c: Include <config.h>.
49 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
50 * allfcts.c: Likewise.
51 * asm-tst1.c: Likewise.
52 * asm-tst2.c: Likewise.
53 * asm-tst3.c: Likewise.
54 * asm-tst4.c: Likewise.
55 * asm-tst5.c: Likewise.
56 * asm-tst6.c: Likewise.
57 * asm-tst7.c: Likewise.
58 * asm-tst8.c: Likewise.
59 * asm-tst9.c: Likewise.
60 * dwflmodtest.c: Likewise.
61 * find-prologues.c: Likewise.
62 * funcscopes.c: Likewise.
63 * get-aranges.c: Likewise.
64 * get-files.c: Likewise.
65 * get-lines.c: Likewise.
66 * get-pubnames.c: Likewise.
67 * line2addr.c: Likewise.
68 * newscn.c: Likewise.
69 * show-abbrev.c: Likewise.
70 * show-die-info.c: Likewise.
71 * update3.c: Likewise.
72 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +000073 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +000074
75 * dwflmodtest.c (print_instance): Don't use INTUSE.
76 (options): Don't use N_ macro.
77
Roland McGrath1b8b4462005-11-16 01:33:38 +0000782005-11-15 Roland McGrath <roland@redhat.com>
79
Roland McGrathe47ab762005-11-17 03:16:00 +000080 * coverage.sh: Look in backends.
81 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
82 (TESTS_ENVIRONMENT): Likewise.
83
84 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
85 pass FUNCDIE direclty to dwfl_module_return_value_location.
86
Roland McGrath1b8b4462005-11-16 01:33:38 +000087 * Makefile.am (BUILD_RPATH): New variable.
88 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
89 (tests_rpath): New variable.
90 (installcheck-local): Pass it to test-wrapper.sh.
91 * test-wrapper.sh: In "installed" format, take yes/no value
92 for elfutils_tests_rpath, which export. When running a test
93 binary for installcheck, exit 77.
94 * test-subr.sh (installed_testrun): When running a test binary
95 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
96
972005-11-14 Roland McGrath <roland@redhat.com>
98
99 * test-subr.sh: New file.
100 * test-wrapper.sh: New file.
101 * Makefile.am (EXTRA_DIST): Add them.
102 (AM_LDFLAGS): Variable removed.
103 (TESTS_ENVIRONMENT): New variable.
104 (installcheck-local): New target.
105 * run-addrscopes.sh: Use test-subr.sh.
106 * run-allfcts.sh: Likewise.
107 * run-ecp-test.sh: Likewise.
108 * run-ecp-test2.sh: Likewise.
109 * run-elflint-self.sh: Likewise.
110 * run-elflint-test.sh: Likewise.
111 * run-find-prologues.sh: Likewise.
112 * run-funcscopes.sh: Likewise.
113 * run-get-aranges.sh: Likewise.
114 * run-get-files.sh: Likewise.
115 * run-get-lines.sh: Likewise.
116 * run-get-pubnames.sh: Likewise.
117 * run-line2addr.sh: Likewise.
118 * run-ranlib-test.sh: Likewise.
119 * run-ranlib-test2.sh: Likewise.
120 * run-show-abbrev.sh: Likewise.
121 * run-show-ciefde.sh: Likewise.
122 * run-show-die-info.sh: Likewise.
123 * run-strings-test.sh: Likewise.
124 * run-strip-test.sh: Likewise.
125
Roland McGrathe47ab762005-11-17 03:16:00 +00001262005-11-13 Roland McGrath <roland@redhat.com>
127
128 * funcretval.c: New file.
129 * Makefile.am (noinst_PROGRAMS): Add it.
130 (funcretval_LDADD): New variable.
131
Ulrich Drepper3840c1c2005-11-09 16:13:48 +00001322005-11-09 Ulrich Drepper <drepper@redhat.com>
133
134 * line2addr.c (handle_module): Add missing parameter to printf.
135
Roland McGrath07d4f2f2005-10-28 06:56:24 +00001362005-10-27 Roland McGrath <roland@redhat.com>
137
Roland McGrath6724c902005-10-28 07:07:19 +0000138 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
139 * funcscopes.c (handle_function): Likewise.
140 * dwflmodtest.c (print_inline, print_func): Likewise.
141 * find-prologues.c (handle_function): Likewise.
142
1432005-10-27 Roland McGrath <roland@redhat.com>
144
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000145 * run-find-prologues.sh: New file.
146 * Makefile.am (TESTS, EXTRA_DIST): Add it.
147
148 * find-prologues.c (handle_function): Skip inlines.
149
1502005-10-25 Roland McGrath <roland@redhat.com>
151
152 * find-prologues.c: New file.
153 * Makefile.am (noinst_PROGRAMS): Add it.
154 (find_prologues_LDADD): New variable.
155
Ulrich Drepper3bbc9502005-09-02 20:29:56 +00001562005-09-02 Ulrich Drepper <drepper@redhat.com>
157
158 * run-strings-test.sh: Remove strings.out in the end.
159
Ulrich Drepper7d65d012005-08-31 15:14:26 +00001602005-08-31 Ulrich Drepper <drepper@redhat.com>
161
162 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
163 * run-allfcts.sh: Likewise.
164 * run-ecp-test.sh: Likewise.
165 * run-ecp-test2.sh: Likewise.
166 * run-elflint-test.sh: Likewise.
167 * run-funcscopes.sh: Likewise.
168 * run-get-aranges.sh: Likewise.
169 * run-get-files.sh: Likewise.
170 * run-get-lines.sh: Likewise.
171 * run-get-pubnames.sh: Likewise.
172 * run-line2addr.sh: Likewise.
173 * run-ranlib-test2.sh: Likewise.
174 * run-show-abbrev.sh: Likewise.
175 * run-show-ciefde.sh: Likewise.
176 * run-show-die-info.sh: Likewise.
177 * run-strings-test.sh: Likewise.
178 * run-strip-test.sh: Likewise.
179
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +00001802005-08-30 Ulrich Drepper <drepper@redhat.com>
181
182 * coverage.sh: Handle case where there is no .gcno file at all.
183
Ulrich Drepper39cec7a2005-08-30 01:22:01 +00001842005-08-29 Ulrich Drepper <drepper@redhat.com>
185
186 * Makefile.am (EXTRA_DIST): Add coverage.
187 [GCOV]: Generate coverage summary after the tests ran
188 * coverage.sh: New file.
189
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00001902005-08-28 Ulrich Drepper <drepper@redhat.com>
191
192 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
193 (CLEANFILES): Add *.gcno *.gcda *.gconv.
194
1952005-08-28 Ulrich Drepper <drepper@redhat.com>
196
197 * run-strings-test.sh: New file.
198 * Makefile.am (TESTS, EXTRA_DIST): Add it.
199
Roland McGrath71e15a02005-08-27 10:33:26 +00002002005-08-27 Roland McGrath <roland@redhat.com>
201
Roland McGrathb0bc2782005-08-27 21:07:16 +0000202 * addrscopes.c (handle_address): Apply bias to PC addresses.
203
Roland McGrath71e15a02005-08-27 10:33:26 +0000204 * run-funcscopes.sh: New file.
205 * testfile25.bz2: New data file.
206 * Makefile.am (TESTS, EXTRA_DIST): Add them.
207
2082005-08-26 Roland McGrath <roland@redhat.com>
209
210 * addrscopes.c (dwarf_diename_integrate): Removed.
211 (print_vars, handle_address): Use plain dwarf_diename.
212
2132005-08-25 Roland McGrath <roland@redhat.com>
214
215 * funcscopes.c: New file.
216 * Makefile.am (noinst_PROGRAMS): Add it.
217 (funcscopes_LDADD): New variable.
218
219 * run-addrscopes.sh: Add another case.
220 * testfile24.bz2: New data file.
221 * Makefile.am (EXTRA_DIST): Add it.
222
223 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
224 pass it to dwarf_getscopes.
225 (main): Pass it, true when '=' follows an address.
226
Roland McGrath4c305da2005-08-25 01:49:35 +00002272005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +0000228
Roland McGrath4c305da2005-08-25 01:49:35 +0000229 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +0000230
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00002312005-08-24 Ulrich Drepper <drepper@redhat.com>
232
Ulrich Drepper958bf132005-08-24 21:40:55 +0000233 * run-line2addr.sh: Remove testfile23 in the end.
234
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000235 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +0000236 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +0000237
Roland McGrathd17fac72005-08-23 08:20:21 +00002382005-08-22 Roland McGrath <roland@redhat.com>
239
240 * run-line2addr.sh: Add a case.
241 * testfile23.bz2: New data file.
242 * Makefile.am (EXTRA_DIST): Add it.
243
Roland McGrath9a1f3652005-08-18 20:57:04 +00002442005-08-18 Roland McGrath <roland@redhat.com>
245
Roland McGrathf5fda7d2005-08-18 22:01:57 +0000246 * run-addrscopes.sh: New file.
247 * testfile22.bz2: New data file.
248 * Makefile.am (TESTS, EXTRA_DIST): Add them.
249
Roland McGrath9a1f3652005-08-18 20:57:04 +0000250 * addrscopes.c: New file.
251 * Makefile.am (noinst_PROGRAMS): Add it.
252 (addrscopes_LDADD): New variable.
253
Ulrich Drepper837b5222005-08-16 05:12:01 +00002542005-08-15 Ulrich Drepper <drepper@redhat.com>
255
256 * run-elflint-self.sh: Don't run test if the file doesn't exist.
257
Roland McGrath1ecb6062005-08-15 09:53:04 +00002582005-08-15 Roland McGrath <roland@redhat.com>
259
260 * dwflmodtest.c (print_instance, print_inline): New functions.
261 (print_func): Call print_inline.
262 (options, parse_opt): Grok -i/--inlines.
263
Roland McGrath8d18c292005-08-07 21:42:07 +00002642005-08-07 Roland McGrath <roland@redhat.com>
265
266 * dwflmodtest.c: Print function details only if -f flag is given.
267
Ulrich Drepper47be7952005-08-07 04:41:39 +00002682005-08-06 Ulrich Drepper <drepper@redhat.com>
269
Ulrich Drepper637963b2005-08-07 05:33:07 +0000270 * run-elflint-self.sh: New file.
271 * Makefile.am (TESTS): Add run-elflint-self.sh.
272 (EXTRA_DIST): Likewise.
273
Ulrich Drepper47be7952005-08-07 04:41:39 +0000274 * Makefile.am: Link with statis libs if BUILD_STATIC.
275 (dwflmodtest_LDADD): Also link with -ldl.
276
Ulrich Drepper41de4882005-08-03 00:02:56 +00002772005-08-02 Ulrich Drepper <drepper@redhat.com>
278
Ulrich Dreppera38998e2005-08-03 02:05:39 +0000279 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
280 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
281 library first.
282 * asm-tst2.c: Likewise.
283 * asm-tst3.c: Likewise.
284 * asm-tst4.c: Likewise.
285 * asm-tst5.c: Likewise.
286 * asm-tst6.c: Likewise.
287 * asm-tst7.c: Likewise.
288 * asm-tst8.c: Likewise.
289 * asm-tst9.c: Likewise.
290
Ulrich Drepper41de4882005-08-03 00:02:56 +0000291 * msg_tst.c: Add new error message.
292
Ulrich Drepper18618fd2005-07-28 21:29:22 +00002932005-07-28 Ulrich Drepper <drepper@redhat.com>
294
295 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
296
Roland McGrathd17fac72005-08-23 08:20:21 +00002972005-06-01 Roland McGrath <roland@redhat.com>
298
299 * line2addr.c: Rewritten using libdwfl.
300 * run-line2addr.sh: Update test for changed arguments.
301 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
302 (libdwfl): New variable.
303 (line2addr_LDADD): Use it.
304
Roland McGrath18385902005-07-28 07:12:38 +00003052005-07-28 Roland McGrath <roland@redhat.com>
306
307 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
308 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
309 (dwflmodtest_LDADD): New variable.
310 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
311
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00003122005-07-21 Ulrich Drepper <drepper@redhat.com>
313
314 * testfile18.bz2: New file.
315 * run-elflint-test.sh: New file.
316 * Makefile.am (TESTS): Add run-elflint-test.sh.
317 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
318
3192005-05-24 Ulrich Drepper <drepper@redhat.com>
320
321 * get-files.c (main): Use correct format specifier.
322
3232005-05-21 Ulrich Drepper <drepper@redhat.com>
324
325 * Makefile.am: Add -Wextra to CFLAGS.
326 * get-files.c: Remove warning this produced.
327 * get-pubnames.c: Likewise.
328 * newfile.c: Likewise.
329 * newscn.c: Likewise.
330 * scnnames.c: Likewise.
331 * showptable.c: Likewise.
332 * test-nlist.c: Likewise.
333 * update1.c: Likewise.
334 * update2.c: Likewise.
335 * update3.c: Likewise.
336 * update4.c: Likewise.
337
3382005-05-08 Ulrich Drepper <drepper@redhat.com>
339
340 * run-line2addr.sh: Remove testfile14 at the end.
341
Ulrich Drepper282bf322005-07-28 21:49:05 +0000342 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000343
344 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
345 .bz, not .bz2.
346
3472005-05-03 Roland McGrath <roland@redhat.com>
348
349 * run-strip-test.sh: Use variables for test file names.
350 Optionally produce separate debug file and check it.
351 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
352 * run-strip-test3.sh: Likewise.
353 * run-strip-test4.sh: New file.
354 * run-strip-test5.sh: New file.
355 * run-strip-test6.sh: New file.
356 * testfile15.bz: New file.
357 * testfile15.debug.bz: New file.
358 * testfile16.bz: New file.
359 * testfile16.debug.bz: New file.
360 * testfile17.bz: New file.
361 * testfile17.debug.bz: New file.
362 * Makefile.am (TESTS, EXTRA_DIST): Add them.
363
3642005-04-25 Ulrich Drepper <drepper@redhat.com>
365
366 * run-line2addr.sh: Also use testfile14. Adjust for correct
367 return of multiple matches.
368 * testfile14.bz2: New file.
369 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
370
371 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
372
3732005-04-04 Roland McGrath <roland@frob.com>
374
375 * line2addr.c (main): Initialize LINES and NLINES before calling
376 dwarf_getsrc_file, and free LINES afterwards.
377
378 * allfcts.c (main): Use size_t for CUHL.
379
3802005-04-04 Ulrich Drepper <drepper@redhat.com>
381
382 * line2addr.c: New file.
383 * run-line2addr.sh: New file.
384 * Makefile.am: Add rules to build, run, and distribute new code.
385
3862005-04-02 Ulrich Drepper <drepper@redhat.com>
387
388 * allfcts.c: New file.
389 * run-allfcts.sh: New file.
390 * Makefile.am: Add rules to build, run, and distribute new code.
391
3922005-02-05 Ulrich Drepper <drepper@redhat.com>
393
394 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
395 programs with -lmudflap.
396
3972004-09-25 Ulrich Drepper <drepper@redhat.com>
398
399 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
400 * asm-tst5.c (main): Likewise.
401 * asm-tst6.c (main): Likewise.
402
4032004-01-17 Ulrich Drepper <drepper@redhat.com>
404
405 * Makefile.am: Support building with mudflap.
406
4072004-01-12 Ulrich Drepper <drepper@redhat.com>
408
409 * get-aranges.c: Rewrite to use libdw.
410 * Makefile.am: Reenable get-aranges test.
411
4122004-01-11 Ulrich Drepper <drepper@redhat.com>
413
414 * get-lines.c: New file.
415 * get-files.c: Adjust for libdw.
416 * run-get-files.sh: Adjust expected result.
417 * run-get-lines.sh: Likewise.
418 * Makefile.am: Run get-lines test. Don't run get-aranges and
419 get-ciefde test for now.
420
421 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
422 change. Print attribute offset information.
423 * run-show-abbrev.sh: Adjust expected output.
424
4252004-01-09 Ulrich Drepper <drepper@redhat.com>
426
427 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
428 * show-die-info.c: Likewise.
429 * run-show-die-info.sh: Adjust expected output.
430
4312003-08-13 Ulrich Drepper <drepper@redhat.com>
432
433 * Makefile.in: Depend on libebl.a, not libebl.so.
434
4352003-08-11 Ulrich Drepper <drepper@redhat.com>
436
437 * Moved to CVS archive.