]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e691325a
PM
12008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
2
3 * gdb.base/assign.exp: avoid same output for different tests.
4
f85b5ecc
DE
52008-02-27 Doug Evans <dje@google.com>
6
7 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8 for bug 1738.
9 (breakpoint_to_handler_entry): Ditto.
10
b40e7bf3
JB
112008-02-27 Joel Brobecker <brobecker@adacore.com>
12
13 * gdb.base/ending-run.exp: Use the first line of code inside
14 function body to test breakpoints.
15 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16 location where the breakpoint is inserted when using the line
17 where a function is declared. Fix typo in the description of
18 one of the tests.
19 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
20
2faca73a
PM
212008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
22
23 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
24 tests.
25
6f439c36
PM
262008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
27
28 * gdb.base/args.exp: avoid same output for tests
29 with single quotes.
30
54e52265
VP
312008-02-26 Vladimir Prus <vladimir@codesourcery.com>
32
33 * gdb.base/annota1.exp: Adjust for 'info break'
34 format changes.
35 * gdb.base/annota3.exp: Likewise.
36 * gdb.base/break.exp: Likewise.
37 * gdb.base/condbreak.exp: Likewise.
38 * gdb.base/pending.exp: Likewise.
39 * gdb.base/sepdebug.exp: Likewise.
40 * gdb.base/unload.exp: Likewise.
41 * gdb.cp/ovldbreak.exp: Likewise.
42 * gdb.mi/mi-pending.exp: Likewise.
43
897b09ca
DE
442008-02-07 Doug Evans <dje@google.com>
45
46 * gdb.cp/mb-inline.exp: New.
47 * gdb.cp/mb-inline.h: New.
48 * gdb.cp/mb-inline1.cc: New.
49 * gdb.cp/mb-inline2.cc: New.
50
b1c32d35
PM
512008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
52
53 * gdb.pascal/floats.pas: New test program.
54 * gdb.pascal/floats.exp: New testcase.
55
1a4ca44a
TJB
562008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
57
58 * gdb.base/callfuncs.c (t_float_many_args): New function.
59 (t_double_many_args): New function.
60 * gdb.base/callfuncs.exp: Add tests for exceeding float
61 and double parameters passed through the stack.
62
439048e8
JB
632008-02-05 Joel Brobecker <brobecker@adacore.com>
64
65 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
66 gdb.ada/complete/foo.adb: New files.
67 * gdb.ada/complete.exp: New testcase.
68
81fe8080
DE
692008-02-03 Doug Evans <dje@google.com>
70
301f0ecf
DE
71 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
72
81fe8080
DE
73 * gdb.cp/gdb2384.exp: New file.
74 * gdb.cp/gdb2384.cc: New file.
75 * gdb.cp/gdb2384-base.h: New file.
76 * gdb.cp/gdb2384-base.cc: New file.
77
4b071aec
DE
782008-02-02 Doug Evans <dje@google.com>
79
80 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
81
61137ba6
JB
822007-02-01 Joel Brobecker <brobecker@adacore.com>
83
84 * gdb.ada/sym_print_name: New test program.
85 * gdb.ada/sym_print_name.exp: New testcase.
86
872007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
88
89 * gdb.ada/nested/hello.adb: New file.
90 * gdb.ada/nested.exp: New testcase.
91 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
92
98deb0da
VP
932008-02-01 Vladimir Prus <vladimir@codesourcery.com>
94
95 * gdb.mi/basic.c (return_1): New function.
96 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
97 don't cause future evaluations of function to report
98 creation of internal breakpoints.
99
723a2275
VP
1002008-02-01 Vladimir Prus <vladimir@codesourcery.com>
101
102 * gdb.mi/mi-break.exp (test_error): New.
103 Call it.
104
fb546a2f
LM
1052008-01-31 Luis Machado <luisgpm@br.ibm.com>
106
107 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
108 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
109
2d8fd90a
PM
1102008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
111
112 * gdb.pascal/integers.pas: New test program.
113 * gdb.pascal/integers.exp: New testcase.
114
a7fa0ded
PM
1152008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
116
117 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
118
5e1a1926
TJB
1192008-01-30 Luis Machado <luisgpm@br.ibm.com>
120
121 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
122 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
123
8d04f9f0
JB
1242008-01-30 Paul Hilfinger <hilfinger@adacore.com>
125
126 * gdb.ada/formatted_ref: New test program.
127 * gdb.ada/formatted_ref.exp: New testcase.
128
129 * gdb.cp/formatted-ref.cc: New file.
130 * gdb.cp/formatted-ref.exp: New testcase.
131
ce75a98f
JB
1322008-01-30 Joel Brobecker <brobecker@adacore.com>
133
134 * gdb.base/ptype.exp: Add testing of "ptype $pc".
135
e835f6bf
NR
1362008-01-30 Nick Roberts <nickrob@snap.net.nz>
137
138 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
139 (test_file_list_exec_source_file): Update to new macro-info field.
140
d118ef87
PH
1412008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
142
143 * gdb.ada/exprs: New test program.
144 * gdb.ada/exprs.exp: New testcase.
145
7d35ab09
TJB
1462008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
147
148 * dfp-test.c (DELTA, DELTA_B): New definitions.
149 (double_val1, double_val2, double_val3, double_val4, double_val5,
150 double_val6, double_val7, double_val8, double_val9, double_val10,
151 double_val11, double_val12, double_val13, double_val14, dec32_val1,
152 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
153 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
154 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
155 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
156 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
157 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
158 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
159 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
160 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
161 dec128_val16): New global variables.
162 (decimal_dec128_align): New function.
163 (decimal_mixed): Likewise.
164 (decimal_many_args_dec32): Likewise.
165 (decimal_many_args_dec64): Likewise.
166 (decimal_many_args_dec128): Likewise.
167 (decimal_many_args_mixed): Likewise.
168 * dfp-test.exp: Add tests calling new inferior functions.
169
2d717e4f
DJ
1702008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
171
172 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
173 gdb.server/ext-run.exp: New files.
174 * lib/gdbserver-support.exp (gdbserver_download): New.
175 (gdbserver_start): New. Update gdbserver expected
176 output.
177 (gdbserver_spawn): Use them.
178 (gdbserver_start_extended): New.
179
e85a822c
DJ
1802008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
181
182 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
183 Run on GNU/Linux.
184 (do_exec_tests): Check for systems which do not support catchpoints.
185 Do not match START.
186 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
187 Run on GNU/Linux. Enable verbose output.
188 (check_fork_catchpoints): New.
189 (explicit_fork_child_follow, catch_fork_child_follow)
190 (tcatch_fork_parent_follow): Update expected messages.
191 (do_fork_tests): Use check_fork_catchpoints.
192 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
193 Run on GNU/Linux. Enable verbose output.
194 (check_vfork_catchpoints): New.
195 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
196 expected messages.
197 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
198
401ea829
JB
1992008-01-29 Jim Blandy <jimb@red-bean.com>
200
201 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
202 host' errors.
203 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
204
aceaf3ad
JB
2052008-01-29 Jim Blandy <jimb@red-bean.com>
206
207 * gdb.threads/sigthread.c: Use barriers to ensure that
208 child_thread and child_thread_two are always initialized before we
209 start to use them.
210
a5606eee
VP
2112008-01-29 Vladimir Prus <vladimir@codesourcery.com>
212
213 * gdb.base/watchpoint-solib.exp: New.
214 * gdb.base/watchpoint-solib.c: New.
215 * gdb.base/watchpoint-solib-shr.c: New.
216
c55a82bb
PM
2172008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
218
219 * gdb.base/gdb1056.exp: Add unsigned integer test.
220
0993fe05
DE
2212008-01-28 Doug Evans <dje@google.com>
222
223 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
224
4fe42e7f
JB
2252008-01-27 Jim Blandy <jimb@codesourcery.com>
226
c7a69933
JB
227 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
228
4fe42e7f
JB
229 * gdb.base/expand-psymtabs.exp: Doc fix.
230
5def8285
MK
2312008-01-26 Mark Kettenis <kettenis@gnu.org>
232
233 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
234
5313c911
NR
2352008-01-24 Nick Roberts <nickrob@snap.net.nz>
236
237 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
238 -var-set-format.
239
93815fbf
VP
2402008-01-23 Chris Demetriou <cgd@google.com>
241
242 * gdb.threads/thread_events.c: New testcase source file.
243 * gdb.threads/thread_events.exp: New testcase expect file.
244
467a88ee
NR
2452008-01-23 Nick Roberts <nickrob@snap.net.nz>
246
247 * lib/gdb.exp: Add the variable octal.
248
249 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
250 -var-set-format.
251
d8f82aba
DJ
2522008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
253 Vladimir Prus <vladimir@codesourcery.com>
254
255 * gdb.base/float.exp: Allow missing floating point for m68k and
256 PowerPC.
257
60c46647
VP
2582008-01-22 Vladimir Prus <vladimir@codesourcery.com>
259
260 * gdb.mi/basics.c: Setup for testing breakpoints
261 ignore count.
262 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
263 * gdb.mi/mi-cli.exp: Adjust.
264 * gdb.mi/mi2-cli.exp: Adjust.
265
c7dd36a1
PA
2662008-01-17 Pedro Alves <pedro@codesourcery.com>
267
268 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
269 and 'dummy_ptr' integer pointer. Initialize struct_declarations
270 with dummy_ptr's address.
271 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
272 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
273 all targets.
274 * gdb.mi/mi2-var-child.exp: Likewise.
275
39d5313e
JB
2762008-01-09 Joel Brobecker <brobecker@adacore.com>
277
278 * gdb.ada/null_array: New test program.
279 * gdb.ada/null_array.exp: New testcase.
280
0aea4bf3
LM
2812008-01-09 Luis Machado <luisgpm@br.ibm.com>
282
283 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
284 with required float modifiers.
285
0b354900
JB
2862008-01-08 Joel Brobecker <brobecker@adacore.com>
287
288 * gdb.ada/funcall_param: New test program.
289 * gdb.ada/funcall_param.exp: New testcase.
290
cdb7f5d4
JB
2912008-01-08 Joel Brobecker <brobecker@adacore.com>
292
293 * gdb.ada/arrayparam: New test program.
294 * gdb.ada/arrayparam.exp: New testcase.
295
88e2547f
JB
2962008-01-08 Joel Brobecker <brobecker@adacore.com>
297
298 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
299 landed. Should also fix random failures in the test following it.
300
f6867ce0
TJB
3012008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
302
303 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
304 for expressions with decimal float values.
305 (test_dfp_conversions): New function to test casts to and from
306 decimal float types.
307 Call test_dfp_conversions.
308 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
309 elements.
310 (main): Initialize ds.float4 and ds.double8 elements.
311 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
312 string to new error message.
313 (d64_set_tests): Likewise.
314 (d128_set_tests): Likewise.
315 Add tests for expressions with decimal float variables. Add tests for
316 conversions to and from decimal float types.
317
f9c11282
JB
3182008-01-05 Joel Brobecker <brobecker@adacore.com>
319
320 * gdb.ada/packed_tagged/comp_bug.adb: New file.
321 * gdb.ada/packed_tagged.exp: New testcase.
322
0ecbca72
JB
3232008-01-04 Joel Brobecker <brobecker@adacore.com>
324
325 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
326 gdb.ada/homonym/homonym_main.adb: New files.
327 * gdb.ada/homonym.exp: New testcase.
328
c18d3d89
JB
3292008-01-04 Joel Brobecker <brobecker@adacore.com>
330
331 * gdb.ada/packed_array.exp: Add testing of references to
332 a packed array.
333
ecc7085b
JB
3342008-01-04 Joel Brobecker <brobecker@adacore.com>
335
336 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
337 New files.
338 * gdb.ada/type_coercion.exp: New testcase.
339
c474c922
JB
3402008-01-04 Joel Brobecker <brobecker@adacore.com>
341
342 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
343 gdb.ada/tagged/foo.adb: New file.
344 * gdb.ada/tagged.exp: New testcase.
345
9005b927
JB
3462008-01-04 Joel Brobecker <brobecker@adacore.com>
347
348 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
349 gdb.ada/ptype_field/foo.adb: New files.
350 * gdb.ada/ptype_field.exp: New testcase.
351
1a6aaad8
JB
3522008-01-03 Joel Brobecker <brobecker@adacore.com>
353
354 * gdb.ada/print_pc.exp: New testcase.
355
0ef22f53
JB
3562008-01-03 Joel Brobecker <brobecker@adacore.com>
357
358 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
359 gdb.ada/taft_type/p.adb: New files.
360 * gdb.ada/taft_type.exp: New testcase.
361
1689ecf8
JB
3622008-01-03 Joel Brobecker <brobecker@adacore.com>
363
364 * gdb.ada/array_bounds/bar.adb: New file.
365 * gdb.ada/array_bounds.exp: New testcase.
366
a4d0b9c3
JB
3672008-01-03 Joel Brobecker <brobecker@adacore.com>
368
369 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
370 gdb.ada/arrayptr/foo.adb: New files.
371 * gdb.ada/arrayptr.exp: New testcase.
372
a31ace00
JB
3732008-01-03 Joel Brobecker <brobecker@adacore.com>
374
375 * gdb.base/set-lang-auto.exp: New testcase.
376
a97fced3
JB
3772008-01-03 Joel Brobecker <brobecker@adacore.com>
378
379 * gdb.ada/fun_addr/foo.adb: New file.
380 * gdb.ada/fun_addr.exp: New testcase.
381
ef29ce1a
JK
3822008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
383
384 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
385 New files
386
0fafefe3
JB
3872008-01-02 Joel Brobecker <brobecker@adacore.com>
388
389 * array_subscript_addr/p.adb: New file.
390 * array_subscript_addr.exp: New testcase.
391
c4359f8d
JB
3922008-01-02 Joel Brobecker <brobecker@adacore.com>
393
394 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
395 New files.
396 * gdb.ada/str_cmp_ref.exp: New testcase.
397
1aa1b15b
JB
3982008-01-01 Joel Brobecker <brobecker@adacore.com>
399
400 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
401 gdb.ada/fun_in_declare/foo.adb: New files.
402 * gdb.ada/fun_in_declare.exp: New testcase.
403
81c9b2cf
JB
4042008-01-01 Joel Brobecker <brobecker@adacore.com>
405
406 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
407 gdb.ada/ref_param/pck.ads: New files.
408 * gdb.ada/ref_param.exp: New testcase.
409
319e4674
JB
4102008-01-01 Joel Brobecker <brobecker@adacore.com>
411
412 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
413 gdb.ada/interface/foo.adb: New files.
414 * gdb.ada/interface.exp: New testcase.
415
ef682c56
JB
4162007-12-31 Jim Blandy <jimb@codesourcery.com>
417
418 * gdb.base/multi-forks.exp: Consume all output from child
419 processes before proceeding to next test.
420
f6f3eb6c
JB
4212007-12-29 Jim Blandy <jimb@codesourcery.com>
422
423 * configure: Regenerated.
424
f652e42f
JB
4252007-12-27 Joel Brobecker <brobecker@adacore.com>
426
427 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
428 gdb.ada/fixed_cmp/fixed.adb: New files.
429 * gdb.ada/fixed_cmp.exp: New testcase.
430
6943e596
JB
4312007-12-27 Joel Brobecker <brobecker@adacore.com>
432
433 * gdb.ada/boolean_expr.exp: New testcase.
434
aad9a193
JB
4352007-12-26 Jim Blandy <jimb@codesourcery.com>
436
437 * gdb.base/multi-forks.exp: Doc fix.
438
fb5f3683
JB
4392007-12-26 Joel Brobecker <brobecker@adacore.com>
440
441 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
442 * gdb.ada/char_param.exp: Do not compile our test program with
443 -gnata, this is unnecessary.
444 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
445
384e4a9c
JB
4462007-12-24 Joel Brobecker <brobecker@adacore.com>
447
448 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
449 gdb.ada/print_chars/foo.adb: New files.
450 * gdb.ada/print_chars.exp: New testcase.
451
01e044f7
JB
4522007-12-24 Joel Brobecker <brobecker@adacore.com>
453
454 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
455 gdb.ada/char_param/foo.adb: New files.
456 * gdb.ada/char_param.exp: New testcase.
457
0ce17860
JB
4582007-12-22 Jim Blandy <jimb@codesourcery.com>
459
460 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
461 hard-coding source line numbers into the test.
462 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
463 gdb_get_line_number to find.
464
919809b9
JB
4652007-12-22 Joel Brobecker <brobecker@adacore.com>
466
467 * gdb.base/ptype.c (highest): New struct type.
468 (the_highest): New variable of that type.
469 (main): Add dummy assignment to a field of variable the_highest.
470 * gdb.base/ptype.exp: Test type printing of our new variable.
471
abc8a88d
PM
4722007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
473
474 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
475 and record first explicitly generated thread number.
476 Use that thread number for thread specific watchpoint test.
477 Add iteration number to repetitive tests.
478
5158f3e3
CES
4792007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
480 Jim Blandy <jimb@codesourcery.com>
481
482 * gdb.base/expand-psymtabs.c: New testcase
483 source file.
484 * gdb.base/expand-psymtabs.exp: New testcase
485 expect file.
486
37e4754d
LM
4872007-12-17 Luis Machado <luisgpm@br.ibm.com>
488
489 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
490 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
491
551e5d04
JB
4922007-12-17 Joel Brobecker <brobecker@adacore.com>
493
494 * gdb.ada/frame_args/foo.adb: New file.
495 * gdb.ada/frame_args/pck.ads: New file.
496 * gdb.ada/frame_args/pck.adb: New file.
497 * gdb.ada/frame_args.exp: New testcase.
498
a05ee097
JB
4992007-12-17 Joel Brobecker <brobecker@adacore.com>
500
501 * gdb.base/frame-args.c: New file.
502 * gdb.base/frame-args.exp: New testcase.
503
c162e8c9
JM
5042007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
505 Joseph Myers <joseph@codesourcery.com>
506
507 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
508
afe8ab22
VP
5092007-12-14 Vladimir Prus <vladimir@codesourcery.com>
510
511 * gdb.mi/mi-pending.exp: New.
512 * gdb.mi/mi-pending.c: New.
513 * gdb.mi/mi-pendshr.c: New.
514
dfdfb3ca
JB
5152007-12-06 Jim Blandy <jimb@codesourcery.com>
516
517 * gdb.base/default.exp: Update expected output for 'info catch'.
518
b7fca990
JK
5192007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
520
521 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
522 must be set to binary.
523
6a1afc1e
PA
5242007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
525
526 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
527
a6b151f1
DJ
5282007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
529
530 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
531 gdb.mi/mi-file-transfer.exp: New.
532
43039443
JK
5332007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
534
535 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
536
0ef2251b
MR
5372007-11-22 Maciej W. Rozycki <macro@mips.com>
538
539 * gdb.trace/backtrace.exp: Fix a typo.
540 * gdb.trace/circ.exp: Likewise.
541 * gdb.trace/collection.exp: Likewise.
542 * gdb.trace/limits.exp: Likewise.
543 * gdb.trace/report.exp: Likewise.
544 * gdb.trace/tfind.exp: Likewise.
545 * gdb.trace/while-dyn.exp: Likewise.
546
5443631e
NR
5472007-11-21 Nick Roberts <nickrob@snap.net.nz>
548
549 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
550 objects of pointers that can't be dereferenced are now
551 "noneditable".
552
a4ce5b0d
UW
5532007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
554
555 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
556 (target_cpu): Remove.
557
d6e956e5
VP
5582007-10-15 Vladimir Prus <vladimir@codesourcery.com>
559
560 * gdb.base/ending-run.exp: Expect the list of cleared
561 breakpoint to come in natural order, not the reversed one.
562
214270ab
VP
5632007-11-07 Vladimir Prus <vladimir@codesourcery.com>
564
565 * gdb.mi/mi-var-child.c (do_child_deletion): New.
566 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
567
1a619819
LM
5682007-11-05 Luis Machado <luisgpm@br.ibm.com>
569
570 * gdb.base/printcmds.exp: New function
571 test_printf_with_dfp.
572
5b01a6fa
DE
5732007-11-02 Doug Evans <dje@google.com>
574
575 * gdb.disasm/t01_mov.s: Remove carriage returns.
576 * gdb.disasm/t02_mova.s: Ditto.
577 * gdb.disasm/t03_add.s: Ditto.
578 * gdb.disasm/t04_sub.s: Ditto.
579 * gdb.disasm/t05_cmp.s: Ditto.
580 * gdb.disasm/t06_ari2.s: Ditto.
581 * gdb.disasm/t07_ari3.s: Ditto.
582 * gdb.disasm/t08_or.s: Ditto.
583 * gdb.disasm/t09_xor.s: Ditto.
584 * gdb.disasm/t10_and.s: Ditto.
585 * gdb.disasm/t11_logs.s: Ditto.
586 * gdb.disasm/t12_bit.s: Ditto.
587 * gdb.disasm/t13_otr.s: Ditto.
588
ec33ab7f
JK
5892007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
590
591 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
592
ae0d01ff
UW
5932007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
594
595 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
596 provide DFP support.
597
55eddb0f
DJ
5982007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
599
600 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
601 Test "set powerpc vector-abi". Skip auto-detection tests for old
602 toolchains.
603
7020f05c
PA
6042007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
605
606 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
607 with [string compare].
608
84bc3db9
PA
6092007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
610
611 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
612 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
613
5876dc88
LM
6142007-10-25 Luis Machado <luisgpm@br.ibm.com>
615
616 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
617 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
618 * gdb.opt/Makefile.in: New makefile.
619 * Makefile.in: Create new directory "gdb.opt".
620 * configure.ac: Add "gdb.opt" directory.
621 * configure: Regenerated.
622
c3ea9a14
DE
6232007-10-25 Doug Evans <dje@google.com>
624
625 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
626 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
627
93004d61
TJB
6282007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
629 Thiago Jung Bauermann <bauerman@br.ibm.com>
630
631 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
632 Floating Point expressions.
633 * gdb.base/dfp-test.exp: new file adding tests for Decimal
634 Floating Point variables.
635 * gdb.base/dfp-test.c: new file containing program with Decimal
636 Floating variables, used by gdb.base/dfp-test.exp.
637
62a24a2b
DJ
6382007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
639
640 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
641
e7b1eae6
UW
6422007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
643
644 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
645 compiling test case with GCC.
646 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
647
c641edcc
UW
6482007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
649
650 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
651 format changes.
652
5e5ebfe6
MS
6532007-10-18 Michael Snyder <msnyder@specifix.com>
654
655 * gdb.base/dbx.exp: Add missing "-re " operator.
656
e831e7b6
GM
6572007-10-16 Gaius Mulley <gaius@glam.ac.uk>
658
659 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
660 * configure.ac: Removed trailing spaces after backslash.
661 * gdb.modula2: New directory.
662 * gdb.modula2/Makefile.in: New file.
663 * gdb.modula2/unbounded-array.exp: New file.
664 * gdb.modula2/unbounded1.c: New file.
665
7cc46491
DJ
6662007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
667
668 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
669
6702007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
671
672 * gdb.base/sigstep.c (main): Add checks for
673 return values for setitimer call.
674 Call setitimer again with itimer = ITIMER_REAL
675 if first call to setitimer fails.
676
e91528f0
KH
6772007-10-11 Kazu Hirata <kazu@codesourcery.com>
678
679 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
680 of $timeout.
681
2ec9a4f8
DJ
6822007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
683
684 * gdb.server/server-run.exp: Test for dynamic linker symbols.
685
6862007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
687
688 * lib/gdb.exp (gdb_run_cmd): Move comment outside
689 of gdb_expect call, to avoid interruption.
690
64b2fa04
PA
6912007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
692
693 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
694 (v_unsigned_long_long, v_long_long_array)
695 (v_signed_long_long_array, v_unsigned_long_long_array)
696 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
697 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
698 [!NO_LONG_LONG]: New.
699 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
700 v_long_long_member.
701
702 (v_long_long_func, v_signed_long_long_func)
703 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
704 (main) [!NO_LONG_LONG]: Initialize long long variants.
705
706 * gdb.base/whatis.exp: If board file requests no_long_long, build
707 test with NO_LONG_LONG defined. Test long long, signed long long,
708 and unsigned long long variants but only if board file doesn't
709 disable it.
710
a912286e
DJ
7112007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
712 Daniel Jacobowitz <dan@codesourcery.com>
713
714 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
715 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
716 * configure: Regenerated.
717 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
718 gdb.pascal/types.exp, lib/pascal.exp: New files.
719
471ba8c9
DJ
7202007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
721
722 * gdb.cp/classes.exp (do_tests): Always step to the line after the
723 call.
724 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
725 to return to the call.
726 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
727 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
728 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
729 * gdb.mi/mi-until.exp (test_until): Likewise.
730 * gdb.mi/mi2-until.exp (test_until): Likewise.
731
fef8a650
DJ
7322007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
733
734 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
735 two-char array.
736 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
737
d983da9c
DJ
7382007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
739
740 * gdb.threads/watchthreads.c (thread_function): Sleep between
741 iterations.
742 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
743 at once for S/390. Generate matching fails and passes.
744
17f62551
VP
7452007-09-27 Vladimir Prus <vladimir@codesourcery.com>
746
747 * gdb.mi/var-cmd.c (do_children_tests): Initialize
748 the 'struct_declarations' variable to zeros.
17f62551 749
ed0616c6
VP
7502007-09-24 Vladimir Prus <vladimir@codesourcery.com>
751
752 * gdb.cp/mb-ctor.cc: New.
753 * gdb.cp/mb-ctor.exp: New.
754 * gdb.cp/mb-templates.cc: New.
755 * gdb.cp/mb-templates.exp: New.
756
41f1b697
DJ
7572007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
758
759 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
760
3f213f78
PA
7612007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
762
763 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
764 targets.
765 * configure: Regenerate.
766
0d381245
VP
7672007-09-23 Vladimir Prus <vladimir@codesourcery.com>
768
769 * gdb.base/annota1.exp: Adjust for 'info break'
770 format changes.
771 * gdb.base/annota3.exp: Likewise.
772 * gdb.base/break.exp: Likewise.
773 * gdb.base/condbreak.exp: Likewise.
774 * gdb.base/pending.exp: Likewise.
775 * gdb.base/sepdebug.exp: Likewise.
776 * gdb.base/unload.exp: Likewise.
777 * gdb.base/ovldbreak.exp: Likewise.
778
fe3f5fa8
VP
7792007-09-22 Vladimir Prus <vladimir@codesourcery.com>
780
781 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
782 messages.
783 * gdb.base/chng-syms.exp: Likewise.
784 * gdb.base/unload.exp: Likewise.
785
a75cf6c0
DJ
7862007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
787
788 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
789
18ecae38
DJ
7902007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
791
792 * schedlock.c (NUM): Change to 1.
793 (main): Use args[0] for the main thread.
794 * schedlock.exp: Only expect two threads. Only issue one pass or fail
795 regardless of the number of threads.
796
5509918f
MR
7972007-09-14 Maciej W. Rozycki <macro@mips.com>
798
4a543daf
MR
799 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
800 type down.
801 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
802 test.
803 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
804 watchpoint type down.
805 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
806 test.
807
8082007-09-14 Maciej W. Rozycki <macro@mips.com>
809
5509918f
MR
810 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
811 Move all the tests here and run them twice, once using software
812 watchpoints and once using hardware watchpoints.
813 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
814
40b53987
DJ
8152007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
816
817 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
818 test.
819
695e2681
MK
8202007-09-10 Mark Kettenis <kettenis@gnu.org>
821
8b3fc8d8
MK
822 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
823 build-id.
824
695e2681
MK
825 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
826 know about $ORIGIN. Calculate output dir from $dest instead of
827 using ${objdir}/{$subdir}.
828
58d69f29
MK
8292007-09-09 Mark Kettenis <kettenis@gnu.org>
830
831 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
832 gcore, before continuing with the test.
833
3e347599
DJ
8342007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
835
836 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
837 * gdb.mi/mi-watch.exp: Likewise.
838
ea37ba09
DJ
8392007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
840 Jim Blandy <jimb@codesourcery.com>
841
842 * gdb.arch/i386-sse.exp: Do not expect character constants.
843 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
844 * gdb.base/display.exp: Allow print/s.
845 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
846 and unsigned char array changes.
847
2025a643
DJ
8482007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
849
850 * gdb.base/display.exp: Add tests for printf %p.
851
26669a27
PA
8522007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
853
854 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
855 the dll name to unicode.
856
c8f021f8
JK
8572007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 * gdb.base/default.exp (show version): Update the version text.
860 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
861
4cf31eea
JK
8622007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
863
864 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
865 New files.
866
4935890f
JK
8672007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
868
869 * lib/gdb.exp (build_id_debug_filename_get): New function.
870 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
871 Remove the generate DEBUG file for the future testcase runs.
872 New testcase for the NT_GNU_BUILD_ID retrieval.
873 Move the final testing step to ...
874 (test_different_dir): ... a new function.
875 New parameter XFAIL to XFAIL all the tests performed.
876 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
877 New parameter TYPE to PF_PREFIX all the tests performed.
878
02142340
VP
8792007-08-31 Vladimir Prus <vladimir@codesourcery.com>
880
881 * gdb.mi/mi-var-cp.cc (path_expression): New
882 function.
883 * gdb.mi/mi-var-cp.exp: Run path exression tests.
884
36acd84e
UW
8852007-08-27 Markus Deuling <deuling@de.ibm.com>
886
887 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
888 to fit into SPU Local Store memory.
889
a896d121
JB
8902007-08-23 Joel Brobecker <brobecker@adacore.com>
891
892 * gdb.base/default.exp: Adjust the expected output of "info
893 warranty" after the switch to GPLv3.
894
7b433602
JB
8952007-08-23 Joel Brobecker <brobecker@adacore.com>
896
897 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
898 to 30000 (from 20000).
899
e22f8b7c
JB
9002007-08-23 Joel Brobecker <brobecker@adacore.com>
901
902 Switch the license of all .exp files to GPLv3.
903 Switch the license of all .f and .f90 files to GPLv3.
904 Switch the license of all .s and .S files to GPLv3.
905
5a0e3bd0
JB
9062007-08-23 Joel Brobecker <brobecker@adacore.com>
907
908 * configure.ac: Switch license to GPLv3.
909
cc00619d
JB
9102007-08-23 Joel Brobecker <brobecker@adacore.com>
911
912 Switch the licensing to GPLv3 for all .ads and .adb files.
913
8d26208a
DJ
9142007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
915
916 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
917 and t_int_double.
918 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
919
4fcb9948
JB
9202007-08-17 Joel Brobecker <brobecker@adacore.com>
921
922 * gdb.base/step-line.c: Switch license to GPL version 3, and
923 update copyright year.
924 * gdb.base/step-line.inp: Likewise.
925
b9c34f67
JB
9262007-08-17 Joel Brobecker <brobecker@adacore.com>
927
928 * gdb.base/gdb1555.exp: Make expected output immune to formatting
929 changes inside gdb1555.c.
930 * gdb.base/pending.exp: Likewise.
931
2cc17678
DJ
9322007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
933
934 * config/default.exp: New file.
935
e48883f7
DJ
9362007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
937
938 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
939 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
940
1ab80e5b
MR
9412007-07-30 Maciej W. Rozycki <macro@mips.com>
942
943 * gdb.base/dump.exp: Force the correct endianness for binary
944 formats not carrying this information.
945
aba471f5
DJ
9462007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
947
948 * gdb.threads/staticthreads.exp: Match .*sem_post.
949
d4e07204
DJ
9502007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
951
952 * gdb.base/readline.exp (operate_and_get_next): Match the final
953 prompt.
954
2b97317d
KB
9552007-07-23 Kevin Buettner <kevinb@redhat.com>
956
957 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
958 to restarting SID.
959
44efa07a
KB
9602007-07-18 Kevin Buettner <kevinb@redhat.com>
961
962 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
963 prior to `gdb_start'.
964
7b5ebade
KB
9652007-07-18 Kevin Buettner <kevinb@redhat.com>
966
967 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
968 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
969 Remove call to gdb_unload.
970
255e7678
DJ
9712007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
972 Daniel Jacobowitz <dan@codesourcery.com>
973
974 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
975 for __WIN32__.
976 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
977 * gdb.base/unload.exp: Use shared library test routines.
978
3a40aaa0
UW
9792007-07-03 Markus Deuling <deuling@de.ibm.com>
980
981 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
982 * gdb.base/solib-symbol-lib.c: Likewise.
983 * gdb.base/solib-symbol-main.c: Likewise.
984
b0f4b84b
DJ
9852007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
986
987 * config/gdbserver.exp (gdb_reconnect): New.
988 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
989 gdb.base/solib-disc.exp: New files.
990 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
991 remote debugging".
992 (gdb_compile): Add shlib_load flag.
993 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
994 port.
995 (gdbserver_reconnect): New.
996
1b05479a
DJ
9972007-07-01 Nick Roberts <nickrob@snap.net.nz>
998 Daniel Jacobowitz <dan@codesourcery.com>
999
1000 * gdb.base/annota3.exp: Test for if construct.
1001
86f78eb2
DJ
10022007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
1003
1004 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
1005
6a2eb474
MR
10062007-06-21 Chris Dearman <chris@mips.com>
1007 Maciej W. Rozycki <macro@mips.com>
1008
1009 * gdb.base/display.exp: Allow a newline after display/i.
1010 * gdb.base/pc-fp.exp: Likewise.
1011 * gdb.base/sigbpt.exp: Likewise.
1012
f8b73d13
DJ
10132007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1014
1015 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
1016 required features to be included.
1017
4339e69e
DJ
10182007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
1019
1020 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
1021 in info threads output.
1022
23d964e7
UW
10232007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1024 Markus Deuling <deuling@de.ibm.com>
1025
1026 * gdb.arch/spu-info.exp: New testcase.
1027 * gdb.arch/spu-info.c: New file.
1028
fd20f75b
DJ
10292007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
1030
1031 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
1032 tpcs_offset. Restore lr after the call.
1033 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
1034
2226f861
DJ
10352007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
1036
1037 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
1038 (gdbserver_run): Kill any running gdbserver.
1039 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
1040
d12371a9
MR
10412007-05-17 Maciej W. Rozycki <macro@mips.com>
1042
1043 * gdb.base/sigbpt.exp: Preset segv_addr.
1044
93f02886
DJ
10452007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
1046
1047 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
1048 (gdb_compile_shlib): Likewise.
1049 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
1050 (default_gdb_init): Clear cleanfiles.
1051 (gdb_finish): Delete recorded cleanfiles.
1052 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
1053
1054 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
1055 Do not use isnative.
1056 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
1057 gdb.base/so-impl-ld.exp: Likewise.
1058 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
1059 * gdb.base/unload.exp: Likewise. Do not pass empty option to
1060 gdb_compile.
1061
b04e06d7
VP
10622007-05-15 Vladimir Prus <vladimir@codesourcery.com>
1063
1064 * config/unknown.exp: Remove.
1065
069ed931
UW
10662007-05-15 Markus Deuling <deuling@de.ibm.com>
1067
1068 * gdb.base/info-proc.exp: Check is_remote.
1069
09db0d03
UW
10702007-05-14 Markus Deuling <deuling@de.ibm.com>
1071
1072 * gdb.base/gcore.exp: Initialize variable core_supported.
1073
af2cbe8c
DJ
10742007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1075
1076 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
1077
027c0295
DJ
10782007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1079
1080 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
1081 * gdb.threads/print-threads.exp (test_all_threads): Allow
1082 negative and hexadecimal thread IDs.
1083
dc5000e7
DJ
10842007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1085
1086 * gdb.java/jprint.java (public): Avoid invalid call to static
1087 method.
1088
2e74ed18
DP
10892007-05-14 Denis Pilat <denis.pilat@st.com>
1090
1091 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
1092 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
1093 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
1094 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
1095 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
1096
83547f02
UW
10972007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1098
1099 * gdb.base/overlays.exp: Add support for targets with only code
1100 overlay support, not data overlay. Support spu-*-* target in
1101 this mode.
1102 * gdb.base/ovlymgr.c: Provide stubs for spu target.
1103 * gdb.base/spu.ld: New file.
1104
b18be20d
DJ
11052007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
1106
1107 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
1108
be444858
DJ
11092007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
1110
1111 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
1112
b1d53152
DJ
11132007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
1114
1115 * gdb.java/jmain.exp: Handle demangled names with and without method
1116 signatures.
1117
d084b331
DJ
11182007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
1119
1120 * gdb.mi/mi-syn-frame.c (main, foo, bar)
1121 (have_a_very_merry_interrupt): Remove calls to puts.
1122 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
1123 inferior output.
1124 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
1125 test names.
1126
db9d7fc5
DJ
11272007-04-29 Markus Deuling <deuling@de.ibm.com>
1128 Daniel Jacobowitz <dan@codesourcery.com>
1129
1130 * gdb.base/auxv.exp (core_works): Also check is_remote.
1131 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
1132
ef783a7d
VP
11332007-04-25 Vladimir Prus <vladimir@codesourcery.com>
1134
1135 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
1136 message, not the undefined 'module' variable.
1137 * gdb.base/siginfo.exp: Likewise.
1138 * gdb.base/sigstep.exp: Likewise.
1139 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
1140 serialport.
1141 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
1142
b7b73cae
CV
11432007-04-25 Corinna Vinschen <vinschen@redhat.com>
1144
1145 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
1146 target sim fails. Return 0 otherwise.
1147 (gdb_load): Return prematurely if gdb_target_sim fails.
1148
7d90fdfa
DP
11492007-04-16 Denis Pilat <denis.pilat@st.com>
1150
1151 * gdb.base/setshow.exp: Reset height after having set it to 100.
1152
5d3e9c85
DP
11532007-04-16 Denis Pilat <denis.pilat@st.com>
1154
1155 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
1156
18e75969
DP
11572007-04-16 Denis Pilat <denis.pilat@st.com>
1158
1159 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
1160
25d5ea92
VP
11612007-04-14 Vladimir Prus <vladimir@codesourcery.com>
1162
1163 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
1164 tests. Run the frozen varobjs test.
1165 * gdb.mi/var-cmd.c (do_frozen_tests): New.
1166 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
1167
0b49cb80
JK
11682007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1169
1170 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
1171 gdb.base/type-opaque.exp: New files.
1172
a73bafbc
VP
11732007-04-01 Vladimir Prus <vladimir@codesourcery.com>
1174
1175 * gdb.mi/mi-var-child.c
1176 (do_children_tests): User char[2] instead of
1177 char so that automatic printing of pointers to char
1178 don't give unpredicable result.
1179 * gdb.mi/var-cmd.c (do_locals_test): Initialize
1180 local variables.
1181 * gdb.mi/mi-var-child.exp: Step to right line
1182 of do_children_tests.
1183 * gdb.mi/mi2-var-child.exp: Likewise.
1184 * gdb.mi/mi-var-cmd.exp: Step to right line of
1185 do_locals_tests.
1186 (do_children_tests): User char[2] instead of
1187 char so that automatic printing of pointers to char
1188 don't give unpredicable result.
1189 * gdb.mi/mi2-var-cmd.exp: Likewise.
1190 * lib/mi-support.exp (mi_continue_to_line):
1191 Pass test name to mi_wait_for_stop.
1192
7ce59000
DJ
11932007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1194
1195 * gdb.asm/asm-source.exp: Remove d10v case.
1196 * lib/gdb.exp (skip_cplus_tests): Likewise.
1197 * gdb.asm/d10v.inc: Deleted.
1198
20389057
DJ
11992007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1200
1201 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
1202
8807d78b
DJ
12032007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1204
1205 * config/netware.exp: Delete file.
1206
aa3edb8e
JB
12072007-03-29 Joel Brobecker <brobecker@adacore.com>
1208
1209 * gdb.dwarf2/dw2-noloc.S: New file.
1210 * gdb.dwarf2/dw2-noloc.exp: New file.
1211
297561ac
PA
12122007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
1213
1214 * gdb.cp/method2.cc: New test.
1215 * gdb.cp/method2.exp: New test.
1216 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
1217
1f81bd39
DJ
12182007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
1219
1220 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
1221
9453113a
DJ
12222007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
1223
1224 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
1225
b741e217
DJ
12262007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
1227
1228 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
1229 (gdb_load): Delete, replace with...
1230 (gdb_reload): ...this.
1231 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
1232 * gdb.server/server-mon.exp: Likewise.
1233 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
1234 (gdb_start_cmd): New.
1235 (gdb_file_cmd): Save the last loaded file.
1236 (gdb_reload): New.
1237 (gdb_gnu_strip_debug): Use transform.
1238 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
1239 support here. Use new $last_loaded_file. Check mtime.
1240 (gdb_target_cmd): Handle ObjC failure case.
1241 (infer_host_exec): Delete.
1242 (gdbserver_load): Rename to...
1243 (gdbserver_run): ...this. Simplify.
1244 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
1245 (mi_gdb_load): Move most contents to a new function...
1246 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
1247 (mi_run_cmd): Use mi_gdb_target_load.
1248 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
1249 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
1250 Use gdb_run_cmd.
1251 * gdb.base/charsign.exp: Remove incorrect comment.
1252 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
1253 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
1254 gdb.base/start.exp: Use gdb_start_cmd.
1255
446ab585
MR
12562007-03-23 Nigel Stephens <nigel@mips.com>
1257 Maciej W. Rozycki <macro@mips.com>
1258
1259 * gdb.base/sigbpt.exp: Fix the message when skipping test.
1260 * gdb.base/signull.exp: Similarly.
1261
bbb88ebf
UW
12622007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1263
1264 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
1265 messages available to test cases (like chng-sym.exp).
1266
cb8c4a99
AS
12672007-03-14 Andreas Schwab <schwab@suse.de>
1268
1269 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
1270 format changes.
1271
4e463ff5
DJ
12722007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
1273
1274 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
1275 (optimized_1): New.
1276 (main): Call optimized_1.
1277 (gdb2029): Correct typos. Call gdb2029_marker.
1278 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
1279 for gdb2029.
1280
b6db2c47
MK
12812007-03-12 Mark Kettenis <kettenis@gnu.org>
1282
1283 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
1284 as tabs. Remove redundant test pattern.
1285
70ed3737
UW
12862007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1287
1288 * gdb.base/long_long.exp: Accept optional symbol name in <...>
1289 for /a format output.
1290
47b67b60
DJ
12912007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
1292
1293 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
1294 collect output incrementally.
1295
b8953b0e
UW
12962007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1297
1298 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
1299 for -var-create lpcharacter test.
1300 * gdb.mi/mi2-var-cmd.exp: Likewise.
1301
7acd5c40
UW
13022007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1303
1304 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
1305 pass on targets where address zero is readable.
1306
9c6759c1
UW
13072007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1308
1309 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
1310 just a single architecture.
1311
a2f1aeb4
UW
13122007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1313
1314 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
1315 (fetch_all_registers): New function, uses gdb_test_multiple and
1316 exp_continue to fetch inferior output line-by-line.
1317 Replace all uses of do_get_all_registers by fetch_all_registers.
1318
46579ac2
UW
13192007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1320
1321 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
1322 in target_info.
1323
fc133f24
MS
13242007-03-02 Michael Snyder <michael.snyder@palmsource.com>
1325
1326 * gdb.threads/manythreads.exp: Use $message string for
1327 consistancy; add a default (timeout) case.
1328
7646a51d
MS
13292007-03-02 Michael Snyder <michael.snyder@palmsource.com>
1330
1331 * gdb.base/watchpoint.exp: Fix truncated comment.
1332
dcfff61f
MS
13332007-03-02 Michael Snyder <michael.snyder@palmsource.com>
1334
1335 * Makefile.in: Remove spurious single-quotes from sed command.
1336
664e3ee9
DJ
13372007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
1338
1339 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
1340 func.
1341 * gdb.mi/mi2-var-cmd.exp: Likewise.
1342
d7cc6f2f
JB
13432007-02-27 Joel Brobecker <brobecker@adacore.com>
1344
1345 * gdb.dwarf2/dw2-producer.S: New file.
1346 * gdb.dwarf2/dw2-producer.exp: New testcase.
1347
13482007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
1349
1350 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
1351 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
1352 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
1353 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
1354 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1355 Revert tests to use mi_gdb_test and include value field in output
1356 of -var-create.
1357
93d42b30
DJ
13582007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
1359
1360 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
1361
c499ed39
DJ
13622007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
1363
1364 * gdb.base/maint.exp: Remove full paths from test names.
1365 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
1366 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
1367
9836f81b
JB
13682007-02-27 Joel Brobecker <brobecker@adacore.com>
1369
1370 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
1371
c74d0ad8
DJ
13722007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1373
1374 * gdb.server/server-mon.exp: New test.
1375
2711e456
DJ
13762007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1377
1378 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
1379
ff6f572f
DJ
13802007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1381
1382 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
1383 register capitalization.
1384
fada3feb
DP
13852007-02-13 Denis Pilat <denis.pilat@st.com>
1386
1387 * gdb.mi/mi-var-invalidate.exp: New file.
1388
fb1e4ffc
DJ
13892007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1390
1391 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
1392
3da939d7
DJ
13932007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1394
1395 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
1396
123dc839
DJ
13972007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1398
1399 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
1400 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
1401
877e3645 14022007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
1403
1404 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
1405 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
1406 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
1407 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
1408 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 1409 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222
NR
1410 Update tests to include value field in output of -var-create.
1411
3c0a2960
AS
14122007-02-08 Andreas Schwab <schwab@suse.de>
1413
1414 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
1415
108546a0
DJ
14162007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
1417
1418 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
1419 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
1420
d701dcab
DP
14212007-02-02 Denis Pilat <denis.pilat@st.com>
1422
1423 * gdb.threads/threadapply.exp: check that frame is not changed by
1424 the thread apply all command.
1425
783e3e2f
AS
14262007-01-31 Andreas Schwab <schwab@suse.de>
1427
6d9c3a87
AS
1428 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
1429
3c50d7b9
AS
1430 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
1431 in the dwarf sections.
1432 * gdb.dwarf2/mac-fileno.S: Likewise.
1433
783e3e2f
AS
1434 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
1435 bspstore register on ia64.
1436
78ff580e
AS
14372007-01-29 Andreas Schwab <schwab@suse.de>
1438
cc8e9b12
AS
1439 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
1440 "frame-begin" annotation.
1441
78ff580e
AS
1442 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
1443 number of "frames-invalid" annotations.
1444
704a4f78
DJ
14452007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
1446
1447 * gdb.base/commands.exp: Call if_commands_test.
1448 (gdb_test_no_prompt, if_commands_test): New.
1449
e741bf94
MK
14502007-01-28 Mark Kettenis <kettenis@gnu.org>
1451
1452 * gdb.threads/sigthread.c (NSIGS): Make bigger.
1453
474d0ad3
AS
14542007-01-27 Andreas Schwab <schwab@suse.de>
1455
1456 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
1457 .short/.int/.quad in the dwarf sections.
1458 * gdb.dwarf2/dw2-intercu.S: Likewise.
1459 * gdb.dwarf2/dw2-intermix.S: Likewise.
1460
e784b426
JK
14612007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1462
1463 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
1464 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
1465 array.
e784b426
JK
1466 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
1467 * gdb.base/setvar.exp: Likewise.
1468
37f08e04
AS
14692007-01-26 Andreas Schwab <schwab@suse.de>
1470
9a01813a
AS
1471 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
1472 test.
1473
37f08e04
AS
1474 * gdb.base/multi-forks.exp ("restart $i"): Also match
1475 __kernel_syscall_via_break.
1476
6e2a9270
VP
14772007-01-24 Vladimir Prus <vladimir@codesourcery.com>
1478
1479 * lib/mi-support.exp (mi_delete_varobj): New.
1480 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
1481 testcase.
1482 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
1483 (main): Call the above.
1484 (reference_update_test, base_in_reference_test)
1485 (reference_to_pointer): Delete the created varobjs.
1486
e515b470
DJ
14872007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
1488
1489 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
1490 * configure: Regenerated.
1491 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
1492 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
1493 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
1494 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
1495 * lib/gdb.exp (gdb_skip_xml_test): New function.
1496
08d8bcd7
DJ
14972007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
1498
1499 * gdb.base/sigrepeat.exp: Correct error message.
1500
15012007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
1502 Daniel Jacobowitz <dan@codesourcery.com>
1503
1504 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
1505 gdb.arch/i386-gnu-cfi-asm.S: New files.
1506
97c3f1f3
JK
15072007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1508
1509 * lib/gdb.exp: Abort on missing `site.exp'.
1510
cb1df416
DJ
15112007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1512 Daniel Jacobowitz <dan@codesourcery.com>
1513
1514 * gdb.base/included.c, gdb.base/included.exp,
1515 gdb.base/included.h: New files.
1516
35990120
DJ
15172007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1518
1519 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
1520 (maximize_rlimit): Reduce limits on 64-bit systems.
1521
6e81a116 15222007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
1523
1524 From Marcus Deuling <deuling@de.ibm.com>:
1525 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
1526 every case.
1527
6c3c41f3
NR
15282007-01-13 Nick Roberts <nickrob@snap.net.nz>
1529
1530 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
1531 (test_path_specification): Use objdir instead of srcdir to always
1532 get an absolute filename.
1533
2f12c312
DJ
15342007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
1535
1536 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
1537
81121995
VP
15382007-01-11 Vladimir Prus <vladimir@codesourcery.com>
1539
1540 * gdb.mi/mi-var-cp.cc (reference_update_tests):
1541 Make sure the variable we're using is in scope.
1542 (reference_to_pointer): Likewise.
1543
4741b737
DJ
15442007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1545
1546 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
1547 has no debug information.
1548
054410c3
DJ
15492007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
1550
1551 * gdb.base/annota1.exp: Remove extra send_gdb.
1552
818f79f6
DJ
15532007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1554
1555 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
1556
f7a6bb70
DJ
15572007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1558
1559 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
1560
57e66780
DJ
15612007-01-08 Nick Roberts <nickrob@snap.net.nz>
1562 Daniel Jacobowitz <dan@codesourcery.com>
1563
1564 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
1565 lcharacter or linteger change. Correct duplicated test name.
1566 * gdb.mi/mi2-var-cmd.exp: Likewise.
1567
3d799a95
DJ
15682007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
1569
1570 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
1571
15722007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9
JB
1573
1574 * gdb.base/nofield.c: New file.
1575 * gdb.base/nofield.exp: New testcase.
1576
eafb94e8
NR
15772007-01-05 Nick Roberts <nickrob@snap.net.nz>
1578
1579 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
1580
1581 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
1582 test.
1583
5e572bb4
DJ
15842007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1585
1586 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
1587
74a44383
DJ
15882007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
1589
1590 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
1591 when continuing.
1592
1b572db9
DJ
15932007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
1594
1595 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
1596 Expect ".exe" extension.
1597
381bc39b
DJ
15982007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
1599
1600 * gdb.base/charset.exp: Add explicit filename to break.
1601 * gdb.base/dbx.exp: Add explicit filename to breaks.
1602
2b70e4c6
DJ
16032007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
1604
1605 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
1606 * gdb.mi/mi2-file.exp: Likewise.
1607
303b6f5d
DJ
16082007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1609
1610 Implement specification of MI tests as comments
1611 in C and C++ sources.
1612 * lib/mi-support.exp (mi_autotest_data): New variable.
1613 (mi_autotest_source): New variable.
1614 (count_newlines, mi_prepare_inline_tests)
1615 (mi_get_inline_test, mi_continue_to_line)
1616 (mi_run_inline_test, mi_tbreak)
1617 (mi_send_resuming_command, mi_wait_for_stop): New functions.
1618 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
1619 Run inline tests.
1620 * gdb.mi/mi-var-cp.cc: Define tests here.
1621
23da0d94
VP
16222007-01-04 Vladimir Prus <vladimir@codesourcery.com>
1623
1624 Simplify usage of mi_continue_to.
1625 * lib/mi-support.exp (mi_runto_helper): Renamed
1626 from mi_runto, added new parameter 'run_or_continue'.
1627 (mi_runto): Use mi_runto_helper.
1628 (mi_continue_to): Accept just function name as parameter.
1629 Use mi_runto_helper.
1630 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
1631 * gdb.mi/mi2-var-cmd.exp: Likewise.
1632
f9e18282
JB
16332006-01-04 Joel Brobecker <brobecker@adacore.com>
1634
1635 Make this testcase a bit more realistic. The current code
1636 is too simplistic, and allows the compiler to optimize out
1637 some of the entities we need for this testcase.
1638 * gdb.ada/null_record/bar.ads (Void_Star): New type.
1639 (Do_Nothing): Add extra parameter.
1640 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
1641 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
1642 by using a variable of type Void_Star.
1643
fd678c65
JB
16442006-01-04 Joel Brobecker <brobecker@adacore.com>
1645
1646 * gdb.ada/catch_ex/foo.adb: New file.
1647 * gdb.ada/catch_ex.exp: New testcase.
1648
05cfdb42
DJ
16492007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
1650
1651 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
1652 pass --image-base to linker.
1653
2e03ee74
DJ
16542007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1655 Daniel Jacobowitz <dan@codesourcery.com>
1656
1657 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
1658 secondary prompts.
1659
0d5de010
DJ
16602007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
1661
1662 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
1663 output. Test the types of members and member pointers.
1664 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
1665 gdb/2092.
1666 * gdb.cp/member-ptr.exp: Search for a comment instead of a
1667 statement. Enable for GCC. Update expected output for some tests
1668 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
1669 layout.
1670 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
1671 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
1672 (Diamond::vget_base): New.
1673 (main): Add new tests.
1674 * gdb.cp/printmethod.exp: Update expected output for member functions.
1675 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
1676 print pEe->D::vg().
1677
61a771aa
DJ
16782007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
1679
1680 * gdb.threads/tls.exp: Allow stops in sem_post.
1681
2fa63963
DJ
16822006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
1683
1684 * gdb.base/annota1.exp: Allow .*printf in backtraces.
1685 * gdb.base/annota3.exp: Likewise.
1686 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
1687 again (instead of timing out).
1688 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
1689 GCC bug 26475.
1690 * gdb.java/jmisc.exp: Adjust to work with method signatures including
1691 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
1692 test from jmisc1.exp.
1693 * gdb.java/jmisc1.exp: Delete.
1694 * gdb.java/jprint.exp: Adjust to work with method signatures including
1695 return types.
1696 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
1697 * gdb.threads/linux-dp.exp: Don't be confused by program output.
1698 * lib/java.exp (compile_java_from_source): Pass the correct type
1699 to target_compile.
1700
5eefc2b7
JB
17012006-12-31 Joel Brobecker <brobecker@adacore.com>
1702
1703 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
1704 (stack_align_edx): New function.
1705 (stack_align_eax): New function.
1706 (main): Add calls to stack_align_edx and stack_align_eax.
1707 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
1708 Add testing for the cases where the register used during a stack
1709 realignment is edx. Same for eax.
1710
227c54da
DJ
17112006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
1712
1713 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
1714 and generic PE targets.
1715
cab8ac94
JB
17162006-12-29 Joel Brobecker <brobecker@adacore.com>
1717
1718 * gdb.ada/array_return.exp: Update copyright date list.
1719
ba54f318
JB
17202006-12-27 Joel Brobecker <brobecker@adacore.com>
1721
1722 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
1723 (Create_Small_Float_Vector): New function.
1724 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
1725 function body.
1726 * gdb.ada/array_return/p.adb: Use new type and function from
1727 package Pck.
1728 * gdb.ada/array_return.exp: Add a test verifying that GDB is
1729 able to print the value returned by a function returning an
1730 array of float.
1731
6b7a35dd
JB
17322006-12-20 Joel Brobecker <brobecker@adacore.com>
1733
1734 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
1735 The associated tests should be PASSing.
1736
038224f6
VP
17372006-12-08 Vladimir Prus <vladimir@codesourcery.com>
1738
1739 Test for base in references.
1740 * gdb.mi/mi-var-cp.cc: Add test code.
1741 * gdb.mi/mi-var-cp.exp: Test for bases in references.
1742 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
1743 * gdb.mi/mi2-watch.exp: Likewise.
1744 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
1745 (mi_list_varobj_children): New function.
1746
b26ed50d
VP
17472006-12-08 Vladimir Prus <vladimir@codesourcery.com>
1748
1749 * lib/mi-support.exp
1750 (mi_runto): Accept "()" after function name.
1751 (mi_create_varobj): New function.
1752 (mi_varobj_update): New function.
1753 (mi_Check_varobj_value): New function.
1754 * gdb.mi/mi-var-cp.exp: New file.
1755 * gdb.mi/mi-var-cp.cc: New file.
1756
08232497
DJ
17572006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
1758
1759 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
1760 gdb.base/weaklib2.c: New files.
1761
d394c993 17622006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 1763
ac6c2fba
NS
1764 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
1765 info. Adjust test names.
1766
8ec659a0 1767 * gdb.base/break.c (main): Move position of malloc.
d394c993 1768 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 1769
acd65feb
VP
17702006-11-28 Vladimir Prus <vladimir@codesourcery.com>
1771
1772 * gdb.mi/mi-var-cmd.exp: Check -var-update after
1773 assignement of arrays and function pointers.
1774 * gdb.mi/var-cmd.c: Add declaration necessary for above
1775 tests.
1776
f556d5e5
NS
17772006-11-27 Nathan Sidwell <nathan@codesourcery.com>
1778
1779 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
1780
1781 * gdb.threads/linux-dp.exp: Read thread table before and after
1782 creating each philosopher and verify it.
1783
697bc68d
NS
17842006-11-27 Nathan Sidwell <nathan@codesourcery.com>
1785 Paul Brook <paul@codesourcery.com>
1786 Daniel Jacobowitz <dan@codesourcery.com>
1787
1788 * gdb.base/ending-run.exp: Flatten expect script stepping out of
1789 main to remove duplication. Add start function of the form
1790 '_*start[1-9]*'. Add RVDS start function.
1791
29d73ae4
DJ
17922006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
1793
1794 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
1795
c1d88655
UW
17962006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1797
1798 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
1799 * gdb.asm/spu.inc: New file.
1800 * gdb.base/term.exp: Disable if [target_info exists noargs].
1801 * gdb.gdb/complaints.exp: Disable if ![isnative].
1802 * gdb.gdb/selftest.exp: Likewise.
1803 * gdb.gdb/observer.exp: Likewise.
1804 * gdb.gdb/xfullpath.exp: Likewise.
1805 * gdb.base/attach.exp: Disable on SPU target.
1806 * gdb.cp/bs145503.exp: Likewise.
1807 * gdb.cp/exception.exp: Likewise.
1808 * gdb.cp/userdef.exp: Likewise.
1809
32a13b1a
DJ
18102006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
1811
1812 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
1813
d8295fe9
VP
18142006-11-10 Vladimir Prus <vladimir@codesourcery.com>
1815
1816 * gdb.base/completion.exp: Fix completion tests for
1817 'info' and 'info '.
1818 * gdb.base/help.exp (help_test_raw, test_class_help)
1819 (test_prefix_command_help): Move...
1820 * lib/gdb.exp: Here.
1821 * gdb.base/main.exp: Adjust.
1822 * gdb.cp/maint.exp: Adjust.
1823 * gdb.trace/tracecmd.exp: Use test_help_class.
1824
8c394015
VP
18252006-11-09 Vladimir Prus <vladimir@codesourcery.com>
1826
1827 * gdb.stabs/weird.exp (print_weird_var): Use
1828 gdb_test_multiple instead of gdb_expect.
1829
027fc1bc
VP
18302006-11-09 Vladimir Prus <vladimir@codesourcery.com>
1831
1832 * gdb.base/help.exp (help_test_raw): New.
1833 (test_class_help): New.
1834 (test_prefix_command_help): New.
1835 Adjust testcases.
1836
67609209
FR
18372006-11-09 Christophe Lyon <christophe.lyon@st.com>
1838
1839 * gdb.base/constvars.c (main): Write to crass and crips, so that
1840 they are allocated by the compiler.
1841
f73adfeb
AS
18422006-10-27 Andreas Schwab <schwab@suse.de>
1843
1844 * gdb.base/multi-forks.exp: Use "detach fork" instead of
1845 "detach-fork".
1846
2f83a18e
DJ
18472006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
1848
1849 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
1850 of patterns.
1851
94277a38
DJ
18522006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
1853
1854 * gdb.base/sepdebug.exp: Remove debug format test.
1855 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
1856 Handle no-symtab.
1857 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
1858
5bd2f6e2
DJ
18592006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
1860
1861 * gdb.threads/manythreads.c (thread_function, main): Don't cast
1862 int to pointer or pointer to int.
1863 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
1864
8c008720
DJ
18652006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
1866
1867 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
1868
9e35dae4
DJ
18692006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1870
1871 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
1872
d9639e13
DJ
18732006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
1874
1875 PR c++/2116
1876 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
1877
390a1bd0
JB
18782006-10-06 Joel Brobecker <brobecker@adacore.com>
1879
1880 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
1881 the corresponding bug has been fixed in GDB (PR/2018).
1882
dd920c33
JB
18832006-10-06 Joel Brobecker <brobecker@adacore.com>
1884
1885 * gdb.base/subst.exp: New testcase.
1886
53bbefe9
JB
18872006-10-06 Joel Brobecker <brobecker@adacore.com>
1888
1889 * gdb.ada/array_return/pck.ads: Add copyright notice.
1890 * gdb.ada/array_return/pck.adb: Likewise.
1891 * gdb.ada/array_return/p.adb: Likewise.
1892 * gdb.ada/exec_changed/first.adb: Likewise.
1893 * gdb.ada/exec_changed/second.adb: Likewise.
1894
09851417
JB
18952006-10-06 Joel Brobecker <brobecker@adacore.com>
1896
1897 * gdb.ada/watch_arg/watch.adb: New file.
1898 * gdb.ada/watch_arg.exp: New testcase.
1899
041bf30d
VP
19002006-10-02 Vladimir Prus <vladimir@codesourcery.com>
1901
1902 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
1903 via string_to_regexp.
1904 * gdb.mi/mi2-basics.exp: Likewise.
1905
f286fbdd 19062006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
1907
1908 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
1909 Remove unused / obsolete files.
1910
7c07f349
NR
19112006-09-19 Nick Roberts <nickrob@snap.net.nz>
1912
1913 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
1914
cd5ff84a
VP
19152006-09-17 Vladimir Prus <vladimir@codesourcery.com>
1916
1917 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
1918 HIGH_FRAME argument to -stack-list-arguments can be larger than
1919 the number of frames.
1920
ae018d1a
DJ
19212006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
1922
1923 * gdb.base/args.c (main): Add breakpoint marker.
1924 * gdb.base/args.exp: Use args_test for tests. Add new tests which
1925 really test empty arguments.
1926 (args_load): Delete.
1927 (args_test): New.
1928
b399c549
NR
19292006-09-13 Nick Roberts <nickrob@snap.net.nz>
1930
1931 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
1932 check for one file.
1933
2ab1eb7a
VP
19342006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
1935
1936 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
1937 HIGH_FRAME argument to -stack-list-locals can be larger than
1938 the number of frames.
1939
476308bf
FF
19402006-08-18 Fred Fish <fnf@specifix.com>
1941
1942 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
1943 '$' in front of skip_vmx_tests_saved when setting that.
1944
8625200f
AS
19452006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
1946
1947 * gdb.base/trace-commands.exp: New file.
1948
089ec8f1
DJ
19492006-08-10 Joel Brobecker <brobecker@adacore.com>
1950 Daniel Jacobowitz <dan@codesourcery.com>
1951
1952 * gdb.base/step-bt.exp: Make hexadecimal address optional in
1953 expected output of the backtrace commands.
1954
b60f0898
JB
19552006-08-09 Joel Brobecker <brobecker@adacore.com>
1956
1957 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
1958 untested followed by return combination.
1959 * gdb.arch/altivec-regs.exp: Likewise.
1960 * gdb.arch/e500-abi.exp: Likewise.
1961 * gdb.arch/e500-regs.exp: Likewise.
1962 * gdb.arch/gdb1291.exp: Likewise.
1963 * gdb.arch/gdb1431.exp: Likewise.
1964 * gdb.arch/gdb1558.exp: Likewise.
1965 * gdb.arch/i386-prologue.exp: Likewise.
1966 * gdb.arch/i386-unwind.exp: Likewise.
1967 * gdb.asm/asm-source.exp: Likewise.
1968 * gdb.base/a2-run.exp: Likewise.
1969 * gdb.base/advance.exp: Likewise.
1970 * gdb.base/all-bin.exp: Likewise.
1971 * gdb.base/annota1.exp: Likewise.
1972 * gdb.base/annota3.exp: Likewise.
1973 * gdb.base/args.exp: Likewise.
1974 * gdb.base/arithmet.exp: Likewise.
1975 * gdb.base/assign.exp: Likewise.
1976 * gdb.base/async.exp: Likewise.
1977 * gdb.base/attach.exp: Likewise.
1978 * gdb.base/bang.exp: Likewise.
1979 * gdb.base/bigcore.exp: Likewise.
1980 * gdb.base/bitfields.exp: Likewise.
1981 * gdb.base/bitfields2.exp: Likewise.
1982 * gdb.base/break.exp: Likewise.
1983 * gdb.base/call-sc.exp: Likewise.
1984 * gdb.base/call-strs.exp: Likewise.
1985 * gdb.base/callfuncs.exp: Likewise.
1986 * gdb.base/checkpoint.exp: Likewise.
1987 * gdb.base/chng-syms.exp: Likewise.
1988 * gdb.base/code-expr.exp: Likewise.
1989 * gdb.base/commands.exp: Likewise.
1990 * gdb.base/completion.exp: Likewise.
1991 * gdb.base/cond-expr.exp: Likewise.
1992 * gdb.base/condbreak.exp: Likewise.
1993 * gdb.base/consecutive.exp: Likewise.
1994 * gdb.base/constvars.exp: Likewise.
1995 * gdb.base/corefile.exp: Likewise.
1996 * gdb.base/cvexpr.exp: Likewise.
1997 * gdb.base/dbx.exp: Likewise.
1998 * gdb.base/define.exp: Likewise.
1999 * gdb.base/detach.exp: Likewise.
2000 * gdb.base/display.exp: Likewise.
2001 * gdb.base/dump.exp: Likewise.
2002 * gdb.base/ena-dis-br.exp: Likewise.
2003 * gdb.base/ending-run.exp: Likewise.
2004 * gdb.base/environ.exp: Likewise.
2005 * gdb.base/eval-skip.exp: Likewise.
2006 * gdb.base/exprs.exp: Likewise.
2007 * gdb.base/fileio.exp: Likewise.
2008 * gdb.base/finish.exp: Likewise.
2009 * gdb.base/float.exp: Likewise.
2010 * gdb.base/foll-exec.exp: Likewise.
2011 * gdb.base/foll-fork.exp: Likewise.
2012 * gdb.base/foll-vfork.exp: Likewise.
2013 * gdb.base/freebpcmd.exp: Likewise.
2014 * gdb.base/funcargs.exp: Likewise.
2015 * gdb.base/gcore.exp: Likewise.
2016 * gdb.base/gdb1090.exp: Likewise.
2017 * gdb.base/gdb1250.exp: Likewise.
2018 * gdb.base/huge.exp: Likewise.
2019 * gdb.base/info-proc.exp: Likewise.
2020 * gdb.base/interrupt.exp: Likewise.
2021 * gdb.base/jump.exp: Likewise.
2022 * gdb.base/langs.exp: Likewise.
2023 * gdb.base/lineinc.exp: Likewise.
2024 * gdb.base/list.exp: Likewise.
2025 * gdb.base/logical.exp: Likewise.
2026 * gdb.base/long_long.exp: Likewise.
2027 * gdb.base/macscp.exp: Likewise.
2028 * gdb.base/maint.exp: Likewise.
2029 * gdb.base/mips_pro.exp: Likewise.
2030 * gdb.base/miscexprs.exp: Likewise.
2031 * gdb.base/multi-forks.exp: Likewise.
2032 * gdb.base/opaque.exp: Likewise.
2033 * gdb.base/overlays.exp: Likewise.
2034 * gdb.base/pc-fp.exp: Likewise.
2035 * gdb.base/pointers.exp: Likewise.
2036 * gdb.base/printcmds.exp: Likewise.
2037 * gdb.base/psymtab.exp: Likewise.
2038 * gdb.base/ptype.exp: Likewise.
2039 * gdb.base/recurse.exp: Likewise.
2040 * gdb.base/relational.exp: Likewise.
2041 * gdb.base/relocate.exp: Likewise.
2042 * gdb.base/remote.exp: Likewise.
2043 * gdb.base/reread.exp: Likewise.
2044 * gdb.base/restore.exp: Likewise.
2045 * gdb.base/return.exp: Likewise.
2046 * gdb.base/return2.exp: Likewise.
2047 * gdb.base/scope.exp: Likewise.
2048 * gdb.base/sect-cmd.exp: Likewise.
2049 * gdb.base/sep.exp: Likewise.
2050 * gdb.base/sepdebug.exp: Likewise.
2051 * gdb.base/setshow.exp: Likewise.
2052 * gdb.base/setvar.exp: Likewise.
2053 * gdb.base/sigall.exp: Likewise.
2054 * gdb.base/sigbpt.exp: Likewise.
2055 * gdb.base/signals.exp: Likewise.
2056 * gdb.base/signull.exp: Likewise.
2057 * gdb.base/sizeof.exp: Likewise.
2058 * gdb.base/solib.exp: Likewise.
2059 * gdb.base/step-line.exp: Likewise.
2060 * gdb.base/step-test.exp: Likewise.
2061 * gdb.base/structs.exp: Likewise.
2062 * gdb.base/structs2.exp: Likewise.
2063 * gdb.base/term.exp: Likewise.
2064 * gdb.base/twice.exp: Likewise.
2065 * gdb.base/until.exp: Likewise.
2066 * gdb.base/varargs.exp: Likewise.
2067 * gdb.base/volatile.exp: Likewise.
2068 * gdb.base/watchpoint.exp: Likewise.
2069 * gdb.base/whatis-exp.exp: Likewise.
2070 * gdb.base/whatis.exp: Likewise.
2071 * gdb.cp/ambiguous.exp: Likewise.
2072 * gdb.cp/annota2.exp: Likewise.
2073 * gdb.cp/annota3.exp: Likewise.
2074 * gdb.cp/bool.exp: Likewise.
2075 * gdb.cp/breakpoint.exp: Likewise.
2076 * gdb.cp/casts.exp: Likewise.
2077 * gdb.cp/class2.exp: Likewise.
2078 * gdb.cp/classes.exp: Likewise.
2079 * gdb.cp/cplusfuncs.exp: Likewise.
2080 * gdb.cp/ctti.exp: Likewise.
2081 * gdb.cp/derivation.exp: Likewise.
2082 * gdb.cp/exception.exp: Likewise.
2083 * gdb.cp/gdb1355.exp: Likewise.
2084 * gdb.cp/hang.exp: Likewise.
2085 * gdb.cp/inherit.exp: Likewise.
2086 * gdb.cp/local.exp: Likewise.
2087 * gdb.cp/m-data.exp: Likewise.
2088 * gdb.cp/m-static.exp: Likewise.
2089 * gdb.cp/member-ptr.exp: Likewise.
2090 * gdb.cp/method.exp: Likewise.
2091 * gdb.cp/misc.exp: Likewise.
2092 * gdb.cp/namespace.exp: Likewise.
2093 * gdb.cp/overload.exp: Likewise.
2094 * gdb.cp/ovldbreak.exp: Likewise.
2095 * gdb.cp/pr-1023.exp: Likewise.
2096 * gdb.cp/pr-1210.exp: Likewise.
2097 * gdb.cp/pr-574.exp: Likewise.
2098 * gdb.cp/printmethod.exp: Likewise.
2099 * gdb.cp/psmang.exp: Likewise.
2100 * gdb.cp/ref-params.exp: Likewise.
2101 * gdb.cp/ref-types.exp: Likewise.
2102 * gdb.cp/rtti.exp: Likewise.
2103 * gdb.cp/templates.exp: Likewise.
2104 * gdb.cp/try_catch.exp: Likewise.
2105 * gdb.cp/userdef.exp: Likewise.
2106 * gdb.cp/virtfunc.exp: Likewise.
2107 * gdb.disasm/am33.exp: Likewise.
2108 * gdb.disasm/h8300s.exp: Likewise.
2109 * gdb.disasm/mn10300.exp: Likewise.
2110 * gdb.disasm/sh3.exp: Likewise.
2111 * gdb.disasm/t01_mov.exp: Likewise.
2112 * gdb.disasm/t02_mova.exp: Likewise.
2113 * gdb.disasm/t03_add.exp: Likewise.
2114 * gdb.disasm/t04_sub.exp: Likewise.
2115 * gdb.disasm/t05_cmp.exp: Likewise.
2116 * gdb.disasm/t06_ari2.exp: Likewise.
2117 * gdb.disasm/t07_ari3.exp: Likewise.
2118 * gdb.disasm/t08_or.exp: Likewise.
2119 * gdb.disasm/t09_xor.exp: Likewise.
2120 * gdb.disasm/t10_and.exp: Likewise.
2121 * gdb.disasm/t11_logs.exp: Likewise.
2122 * gdb.disasm/t12_bit.exp: Likewise.
2123 * gdb.disasm/t13_otr.exp: Likewise.
2124 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2125 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2126 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2127 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
2128 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
2129 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2130 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2131 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2132 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
2133 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2134 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2135 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2136 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2137 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2138 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2139 * gdb.mi/gdb701.exp: Likewise.
2140 * gdb.mi/gdb792.exp: Likewise.
2141 * gdb.mi/mi-basics.exp: Likewise.
2142 * gdb.mi/mi-break.exp: Likewise.
2143 * gdb.mi/mi-cli.exp: Likewise.
2144 * gdb.mi/mi-console.exp: Likewise.
2145 * gdb.mi/mi-disassemble.exp: Likewise.
2146 * gdb.mi/mi-eval.exp: Likewise.
2147 * gdb.mi/mi-file.exp: Likewise.
2148 * gdb.mi/mi-read-memory.exp: Likewise.
2149 * gdb.mi/mi-regs.exp: Likewise.
2150 * gdb.mi/mi-return.exp: Likewise.
2151 * gdb.mi/mi-simplerun.exp: Likewise.
2152 * gdb.mi/mi-stack.exp: Likewise.
2153 * gdb.mi/mi-stepi.exp: Likewise.
2154 * gdb.mi/mi-syn-frame.exp: Likewise.
2155 * gdb.mi/mi-until.exp: Likewise.
2156 * gdb.mi/mi-var-block.exp: Likewise.
2157 * gdb.mi/mi-var-child.exp: Likewise.
2158 * gdb.mi/mi-var-cmd.exp: Likewise.
2159 * gdb.mi/mi-var-display.exp: Likewise.
2160 * gdb.mi/mi-watch.exp: Likewise.
2161 * gdb.mi/mi2-basics.exp: Likewise.
2162 * gdb.mi/mi2-break.exp: Likewise.
2163 * gdb.mi/mi2-cli.exp: Likewise.
2164 * gdb.mi/mi2-console.exp: Likewise.
2165 * gdb.mi/mi2-disassemble.exp: Likewise.
2166 * gdb.mi/mi2-eval.exp: Likewise.
2167 * gdb.mi/mi2-file.exp: Likewise.
2168 * gdb.mi/mi2-read-memory.exp: Likewise.
2169 * gdb.mi/mi2-regs.exp: Likewise.
2170 * gdb.mi/mi2-return.exp: Likewise.
2171 * gdb.mi/mi2-simplerun.exp: Likewise.
2172 * gdb.mi/mi2-stack.exp: Likewise.
2173 * gdb.mi/mi2-stepi.exp: Likewise.
2174 * gdb.mi/mi2-syn-frame.exp: Likewise.
2175 * gdb.mi/mi2-until.exp: Likewise.
2176 * gdb.mi/mi2-var-block.exp: Likewise.
2177 * gdb.mi/mi2-var-child.exp: Likewise.
2178 * gdb.mi/mi2-var-cmd.exp: Likewise.
2179 * gdb.mi/mi2-var-display.exp: Likewise.
2180 * gdb.mi/mi2-watch.exp: Likewise.
2181 * gdb.stabs/exclfwd.exp: Likewise.
2182 * gdb.stabs/weird.exp: Likewise.
2183 * gdb.threads/gcore-thread.exp: Likewise.
2184 * gdb.trace/actions.exp: Likewise.
2185 * gdb.trace/backtrace.exp: Likewise.
2186 * gdb.trace/circ.exp: Likewise.
2187 * gdb.trace/collection.exp: Likewise.
2188 * gdb.trace/deltrace.exp: Likewise.
2189 * gdb.trace/infotrace.exp: Likewise.
2190 * gdb.trace/limits.exp: Likewise.
2191 * gdb.trace/packetlen.exp: Likewise.
2192 * gdb.trace/passc-dyn.exp: Likewise.
2193 * gdb.trace/passcount.exp: Likewise.
2194 * gdb.trace/report.exp: Likewise.
2195 * gdb.trace/save-trace.exp: Likewise.
2196 * gdb.trace/tfind.exp: Likewise.
2197 * gdb.trace/tracecmd.exp: Likewise.
2198 * gdb.trace/while-dyn.exp: Likewise.
2199 * gdb.trace/while-stepping.exp: Likewise.
2200
f4b618d1
JB
22012006-08-08 Joel Brobecker <brobecker@adacore.com>
2202
2203 * gdb.base/step-bt.c: New file.
2204 * gdb.base/step-bt.exp: New testcase.
2205
3d00d119
DJ
22062006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
2207
2208 * config/monitor.exp (gdb_load): Remove support for obsolete
2209 download-write-size.
2210 * gdb.base/remote.exp: Likewise. Update all callers of
2211 gdb_timed_load.
2212
017b5bd4
DJ
22132006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
2214
2215 * cursal.exp: Pass binfile to gdb_load.
2216
837c599d
DJ
22172006-08-01 Nathan Sidwell <nathan@codesourcery.com>
2218
2219 * gdb.base/cursal.exp: Add "" to gdb_load call.
2220
8dd4540b
MK
22212006-07-29 Mark Kettenis <kettenis@gnu.org>
2222
2223 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
2224 NetBSD/ELF targets.
2225
ab5c9f60
DJ
22262006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
2227
2228 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
2229 operator*.
2230
4c42eaff
DJ
22312006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
2232
2233 * gdb.base/completion.exp: Update for change in "file" behavior.
2234 * gdb.stabs/weird.exp: Likewise.
2235 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
2236 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
2237
0155cc76
NS
22382006-07-24 Nathan Sidwell <nathan@codesourcery.com>
2239
2240 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
2241 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
2242
16026cd7
AS
22432006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
2244
2245 * gdb.base/default.exp: Update source command error message.
2246 * gdb.base/help.exp: Update 'help source' message.
2247
16963cb6
DJ
22482006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
2249
2250 * gdb.cp/bs15503.exp: Update comment for no longer crashing
2251 test.
2252
6d7fd486
AS
22532006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
2254
2255 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
2256
29e8a844
DJ
22572006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
2258
2259 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
2260
6afcfa39
DJ
22612006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
2262
2263 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
2264
267a692b
MK
22652006-07-17 Mark Kettenis <kettenis@gnu.org>
2266
2267 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
2268 *-*-openbsd* from targets for wich we expect ARM FPA floating
2269 point format.
2270
85d2fec4
NR
22712006-07-17 Nick Roberts <nickrob@snap.net.nz>
2272
2273 * gdb.cp/annota3.exp: Expect frame-begin annotation.
2274
22752006-07-17 Mark Kettenis <kettenis@gnu.org>
2276
2277 * gdb.base/annota3.exp: Expect frame-begin annotation.
2278
85b4c6e8
JB
22792006-07-14 Joel Brobecker <brobecker@adacore.com>
2280
2281 * gdb.base/help.exp: Adjust "help unset" test to accept
2282 any list of unset commands.
2283
fb933624
DJ
22842006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
2285 Daniel Jacobowitz <dan@codesourcery.com>
2286
2287 * gdb.cp/ref-params.exp: New test.
2288 * gdb.cp/ref-params.cc: New source file.
2289 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
2290
1dff4b64
MK
22912006-07-08 Mark Kettenis <kettenis@gnu.org>
2292
2293 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
2294 spaces/tabs in regular expressions since they might not be there.
2295
40d2e0e3
AS
22962006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
2297
2298 * gdb.base/ifelse.exp: New file.
2299
f6c957d2
NS
23002006-07-04 Nathan Sidwell <nathan@codesourcery.com>
2301
2302 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
2303 line.
2304 * gdb.base/huge.exp: Loop over compilation to find a size that
2305 is acceptable.
2306 * gdb.base/remote.exp: Correct expected strings.
2307 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
2308
b9c5a23d
DJ
23092006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
2310
2311 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
2312
9af2e58d
DJ
23132006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
2314
2315 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
2316 native.
2317
30930ca5
DJ
23182006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
2319
2320 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
2321 enable stabs testing.
2322
aa32fa1d
DJ
23232006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
2324
bd4a4c80 2325 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
2326 gdb_test_multiple does.
2327
321fef15
DJ
23282006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
2329
2330 * Makefile.in (host_alias): Remove.
2331 (target_alias): Use @target_noncanonical@.
2332 (site.exp): Don't set host_alias.
2333 * aclocal.m4: Remove contents. Include acx.m4.
2334 * configure: Regenerated.
2335 * configure.ac: Use ACX_NONCANONICAL_TARGET.
2336
e1c2defa
NS
23372006-06-13 Nathan Sidwell <nathan@codesourcery.com>
2338
e63b55d1
NS
2339 * lib/gdb.exp (gdb_load_cmd): New.
2340
5600ea19
NS
2341 * gdb.base/fileio.c: Add system(NULL) test.
2342 * gdb.base/fileio.exp: Check it.
2343
e1c2defa
NS
2344 * gdb.base/break.c: Add 10a breakpoint at }
2345 * gdb.base/break.exp: Add test for breakpoint at }
2346 * gdb.cp/anon-union.cc: Add code at end of function.
2347 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
2348 * gdb.mi/var-cmd.c: Add code at end of function.
2349 * gdb.mi/mi-var-display.exp: Adjust end of next.
2350 * gdb.mi/mi2-var-display.exp: Likewise.
2351 * gdb.base/fileio.c: Add stop function and insert calls at
2352 stopping places.
2353 * gdb.base/fileio.exp: Breakpoint stop function and remove
2354 explicit line number references.
2355
6c0112ec
JB
23562006-05-19 Joel Brobecker <brobecker@adacore.com>
2357
2358 * gdb.base/del.exp (test_delete_alias): New function.
2359 Now check that both "del" and "d" work as aliases for "delete".
2360
154189a4
FF
23612006-05-18 Fred Fish <fnf@specifix.com>
2362
2363 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
2364 required. Check for spurious output after program exits normally.
2365
582e64c2
FF
23662006-05-17 Fred Fish <fnf@specifix.com>
2367
2368 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
2369 gdb_load, so it works in the simulator.
2370
8ef6493a
FF
23712006-05-11 Fred Fish <fnf@specifix.com>
2372
2373 * gdb.base/bang.exp: Ignore unexpected output between the
2374 "program exited normally" and the gdb prompt, as many other
2375 tests do.
2376
692b141c
MK
23772006-05-07 Mark Kettenis <kettenis@gnu.org>
2378
2379 * gdb.base/help.exp: Make "delete checkpoint" part option for
2380 "help d" and "help delete" tests.
2381
540b8a30
UW
23822006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2383
2384 * gdb.mi/mi-basics.exp: Add missing serial number to
2385 expected output in some mi_gdb_test statements.
2386 * gdb.mi/mi2-basics.exp: Likewise.
2387
9b6462d9
JB
23882006-05-05 Joel Brobecker <brobecker@adacore.com>
2389
2390 * gdb.base/del.c: New file.
2391 * gdb.base/del.exp: New testcase.
2392
954de43b
DM
23932006-05-05 David S. Miller <davem@sunset.davemloft.net>
2394
2395 * gdb.base/break.exp: Do not assume a breakpoint on
2396 main will actually be in $srcfile when optimizing.
1303f75e
DM
2397 * gdb.base/savedregs.exp: Do not require that the dummy
2398 frame location match up to a symbol and source file location.
c3242428
DM
2399 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
2400 will get printed without a mi_cmd_data_list_register_values prefix.
2401 (*-data-list-register-*): Correct regular expressions to expect the new
2402 pseudo d? floating point registers.
2403 * gdb.mi/mi2-regs.exp: Likewise.
2404
c7e64c9a
DJ
24052006-05-05 Christophe Lyon <christophe.lyon@st.com>
2406
2407 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
2408 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
2409 is allocated by the compiler.
2410 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
2411 anons, e, anone to force their allocation by the compiler.
2412
24132006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
2414
2415 * gdb.base/help.exp: Update expected text for help d and
2416 help delete.
2417
27ce9a6d
MK
24182006-05-02 Mark Kettenis <kettenis@gnu.org>
2419
2420 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
2421 NetBSD/ELF targets.
2422
8608915f
MK
24232006-04-30 Mark Kettenis <kettenis@gnu.org>
2424
2425 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
2426 single-step breakpoint fails; make this a KFAIL on
2427 sparc*-*-openbsd*.
2428 * gdb.base/siginfo.exp: Likewise.
2429 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2430
b8db102d
MS
24312006-04-26 Michael Snyder <msnyder@redhat.com>
2432
2433 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
2434 which may have to consume output from other forks.
2435 Add tests to make sure that "delete fork" succeeded.
2436
c702009a
MS
24372006-04-20 Michael Snyder <msnyder@redhat.com>
2438
2439 * 2006-03-22 Jim Blandy <jimb@redhat.com>
2440 Add support for the Renesas M32C and M16C.
2441
2442 * gdb.asm/asm-source.exp: Add m32c target.
2443 * gdb.asm/m32c.inc: Support for m32c target.
2444
e28493f2
AS
24452006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
2446
2447 * gdb.base/commands.exp (recursive_source_test): New test.
2448
880da185
DM
24492006-04-04 David S. Miller <davem@sunset.davemloft.net>
2450
2451 * gdb.base/float.exp: Add pattern for sparc targets.
2452
61d9b92f
DJ
24532006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2454
2455 * gdb.base/commands.exp (stray_arg0_test): New test.
2456
bd717df8
PB
24572006-03-30 Paul Brook <paul@codesourcery.com>
2458
2459 * gdb.mi/mi-until.exp: kfail broken until command.
2460 * gdb.mi/mi2-until.exp: Ditto.
2461
ec793d3c
NR
24622006-03-27 Nick Roberts <nickrob@snap.net.nz>
2463
2464 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
2465
831004b7
AO
24662006-03-08 Alexandre Oliva <aoliva@redhat.com>
2467
2468 * gdb.base/prelink.exp: Anchor tested-for regular expression
2469 on gdb prompt.
2470
effe49a0
PB
24712006-03-07 Paul Brook <paul@codesourcery.com>
2472
2473 * gdb.base/assign.exp: Correct fail message.
2474
e5461016
PB
24752006-03-07 Paul Brook <paul@codesourcery.com>
2476
2477 * lib/compiler.c: Extract armcc version number.
2478 * lib/compiler.cc: Ditto.
2479
fc91c6c2
PB
24802006-03-07 Paul Brook <paul@codesourcery.com>
2481
2482 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
2483 additional_flags=-w.
2484 * gdb.arch/altivec-regs.exp: Ditto.
2485 * gdb.arch/e500-abi.exp: Ditto.
2486 * gdb.arch/e500-regs.exp: Ditto.
2487 * gdb.base/all-bin.exp: Ditto.
2488 * gdb.base/annota1.exp: Ditto.
2489 * gdb.base/annota3.exp: Ditto.
2490 * gdb.base/args.exp: Ditto.
2491 * gdb.base/arithmet.exp: Ditto.
2492 * gdb.base/assign.exp: Ditto.
2493 * gdb.base/async.exp: Ditto.
2494 * gdb.base/bang.exp: Ditto.
2495 * gdb.base/break.exp: Ditto.
2496 * gdb.base/call-rt-st.exp: Ditto.
2497 * gdb.base/completion.exp: Ditto.
2498 * gdb.base/cond-expr.exp: Ditto.
2499 * gdb.base/condbreak.exp: Ditto.
2500 * gdb.base/consecutive.exp: Ditto.
2501 * gdb.base/define.exp: Ditto.
2502 * gdb.base/display.exp: Ditto.
2503 * gdb.base/ena-dis-br.exp: Ditto.
2504 * gdb.base/environ.exp: Ditto.
2505 * gdb.base/eval-skip.exp: Ditto.
2506 * gdb.base/info-proc.exp: Ditto.
2507 * gdb.base/jump.exp: Ditto.
2508 * gdb.base/logical.exp: Ditto.
2509 * gdb.base/long_long.exp: Ditto.
2510 * gdb.base/maint.exp: Ditto.
2511 * gdb.base/miscexprs.exp: Ditto.
2512 * gdb.base/pc-fp.exp: Ditto.
2513 * gdb.base/pointers.exp: Ditto.
2514 * gdb.base/relational.exp: Ditto.
2515 * gdb.base/reread.exp: Ditto.
2516 * gdb.base/sect-cmd.exp: Ditto.
2517 * gdb.base/sep.exp: Ditto.
2518 * gdb.base/sepdebug.exp: Ditto.
2519 * gdb.base/until.exp: Ditto.
2520 * gdb.base/whatis-exp.exp: Ditto.
2521 * gdb.cp/annota2.exp: Ditto.
2522 * gdb.cp/annota3.exp: Ditto.
2523 * gdb.trace/actions.exp: Ditto.
2524 * gdb.trace/backtrace.exp: Ditto.
2525 * gdb.trace/circ.exp: Ditto.
2526 * gdb.trace/collection.exp: Ditto.
2527 * gdb.trace/deltrace.exp: Ditto.
2528 * gdb.trace/infotrace.exp: Ditto.
2529 * gdb.trace/limits.exp: Ditto.
2530 * gdb.trace/packetlen.exp: Ditto.
2531 * gdb.trace/passc-dyn.exp: Ditto.
2532 * gdb.trace/passcount.exp: Ditto.
2533 * gdb.trace/report.exp: Ditto.
2534 * gdb.trace/save-trace.exp: Ditto.
2535 * gdb.trace/tfind.exp: Ditto.
2536 * gdb.trace/tracecmd.exp: Ditto.
2537 * gdb.trace/while-dyn.exp: Ditto.
2538 * gdb.trace/while-stepping.exp: Ditto.
2539 * lib/gdb.exp: Ditto.
2540 (gdb_compile): Handle nowarning option.
2541
5f4a23d9
AO
25422006-03-07 Alexandre Oliva <aoliva@redhat.com>
2543
2544 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
2545 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
2546 Rename executable to prelinkt. Don't re-prelink if we didn't
2547 get a core file. Test prelink -u exit status to tell whether
2548 prelinking failed. Use gdb_test_multiple.
2549
9733fc94
DJ
25502006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
2551
2552 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
2553 (do_tests): Call it.
2554
cc10cae3
AO
25552006-02-28 Alexandre Oliva <aoliva@redhat.com>
2556
2557 * gdb.base/prelink.exp: New test.
2558 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
2559
15c46491
WZ
25602006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
2561
2562 * gdb.fortran/derived-type.f90: New file.
2563 * gdb.fortran/derived-type.exp: New testcase.
2564
5c9f7ded
DJ
25652006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
2566
2567 * gdb.base/default.exp: Allow ';' as a directory separator.
2568
5b96932b
AS
25692006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
2570
2571 * gdb.base/help.exp (help add-symbol-file): Update.
2572
1986bccd
AS
25732006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
2574
2575 * gdb.base/help.exp (help load): Update expected results.
2576
a8b7528f
FF
25772006-02-19 Fred Fish <fnf@specifix.com>
2578
2579 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
2580 specifix hex value as part of results.
2581 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
2582
f8261448
FF
25832006-02-16 Fred Fish <fnf@specifix.com>
2584
2585 * gdb.base/whatis.c: Define variables using typedefs char_addr,
2586 ushort_addr, and slong_addr, so the typedefs are not optimized
2587 away.
2588 * gdb.base/whatis.exp: Add tests using type name for struct type,
2589 union type, enum type, and typedef.
2590
31d8bdd2
MK
25912006-02-13 Mark Kettenis <kettenis@gnu.org>
2592
2593 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
2594
34e41e63
JB
25952006-02-13 Jim Blandy <jimb@redhat.com>
2596
2597 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
2598 case where it takes two "next" commands to skip past the init
2599 call.
2600
ac6e4f31
FF
26012006-02-12 Fred Fish <fnf@specifix.com>
2602
2603 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
2604 to handle cases where it takes two "next" commands to skip
2605 past the init call.
2606
2db2d571
JB
26072006-02-07 Joel Brobecker <brobecker@adacore.com>
2608
2609 * gdb.ada/array_return.exp: Mark the last test as expected to fail
2610 on hppa32 targets.
2611
38fcd64c
DJ
26122006-02-06 Vladimir Prus <ghost@cs.msu.su>
2613
2614 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
2615 field.
2616
1315ad46
MK
26172006-01-29 Mark Kettenis <kettenis@gnu.org>
2618
2619 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
2620
5625b943
DJ
26212006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
2622
2623 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
2624 files.
2625
80df1bbe
DJ
26262006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
2627
2628 * gdb.cp/maint.exp: Set complaints to a positive value.
2629
9078e690
DJ
26302006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
2631
2632 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
2633 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
2634 function name.
2635
9c903399
DJ
26362006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
2637
2638 * gdb.base/checkpoint.c: Update copyright notice. Include
2639 <stdlib.h>.
2640
761ae4d6
JB
26412006-01-04 Jim Blandy <jimb@redhat.com>
2642
2643 * gdb.asm/asm-source.exp: Independently provide default values for
2644 asm-flags and debug-flags. Use 'string equal' to do the
2645 comparison, not the implicit expr's '==' operator. Remove
2646 now-unneeded assignments to asm-flags. In h8300 case, place
2647 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
2648
099ac3dd
MS
26492006-01-04 Michael Snyder <msnyder@redhat.com>
2650
2651 * gdb.base/checkpoint.c: New file.
2652 * gdb.base/checkpoint.exp: New file.
2653 * gdb.base/multi-fork.c: New file.
2654 * gdb.base/multi-fork.exp: New file.
2655 * gdb.base/pi.txt: New file (data for checkpoint.c test).
2656
f4d85314
FF
26572006-01-04 Fred Fish <fnf@specifix.com>
2658
2659 * gdb.base/ptype.c (foo): Add typedef.
2660 (intfoo): Add function.
2661 * gdb.base/ptype1.c: New file.
2662 * gdb.base/ptype.exp: Handle compilation and linking with two
2663 source files. Test that proper type for "foo" is found based
2664 on source context rather than first match found in symtabs.
2665
a1b06f35
MK
26662005-12-28 Mark Kettenis <kettenis@gnu.org>
2667
2668 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
2669 * gdb.asm/openbsd.inc: Indent commands.
2670
d082a1e2
MK
26712005-12-26 Mark Kettenis <kettenis@gnu.org>
2672
c65016bd
MK
2673 * gdb.base/freebpcmd.exp: Increase timeout.
2674
d082a1e2
MK
2675 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
2676
d3c32a0e
DJ
26772005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
2678
2679 * gdb.base/default.exp: Update check for "show version".
2680
9fdb1f50
RC
26812005-12-09 Randolph Chung <tausq@debian.org>
2682
2683 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
2684 * gdb.asm/pa64.inc: New file.
2685
5f2c56f7
RC
26862005-12-09 Randolph Chung <tausq@debian.org>
2687
2688 * gdb.asm/common.inc: Indent commands.
2689 * gdb.asm/asmsrc1.s: Likewise.
2690 * gdb.asm/asmsrc2.s: Likewise.
2691
8117349c
RC
26922005-12-09 Randolph Chung <tausq@debian.org>
2693
2694 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
2695 (get_addr_of_sym): Remove duplicate print.
2696 (gen_core): xfail hppa*-*-hpux*, update expected output.
2697 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
2698 * gdb.arch/pa64-nullify.s: New file.
2699
8f07f25a
RC
27002005-12-09 Randolph Chung <tausq@debian.org>
2701
2702 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
2703
55b39184
DJ
27042005-12-07 Christophe Lyon <christophe.lyon@st.com>
2705
2706 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
2707 code generation for these functions.
2708 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
2709 error message.
2710
31e2b00f
AS
27112005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
2712
2713 * gdb.base/help.exp (help b, help br, help bre, help brea)
2714 (help break): Update the expected message.
2715
c3d0b56e
SC
27162005-11-11 Stephane Carrez <stcarrez@nerim.fr>
2717
2718 * gdb.asm/m68hc11.inc: Setup the data section.
2719 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
2720 script for this test.
2721 (m6812-*-*): Likewise.
2722
36ae0ea9
RC
27232005-11-09 Randolph Chung <tausq@debian.org>
2724
2725 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
2726
9d6f42e9
WZ
27272005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
2728
2729 * gdb.base/break.exp: Fix a comment typo.
2730
e2126a14
EZ
27312005-11-03 Jim Blandy <jimb@redhat.com>
2732
2733 Checked in by Elena Zannoni <ezannoni@redhat.com>
2734
2735 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
2736
e0ac7199
CV
27372005-11-02 Corinna Vinschen <vinschen@redhat.com>
2738
2739 * gdb.arch/gdb1558.c: Include stdio.h.
2740
31d3fb18
MK
27412005-10-31 Mark Kettenis <kettenis@gnu.org>
2742
2743 * gdb.asm/asm-source.exp: Use -e instead of --entry.
2744
e52b687c
MK
27452005-10-31 Mark Kettenis <kettenis@gnu.org>
2746
2747 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
2748
f4711d79
PG
27492005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
2750
2751 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
2752 vscr" tests to better match output.
2753
987a9106
JB
27542005-10-12 Jim Blandy <jimb@redhat.com>
2755
2756 * gdb.base/structs.exp (any): New function.
2757 (test_struct_returns): Don't make any assumptions at all about
2758 what value the function returns when GDB can't set the return
2759 value.
2760
2336bb58
JB
27612005-10-09 Joel Brobecker <brobecker@adacore.com>
2762
2763 * gdb.ada/arrayidx/p.adb: New file.
2764 * gdb.ada/arrayidx.exp: New testcase
2765
27662005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
2767
2768 * gdb.ada/array_return/pck.ads: New file.
2769 * gdb.ada/array_return/pck.adb: New file.
2770 * gdb.ada/array_return/p.adb: New file.
2771 * gdb.ada/array_return.exp: New testcase.
2772
705335ea
JB
27732005-10-03 Joel Brobecker <brobecker@adacore.com>
2774
2775 * gdb.base/arrayidx.c: New file.
2776 * gdb.base/arrayidx.exp: New testcase.
2777
11ee9940
NR
27782005-09-29 Nick Roberts <nickrob@snap.net.nz>
2779
2780 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
2781 frames-invalid and breakpoints-invalid are no longer generated
2782 with level 3 so don't expect them in the output.
2783
39fb8e9e
BR
27842005-09-27 Bob Rossi <bob@brasko.net>
2785
2786 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
2787 from test. Escape the | in mi_gdb_test call.
2788 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
2789 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
2790 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
2791 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
2792 expected regex's in mi_gdb_test calls.
2793 * lib/mi-support.exp: Remove arbitrary .* from tests.
2794 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
2795 Fully anchor GDB/MI expected results in mi_gdb_test.
2796 * lib/gdb.exp (string_to_regexp): Escape the ] character.
2797 * gdb.base/sizeof.exp: Remove escape character. Correct test.
2798
2af48f68
PB
27992005-09-26 Paul Brook <paul@codesourcery.com>
2800
2801 * long_long.exp: Exclude eabi targets from arm FPA float format test.
2802
f34502bc
WZ
28032005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
2804
2805 * bfp-test.c: New file.
2806 * bfp-test.exp: New testcase.
2807
ca929517
WZ
28082005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
2809
2810 * gdb.fortran/subarray.exp: New testcase to test the evaluation
2811 of subarray and substring variable.
2812 * gdb.fortran/subarray.f: New source file for the test of subarray
2813 and substring variable evaluation.
2814 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
2815 of string constant.
2816
c761af65
DJ
28172005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
2818
2819 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
2820 copyright dates.
2821
561d7a1d
PG
28222005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
2823
2824 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
2825 powerpc altivec' test with an almost identical 'info vector' test.
2826
b2b64cc9
PG
28272005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
2828
2829 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
2830 vscr" tests to match output.
2831
6ac4d15a
PG
28322005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
2833
2834 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
2835 output.
2836
40e55bef
BR
28372005-09-11 Bob Rossi <bob@brasko.net>
2838
2839 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
2840 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
2841 commands that return an MI output command and an asyncronous MI output
2842 command.
2843 * gdb.mi/mi-console.exp: Ditto.
2844
3c7385ec
BR
28452005-09-11 Bob Rossi <bob@brasko.net>
2846
2847 * gdb.mi/mi-var-child.c: Include <string.h>.
2848
a6cd0eb3
DJ
28492005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
2850
2851 * killed.exp: Correct gdb_expect syntax.
2852
2f168eed
CV
28532005-08-09 Corinna Vinschen <vinschen@redhat.com>
2854
2855 * lib/mi-support.exp (mi_gdb_load): Fix typo.
2856
ecd3fd0f
BR
28572005-08-02 Bob Rossi <bob@brasko.net>
2858
2859 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
2860 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
2861 Change tests to inferior-tty-set/show.
2862 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
2863 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
2864 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
2865 inferior. Use mi_gdb_test to get GDB and Inferior output.
2866 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
2867 descriptor.
2868 (mi_inferior_tty_name): Add inferior PTY file name.
2869 (mi_gdb_start): Add INFERIOR_PTY parameter.
2870 (mi_gdb_test): Add IPATTERN parameter.
2871
f1ea48cb
BR
28722005-08-02 Bob Rossi <bob@brasko.net>
2873
2874 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
2875 parameter to mi_gdb_test.
2876 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
2877
6e650a67
DJ
28782005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
2879
2880 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
2881 struct_declarations.
2882 * gdb.mi/mi-var-child.exp: Step over the initialization of
2883 struct_declarations.
2884
8be260b6
DJ
28852005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
2886
2887 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
2888 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
2889 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
2890 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
2891 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
2892 file.
2893
4e660f07
NR
28942005-07-27 Nick Roberts <nickrob@snap.net.nz>
2895
2896 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
2897 (do_children_tests): Assign values to the extra elements.
2898
2899 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
2900 them for tests for "-var-update --no-values" and
2901 "-var-update --all-values".
2902 Add test for "-var-list-children --simple-values".
2903
2904 * gdb.mi/basics.c (callee4): Add integer array D[3]...
2905
2906 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
2907 "-stack-list-locals --simple-values" Improve doc strings and
2908 comments.
2909
6bdae935
MK
29102005-07-18 Mark Kettenis <kettenis@gnu.org>
2911
598b7a6f
MK
2912 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
2913 *-*-openbsd*.
2914 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
2915
6bdae935
MK
2916 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
2917 sigaltsatck'.
2918
1323e929
BR
29192005-07-14 Bob Rossi <bob@brasko.net>
2920
2921 * gdb.base/default.exp (tty): Changed output of command.
2922 * gdb.base/help.exp (help tty): Ditto.
2923
b1a9c082
MK
29242005-07-12 Mark Kettenis <kettenis@gnu.org>
2925
2926 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
2927
10a844a2
MK
29282005-07-10 Mark Kettenis <kettenis@gnu.org>
2929
2930 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
2931 -stack-select-frame without arguments.
2932 (test_stack_frame_listing): Add test for newly implemented command
2933 -stack-info-frame.
2934
3cb3b8df
BR
29352005-07-06 Bob Rossi <bob@brasko.net>
2936
2937 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
2938 command.
2939 (Copyright): Update copyright.
2940
a0c5fbcf
WZ
29412005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
2942
2943 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
2944 tests to evaluate exponentiation expression.
2945
984971d0
AS
29462005-06-29 Andreas Schwab <schwab@suse.de>
2947
2948 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
2949 main to avoid warnings.
2950
2951 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
2952
fe03833f
NR
29532005-06-20 Nick Roberts <nickrob@snap.net.nz>
2954
2955 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
2956 -stack-select-frame without arguments.
2957 (test_stack_frame_listing): Add test for newly implemented command
2958 -stack-info-frame.
2959
7a55f279
WZ
29602005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
2961
0ffa0ea5
DJ
2962 * gdb.fortran/array-element.f: New file.
2963 * gdb.fortran/array-element.exp: New testcase.
7a55f279 2964
26585198
DJ
29652005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
2966
2967 * gdb.base/bigcore.exp: Correct checks for systems which can
2968 not dump a large core file.
2969
c1bd25fd
DJ
29702005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
2971
2972 * gdb.base/relocate.c: Add a copyright notice.
2973 (dummy): Remove.
2974 * gdb.base/relocate.exp: Test printing the values of variables
2975 from a relocatable file.
2976
589e074d
DJ
29772005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
2978
2979 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
2980 excess MI output after an error.
2981
0915f927
JB
29822005-05-29 Joel Brobecker <brobecker@adacore.com>
2983
2984 * gdb.arch/alpha-step.c: New file.
2985 * gdb.arch/alpha-step.exp: New testcase.
2986
76ff342d
DJ
29872005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
2988 Dennis Brueni <dennis@slickedit.com>
2989
2990 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
2991 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
2992 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
2993 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
2994 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
2995 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
2996 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2997
96b0c7ac
DJ
29982005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
2999 Wu Zhou <woodzltc@cn.ibm.com>
3000
3001 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
3002 IBM's xlc compiler.
3003 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
3004 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
3005
f21565d2
JB
30062005-05-13 Jim Blandy <jimb@redhat.com>
3007
3008 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
3009 calling gdb_suppress_entire_file.
3010 * gdb.base/charset.exp: Same.
3011 * gdb.base/call-rt-st.exp: Same.
3012
6006a3a1
BR
30132005-05-05 Bob Rossi <bob_rossi@cox.net>
3014
3015 * lib/gdb.exp (fullname_syntax): Added global regex.
3016 (fullname_syntax_POSIX): Ditto.
3017 (fullname_syntax_UNC): Ditto.
3018 (fullname_syntax_DOS_CASE): Ditto.
3019 (fullname_syntax_DOS): Ditto.
3020 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
3021 fullname_syntax variable to scope and use it.
3022 (test_file_list_exec_source_files): Ditto.
3023 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
3024
c3b69c04
DJ
30252005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
3026
3027 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
3028
3c95e6af
PG
30292004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
3030
3031 * lib/gdb.exp (skip_altivec_tests): New function, based on
3032 check_vmx_hw_available from the GCC testsuite.
3033 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
3034 * lib/gdb.arch/altivec-regs.exp: Likewise.
3035
78df6c56
JB
30362005-05-02 Jim Blandy <jimb@redhat.com>
3037
3038 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
3039 calling gdb_suppress_entire_file.
3040
1690f9cf
DJ
30412005-04-30 Randolph Chung <tausq@debian.org>
3042
3043 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
3044 Slightly relax "sem_post" name checking.
3045
5ea106f7
PG
30462005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
3047
3048 * gdb.base/unload.exp: Use new shared library infrastructure.
3049
bf7234cf
PG
30502005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
3051
3052 * gdb.base/so-impl-ld.exp: Use new shared library
3053 infrastructure.
3054
547b869a
CV
30552005-04-29 Corinna Vinschen <vinschen@redhat.com>
3056
3057 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
3058 * gdb.asm/h8300.inc: New file.
3059
f07e55f0
PG
30602005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
3061
3062 * gdb.base/shlib-call.exp: Change to use new shared library
3063 infrastructure.
3064
3cbba3d1
PG
30652005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
3066
3067 * gdb.base/pending.exp: Change to use new shared library
3068 infrastructure.
3069
ed6df200
PG
30702005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
3071
3072 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
3073 use test_compiler_info instead of gcc_compiled, and update copyright.
3074
8c8f4ebe
PG
30752005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
3076
3077 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
3078 shared objects being adjusted and update copyright years.
3079
607fbc54
DJ
30802005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
3081
3082 * ChangeLog: Correct some 2003-01-13 dates.
3083 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
3084 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
3085 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
3086 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
3087 gdb.trace/tfind.exp: Update copyright years.
3088
57bf0e56
DJ
30892005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
3090 Daniel Jacobowitz <dan@codesourcery.com>
3091
3092 * lib/gdb.exp (gdb_compile): Handle shlib=.
3093 (gdb_compile_shlib): New function.
3094
9b593790
PG
30952005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
3096
3097 * lib/gdb.exp (test_compiler_info): Give argument a default value.
3098
9494c6a5
DJ
30992005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
3100
3101 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
3102 gdb.server.
3103 * configure.ac: Likewise.
3104 * configure: Regenerated.
3105 * gdb.gdbserver/Makefile.in: Moved to...
3106 * gdb.server/Makefile.in: ... here.
3107 * gdb.gdbserver/server.c: Moved to...
3108 * gdb.server/server.c: ... here.
3109 * gdb.gdbserver/server-run.exp: Moved to...
3110 * gdb.server/server-run.exp: ... here.
3111
6f8eac0e
DJ
31122005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
3113
3114 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
3115 * configure.ac: Create gdb.gdbserver/Makefile.
3116 * configure: Regenerated.
3117 * lib/gdbserver-support.exp: New file, derived from
3118 config/gdbserver.exp.
3119 * config/gdbserver.exp: Use gdbserver-support.exp.
3120 * gdb.gdbserver/Makefile.in: New file.
3121 * gdb.gdbserver/server.c: New file.
3122 * gdb.gdbserver/server-run.exp: New file.
3123
6e87504d
PG
31242005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
3125
3126 * lib/gdb.exp (test_compiler_info): Return compiler_info
3127 if no arguments are given.
3128
d1779be4
PG
31292005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
3130
3131 * gdb.arch/altivec-abi.exp: Check for compiler and set
3132 use altivec' flag accordingly.
3133 * gdb.arch/altivec-regs.exp: Likewise.
3134
88750304
DJ
31352005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
3136
3137 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
3138
f3fb768d
AS
31392005-03-27 Andreas Schwab <schwab@suse.de>
3140
3141 * gdb.base/bigcore.c (main): Add missing mode argument in open
3142 call.
3143
7e813ac5
DJ
31442005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
3145
3146 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
3147 downloads.
3148 * config/gdbserver.exp (gdb_load): Likewise.
3149
8e3049aa
PB
31502005-03-14 Paul Brook <paul@codesourcery.com>
3151
3152 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
3153 targets.
3154
a9df7c44
JB
31552005-03-09 Joel Brobecker <brobecker@adacore.com>
3156
3157 * gdb.dwarf2/dup-psym.S: New file.
3158 * gdb.dwarf2/dup-psym.exp: New testcase.
3159
9f0d94e8
JB
31602005-03-09 Joel Brobecker <brobecker@adacore.com>
3161
3162 * gdb.ada/exec_changed/first.adb: New file.
3163 * gdb.ada/exec_changed/second.adb: New file.
3164 * gdb.ada/exec_changed.exp: New testcase.
3165
5f579bc5
NS
31662005-03-08 Nathan Sidwell <nathan@codesourcery.com>
3167
36e9969c
NS
3168 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
3169 (A2): New class.
3170 (main): Test operator+.
3171 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
3172 breakpoint test.
3173
5f579bc5
NS
3174 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
3175 * gdb.base/signull.exp: Disable if gdb,nosignals.
3176 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
3177 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
3178 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
3179 * gdb.mi/mi2-console.exp: Likewise.
3180 * gdb.trace/collection.exp (run_trace_experiment): Consume the
3181 continue output at start.
3182 (gdb_collect_locals_test): Robustify regexp.
3183 * gdb.trace/passc-dyn.exp: Fix comment typo.
3184 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
3185
be46087e
CV
31862005-03-08 Corinna Vinschen <vinschen@redhat.com>
3187
3188 * gdb.asm/asm-source.exp: Add iq2000 case.
3189 * gdb.asm/iq2000.inc: New file.
3190
384e1a61
MI
31912005-03-07 Manoj Iyer <manjo@austin.ibm.com>
3192
3193 * gdb.base/command.exp: Change hardcoded value to regular expression.
3194 * gdb.base/float.exp: Add powerpc to the list of targets checked.
3195
584b6e9e
DJ
31962005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
3197
3198 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
3199 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
3200 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
3201 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
3202 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
3203
ab5b5d61
MK
32042005-03-05 Mark Kettenis <kettenis@gnu.org>
3205
3206 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
3207 changes.
3208
ae051c1b
PG
32092004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
3210
3211 * lib/compiler.c: Add test for IBM's xlc compiler.
3212 * lib/compiler.cc: Likewise.
3213
3f0f6ed2
JB
32142004-02-24 Joel Brobecker <brobecker@adacore.com>
3215
3216 * gdb.ada/fixed_points.exp: Create compilation object directory
3217 before running the test.
3218 * gdb.ada/null_record.exp: Likewise.
3219 * gdb.ada/packed_array.exp: Likewise.
3220 * gdb.ada/start.exp: Likewise.
3221
724f452b
JB
32222005-02-15 Joel Brobecker <brobecker@adacore.com>
3223
3224 * gdb.ada/packed_array/pa.adb: New file.
3225 * gdb.ada/packed_array.exp: New testcase.
3226
57f5cdfb 32272005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 3228
1f393151
MK
3229 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
3230 files.
3231
ebdda337
MK
3232 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
3233 on *-*-openbsd*. Correctly match whitespace in regukar
3234 expressions.
3235
cf309262
DJ
32362005-02-10 Daniel Jacobowitz <dan@debian.org>
3237
3238 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
3239 PR exp/1821
3240 * gdb.base/gdb1821.c: New test file.
3241 * gdb.base/gdb1821.exp: New test file.
3242
3be49e7a
JB
32432005-02-09 Joel Brobecker <brobecker@adacore.com>
3244
3245 * gdb.base/start.c: New file.
3246 * gdb.base/start.exp: New testcase.
3247
e292e67d
JB
32482005-02-09 Joel Brobecker <brobecker@adacore.com>
3249
3250 * gdb.ada/start/dummy.adb: New file.
3251 * gdb.ada/start.exp: New testcase.
3252
dbdfa66c
CV
32532005-02-09 Corinna Vinschen <vinschen@redhat.com>
3254
3255 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
3256 for printing symbols and statistics.
3257 Add test for using relative pathnames in "maint print msymbols" test.
3258 Mark "maint info sections DATA" XFAIL on Cygwin.
3259 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
3260 tests.
3261
d7941671
AC
32622005-02-09 Andreas Schwab <schwab@suse.de>
3263
3264 Committed by Andrew Cagney <cagney@gnu.org>
3265 * gdb.base/remotetimeout.exp: New file.
3266
74e5ef44
MK
32672005-02-07 Mark Kettenis <kettenis@gnu.org>
3268
3269 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
3270
464dd14d
JB
32712005-02-03 Joel Brobecker <brobecker@adacore.com>
3272
3273 * gdb.ada/gnat_ada.gpr: New file.
3274 * gdb.ada/gnat_ada.gin: Delete, no longer used.
3275 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
3276 * configure.ac: No longer generate gnat_ada.gpr.
3277 * configure: Regenerate.
3278 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
3279 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
3280 * gdb.ada/null_record/bar.ads: Likewise.
3281 * gdb.ada/null_record/bar.adb: Likewise.
3282 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
3283 * gdb.ada/null_record.exp (testdir): New variable.
3284 (testfile): executable is now in testdir subdirectory.
3285 (srcfile): Use full path to the main compilation unit.
3286 * gdb.ada/fixed_points.exp: Same changes as above.
3287
30d756ae
NR
32882005-02-03 Nick Roberts <nickrob@snap.net.nz>
3289
3290 * gdb.base/interp.exp: New test.
3291
9d799f85
AC
32922005-01-24 Andrew Cagney <cagney@gnu.org>
3293
3294 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
3295
15656118
AC
32962005-01-19 Andrew Cagney <cagney@gnu.org>
3297
a892c31b
AC
3298 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
3299 configure.ac not configure.in.
3300
15656118
AC
3301 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
3302 of powerpc*-*-*.
3303 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
3304 * gdb.base/list.exp (test_list_function)
3305 (test_list_filename_and_function): Ditto.
3306 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
3307
a7b01baf
AC
33082005-01-16 Andrew Cagney <cagney@gnu.org>
3309
17d92a02
AC
3310 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
3311
a7b01baf
AC
3312 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
3313
bc8332bb
AC
33142005-01-14 Andrew Cagney <cagney@gnu.org>
3315
3316 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
3317 * gdb.mi/mi2-var-cmd.exp: Ditto.
3318
4d074752
CV
33192005-01-10 Corinna Vinschen <vinschen@redhat.com>
3320
3321 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
3322
bec39cab
AC
33232005-01-07 Andrew Cagney <cagney@gnu.org>
3324
3325 * configure.ac: Rename configure.in, require autoconf 2.59.
3326 * configure: Re-generate.
3327 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
3328 * gdb.stabs/configure: Re-generate.
3329 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
3330 * gdb.hp/configure: Re-generate.
3331 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
3332 autoconf 2.59.
3333 * gdb.hp/gdb.objdbg/configure: Re-generate.
3334 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
3335 autoconf 2.59.
3336 * gdb.hp/gdb.defects/configure: Re-generate.
3337 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
3338 autoconf 2.59.
3339 * gdb.hp/gdb.compat/configure: Re-generate.
3340 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
3341 autoconf 2.59.
3342 * gdb.hp/gdb.base-hp/configure: Re-generate.
3343 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
3344 autoconf 2.59.
3345 * gdb.hp/gdb.aCC/configure: Re-generate.
3346
f10b16d4
JB
33472004-12-15 Jim Blandy <jimb@redhat.com>
3348
3349 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
3350 under NPTL when there is debugging info available for libpthread.
3351
fb6e1814
JG
33522004-12-13 Jerome Guitton <guitton@gnat.com>
3353
3354 * gdb.ada/fixed_points.c: New file.
3355 * gdb.ada/fixed_points.exp: New file.
3356
fe46cd3a
RC
33572004-12-03 Randolph Chung <tausq@debian.org>
3358
3359 * gdb.arch/pa-nullify.exp: New file.
3360 * gdb.arch/pa-nullify.s: New file.
3361
8de0841b
RC
33622004-11-30 Randolph Chung <tausq@debian.org>
3363
3364 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
3365 instead of "tbug". Fix regexp to work properly with gdb_test.
3366
c8170782
PH
33672004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
3368
3369 * gdb.base/bitfields2.exp: New test.
3370 * gdb.base/bitfields2.c: New file.
3371
954269c2
RE
33722004-11-28 Richard Earnshaw <rearnsha@arm.com>
3373
3374 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
3375
0107feed
RC
33762004-11-16 Randolph Chung <tausq@debian.org>
3377
3378 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
3379
f073ae8c
DJ
33802004-11-14 Daniel Jacobowitz <dan@debian.org>
3381
3382 * gdb.threads/threadapply.exp: Correct "macro details" test.
3383
19ad59e7
JJ
33842004-11-11 Jeff Johnston <jjohnstn@redhat.com>
3385
3386 * gdb.threads/threadapply.exp: New test.
3387 * gdb.threads/threadapply.c: New file.
3388
9cf0961b
MK
33892004-11-07 Mark Kettenis <kettenis@gnu.org>
3390
3391 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
3392 frames.
3393
c789492a
FL
33942004-11-05 Felix Lee <felix+log1@specifixinc.com>
3395
3396 * gdb.base/cursal.exp: New file.
3397 * gdb.base/cursal.c: New file.
3398
a1e167bb
AC
33992004-11-03 Andrew Cagney <cagney@gnu.org>
3400
3401 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
3402
b7cbf173
MK
34032004-10-30 Mark Kettenis <kettenis@gnu.org>
3404
3405 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
3406 NetBSD/ELF targets.
3407
88f9d34f
JB
34082004-10-29 Joel Brobecker <brobecker@gnat.com>
3409
3410 * gdb.threads/bp_in_thread.c: New file, copied from
3411 pthread_cond_wait.c.
3412 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
3413 file, rather than reusing the .c file from another testcase.
3414
ca7d6a0c
JB
34152004-10-20 Joel Brobecker <brobecker@gnat.com>
3416
3417 * gdb.ada/null_record.exp: Check where we stopped after
3418 sending the start command, instead of where the associated
3419 temporary breakpoint was inserted.
3420
0d863d03
AC
34212004-10-14 Andrew Cagney <cagney@gnu.org>
3422
3423 * gdb.mi/gdb701.c (main): Return 0.
3424
d11e72cb
DJ
34252004-10-13 Daniel Jacobowitz <dan@debian.org>
3426
d40539a4 3427 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 3428
e1923096
JJ
34292004-10-12 Jeff Johnston <jjohnstn@redhat.com>
3430
3431 * gdb.threads/schedlock.c: Add comment markers to use to find
3432 line numbers.
3433 * gdb.threads/schedlock.exp: Adjust regex to handle the new
3434 comments.
3435 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
3436 breakpoint lines.
3437
ec8ba2c9
DJ
34382004-10-12 Daniel Jacobowitz <dan@debian.org>
3439
3440 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
3441
0eb3658b
DJ
34422004-10-12 Daniel Jacobowitz <dan@debian.org>
3443
3444 * configure.in: Add gdb.dwarf2.
3445 * configure: Regenerated.
3446 * Makefile.in: Add gdb.dwarf2.
3447 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
3448 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
3449 gdb.dwarf2/file1.txt: New files.
3450
a271cc33
OF
34512004-10-11 Orjan Friberg <orjanf@axis.com>
3452
3453 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
3454 of "run", since the latter doesn't work with remote targets. Adjust
3455 the breakpoint numbering accordingly.
3456 * gdb.threads/pthread_cond_wait.exp: Ditto.
3457
895ce074
MC
34582004-10-08 Michael Chastain <mec.gnu@mindspring.com>
3459
3460 * gdb.base/overlays.exp: Update copyright years.
3461
6be3092d
KI
34622004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
3463
3464 * gdb.base/overlays.exp: Disable if target is Linux.
3465
e05389b8
FL
34662004-10-06 Felix Lee <felix+log1@specifixinc.com>
3467
3468 * config/gdbserver.exp (gdb_load): Use right filename on remote.
3469
73cb587d
KI
34702004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
3471
3472 * gdb.asm/asm-source.exp: Add m32r-linux target.
3473 * gdb.asm/m32r-linux.inc: New file.
3474
3c0edcdc
AC
34752004-09-24 Andrew Cagney <cagney@redhat.com>
3476 David Anderson <anderson@redhat.com>
3477
3478 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
3479 command fails, assume things will work.
3480 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
3481 (_GNU_SOURCE): Define.
3482 (print_unsigned, print_hex): Change parameter to "long long".
3483 (print_byte_count): New function, use to print byte counts.
3484 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
3485 O_LARGEFILE.
3486 (main): Compute an upper bound on a corefile in max_core_size.
3487 Limit memory chunk size to max_core_size. Limit total memory
3488 allocated to max_core_size.
3489
4bb3667f
AC
34902004-09-23 Andrew Cagney <cagney@gnu.org>
3491
3492 * gdb.base/bigcore.exp: Replace the code that creates a corefile
3493 from a separate process with code that creates a corefile by
3494 making the inferior dump core.
3495
60fe1a51
MK
34962004-09-23 Mark Kettenis <kettenis@gnu.org>
3497
3498 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
3499 block.
3500
8e937346
MC
35012004-09-23 Michael Chastain <mec.gnu@mindspring.com>
3502
3503 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
3504 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
3505 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
3506 Likewise.
3507
7213f6d6
JJ
35082004-09-20 Jeff Johnston <jjohnstn@redhat.com>
3509
3510 * gdb.java/jprint.exp: New test case for java inferior call.
3511 * gdb.java/jprint.java: Ditto.
3512
eac69dca
JB
35132004-09-15 Joel Brobecker <brobecker@gnat.com>
3514
3515 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
3516
22227696
MC
35172004-09-14 Michael Chastain <mec.gnu@mindspring.com>
3518
3519 * gdb.threads/killed.c: Include <stdlib.h>.
3520 * gdb.threads/pthreads.c: Likewise.
3521
7dd403a4
MC
35222004-09-14 Michael Chastain <mec.gnu@mindspring.com>
3523
3524 * gdb.threads/killed.c: Add copyright notice.
3525
33f2d567
JM
35262004-09-10 Jason Molenda (jmolenda@apple.com)
3527
3528 * gdb.base/define.exp: Two new tests to verify zero space chars
3529 after 'if' and 'while' commands in a user-defined command is correctly
3530 parsed.
3531
e05b62ac
AC
35322004-09-08 Andrew Cagney <cagney@gnu.org>
3533
3534 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
3535 delivery test with duplicate at end of file.
3536
9cbe82da
MK
35372004-09-06 Mark Kettenis <kettenis@jive.nl>
3538
3539 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
3540
564803d9
MC
35412004-09-05 Michael Chastain <mec.gnu@mindspring.com>
3542
3543 * config/hppro.exp: Removed.
3544
7c6807ce
MC
35452004-09-05 Michael Chastain <mec.gnu@mindspring.com>
3546
3547 * config/sparclet.exp: Removed.
3548
bf7e26dd
MC
35492004-09-05 Michael Chastain <mec.gnu@mindspring.com>
3550
3551 * config/udi.exp: Removed.
3552
714e341b
MC
35532004-09-02 Michael Chastain <mec.gnu@mindspring.com>
3554
3555 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
3556 of "exp_continue".
3557 (advancei): Likewise.
3558
1236e623
JJ
35592004-09-01 Jeff Johnston <jjohnstn@redhat.com>
3560
3561 * gdb.base/unload.exp: Fix so messages aren't duplicated.
3562
3bdcad15
MI
35632004-09-01 Manoj Iyer <manjo@austin.ibm.com>
3564
228af206 3565 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
3566 to check for nodebug in executable.
3567 * gdb.gdb/observer.exp (setup_test): Likewise.
3568 * gdb.gdb/selftest.exp (test_with_self): Likewise.
3569 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
3570
c72b934c
AC
35712004-09-01 Andrew Cagney <cagney@gnu.org>
3572
3573 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
3574 files.
3575
edd9b715
JJ
35762004-09-01 Jeff Johnston <jjohnstn@redhat.com>
3577
3578 * gdb.base/unload.exp: Fix expected warning message to match
3579 latest format.
3580
fb4ce06b
CV
35812004-09-01 Corinna Vinschen <vinschen@redhat.com>
3582
3583 * gdb.base/call-rt-st.exp: Fix typos.
3584
ce78e7c3
MI
35852004-08-31 Manoj Iyer <manjo@austin.ibm.com>
3586
3587 * gdb.threads/thread_check.exp: New testcase.
3588 * gdb.threads/thread_check.c: New testcase.
3589
2dedb159
AC
35902004-08-31 Andrew Cagney <cagney@gnu.org>
3591
3592 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
3593 (skip_to_handler_entry): New procedures. Test stepping into a
3594 handler when the breakpoint is at the handler's entry point.
3595
68f53502
AC
35962004-08-30 Andrew Cagney <cagney@gnu.org>
3597
3598 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
3599 gdb/1757.
3600
3e3ffd2b
MC
36012004-08-27 Michael Chastain <mec.gnu@mindspring.com>
3602
3603 With code from Manoj Iyer <manjo@austin.ibm.com>:
3604 * lib/gdb.exp (gdb_file_cmd): Return more information in the
3605 return value. Add an arm for "no debugging symbols found".
3606 Change a stray "error" to "perror".
3607 (gdb_run_cmd): Adapt to new return value.
3608 * gdb.base/remote.exp: Adapt to new return value.
3609 * gdb.gdb/complaints.exp: Likewise.
3610 * gdb.gdb/observer.exp: Likewise.
3611 * gdb.gdb/selftest.exp: Likewise.
3612 * gdb.gdb/xfullpath.exp: Likewise.
3613
4b6f5fd2
JB
36142004-08-27 Joel Brobecker <brobecker@gnat.com>
3615
3616 * gdb.threads/bp_in_thread.exp: New testcase.
3617
e5b25496
MC
36182004-08-27 Michael Chastain <mec.gnu@mindspring.com>
3619
3620 Fix PR testsuite/1735.
3621 * gdb.threads/schedlock.c (thread_function): Add a cast
3622 to suppress a gcc warning.
3623 * gdb.threads/thread-specific.c (thread_function): Likewise.
3624
934353d6
MC
36252004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3626
3627 * gdb.base/unload.c: Include <stdlib.h>.
3628
f98a0aef 36292004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 3630
f98a0aef 3631 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
3632 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
3633 synchronized after the "return".
3634
5a2e8882
MC
36352004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3636
3637 * gdb.mi/basics.c: Include <stdio.h>.
3638 * gdb.mi/pthreads.c: Include <stdlib.h>.
3639 * gdb.mi/var-cmd.c: Include <stdlib.h>.
3640
a9640423
MC
36412004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3642
3643 * gdb.threads/schedlock.c: Add copyright notice.
3644
b04e311d
AC
36452004-08-25 Andrew Cagney <cagney@gnu.org>
3646
3647 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
3648 (skip_over_handler, breakpoint_over_hander): New test procedures.
3649 (advance, advancei): Add a proper prefix, do not use
3650 rerun_to_main.
3651 * gdb.base/sigstep.c (main): Change to use an infinite loop.
3652
7c27f15b
MC
36532004-08-24 Michael Chastain <mec.gnu@mindspring.com>
3654
3655 * gdb.mi/basics.c: Add copyright notice.
3656 * gdb.mi/var-cmd.c: Add copyright notice.
3657
fffc87ae
MC
36582004-08-23 Michael Chastain <mec.gnu@mindspring.com>
3659
3660 * lib/gdb.exp: Remove signed_keyword_not_used.
3661 * lib/compiler.c: Likewise.
3662 * lib/compiler.cc: Likewise.
3663
d782e0bf
MC
36642004-08-23 Michael Chastain <mec.gnu@mindspring.com>
3665
3666 * gdb.base/whatis.c: Remove conditional disabling of "signed".
3667 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
3668
96033e83
MC
36692004-08-23 Michael Chastain <mec.gnu@mindspring.com>
3670
3671 * gdb.base/whatis.c: Add copyright notice.
3672
cf38c229
MK
36732004-08-20 Mark Kettenis <kettenis@gnu.org>
3674
3675 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
3676 it to skip the breakpoints encoded in the inline assembly.
3677
f4b49756
MC
36782004-08-20 Michael Chastain <mec.gnu@mindspring.com>
3679
3680 * Makefile.in: Add gdb.fortran.
3681
2f193b69
MC
36822004-08-20 Michael Chastain <mec.gnu@mindspring.com>
3683
3684 * gdb.base/call-sc.exp (test_scalar_returns):
3685 Fix cut-and-paste glitch in "Make fun return now".
3686
89a237cb
MC
36872004-08-17 Michael Chastain <mec.gnu@mindspring.com>
3688
3689 * configure.in: Add gdb.fortran.
3690 * configure: Regenerate.
3691 * gdb.fortran/Makefile.in: New file.
3692 * lib/gdb.exp (skip_fortran_tests): New procedure.
3693
469aff8e
MC
36942004-08-17 Michael Chastain <mec.gnu@mindspring.com>
3695
3696 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
3697 reference to bug-gnu@prep.ai.mit.edu.
3698 * gdb.mi/mi-var-child.exp: Likewise.
3699 * gdb.mi/mi-var-cmd.exp: Likewise.
3700 * gdb.mi/mi-var-display.exp: Likewise.
3701 * gdb.mi/mi2-var-block.exp: Likewise.
3702 * gdb.mi/mi2-var-child.exp: Likewise.
3703 * gdb.mi/mi2-var-cmd.exp: Likewise.
3704 * gdb.mi/mi2-var-display.exp: Likewise.
3705
00b51b9f
MK
37062004-08-15 Mark Kettenis <kettenis@gnu.org>
3707
3708 * gdb.base/unload.c (main): Make local variable msg const.
3709
45f07fef
MC
37102004-08-15 Michael Chastain <mec.gnu@mindspring.com>
3711
3712 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
3713 to bug-gnu@prep.ai.mit.edu.
3714 * gdb.mi/mi-disassemble.exp: Likewise.
3715 * gdb.mi/mi-eval.exp: Likewise.
3716 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
3717 default line number.
3718 * gdb.mi/mi-return.exp: Likewise.
3719 * gdb.mi/mi-simplerun.exp: Likewise.
3720 * gdb.mi/mi-stack.exp: Likewise.
3721 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
3722 number with explicit range test.
3723 * gdb.mi/mi-watch.exp: Likewise.
3724 * gdb.mi/mi2-break.exp: Likewise.
3725 * gdb.mi/mi2-cli.exp: Likewise.
3726 * gdb.mi/mi2-disassemble.exp: Likewise.
3727 * gdb.mi/mi2-eval.exp: Likewise.
3728 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
3729 default line number.
3730 * gdb.mi/mi2-return.exp: Likewise.
3731 * gdb.mi/mi2-simplerun.exp: Likewise.
3732 * gdb.mi/mi2-stack.exp: Likewise.
3733 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
3734 number with explicit range test.
3735 * gdb.mi/mi2-watch.exp: Likewise.
3736
dd8c8ee7
MC
37372004-08-15 Michael Chastain <mec.gnu@mindspring.com>
3738
3739 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
3740 * gdb.cp/m-static.exp: Likewise.
3741 * gdb.cp/rtti.exp: Likewise.
3742
4e838464
MK
37432004-08-14 Mark Kettenis <kettenis@gnu.org>
3744
3745 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
3746
8d8cb839
EZ
37472004-08-14 Eli Zaretskii <eliz@gnu.org>
3748
3749 * ChangeLog: Prefix Local Variables with semi-colons and indent
3750 the reference to older ChangeLog files, to fix fontification in
3751 Emacs.
3752
deea8bb0
MC
37532004-08-13 Michael Chastain <mec.gnu@mindspring.com>
3754
3755 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
3756 * gdb.mi/mi2-break.exp: Likewise.
3757
c3297504
MC
37582004-08-13 Michael Chastain <mec.gnu@mindspring.com>
3759
3760 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
3761
25808999
MC
37622004-08-13 Michael Chastain <mec.gnu@mindspring.com>
3763
3764 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
3765
226a8d71
MC
37662004-08-13 Michael Chastain <mec.gnu@mindspring.com>
3767
3768 * gdb.cp/classes.exp: Remove unused declarations. Just let
3769 test names default instead of providing special names. Remove
3770 extraneous demangler test.
3771
37fdf854
JJ
37722004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3773
3774 * gdb.base/unload.exp: New test for breakpoints in dynamically
3775 loaded libraries.
3776 * gdb.base/unload.c: Ditto.
3777 * gdb.base/unloadshr.c: Ditto.
3778
2d3a7986
MC
37792004-08-12 Michael Chastain <mec.gnu@mindspring.com>
3780
3781 * gdb.cp/classes.exp (test_ptype_class_objects): Call
3782 cp_test_ptype_class.
3783 (test_enums): Likewise.
3784
c72b934c
AC
37852004-08-10 Andrew Cagney <cagney@gnu.org>
3786
3787 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
3788 files.
3789
cc503c8a
AC
37902004-08-10 Andrew Cagney <cagney@gnu.org>
3791
3792 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
3793 init_malloc call.
3794
902f2ccb
MC
37952004-08-10 Michael Chastain <mec.gnu@mindspring.com>
3796
3797 * ChangeLog: Add copyright notice. The notice is copied
3798 from emacs 21.3 top level ChangeLog.
3799
78c90502
MC
38002004-08-09 Michael Chastain <mec.gnu@mindspring.com>
3801
3802 * lib/cp-support.exp: New file.
3803 * lib/cp-support.exp (cp_test_type_class): New function.
3804 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
3805 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
3806 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
3807 cp_test_ptype_class.
3808
88e5ea78
MC
38092004-08-09 Michael Chastain <mec.gnu@mindspring.com>
3810
3811 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
3812 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
3813 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
3814 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
3815 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
3816 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
3817 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
3818 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
3819 gdb.mi/mi2-watch.exp: Update copyright years.
3820
6a89fc9c
MK
38212004-08-09 Mark Kettenis <kettenis@gnu.org>
3822
3823 * gdb.base/sigaltstack.exp: Provide proper anchoring.
3824
1482e0de
MC
38252004-08-09 Michael Chastain <mec.gnu@mindspring.com>
3826
3827 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
3828 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
3829 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
3830 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
3831 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
3832 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
3833 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
3834 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
3835 gdb.mi/mi-watch.exp: Update copyright years.
3836
1a5ce3f3
DJ
38372004-08-08 Daniel Jacobowitz <dan@debian.org>
3838
3839 PR gdb/1738
3840 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
3841 from a breakpoint with a pending signal.
3842
04f6ecf2
DJ
38432004-08-08 Daniel Jacobowitz <dan@debian.org>
3844
3845 PR gdb/1736
3846 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
3847 * gdb.base/sigaltstack.exp (finish_test): Consume output until
3848 the prompt.
3849 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
3850
54d90d35
DJ
38512004-08-08 Daniel Jacobowitz <dan@debian.org>
3852
3853 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
3854
d2f6abb0
DJ
38552004-08-08 Daniel Jacobowitz <dan@debian.org>
3856
3857 PR gdb/1736
3858 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
3859 for i?86-*-linux*.
3860
5598c03d
DJ
38612004-08-08 Daniel Jacobowitz <dan@debian.org>
3862
3863 * gdb.arch/i386-prologue.exp: Compile without debug information.
3864
c6fee705
MC
38652004-08-08 Michael Chastain <mec.gnu@mindspring.com>
3866
3867 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
3868 rather than asking gdb to search.
3869
dd90efdb
MC
38702004-08-05 Michael Chastain <mec.gnu@mindspring.com>
3871
3872 * gdb.base/gcore.c: Include <string.h>.
3873
1e84bec1
MC
38742004-08-05 Michael Chastain <mec.gnu@mindspring.com>
3875
3876 * gdb.base/gcore.c: Add copyright notice.
3877
e425eb2b
MC
38782004-08-05 Michael Chastain <mec.gnu@mindspring.com>
3879
3880 * gdb.base/freebpcmd.c: Include <stdio.h>.
3881 * gdb.base/long_long.c: Include <string.h>.
3882 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
3883 * gdb.base/siginfo.c: Include <string.h>.
3884 * gdb.base/sigstep.c: Include <string.h>.
3885
cb9aaed5
MC
38862004-08-04 Michael Chastain <mec.gnu@mindspring.com>
3887
3888 * gdb.base/complex.c: Include <stdlib.h>.
3889
55944f3d
MC
38902004-08-04 Michael Chastain <mec.gnu@mindspring.com>
3891
3892 * gdb.base/complex.c: Add copyright notice.
3893
7b2953d9
MC
38942004-08-04 Michael Chastain <mec.gnu@mindspring.com>
3895
3896 * gdb.base/charset.c: Include <stdlib.h>.
3897
c9133d23
MC
38982004-08-04 Michael Chastain <mec.gnu@mindspring.com>
3899
3900 * gdb.base/auxv.c: Include <stdlib.h>.
3901
0a8490ad
MC
39022004-08-04 Michael Chastain <mec.gnu@mindspring.com>
3903
3904 * gdb.base/auxv.c: Add copyright notice.
3905
3426d5ec
MC
39062004-08-04 Michael Chastain <mec.gnu@mindspring.com>
3907
3908 * gdb.base/coremaker.c: Add copyright notice.
3909 * gdb.base/coremaker2.c: Add copyright notice.
3910
8da195dd
AC
39112004-08-04 Andrew Cagney <cagney@gnu.org>
3912
3913 * gdb.base/store.exp: Update copyright.
3914 (check_set, up_set, check_struct, up_struct): Add a prefix to test
3915 names, do not import gdb_prompt.
3916
8d394f98
AC
39172004-08-01 Andrew Cagney <cagney@gnu.org>
3918
3919 Fix PR testsuite/1729.
3920 * gdb.base/dump.exp: Add test name to callers of capture_value, do
3921 not use capture_value with value 4.
3922 (capture_value): Add optional test name parameter.
3923 (test_reload_saved_value, test_restore_saved_value): Use $msg as
3924 the prefix, pass to capture_value.
3925
b6702b23
MK
39262004-08-01 Mark Kettenis <kettenis@gnu.org>
3927
3928 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
3929 * gdb.arch/i386-prologue.c (standard): New prototype and function.
3930 (main): Call new function.
3931
c203e0ca
MC
39322004-07-31 Michael Chastain <mec.gnu@mindspring.com>
3933
3934 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
3935
a7995a30
MC
39362004-07-31 Michael Chastain <mec.gnu@mindspring.com>
3937
3938 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
3939
9366563b
MC
39402004-07-31 Michael Chastain <mec.gnu@mindspring.com>
3941
b6eeaf26 3942 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
3943 Accept more values of vtbl pointer. Remove some messages
3944 about "obsolete gcc or gdb".
3945
2fc1f950
MC
39462004-07-30 Michael Chastain <mec.gnu@mindspring.com>
3947
3948 * gdb.cp/classes.exp: Accept more varieties of ptype output.
3949
c724d49b
MC
39502004-07-30 Michael Chastain <mec.gnu@mindspring.com>
3951
3952 * gdb.base/asm-source.exp: Properly convert target board
3953 debug flags from gcc format to binutils format.
3954
736b0fce
MK
39552004-07-28 Mark Kettenis <kettenis@gnu.org>
3956
3957 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
3958 gdb1718". PR backtrace/1718 partially fixed.
3959
5633ea5c
JJ
39602004-07-27 Jeff Johnston <jjohnstn@redhat.com>
3961
3962 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
3963
575eebb1
NC
39642004-07-26 Nick Clifton <nickc@redhat.com>
3965
3966 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
3967 good default value for a specific architecture is available then
3968 set it to that value. Otherwise default to the -gstabs switch.
3969 Remove the -g... switches from the asm-flags variable. Allow the
3970 target board info to override the value if it wants to. Pass the
3971 switch on the assembler command line.
3972
62104619
MK
39732004-07-23 Mark Kettenis <kettenis@gnu.org>
3974
3975 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
3976 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
3977 (main): Call new function.
3978
4a1135b8
MC
39792004-07-22 Michael Chastain <mec.gnu@mindspring.com>
3980
3981 Test for PR exp/1715.
3982 * gdb.base/radix.exp: Refactor common procedures. Make all
3983 test names unique. Change XFAIL to KFAIL.
3984
8a12c1f0
MC
39852004-07-20 Michael Chastain <mec.gnu@mindspring.com>
3986
3987 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
3988 * gdb.ada/gnat_ada.gin: ... to here.
3989 * configure.in: Use gnat_ada.gin.
3990 * configure: Regenerate.
3991
23b451cf
AC
39922004-07-20 Andrew Cagney <cagney@gnu.org>
3993
3994 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
3995 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
3996 XFAILs. Clean up test messages and comments. Check backtraces.
3997 Delete re-sync code.
3998
ab618a02
MC
39992004-07-19 Michael Chastain <mec.gnu@mindspring.com>
4000
4001 Fix PR cli/740.
4002 * gdb.base/annota1.exp: Honor gdb,nosignals.
4003 * gdb.base/annota3.exp: Likewise.
4004
46dad340
MC
40052004-07-19 Michael Chastain <mec.gnu@mindspring.com>
4006
4007 * lib/java.exp: Update copyright notice.
4008
756d8c70
AC
40092004-07-19 Andrew Cagney <cagney@gnu.org>
4010
4011 * gdb.base/selftest.exp: Copy file from here ...
4012 * gdb.gdb/selftest.exp: ... to here.
4013
586027e6
AC
40142004-07-16 Andrew Cagney <cagney@redhat.com>
4015
4016 * lib/insight-support.exp: Delete file.
4017 * lib/java.exp (java_init): Fix copyright.
4018
029d2200
AC
40192004-07-16 Andrew Cagney <cagney@gnu.org>
4020
4021 * gdb.base/restore.c: Append "prologue" to comments marking the a
4022 function's prologue.
4023 * gdb.base/restore.exp: Update copyright, re-indent.
4024 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
4025 callerN" prefix where needed. Update patterns that match a
4026 function's prologue.
4027
653b62c5
MC
40282004-07-16 Michael Chastain <mec.gnu@mindspring.com>
4029
4030 * gdb.base/restore.c: Add copyright notice.
4031
f7d690e5
AC
40322004-07-16 Andrew Cagney <cagney@gnu.org>
4033
4034 * gdb.base/logical.exp: Update copyright.
4035 (evaluate): New procedure. Use to re-implement tests using
4036 several tables.
4037
d629a7cb
MH
40382004-07-14 Martin Hunt <hunt@redhat.com>
4039
4040 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
4041 which fixes some problems where init.tcl was not found.
4042
9c7bb332
AC
40432004-07-13 Andrew Cagney <cagney@gnu.org>
4044
6bf46641
AC
4045 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
4046 (check_sizeof, check_valueof): Do not include the output in the
4047 test name. Use gdb_test.
4048 (get_valueof): Use gdb_test_multiple.
4049
c4ffd4c0
AC
4050 * gdb.base/step-test.exp: Update copyright. Use
4051 gdb_test_multiple. Ensure that test names do not include
4052 architecture dependent output.
4053
ab89363a
AC
4054 * gdb.gdb/observer.exp: Update copyright.
4055 (setup_test): Use gdb_test_multiple.
4056 (attach_first_observer, attach_second_observer)
4057 (attach_third_observer, detach_first_observer)
4058 (detach_second_observer, detach_third_observer)
4059 (reset_counters, check_counters): Make $message a prefix.
4060 (test_normal_stop_notifications): Add "args" parameter - a list of
4061 init functions to be called. Make $message a prefix,
4062 (test_observer_normal_stop): Change the message prefixes so that
4063 they are unique, pass the attach / detach procedures to
4064 test_normal_stop_notifications.
4065
ec58997a
AC
4066 * gdb.base/signull.exp (test_segv): Prefix all tests with
4067 "${name}". Clean up test messages.
4068
b475183b
AC
4069 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
4070
9c7bb332
AC
4071 * gdb.base/ena-dis-br.exp: Update copyright.
4072 (break_at): New function. Replace send_gdb with gdb_test,
4073 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
4074 ignore count, not stopped at bpt", with KFAIL.
4075
2dd95497
CV
40762004-07-13 Corinna Vinschen <vinschen@redhat.com>
4077
4078 * gdb.base/attach.exp: Remove cleanupfile handling.
4079
419e626b
AC
40802004-07-12 Andrew Cagney <cagney@gnu.org>
4081
4082 * gdb.base/annota1.exp: Cleanup corefile test name.
4083 * gdb.base/annota3.exp: Ditto.
4084
8b1b3228
AC
40852004-07-12 Andrew Cagney <cagney@gnu.org>
4086
78650829
AC
4087 * gdb.base/signals.exp: Clean up copyright, re-indent.
4088
8b1b3228
AC
4089 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
4090 gdb_test and gdb_test_multiple.
4091
935c2760
JJ
40922004-07-08 Jeff Johnston <jjohnstn@redhat.com>
4093
4094 * gdb.java/jmain.exp: Fix expected line number for main to
4095 break at. Set XFAIL for break at main test since gcj does not
4096 provide line number info for first statement in main.
4097
1544280f
AC
40982004-07-08 Andrew Cagney <cagney@gnu.org>
4099
1279f4ff
AC
4100 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
4101
1544280f
AC
4102 * gdb.base/sigbpt.exp: Make the common part of each test name a
4103 prefix instead of suffix.
4104
bcc82369
BR
41052004-07-07 Bob Rossi <bob_rossi@cox.net>
4106
4107 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
4108 test from test_tbreak_creation_and_listing to
4109 test_file_list_exec_source_file
4110 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
4111 Changed name of test from test_tbreak_creation_and_listing to
4112 test_file_list_exec_source_file
4113
23f4b0aa
JJ
41142004-07-07 Jeff Johnston <jjohnstn@redhat.com>
4115
4116 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
4117 the jmisc() constructor instead of <init>.
4118 * gdb.java/jmisc1.exp: Ditto.
4119
56401cd5
AC
41202004-07-07 Andrew Cagney <cagney@gnu.org>
4121
4122 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
4123 corrupting the PC.
4124
44ae2f6a
MC
41252004-07-06 Michael Chastain <mec.gnu@mindspring.com>
4126
4127 * gdb.cp/templates.exp: Accept whitespace change in demangler
4128 output.
4129
45a83408
AC
41302004-07-06 Andrew Cagney <cagney@gnu.org>
4131
4132 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
4133
d205ad70
MC
41342004-07-02 Michael Chastain <mec.gnu@mindspring.com>
4135
4136 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
4137 * lib/compiler.cc: Likewise.
4138
06ea1a61
MC
41392004-06-30 Michael Chastain <mec.gnu@mindspring.com>
4140
4141 * lib/compiler.cc: Work around string preprocessing problem
4142 with old hp c++ compiler.
4143 * lib/compiler.c: Likewise.
4144
daab1251
CV
41452004-06-29 Corinna Vinschen <vinschen@redhat.com>
4146
4147 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
4148 directives to conditionalize symbol prefixing.
4149 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
4150 additional_flags handling. Add underscore prefix for Cygwin.
4151 * gdb.arch/i386-unwind.c: Use preprocessor directives to
4152 conditionalize symbol prefixing.
4153 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
4154 additional_flags handling. Add underscore prefix for Cygwin.
4155
cc984116
CV
41562004-06-29 Corinna Vinschen <vinschen@redhat.com>
4157
4158 * gdb.base/bigcore.exp: Skip test on Cygwin.
4159
c279b077
MC
41602004-06-28 Michael Chastain <mec.gnu@mindspring.com>
4161
4162 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
4163 formats for "info register". Use gdb_test_multiple. Fix
4164 the "invalid register" test.
4165
0e915747
CV
41662004-06-28 Corinna Vinschen <vinschen@redhat.com>
4167
4168 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
4169 PID for Cygwin. Add Cygwin specific strings to check for in some
4170 tests.
4171 (do_attach_tests): Add a test for user interaction when attaching
4172 to a process with no matching symbol table already loaded.
4173
11422c86
AC
41742004-06-26 Andrew Cagney <cagney@gnu.org>
4175
4176 Test PR java/1567 and PR java/1565.
4177 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
4178 * gdb.java/jmisc2.exp: Delete file.
4179
cefbce26
MC
41802004-06-26 Michael Chastain <mec.gnu@mindspring.com>
4181
4182 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
4183
e19f872c
CV
41842004-06-25 Corinna Vinschen <vinschen@redhat.com>
4185
4186 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
4187 attach process.
4188
d931ba3b
MC
41892004-06-23 Michael Chastain <mec.gnu@mindspring.com>
4190
4191 * gdb.cp/pr-1553.exp: Remove.
4192
aef68c48
MC
41932004-06-22 Michael Chastain <mec.gnu@mindspring.com>
4194
4195 * gdb.cp/pr-1553.cc: Remove.
4196 * gdb.cp/pr-1553.exp: Disable this test.
4197
8d5df71a
JB
41982004-06-20 Jim Blandy <jimb@redhat.com>
4199
4200 Fix PR testsuite/1680.
4201 * gdb.arch/i386-sse.exp: Properly quote curly braces in
4202 regular expressions.
4203
4ac6f39d
MC
42042004-06-19 Michael Chastain <mec.gnu@mindspring.com>
4205
4206 Fix PR testsuite/1679.
4207 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
4208 Issue an UNSUPPORTED result instead.
4209
1b413552
JB
42102004-06-18 Jim Blandy <jimb@redhat.com>
4211
4212 * gdb.base/charset.exp: Only send a control-C if we see a new
4213 prompt and incomplete command.
4214
6daa6ebd
MC
42152004-06-18 Michael Chastain <mec.gnu@mindspring.com>
4216
4217 * gdb.cp/pr-574.cc: Add copyright notice.
4218
51fa4ae0
JB
42192004-06-17 Jim Blandy <jimb@redhat.com>
4220
4221 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
4222 cases where the regexp has no groups; this grabs random text from
4223 the previous test suite, whatever that was.
4224
8fea26c5
MC
42252004-06-17 Michael Chastain <mec.gnu@mindspring.com>
4226
4227 * gdb.cp/printmethod.cc: Add copyright notice.
4228
1e3aeb41
MC
42292004-06-16 Michael Chastain <mec.gnu@mindspring.com>
4230
4231 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
4232
9d9030bc
AC
42332004-06-16 Andrew Cagney <cagney@gnu.org>
4234
4235 * gdb.base/signull.c: Update copyright. Include <string.h>.
4236 (bowler): Replace data_pointer with data_read
4237 and data_write cases. Add code_descriptor case.
4238 (zero, desc): New array and pointer.
4239 (data, code): Change to simple pointers.
4240 * gdb.base/signull.exp: Fix probe pattern matching a function
4241 descriptor SIGSEGV. Replace data_pointer with data_read and
4242 data_write tests.
4243
acd4ad44
AC
42442004-06-16 Andrew Cagney <cagney@gnu.org>
4245
4246 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
4247
08fd625c
MC
42482004-06-15 Michael Chastain <mec.gnu@mindspring.com>
4249
4250 * gdb.base/long_long.c: Add copyright notice.
4251
1903502c
MC
42522004-06-15 Michael Chastain <mec.gnu@mindspring.com>
4253
4254 * gdb.base/long_long.exp: Remove reference to
4255 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
4256 to gdb_breakpoint and gdb_continue_to_breakpoint.
4257
83313cb1
JB
42582004-06-14 Jim Blandy <jimb@redhat.com>
4259
4260 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
4261 endian case.
4262
1bf404ef
AC
42632004-06-14 Andrew Cagney <cagney@gnu.org>
4264
4265 * gdb.base/gcore.exp (capture_command_output): Delete the always
4266 passing tests containing inferior values.
4267 * gdb.base/ending-run.exp: Do not include the breakpoint address
4268 in the test message. Update copyright.
4269 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
4270 size in the test name, use gdb_test_multiple. Update copyright.
4271
ef220b33
MC
42722004-06-14 Michael Chastain <mec.gnu@mindspring.com>
4273
4274 * gdb.cp/ref-types.cc: Add copyright notice.
4275
4f70a4c9
MC
42762004-06-14 Michael Chastain <mec.gnu@mindspring.com>
4277
4278 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
4279 hp_aCC_compiler.
4280 * lib/compiler.cc: Likewise.
4281 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
4282 'set' commands. Log diagnostics for other lines. Set
4283 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
4284
335928ac
MC
42852004-06-13 Michael Chastain <mec.gnu@mindspring.com>
4286
4287 * gdb.cp/try_catch.cc: Add copyright notice.
4288
2efb12e8
MC
42892004-06-12 Michael Chastain <mec.gnu@mindspring.com>
4290
4291 * gdb.cp/userdef.cc: Add copyright notice.
4292
0bbed51a
MC
42932004-06-11 Michael Chastain <mec.gnu@mindspring.com>
4294
4295 * gdb.cp/virtfunc.cc: Add copyright notice.
4296
e12a46c9
RC
42972004-06-11 Randolph Chung <tausq@debian.org>
4298
4299 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
4300 problem.
4301
338e05af
AC
43022004-06-10 Andrew Cagney <cagney@gnu.org>
4303
4304 * lib/compiler.cc, lib/compiler.c: Append either
4305 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
4306 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
4307 instead of gcc-3-3.
4308
dc3f10cb
AC
43092004-06-09 Andrew Cagney <cagney@gnu.org>
4310
b4d946af
AC
4311 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
4312 gdb/1455, bug is specific to "long long" and "double".
4313
dc3f10cb
AC
4314 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
4315 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
4316 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
4317 fixed.
4318
b5c0bfa2
AC
43192004-06-09 Andrew Cagney <cagney@gnu.org>
4320
4321 * gdb.base/structs.exp (test_struct_returns): Replace
4322 "return_value_unknown" and "finish_value_unknown" by
4323 "return_value_known" and "finish_value_known". Instead of
4324 "return_value_unknown" iff "finish_value_unknown", check
4325 "return_value_known" implies "finish_value_known".
4326
caeb605f
MH
43272004-06-08 Martin Hunt <hunt@redhat.com>
4328
4329 * gdb.base/float.exp: Add pattern for mips targets.
4330
c892bb64
RC
43312004-06-08 Randolph Chung <tausq@debian.org>
4332
4333 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
4334 message for unknown architectures more clear.
4335
48306d3e
JB
43362004-06-08 Joel Brobecker <brobecker@gnat.com>
4337
4338 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
4339 start the execution of the program.
4340
83ecb59f
JB
43412004-06-07 Jim Blandy <jimb@redhat.com>
4342
4343 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
4344 * gdb.arch/i386-cpuid.h: New helper file.
4345
55264cb4
RC
43462004-06-07 Randolph Chung <tausq@debian.org>
4347
4348 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
4349 has started.
4350
23cadb28
RM
43512004-06-04 Roland McGrath <roland@redhat.com>
4352
4353 Fix PR gdb/1647.
4354 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
4355 differently to be robust to output buffering differences.
4356
51d01eda
MC
43572004-06-04 Michael Chastain <mec.gnu@mindspring.com>
4358
4359 * gdb.threads/pthreads.exp: Update copyright years.
4360 (check_control_c): Change asynchronous 'after' to synchronous.
4361
f4fc3b93
RM
43622004-06-04 Roland McGrath <roland@redhat.com>
4363
4364 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
4365 next gdb prompt.
4366
4013522b
MC
43672004-06-02 Michael Chastain <mec.gnu@mindspring.com>
4368
4369 Fix PR gdb/1636.
4370 * gdb.threads/manythreads.exp: Change asynchronous 'after'
4371 calls to synchronous.
4372
7a8f1e6b
JB
43732004-05-26 Jim Blandy <jimb@redhat.com>
4374
4375 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
4376
81bb3443
RC
43772004-05-24 Randolph Chung <tausq@debian.org>
4378
4379 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
4380 * gdb.asm/pa.inc: New file.
4381
8f5a3103
MK
43822004-05-22 Mark Kettenis <kettenis@gnu.org>
4383
4384 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
4385
734b8fe8
JB
43862004-05-21 Joel Brobecker <brobecker@gnat.com>
4387 Daniel Jacobowitz <drow@mvista.com>
4388
4389 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
4390 GDB prompt.
4391
725603e1
UW
43922004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4393
f4fc3b93 4394 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
4395 setjmp/longjmp. Use sigaction instead of signal.
4396
8b923272
JB
43972004-05-19 J. Brobecker <brobecker@gnat.com>
4398 Michael Snyder <msnyder@redhat.com>
4399
4400 * gdb.threads/pthread_cond_wait.c: New file.
4401 * gdb.threads/pthread_cond_wait.exp: New testcase.
4402
8bfabb04
AC
44032004-05-13 Andrew Cagney <cagney@redhat.com>
4404
4405 * gdb.base/signull.exp, gdb.base/signull.c: New files.
4406 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
4407
42edda50
AC
44082004-05-11 Andrew Cagney <cagney@redhat.com>
4409
4410 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
4411 fixed but revealed gdb/1639.
4412
d303a6c7
AC
44132004-05-10 Andrew Cagney <cagney@redhat.com>
4414
4415 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
4416 func1" and "next to 2nd alarm", kernel bug avoided.
4417
bf08c2a1
DJ
44182004-05-10 Daniel Jacobowitz <dan@debian.org>
4419
4420 PR external/1568
4421 * gdb.base/bigcore.exp: Check the size of the dumped core file.
4422 XFAIL if it is smaller than bytes_allocated.
4423 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
4424 (main): Make chunks_allocated unsigned. Correct comment.
4425
c0586a34
JB
44262004-05-07 Joel Brobecker <brobecker@gnat.com>
4427
4428 * gdb.arch/powerpc-aix-prologue.c: New file.
4429 * gdb.arch/powerpc-aix-prologue.exp: New file.
4430
f2785d12
JB
44312004-05-07 Jim Blandy <jimb@redhat.com>
4432
4433 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
4434 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
4435
bd7f6e30
JB
44362004-05-06 Joel Brobecker <brobecker@gnat.com>
4437
4438 * gdb.base/sep.exp: No longer setup_kfail when the program was
4439 built with dwarf2.
4440
0a5e7efe
JI
44412004-05-05 Jim Ingham <jingham@apple.com>
4442
4443 * gdb.base/pending.exp: Make sure pending breakpoints
4444 preserve the ignore count.
f4fc3b93 4445
a8958849
MK
44462004-04-27 Jerome Guitton <guitton@gnat.com>
4447
4448 * i386-prologue.exp: Add testcase for jump instruction as first
4449 instruction of the real code.
4450 * i386-prologue.c (jump_at_beginning): New function.
4451
7e103f5b
MK
44522004-04-28 Mark Kettenis <kettenis@gnu.org>
4453
4454 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
4455 x86_64-*-*.
4456
5d38b224
MK
44572004-04-28 Mark Kettenis <kettenis@gnu.org>
4458
4459 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
4460 i*86-*-*.
4461
0ef32fd9
MK
44622004-04-25 Mark Kettenis <kettenis@gnu.org>
4463
4464 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
4465 expression that checks the return type.
4466
71d7dd7c
AC
44672004-04-23 Andrew Cagney <cagney@redhat.com>
4468
4469 * gdb.base/call-sc.exp: New test of scalar call/return values.
4470 * gdb.base/call-sc.c: Ditto.
4471
1e9f977e
JJ
44722004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4473
4474 * gdb.threads/manythreads.c: Reduce thread stack size.
4475
899d9e3a
JJ
44762004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4477
4478 * gdb.threads/manythreads.c: Add copyright notice.
4479
61bcae62
AC
44802004-04-23 Andrew Cagney <cagney@redhat.com>
4481
4482 * gdb.base/siginfo.exp: Better handle step out of signal.
4483 * gdb.base/sigstep.exp: Ditto.
4484
7339a42e
JJ
44852004-04-22 Jeff Johnston <jjohnstn@redhat.com>
4486 Daniel Jacobowitz <drow@mvista.com>
4487
4488 * gdb.threads/manythreads.c: New testcase.
4489 * gdb.threads/manythreads.exp: Ditto.
4490
5c98409b
JB
44912004-04-22 Jim Blandy <jimb@redhat.com>
4492
4493 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
4494 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
4495
3b611f1a
MC
44962004-04-21 Michael Chastain <mec.gnu@mindspring.com>
4497
4498 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
4499
f0fd9238
AC
45002004-04-21 Andrew Cagney <cagney@redhat.com>
4501
4502 * gdb.base/sigstep.c: New file.
4503 * gdb.base/sigstep.exp: New file.
4504
90990674
JB
45052004-04-16 Joel Brobecker <brobecker@gnat.com>
4506
4507 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
4508 call to observer_notify_normal_stop.
4509
78cef34b
AC
45102004-04-15 Andrew Cagney <cagney@redhat.com>
4511
4512 * gdb.base/siginfo.c: New file.
4513 * gdb.base/siginfo.exp: New file.
4514
d2343407
JB
45152004-04-12 J. Brobecker <brobecker@gnat.com>
4516
4517 * gdb.base/sep.exp: Fix typo in comment.
4518
a2dba3c8
JB
45192004-04-12 J. Brobecker <brobecker@gnat.com>
4520
4521 * gdb.base/sep.c: New file.
4522 * gdb.base/sep-proc.c: New file.
4523 * gdb.base/sep.exp: New testcase.
4524
15f7b60e
MK
45252004-04-09 Mark Kettenis <kettenis@gnu.org>
4526
4527 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
4528 support.
4529
44f4de1a
AC
45302004-04-05 Andrew Cagney <cagney@redhat.com>
4531
4532 * gdb.base/sigaltstack.c: New file.
4533 * gdb.base/sigaltstack.exp: New file.
4534
ef04f396
JB
45352004-04-04 Joel Brobecker <brobecker@gnat.com>
4536
4537 * gdb.base/foll-fork.exp: Update the expected output for
4538 "help set follow-fork-mode", to match a change that was made
4539 to the help of this variable on 2004-01-13.
4540
d40d2c92
JB
45412004-04-01 Joel Brobecker <brobecker@gnat.com>
4542
4543 * lib/ada.exp: Add copyright notice.
4544 * bar.ads: Likewise.
4545 * bar.adb: Likewise.
4546 * null_record.adb: Likewise.
4547 * null_record.exp: Likewise.
4548 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
4549
f86ef5a3
JB
45502004-04-01 Joel Brobecker <brobecker@gnat.com>
4551
4552 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
4553 * configure: Regenerate.
4554
414e70e3
JB
45552004-04-01 Joel Brobecker <brobecker@gnat.com>
4556
4557 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
4558 to build the application. Remove the message printed when in
4559 verbose mode, redundant with the UNSUPPORTED message above.
4560
f0aaee49
JB
45612004-03-31 Joel Brobecker <brobecker@gnat.com>
4562
4563 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
4564 * gdb.ada (null_record.exp): New testcase.
4565
ac81cb54
JB
45662004-03-31 Joel Brobecker <brobecker@gnat.com>
4567
4568 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
4569
854af2f7
JB
45702004-03-31 Joel Brobecker <brobecker@gnat.com>
4571
4572 * gdb.ada: New subdirectory.
4573 * gdb.ada/Makefile.in: New file.
4574 * gdb.ada/gnat_ada.gpr.in: New file.
4575
034cb681
JB
45762004-03-31 Joel Brobecker <brobecker@gnat.com>
4577
4578 * lib/ada.exp: New file.
4579
78a1a894
DJ
45802004-03-24 Daniel Jacobowitz <drow@mvista.com>
4581
4582 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
4583 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
4584
4b2b3b3e
AC
45852004-03-22 Andrew Cagney <cagney@redhat.com>
4586
4587 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
4588 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
4589 Problem identified by Ulrich Weigand.
4590
23c73aa3
DC
45912004-03-17 David Carlton <carlton@kealia.com>
4592
4593 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
4594 PR c++/826.
4595
d63a86f8
RM
45962004-03-16 Roland McGrath <roland@redhat.com>
4597
4598 * gdb.base/auxv.exp: New file.
4599 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
4600
0e02aa50
DC
46012004-03-12 David Carlton <carlton@kealia.com>
4602
4603 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
4604 * gdb.cp/pr-1553.cc: Ditto.
4605 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
4606 pass branch.
4607
c20b71be
MC
46082004-03-12 Michael Chastain <mec.gnu@mindspring.com>
4609
4610 * gdb.cp/templates.exp: Accept more template types.
4611
c7414a01
MC
46122004-03-09 Michael Chastain <mec.gnu@mindspring.com>
4613
4614 From Corinna Vinschen with modifications.
4615 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
4616 local variable obj_with_enum.
4617 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
4618 results with obj_with_enum.
4619
ed69573c
MC
46202004-03-09 Michael Chastain <mec.gnu@mindspring.com>
4621
4622 * gdb.cp/classes.cc: New file, copied from misc.cc.
4623 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
4624
28301461
MC
46252004-03-09 Michael Chastain <mec.gnu@mindspring.com>
4626
4627 * gdb.cp/misc.cc: Add copyright notice.
4628
1198ecbe
DC
46292004-03-05 David Carlton <carlton@kealia.com>
4630
4631 * gdb.cp/rtti.exp: Add 'print *obj3' test.
4632 * gdb.cp/rtti.h: Update copyright.
4633 (namespace n2::n3): New.
4634 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
4635 (n2::n3::func3): New.
4636 (main): Call n2::n3::func3.
4637 * gdb.cp/rtti2.cc: Update copyright.
4638 (n2::create3): New.
4639
9e08c470
MK
46402004-03-04 Mark Kettenis <kettenis@gnu.org>
4641
4642 * gdb.asm/openbsd.inc: Fix typo.
4643
4bebc3aa
FF
46442004-03-03 Fred Fish <fnf@redhat.com>
4645
4646 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
4647 "val" instead of unused "size". Update copyright year.
4648
6ea9fb37
DJ
46492004-02-29 Daniel Jacobowitz <drow@mvista.com>
4650
4651 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
4652 to use unsigned char.
4653 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
4654 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
4655
23b23974
DJ
46562004-02-29 Daniel Jacobowitz <drow@mvista.com>
4657
4658 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
4659 line of output.
4660
7574fd53
DJ
46612004-02-28 Daniel Jacobowitz <drow@mvista.com>
4662
4663 * gdb.base/relocate.c (dummy): Initialize.
4664
a195357f
DJ
46652004-02-28 Daniel Jacobowitz <drow@mvista.com>
4666
4667 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
4668 a breakpoint at exit.
4669
72fd54a9
FF
46702004-02-27 Fred Fish <fnf@redhat.com>
4671
4672 * gdb.base/chng-syms.exp: Add expect condition to match failing
4673 case that isn't a timeout.
4674
b9d23137
AC
46752004-02-27 Andrew Cagney <cagney@redhat.com>
4676
4677 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
4678 support.
4679
15d208f6 46802004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 4681
15d208f6
FF
4682 * gdb.arch/gdb1431.c: Remove.
4683 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
4684 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
4685 of "until" incorrectly.
4686
98f9cd2d
JB
46872004-02-26 J. Brobecker <brobecker@gnat.com>
4688
4689 * gdb.cp/class2.cc (empty): New class.
4690 (refer): New function.
4691 (main): Declare an object of type empty and use it.
4692 * gdb.cp/class2.exp: Print the value of an object of type empty.
4693
9b50c11b
JJ
46942004-02-26 Jeff Johnston <jjohnstn@redhat.com>
4695
4696 * gdb.base/langs.exp: Update query string to match the
4697 new nquery format used for pending breakpoints.
4698
0dcd613f
AC
46992004-02-26 Andrew Cagney <cagney@redhat.com>
4700
4701 Fix PR i18n/1570.
4702 * gdb.base/charset.c: Update copyright notice.
4703 (main, init_string): Remove the escape character '\e' tests.
4704 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
4705 * gdb.base/charset.exp (valid_host_charset): Ditto.
4706 * gdb.base/setvar.exp: Ditto.
4707
b8a56647
AC
47082004-02-24 Andrew Cagney <cagney@redhat.com>
4709
90d59e34
AC
4710 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
4711 mmapped data in core file" PASS and FAIL messages consistent.
4712
b8a56647
AC
4713 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
4714 setting a breakpoint. Work around PR java/1565.
4715
9f27c604
JJ
47162004-02-23 Jeff Johnston <jjohnstn@redhat.com>
4717
4718 * lib/gdb.exp (gdb_breakpoint): Update query string to match
4719 new nquery format.
4720 * gdb.base/pending.exp: Ditto.
4721
3224a706
MK
47222004-02-22 Mark Kettenis <kettenis@gnu.org>
4723
4724 * configure.in: Run stabs tests on *BSD.
4725 * configure: Regenerated.
4726
41e0a9ca
MK
47272004-02-21 Mark Kettenis <kettenis@gnu.org>
4728
4729 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
4730
1e1b3428
FF
47312004-02-20 Fred Fish <fnf@redhat.com>
4732
4733 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
4734 blank in test for "returns short", for consistency with other
4735 "returns xxx" tests. Update copyright year.
4736
f9a7572a
FF
47372004-02-19 Fred Fish <fnf@redhat.com>
4738
4739 New testcase for PR breakpoint/1558.
4740 * gdb.arch/gdb1558.exp: New file.
4741 * gdb.arch/gdb1558.c: New file.
4742
b2ce2854
EZ
47432004-02-19 Elena Zannoni <ezannoni@redhat.com>
4744
4745 * gdb.base/nodebug.exp: Fix typo.
4746
e7c9ff01
JB
47472004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4748
4749 Committed by Jim Blandy <jimb@redhat.com>.
4750
62f4b920
JB
4751 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
4752
2db536a1
JB
4753 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
4754
e7c9ff01
JB
4755 * gdb.base/float.exp: Support s390*-*-* targets.
4756
f3205b34
AF
47572004-02-17 Adam Fedor <fedor@gnu.org>
4758
4759 * gdb.base/gdb1555.exp: New file.
4760 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
4761
9d62932d
EZ
47622004-02-17 Elena Zannoni <ezannoni@redhat.com>
4763
4764 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
4765
344c9711
FF
47662004-02-16 Fred Fish <fnf@redhat.com>
4767
4768 * gdb.arch/gdb1291.c: Remove
4769 * gdb.arch/gdb1291.s: New test input file.
4770 * gdb.arch/gdb1291.exp: Expand test to check case that should not
4771 fail. Test for correct result, known incorrect result, other
4772 failures and timeouts.
4773
2d822687
AC
47742004-02-16 Andrew Cagney <cagney@redhat.com>
4775
4776 * gdb.base/bigcore.exp: New file.
4777 * gdb.base/bigcore.c: New file.
4778
dac15b66
AC
47792004-02-13 Andrew Cagney <cagney@redhat.com>
4780
4781 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
4782 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
4783 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
4784 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
4785 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
4786 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
4787 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
4788 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
4789 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
4790 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
4791
6bdfc2c4
JJ
47922004-02-11 Jeff Johnston <jjohnstn@redhat.com>
4793
4794 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
4795 executed is an alloc instruction.
4796
87b3ede8
DC
47972004-02-11 David Carlton <carlton@kealia.com>
4798
4799 * gdb.cp/breakpoint.exp: New.
4800 * gdb.cp/breakpoint.cc: New.
4801
6e19e2bf
MC
48022004-02-11 Michael Chastain <mec.gnu@mindspring.com>
4803
4804 Partial fix for PR gdb/1543.
4805 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
4806 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
4807 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
4808 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
4809 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
4810 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
4811 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
4812 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
4813 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
4814 to bug-gdb@prep.ai.mit.edu .
4815 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
4816 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
4817 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
4818 Likewise.
4819
5c5455dc
AC
48202004-02-10 Andrew Cagney <cagney@redhat.com>
4821
4822 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
4823 using gdb_internal_error_resync.
4824
9cf689d7
DJ
48252004-02-09 Daniel Jacobowitz <drow@mvista.com>
4826
4827 * gdb.threads/thread-specific.exp: Stop early if no threads are
4828 found.
4829
d2dc51db
MC
48302004-02-09 Michael Chastain <mec.gnu@mindspring.com>
4831
4832 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
4833
14b1a056
DJ
48342004-02-08 Daniel Jacobowitz <drow@mvista.com>
4835
4836 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
4837 breakpoints.
4838
83f66e8f
DJ
48392004-02-07 Daniel Jacobowitz <drow@mvista.com>
4840
4841 * config/sim.exp (gdb_load): Handle $arg == "".
4842 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
4843 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
4844
30fc0091
EZ
48452004-02-07 Elena Zannoni <ezannoni@redhat.com>
4846
4847 * gdb.base/maint.exp: Update test to reflect
4848 obstack changes.
4849
4d806929
JJ
48502004-02-04 Jeff Johnston <jjohnstn@redhat.com>
4851
4852 * gdb.base/pendshr.c (pendfunc): New function that calls
4853 pendfunc1.
4854 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
4855
7bfdd688
FF
48562004-02-04 Fred Fish <fnf@redhat.com>
4857
4858 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
4859 function symbols and update copyright years.
4860 * gdb.arch/gdb1291.c: Ditto.
4861
aaa08ee4
MC
48622004-02-03 Michael Chastain <mec.gnu@mindspring.com>
4863
4864 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
4865
dbad7755
MC
48662004-02-03 Michael Chastain <mec.gnu@mindspring.com>
4867
4868 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
4869
ec4646ef
MC
48702004-02-03 Michael Chastain <mec.gnu@mindspring.com>
4871
4872 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
4873
1b802196
FF
48742004-02-02 Fred Fish <fnf@redhat.com>
4875
4876 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
4877 remote targets. Update copyright years.
4878
18fe2033
JJ
48792004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4880
4881 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
4882 support.
4883 * gdb.base/langs.exp: Fix test which attempts to create
4884 breakpoint on non-existent function to handle new pending
4885 support.
4886 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
4887 a breakpoint.
4888 * gdb.base/pending.exp: New test.
4889 * gdb.base/pending.c: New file.
4890 * gdb.base/pendshr.c: Ditto.
4891
8d577d32
DC
48922004-02-02 David Carlton <carlton@kealia.com>
4893
4894 * gdb.cp/overload.exp: Add overloadNamespace tests.
4895 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
4896 (overloadNamespace, XXX): New.
4897 (main): Call XXX::marker2.
4898
3ad13771
FF
48992004-02-01 Fred Fish <fnf@redhat.com>
4900
4901 * gdb.base/dump.exp: Use runto_main instead of "runto main".
4902 * gdb.base/finish.exp: Ditto.
4903 * gdb.base/gcore.exp: Ditto.
4904 * gdb.base/huge.exp: Ditto.
4905 * gdb.base/info-proc.exp: Ditto.
4906 * gdb.base/return2.exp: Ditto.
4907 * gdb.threads/gcore-thread.exp: Ditto.
4908
44c75849
DJ
49092004-02-01 Daniel Jacobowitz <drow@mvista.com>
4910
4911 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
4912
005bc093
MK
49132004-02-01 Mark Kettenis <kettenis@gnu.org>
4914
4915 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
4916 that opening the file succeeds on OpenBSD.
4917
c47cebdb
DJ
49182004-02-01 Daniel Jacobowitz <drow@mvista.com>
4919
4920 * gdb.threads/thread-specific.c: New file.
4921 * gdb.threads/threads-specific.exp: New test script.
4922 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
4923 to expect_out.
4924
5a01311c
MK
49252004-02-01 Mark Kettenis <kettenis@gnu.org>
4926
4927 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
4928 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
4929 only on the "print_small_structs from print_long_arg_list" test.
4930
ce22a4f1
DJ
49312004-02-01 Daniel Jacobowitz <drow@mvista.com>
4932
4933 * gdb.base/completion.exp: Kill a stray backslash.
4934
4935 From Jim Ingham <jingham@apple.com>:
4936 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
4937 agrees with the result from sending a tab.
4938
abbab9d3
DJ
49392004-01-31 Daniel Jacobowitz <drow@mvista.com>
4940
4941 * gdb.base/chng-syms.exp: Remove stray newline.
4942
53904d1e
MK
49432004-01-31 Mark Kettenis <kettenis@gnu.org>
4944
4945 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
4946 *-*-openbsd*.
4947 * gdb.asm/openbsd.inc: New file.
4948
3a4b3aac
MK
49492004-01-30 Mark Kettenis <kettenis@gnu.org>
4950
4951 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
4952 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
4953 *-*solaris2*. Remove commented out default settings for
4954 asm-flags. Replace gdb_compile with target_link.
4955
ebac27b4
MC
49562004-01-29 Michael Chastain <mec.gnu@mindspring.com>
4957
4958 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
4959 for all tests. Remove old hp-ux and cygnus xfail cases.
4960
d8679d84
PH
49612004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
4962
4963 * gdb.base/chng-syms.exp: New file.
4964 * gdb.base/chng-syms.c: New file.
4965
0a55bc22
MC
49662004-01-24 Michael Chastain <mec.gnu@mindspring.com>
4967
4968 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
4969 Provide arms for current output in all my configurations.
4970
94b8e876
MC
49712004-01-24 Michael Chastain <mec.gnu@mindspring.com>
4972
4973 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
4974 * lib/compiler.cc: Likewise.
4975 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
4976 get the right preprocessor. Eval the output directly. Remove
4977 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
4978 hp_f77_compiler and hp_f90_compiler completely.
4979 (gdb_preprocess): Delete.
4980 (get_compiler): Delete.
4981
7cf03d44
MK
49822004-01-24 Mark Kettenis <kettenis@gnu.org>
4983
4984 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
4985 <string.h>.
4986
68b6dce9
NR
49872004-01-24 Nick Roberts <nick@nick.uklinux.net>
4988
4989 * gdb.mi/mi-stack.exp: Update copyright.
4990
b368761e
DC
49912004-01-23 David Carlton <carlton@kealia.com>
4992
4993 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
4994 test for cp_lookup_transparent_type.
4995 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
4996 call them.
4997
f2061b53
DJ
49982004-01-23 Daniel Jacobowitz <drow@mvista.com>
4999
5000 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
5001 after -var-update.
5002
37fc574a
DC
50032004-01-23 David Carlton <carlton@kealia.com>
5004
5005 * gdb.cp/namespace.cc (C::ensureRefs): New.
5006 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
5007
8e94b928
NR
50082004-01-20 Nick Roberts <nick@nick.uklinux.net>
5009
5010 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
5011 case "-stack-list-locals 2".
5012 * gdb.mi/mi-var-child.exp: Test for case
5013 "-var-list-children --all-values NAME".
5014
997b0952
MC
50152004-01-18 Michael Chastain <mec.gnu@mindspring.com>
5016
5017 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
5018
52470da3
MK
50192004-01-18 Mark Kettenis <kettenis@gnu.org>
5020
7049b4b8
MK
5021 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
5022 used with gdb_test_multiple.
5023
52470da3
MK
5024 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
5025 read at address 0. This fixes PR testsuite/1504.
5026
da6012e5
DJ
50272004-01-18 Daniel Jacobowitz <drow@mvista.com>
5028
5029 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
5030 Remove downloading, guessing the host executable, the calls to
5031 gdb_file_cmd and gdb_target_cmd, and "load" support.
5032 (infer_host_exec): New function broken out from gdb_load.
5033 (gdb_load): New wrapper for gdbserver_gdb_load.
5034 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
5035 gdb_target_cmd. Use -target-select.
5036 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
5037 Download binaries to the host. Clear last_mi_remote_file when
5038 we load a new binary.
5039 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
5040 call gdbserver_gdb_load and mi_gdb_target_cmd.
5041
32c70722
MC
50422004-01-17 Michael Chastain <mec.gnu@mindspring.com>
5043
5044 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
5045 type patterns.
5046
b0cecf36
MC
50472004-01-17 Michael Chastain <mec.gnu@mindspring.com>
5048
5049 * gdb.cp/templates.exp: Fix typo in test name of
5050 "print Foo<volatile char*>::foo".
5051
4120d7e6
MC
50522004-01-15 Michael Chastain <mec.gnu@mindspring.com>
5053
5054 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
5055
f679e530
BE
50562004-01-16 Ben Elliston <bje@wasabisystems.com>
5057
5058 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
5059 (clean mostlyclean): Remove empty rm.
5060
091c48f6
MC
50612004-01-15 Michael Chastain <mec.gnu@mindspring.com>
5062
5063 * gdb.base/setvar.exp: Add copyright years.
5064
3e5fc8d2
DC
50652004-01-14 David Carlton <carlton@bactrian.org>
5066
5067 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
5068 PR c++/1511 and update coment.
5069 * gdb.cp/templates.exp: Update patterns to match current output.
5070 If changes involve something other than whitespace, KFAIL
5071 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
5072
63d06c5c
DC
50732004-01-14 David Carlton <carlton@kealia.com>
5074
5075 * gdb.cp/namespace.exp: Add tests involving classes defined within
5076 namespaces.
5077 * gdb.cp/namespace.cc (C::CClass): New.
5078 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
5079
a51dab88
EZ
50802004-01-14 Elena Zannoni <ezannoni@redhat.com>
5081
5082 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
5083 what debug info we have. Print a better message if something goes
5084 wrong while producing the separate debug info file.
5085
a476ccc9
MC
50862004-01-14 Michael Chastain <mec.gnu@mindspring.com>
5087
5088 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
5089
f453692c
MC
50902004-01-14 Michael Chastain <mec.gnu@mindspring.com>
5091
5092 * gdb.base/callfuncs.c: Add copyright notice.
5093
f40063a5
MC
50942004-01-13 Michael Chastain <mec.gnu@mindspring.com>
5095
5096 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
5097 inheritance. PR gdb/1498, PR gcc/13539.
5098
19ac3974
EZ
50992004-01-13 Elena Zannoni <ezannoni@redhat.com>
5100
5101 * gdb.threads/gcore-thread.exp: Prefix name of binary with
5102 test specific name.
5103 * gdb.mi/gdb669.exp: Ditto.
5104 * gdb.mi/mi-pthreads.exp: Ditto.
5105 * gdb.mi/mi1-pthreads.exp: Ditto.
5106 * gdb.mi/mi2-pthreads.exp: Ditto.
5107
56c97c6e
MC
51082004-01-12 Michael Chastain <mec.gnu@mindspring.com>
5109
5110 * gdb.cp/member-ptr.cc: Add copyright notice.
5111
a0644324
MC
51122004-01-12 Michael Chastain <mec.gnu@mindspring.com>
5113
5114 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
5115 some patterns for recent versions of gcc and hpacc. Delete
5116 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
5117 Delete tests that access a NULL pointer-to-member-data. This
5118 script is still disabled for gcc.
5119
32fabe09
EZ
51202004-01-12 Elena Zannoni <ezannoni@redhat.com>
5121
5122 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
5123 escaped correctly.
5124
1f8a6abb
EZ
51252004-01-12 Elena Zannoni <ezannoni@redhat.com>
5126
5127 * gdb.base/sepdebug.exp: New file.
5128 * gdb.base/sepdebug.c: New file.
5129 * lib/gdb.exp (separate_debug_filename): New procedure.
5130 (gdb_gnu_strip_debug): New procedure.
5131
48efe704
AC
51322004-01-12 Andrew Cagney <cagney@redhat.com>
5133
5134 * gdb.mi/ChangeLog: Delete file. Renamed to ...
5135 * gdb.mi/ChangeLog-1999-2003: New file.
5136
a9415475
AC
51372004-01-12 Andrew Cagney <cagney@redhat.com>
5138
5139 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
5140 "Renaming a directory to a non-empty directory returns ENOTEMPTY
5141 or EEXIST", treat EBUSY as an XFAIL.
5142
83b8cf9d
MC
51432004-01-11 Michael Chastain <mec.gnu@mindspring.com>
5144
5145 * gdb.base/scope.exp: Remove obsolete setup_xfail for
5146 hp_cc_compiler.
5147
9939d2a8
MC
51482004-01-10 Michael Chastain <mec.gnu@mindspring.com>
5149
5150 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
5151 decorations.
5152
1ff8cadf
MC
51532004-01-10 Michael Chastain <mec.gnu@mindspring.com>
5154
5155 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
5156 and "(aCC)" decorations. Remove obsolete doco about old
5157 test results.
5158
6fa9022e
MC
51592004-01-09 Michael Chastain <mec.gnu@mindspring.com>
5160
5161 * gdb.cp/exception.exp: Fix typo in doco.
5162
209721fe
MK
51632004-01-09 Mark Kettenis <kettenis@gnu.org>
5164
5165 * gdb.base/gdb1476.exp: Fix typo.
5166
ef11303e
MC
51672004-01-09 Michael Chastain <mec.gnu@mindspring.com>
5168
5169 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
5170 file.
5171
041ab88c
MC
51722004-01-09 Michael Chastain <mec.gnu@mindspring.com>
5173
5174 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
5175 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
5176 Use gdb_compile. Remove restriction on gcc. Add some patterns
5177 for recent version of gdb. Delete second half, which was a copy
5178 of the first half with different build flags. This test is
5179 still disabled because it is still not ready for production.
5180
e36d075a
MC
51812004-01-08 Michael Chastain <mec.gnu@mindspring.com>
5182
5183 * gdb.cp/exception.cc: Add copyright notice.
5184 * gdb.cp/exception.exp: Add a notice that this file is broken
5185 because of line number changes caused by addition of copyright
5186 notice.
5187
42b190ad
MC
51882004-01-08 Michael Chastain <mec.gnu@mindspring.com>
5189
5190 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
5191 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
5192
8f25f06b
MC
51932004-01-08 Michael Chastain <mec.gnu@mindspring.com>
5194
5195 * gdb.cp/classes.exp: Accept gnu abi 2.
5196 * gdb.cp/derivation.exp: Likewise.
5197 * gdb.cp/overload.exp: Likewise.
5198 * gdb.cp/virtfunc.exp: Likewise.
5199
06ded8b8
MC
52002004-01-08 Michael Chastain <mec.gnu@mindspring.com>
5201
5202 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
5203 semicolon after end of function.
5204
77c26ae3
MC
52052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5206
5207 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
5208 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
5209 boilerplate code for compiling and running the program under
5210 test. Add some string method tests.
5211
20757486
MC
52122004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5213
5214 * gdb.cp/bs15503.cc: Add copyright notice.
5215 * gdb.cp/bs15503.exp: Adjust line number.
5216
0fd3b503
MC
52172004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5218
5219 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
5220 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
5221
10d1bea8
MC
52222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5223
5224 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
5225 hp_cc_compiler.
5226
2789202a
MC
52272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5228
5229 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
5230 * gdb.cp/ctti.exp: Use the marker instead of "next".
5231 With gcc, run further before bailing.
5232
b862f14c
MC
52332004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5234
5235 * gdb.cp/cttiadd.cc: Add copyright notice.
5236 * gdb.cp/cttiadd1.cc: Likewise.
5237 * gdb.cp/cttiadd2.cc: Likewise.
5238 * gdb.cp/cttiadd3.cc: Likewise.
5239
96da2469
MC
52402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5241
5242 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
5243 Use gdb_test, gdb_test_multiple. Use floating-point values that
5244 have exact representations in IEEE-ish formats.
5245
053248ff
MC
52462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5247
5248 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
5249 compilers. Delete duplicate call to get_compiler_info.
5250 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
5251 * gdb.base/volatile.exp: Likewise.
5252
84acecdd
MK
52532004-01-07 Mark Kettenis <kettenis@gnu.org>
5254
5255 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
5256 memory at address 0.
5257
fe11a27f
MC
52582004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5259
5260 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
5261 to test for hp-ux assembler. Fix copyright years.
5262
60ad077b
AC
52632004-01-07 Andrew Cagney <cagney@redhat.com>
5264
5265 * gdb.base/fileio.c (strerrno): Add "EBUSY".
5266
1c9b8f33
AC
52672004-01-07 Andrew Cagney <cagney@redhat.com>
5268
5269 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
5270 when creating the read-only file. From analysis by Roland McGrath
5271 and Elena Zannoni.
5272
753ccc7a
MC
52732004-01-06 Michael Chastain <mec.gnu@mindspring.com>
5274
5275 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
5276
eca3e36b
MC
52772004-01-06 Michael Chastain <mec.gnu@mindspring.com>
5278
5279 * gdb.base/cvexpr.c: Be type-safe with function pointers and
5280 data pointers.
5281
f8d4bac4
MC
52822004-01-06 Michael Chastain <mec.gnu@mindspring.com>
5283
5284 * gdb.cp/m-static.exp: Compile one source file at a time.
5285 Delete unused call to get_compiler_info.
5286
9b4e0f94
MC
52872004-01-06 Michael Chastain <mec.gnu@mindspring.com>
5288
5289 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
5290 * gdb.base/call-rt-st.exp: Likewise.
5291 * gdb.base/nodebug.exp: Likewise.
5292 * gdb.base/volatile.exp: Likewise.
5293 * gdb.cp/ref-types.exp: Likewise.
5294 * gdb.cp/templates.exp: Likewise.
5295
023c1024
MK
52962004-01-05 Mark Kettenis <kettenis@gnu.org>
5297
5298 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
5299
19703c4a
MC
53002004-01-05 Michael Chastain <mec.gnu@mindspring.com>
5301
5302 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
5303 hppa*-hp-hpux*.
5304
18b67037
MK
53052004-01-04 Mark Kettenis <kettenis@gnu.org>
5306
ba6219c8
MK
5307 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
5308 x86_64-*-*.
5309
18b67037
MK
5310 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
5311 sparc64-*-* and sparc*-solaris2*.
5312
1bfbbb9d
MK
53132004-01-04 Mark Kettenis <kettenis@gnu.org>
5314
5315 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
5316 return ${tests}" test. The ${tests} already mentions the
5317 filename.
5318
06846494
MC
53192004-01-02 Michael Chastain <mec.gnu@mindspring.com>
5320
5321 * gdb.cp/local.exp: Accept gcc abi 2.
5322
3b0cb202
MC
53232004-01-02 Michael Chastain <mec.gnu@mindspring.com>
5324
5325 * gdb.cp/templates.exp: Accept gcc abi 2.
5326
0643ec3f
MC
53272004-01-02 Michael Chastain <mec.gnu@mindspring.com>
5328
5329 * lib/compiler.cc: Remove supports_template_debugging.
5330 * gdb.cp/templates.exp: Do not test supports_template_debugging.
5331
d231d0b1
MC
53322004-01-01 Michael Chastain <mec.gnu@mindspring.com>
5333
5334 * gdb.cp/namespace.exp: Accept gcc abi 2.
5335
44ffb27c
MC
53362004-01-01 Michael Chastain <mec.gnu@mindspring.com>
5337
5338 * gdb.cp/method.exp: Accept gcc abi 2.
5339
184ad485
MC
53402004-01-01 Michael Chastain <mec.gnu@mindspring.com>
5341
5342 * gdb.cp/classes.exp: Generate identical results as old version.
5343 * gdb.cp/derivation.exp: Likewise.
5344 * gdb.cp/overload.exp: Likewise.
5345 * gdb.cp/virtfunc.exp: Likewise.
5346
116f09e7
MC
53472004-01-01 Michael Chastain <mec.gnu@mindspring.com>
5348
5349 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
5350 mysterious bug with sourceware version of expect.
5351
b1379776
MC
53522004-01-01 Michael Chastain <mec.gnu@mindspring.com>
5353
5354 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
5355 current versions of gcc, including gcc abi 2. Remove gratuitous
5356 restart of test program. Use gdb_test_multiple and gdb_test for
5357 all tests. Add patterns to xfail missing "const" in "const char *"
5358 and kfail PR gdb/1155.
5359
6b7a4c0e
MC
53602004-01-01 Michael Chastain <mec.gnu@mindspring.com>
5361
5362 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
5363 current versions of gcc, including gcc abi 2. Remove gratuitous
5364 restart of test program. Use gdb_test_multiple and gdb_test for
5365 all tests. Add patterns to kfail PR gdb/1498.
5366
51615d72
MC
53672003-12-31 Michael Chastain <mec.gnu@mindspring.com>
5368
5369 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
5370 current versions of gcc, including gcc abi 2. Use "breakpoint"
5371 and "continue" instead of restarting the target program. Use
5372 gdb_test_multiple and gdb_test for all tests.
5373
7b79a9d7
MK
53742004-01-01 Mark Kettenis <kettenis@gnu.org>
5375
5376 * gdb.asm/asm-source.exp: Update copyright year. Link statically
5377 for *-*-solaris2*.
5378
1cd3489f
MC
53792003-12-31 Michael Chastain <mec.gnu@mindspring.com>
5380
5381 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
5382 current versions of gcc, including gcc abi 2. Use "breakpoint"
5383 and "continue" instead of restarting the target program several
5384 times. Use gdb_test_multiple and gdb_test for all tests.
5385
850742db
MC
53862003-12-18 Michael Chastain <mec.gnu@mindspring.com>
5387
5388 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
5389 source files.
5390
eb4bbda8
MC
53912003-12-16 Michael Chastain <mec.gnu@mindspring.com>
5392
5393 * gdb.base/environ.exp: Handle compiling test case from multiple
5394 source files.
5395
e42c7771
MC
53962003-12-16 Michael Chastain <mec.gnu@mindspring.com>
5397
5398 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
5399
80e4b428
JB
54002003-12-17 Jim Blandy <jimb@redhat.com>
5401
5f06973a
JB
5402 * gdb.base/freebpcmd.c: Add copyright notice.
5403
80e4b428
JB
5404 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
5405
0ab84fb7
MC
54062003-12-16 Michael Chastain <mec.gnu@mindspring.com>
5407
5408 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
5409
1b3bb3d0
JB
54102003-12-13 Jim Blandy <jimb@redhat.com>
5411
5412 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
5413
3a4c9371
KB
54142003-12-12 Kevin Buettner <kevinb@redhat.com>
5415
5416 * gdb.asm/frv.inc: New file.
5417 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
5418
a1dea79a
FF
54192003-12-09 Fred Fish <fnf@redhat.com>
5420
5421 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
5422 functions to break1.c and leave prototypes behind. Add more
5423 "set breakpoint NN here" comments.
5424 * gdb.base/break1.c: New file.
5425
5426 * gdb.base/break.exp: Handle compiling test case from multiple
5427 source files and change source file references as needed.
5428 * gdb.base/completion.exp: Ditto.
5429 * gdb.base/condbreak.exp: Ditto.
5430 * gdb.base/define.exp: Ditto.
5431 * gdb.base/ena-dis-br.exp: Ditto.
5432 * gdb.base/info-proc.exp: Ditto.
5433 * gdb.base/maint.exp: Ditto.
5434 * gdb.base/until.exp: Ditto.
5435
5436 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
5437 hardcoded line numbers.
5438 * gdb.base/define.exp: Ditto.
5439 * gdb.base/ena-dis-br.exp: Ditto.
5440 * gdb.base/maint.exp: Ditto.
5441 * gdb.base/until.exp: Ditto.
5442
5443 * gdb.base/completion.exp: Use "break1" for completion tests since
5444 "break" is no longer a unique prefix.
5445
5266b69c
AC
54462003-12-06 Andrew Cagney <cagney@redhat.com>
5447
5448 * gdb.base/structs.exp (test_struct_returns): When applicable, set
5449 "return_value_unimplemented". When an unimplemented struct return
5450 architecture, report incorrect values as a KFAIL
5451
374451f0
MC
54522003-12-05 Michael Chastain <mec.gnu@mindspring.com>
5453
5454 * gdb.cp/rtti.exp: Accept new wording of warning from
5455 cp_lookup_rtti_type.
5456
ba9b20a7
MC
54572003-12-05 Michael Chastain <mec.gnu@mindspring.com>
5458
5459 Partial fix for PR testsuite/1456.
5460 * gdb.base/scope.exp (test_at_main): Replace references to
5461 gcc_compiled with calls to test_compiler_info.
5462 (test_at_foo): Likewise.
5463 (test_at_bar): Likewise.
5464
b74b6d0b
MC
54652003-12-04 Michael Chastain <mec.gnu@mindspring.com>
5466
5467 Partial fix for PR testsuite/1456.
5468 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
5469 to test_compiler_info.
5470
ccfa3402
MC
54712003-12-03 Michael Chastain <mec.gnu@mindspring.com>
5472
5473 * gdb.base/so-impl-ld.exp: Update copyright notice.
5474
f6246aba
MC
54752003-12-02 Michael Chastain <mec.gnu@mindspring.com>
5476
5477 Partial fix for PR testsuite/1456.
5478 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
5479 to test_compiler_info.
5480
13ae734a
MC
54812003-11-28 Michael Chastain <mec.gnu@mindspring.com>
5482
5483 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
5484 from current versions of gdb. Clean up regular expressions.
5485 Delete redundant timeout case.
5486
d8e1cdee
MC
54872003-11-28 Michael Chastain <mec.gnu@mindspring.com>
5488
5489 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
5490 from current versions of gdb. Clean up regular expressions.
5491 Delete redundant timeout case.
5492
96457b64
MC
54932003-12-01 Michael Chastain <mec.gnu@mindspring.com>
5494
5495 Partial fix for PR testsuite/1456.
5496 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
5497 gcc_compiled with call to test_compiler_info.
5498
f35309fc
MC
54992003-11-30 Michael Chastain <mec.gnu@mindspring.com>
5500
5501 Partial fix for PR testsuite/1456.
5502 * gdb.base/list.exp (test_list_function): Delete unused declaration
5503 of gcc_compiled.
5504
d7afdf9b
MC
55052003-11-29 Michael Chastain <mec.gnu@mindspring.com>
5506
5507 Partial fix for PR testsuite/1456.
5508 * gdb.base/complex.exp: Replace reference to gcc_compiled with
5509 call to test_compiler_info.
5510
71507b56
MK
55112003-11-29 Mark Kettenis <kettenis@gnu.org>
5512
5513 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
5514 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
5515 it to create the appropriate note.inc.
5516 * gdb.asm/asmsrc1.s: Include "note.inc".
5517 * gdb.asm/netbsd.inc: New file.
5518 * gdb.asm/empty.inc: New file.
5519
f81f93f7
MC
55202003-11-28 Michael Chastain <mec.gnu@mindspring.com>
5521
5522 Partial fix for PR testsuite/1456.
5523 * gdb.base/constvars.exp: Replace references to gcc_compiled with
5524 calls to test_compiler_info.
5525
9a77938e
MC
55262003-11-27 Michael Chastain <mec.gnu@mindspring.com>
5527
5528 Partial fix for PR testsuite/1456.
5529 * gdb.base/volatile.exp: Replace references to gcc_compiled with
5530 calls to test_compiler_info.
5531
e8367dc7
MK
55322003-11-27 Mark Kettenis <kettenis@gnu.org>
5533
5534 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
5535 pattern for the KFAILs.
5536
526c61ee
AF
55372003-11-25 Adam Fedor <fedor@gnu.org>
5538
5539 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
5540 * gdb.objc/objcdecode.m: New file.
5541
28f2d600
AF
55422003-11-25 Adam Fedor <fedor@gnu.org>
5543
5544 * gdb.objc/nondebug.exp: Test for PR objc/1236.
5545 * gdb.objc/nondebug.m: New file.
5546
a3895cee
BE
55472003-11-26 Ben Elliston <bje@wasabisystems.com>
5548
5549 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
5550 NetBSD as it does on FreeBSD. Modelled on a similar change by
5551 Mark Kettenis on 2003-05-30.
5552 (link-flags): Set to "--entry _start" regardless of target.
5553 Special linker flags are to be appended to $link-flags.
5554 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
5555
c9f2c8a3
MC
55562003-11-25 Michael Chastain <mec.gnu@mindspring.com>
5557
5558 * gdb.cp/method.exp: Accept output of new demangler.
5559
15a0587a 55602003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
5561
5562 * gdb/class2.exp: New file.
5563 * gdb/class2.cc: New file.
5564
3c00b570
MC
55652003-11-25 Michael Chastain <mec.gnu@mindspring.com>
5566
5567 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
5568 of new demangler.
5569
7027acc7
MK
55702003-11-23 Mark Kettenis <kettenis@gnu.org>
5571
5572 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
5573 of gdb_test "run".
5574
b0e1598a
MK
55752003-11-23 Mark Kettenis <kettenis@gnu.org>
5576
5577 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
5578 "continue" into "run".
5579
4d9eda44
MC
55802003-11-23 Michael Chastain <mec.gnu@mindspring.com>
5581
5582 Partial fix for PR testsuite/1456.
5583 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
5584 call to test_compiler_info.
5585 * gdb.cp/ctti.exp: Likewise.
5586 * gdb.cp/derivation.exp: Likewise.
5587 * gdb.cp/member-ptr.exp: Likewise.
5588 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
5589 reference to gcc_compiled.
5590
55912003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
5592
5593 Fix PR testsuite/1463.
5594 * gdb.base/structs.exp (start_structs_test): Call
5595 get_debug_format before using the debug format.
5596
d422fe19
AC
55972003-11-22 Andrew Cagney <cagney@redhat.com>
5598
5599 * lib/gdb.exp (gdb_test_multiple): Add simple example.
5600 * gdb.base/structs.exp: Use gdb_test_multiple.
5601
039cf96d
AC
56022003-11-20 Andrew Cagney <cagney@redhat.com>
5603
6882279b
AC
5604 * gdb.base/structs.exp: Handle and recover from internal errors.
5605 Replace "foo${n}" with "foo<n>" in test messages.
5606
e53890ae
AC
5607 * gdb.base/structs.exp: Update copyright. Rewrite.
5608 * gdb.base/structs.c: Update copyright. Rewrite.
5609
2b211c59
AC
5610 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
5611 resync count exceeded.
d63a86f8 5612
039cf96d
AC
5613 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
5614 from the internal error.
5615 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
5616 Original from Jim Blandy.
5617 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 5618
eac98b22
AC
56192003-11-19 Andrew Cagney <cagney@redhat.com>
5620
5621 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
5622 KFAIL.
5623
67455b2a
MK
56242003-11-17 Mark Kettenis <kettenis@gnu.org>
5625
5626 New testcase for PR backtrace/1435.
5627 * gdb.arch/i386-unwind.exp: New file.
5628 * gdb.arch/i386-unwind.c: New file.
5629
853d6e5b
AC
56302003-11-17 Andrew Cagney <cagney@redhat.com>
5631
5632 * lib/gdb.exp (compiler_info): New global.
5633 (test_compiler_info): New function.
5634 (get_compiler_info): Set compiler_info.
5635 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
5636 "compiler_info" to gcc-<major>-<minor>.
5637
38cf6e11
MC
56382003-11-15 Michael Chastain <mec.gnu@mindspring.com>
5639
5640 * gdb.trace/configure: Remove.
5641
a50d3602
EZ
56422003-11-13 Elena Zannoni <ezannoni@redhat.com>
5643
5644 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 5645 breakpoints.
a50d3602
EZ
5646 * gdb.base/break.exp: Remove all references to explicit line
5647 numbers.
5648
d9407aaa
NC
56492003-11-11 Nick Clifton <nickc@redhat.com>
5650
5651 * gdb.base/shreloc.exp: Do not run for targets which do not
5652 support shared objects.
5653
db488fc1
CV
56542003-11-10 Corinna Vinschen <vinschen@redhat.com>
5655
5656 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
5657 Don't run tests if nofileio flag is given.
5658
6a90a18e
EZ
56592003-11-07 Elena Zannoni <ezannoni@redhat.com>
5660
5661 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
5662 as well as 'Watchpoint'.
5663
0b915e9c
EZ
56642003-11-06 Elena Zannoni <ezannoni@redhat.com>
5665
5666 Reported by Jim Ingham <jingham@apple.com>:
5667 * gdb.base/annota1.exp: Match at least one occurrence of the
5668 signal handler annotation.
5669
d7e4b55f
EZ
56702003-11-06 Elena Zannoni <ezannoni@redhat.com>
5671
5672 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
5673 as well as 'Watchpoint'.
5674
2fe4e8d0
MC
56752003-11-05 Michael Chastain <mec@shout.net>
5676
5677 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
5678
6ef88553
KW
56792003-11-03 Kris Warkentin <kewarken@qnx.com>
5680
5681 * gdb.arch/gdb1291.c: New test file.
5682 * gdb.arch/gdb1291.exp: New test script.
5683 * gdb.arch/gdb1431.c: New test file.
5684 * gdb.arch/gdb1431.exp: New test script.
5685
ae7dc4d8
MC
56862003-10-22 Michael Chastain <mec@shout.net>
5687
5688 * gdb.mi/pthreads.c: Add copyright notice.
5689
c39d7427
MC
56902003-10-22 Michael Chastain <mec@shout.net>
5691
5692 * gdb.threads/pthreads.c: Add copyright notice.
5693
8b7d96c1
MC
56942003-10-20 Michael Chastain <mec@shout.net>
5695
5696 * gdb.base/gdb1056.exp: New test script.
5697
d1d69fdd
DJ
56982003-10-13 Daniel Jacobowitz <drow@mvista.com>
5699
5700 * gdb.threads/killed.exp: Use gdb_run_cmd.
5701
7d605576
DJ
57022003-10-13 Daniel Jacobowitz <drow@mvista.com>
5703
5704 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
5705 create a core file.
5706 * gdb.threads/gcore-thread.exp: Likewise.
5707
618ec112
CV
57082003-10-13 Corinna Vinschen <vinschen@redhat.com>
5709
5710 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
5711 type, based on char type.
5712 (struct bit_flags_short_t): New bitfield type, based on short type.
5713 (init_bit_flags_char): New fuction.
5714 (init_bit_flags_short): Ditto.
5715 (print_bit_flags_char): Ditto.
5716 (print_bit_flags_short): Ditto.
5717 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
5718
9367a73c
MC
57192003-10-11 Michael Chastain <mec@shout.net>
5720
5721 * gdb.base/call-rt-st.exp: Update copyright year.
5722
1decf120
KI
57232003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
5724
5725 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
5726 * gdb.disasm/sh3.s: Ditto.
5727
5445b2ae
DJ
57282003-10-07 Daniel Jacobowitz <drow@mvista.com>
5729
5730 * gdb.threads/switch-threads.exp: New test.
5731 * gdb.threads/switch-threads.c: New source file.
5732
aec24853
CV
57332003-10-07 Corinna Vinschen <vinschen@redhat.com>
5734
5735 * gdb.base/ending-run.exp: Add sh specific case.
5736
adc7428d
AC
57372003-10-06 Andrew Cagney <cagney@redhat.com>
5738
5739 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
5740 * gdb.disasm/mn10200.exp: Delete obsolete file.
5741
c9d37158
DJ
57422003-09-29 Daniel Jacobowitz <drow@mvista.com>
5743
5744 * ChangeLog: Correct an entry command.exp -> commands.exp.
5745 * gdb.base/commands.exp (bp_deleted_in_command_test)
5746 (temporary_breakpoint_commands): Check noargs.
5747
79c2c32d
DC
57482003-09-25 David Carlton <carlton@kealia.com>
5749
5750 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
5751 of some print tests, where appropriate. Add tests for C::D::cd,
5752 E::ce, F::cXfX, G::XgX.
5753 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
5754
594e6d67
RE
57552003-09-25 Richard Earnshaw <rearnsha@arm.com>
5756
5757 * lib/java.exp (java_init): Import target_alias before using it.
5758
10f0d451
DC
57592003-09-25 David Carlton <carlton@kealia.com>
5760
5761 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
5762
274bcba0
EZ
57632003-09-23 Elena Zannoni <ezannoni@redhat.com>
5764
d63a86f8 5765 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
5766 weirdness.
5767
cdbf20f7
MC
57682003-09-17 Michael Chastain <mec@shout.net>
5769
5770 * gdb.cp/gdb1355.exp: New file.
5771 * gdb.cp/gdb1355.c: New file.
5772
71e06f80
CV
57732003-09-15 Corinna Vinschen <vinschen@redhat.com>
5774
5775 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
5776 * gdb.asm/sh.inc: New file.
5777
5c4e30ca
DC
57782003-09-11 David Carlton <carlton@kealia.com>
5779
bd45b7af
DC
5780 * gdb.cp/namespace.exp: Add tests for namespace types.
5781 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
5782 (test_namespace): New.
5783
1c199746
EZ
57842003-09-11 Elena Zannoni <ezannoni@redhat.com>
5785
5786 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 5787 * gdb.stabs/weird.exp: Ditto.
1c199746 5788
04ed252f
MC
57892003-09-08 Michael Chastain <mec@shout.net>
5790
5791 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
5792
d8a2d9e7
MC
57932003-09-07 Michael Chastain <mec@shout.net>
5794
5795 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
5796 'parse error'.
5797
161afb24
MK
57982003-09-07 Mark Kettenis <m.kettenis@osp.nl>
5799
5800 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
5801
49f2741a
MC
58022003-08-30 Michael Chastain <mec@shout.net>
5803
5804 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
5805 * gdb.gdb/observer.exp: Ditto.
5806 * gdb.gdb/xfullpath.exp: Ditto.
5807
8afa723e
MK
58082003-08-29 Mark Kettenis <kettenis@gnu.org>
5809
5810 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
5811 *-*-*bsd*.
5812
f31dfe3b
JJ
58132003-08-28 Jeff Johnston <jjohnstn@redhat.com>
5814
5815 * gdb.base/dump.exp: Skip for ia64.
5816
4630e498
JJ
58172003-08-25 Jeff Johnston <jjohnstn@redhat.com>
5818
5819 * gdb.asm/asm-source.exp: Add ia64 support.
5820 * gdb.asm/ia64.inc: New file.
5821
1105b7ef
MC
58222003-08-22 Michael Chastain <mec@shout.net>
5823
5824 * gdb.cp: New directory.
5825 * gdb.cp/*: Copy from gdb.c++/*.
5826 * gdb.c++/*: Remove.
5827 * Makefile.in: Change gdb.c++ to gdb.cp.
5828 * configure.in: Ditto.
5829 * configure: Regnerate.
5830
c945b932
MK
58312003-08-18 Mark Kettenis <kettenis@gnu.org>
5832
5833 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
5834 * gdb.arch/i386-prologue.c (gdb1338): Add function.
5835
2b66634b
DJ
58362003-08-17 Daniel Jacobowitz <drow@mvista.com>
5837
5838 * mi-var-display.exp (-var-list-children weird): Accept function
5839 pointers with argument types.
5840 * mi1-var-display.exp (-var-list-children weird): Likewise.
5841 * mi2-var-display.exp (-var-list-children weird): Likewise.
5842
a356f73b
DJ
58432003-08-17 Daniel Jacobowitz <drow@mvista.com>
5844
5845 * gdb.base/annota3.exp: Add missing newline.
5846
483417b8
MC
58472003-08-06 Michael Chastain <mec@shout.net>
5848
5849 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
5850
c99c59c3
MS
58512003-08-12 Michael Snyder <msnyder@redhat.com>
5852
5853 * gdb.base/float.exp: Add test for SH.
5854
55ed7501
MK
58552003-08-10 Mark Kettenis <kettenis@gnu.org>
5856
5857 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
5858
1a371f2e
EZ
58592003-08-07 Elena Zannoni <ezannoni@redhat.com>
5860
5861 * gdb.base/completion.exp: Remove reduntant completion test
5862 on filename.
5863
e0f353ce
EZ
58642003-08-07 Elena Zannoni <ezannoni@redhat.com>
5865
5866 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
5867 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
5868 gdb.trace/save-trace.exp: Make sure that full pathnames are
5869 escaped correctly.
5870
5710a1af 58712003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 5872
5710a1af
EZ
5873 * configure.in: Don't generate config.h from config.hin.
5874 * configure: Regenerate.
5875 * config.hin: Remove file.
5876 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
5877 * gdb.threads/pthreads.c: Ditto.
5878
dcd81ce9
DJ
58792003-08-07 Daniel Jacobowitz <drow@mvista.com>
5880
5881 From Kei Sakamoto <sakamoto.kei@renesas.com>:
5882 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
5883 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
5884 Replace ld24 with seth/add3.
5885
6009d884
AC
58862003-08-02 Andrew Cagney <cagney@redhat.com>
5887
5888 * gdb.base/annota3.exp: New file.
5889 * gdb.base/annota3.c: New file.
5890 * gdb.c++/annota3.exp: New file.
5891 * gdb.c++/annota3.cc: New file.
5892
51514e06
MC
58932003-07-29 Michael Chastain <mec@shout.net>
5894
5895 * gdb.threads/tls.c (spin): Check errno only if sem_wait
5896 actually failed.
5897 (do_pass): Likewise.
5898 * gdb.threads/tls.exp: Always initialize no_of_threads.
5899
4ee6625b
DJ
59002003-07-27 Daniel Jacobowitz <drow@mvista.com>
5901
5902 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
5903 pattern.
5904 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
5905 * gdb.threads/tls.exp: Recognize one case of the host library not
5906 supporting TLS.
5907
225f2bf6
AC
59082003-07-27 Andrew Cagney <cagney@redhat.com>
5909
5910 * gdb.base/fileio.exp: Use SH when running commands using
5911 remote_exec.
5912
bcb27c9f
DJ
59132003-07-24 Daniel Jacobowitz <drow@mvista.com>
5914
5915 From Kei Sakamoto <sakamoto.kei@renesas.com>:
5916 * gdb.base/relocate.c (dummy): New padding array.
5917
3d67be83
MS
59182003-07-22 Michael Snyder <msnyder@redhat.com>
5919
d63a86f8 5920 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
5921
5922 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
5923 patterns to be more general, accepting old and new output.
5924 Some output chars (such as '+') also must be quoted.
d63a86f8 5925 Some addresses are displayed numerically instead of
3d67be83
MS
5926 symbolically.
5927
57ba3b85
MS
59282003-07-23 Michael Snyder <msnyder@redhat.com>
5929
686d097c
MS
5930 * gdb.base/return2.exp: Don't test long-long return.
5931
57ba3b85
MS
5932 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
5933 * gdb.disasm/t01_mov.exp: Ditto.
5934 * gdb.disasm/t02_mova.s: Ditto.
5935 * gdb.disasm/t02_mova.exp: Ditto.
5936 * gdb.disasm/t03_add.s: Ditto.
5937 * gdb.disasm/t03_add.exp: Ditto.
5938 * gdb.disasm/t04_sub.s: Ditto.
5939 * gdb.disasm/t04_sub.exp: Ditto.
5940 * gdb.disasm/t05_cmp.s: Ditto.
5941 * gdb.disasm/t05_cmp.exp: Ditto.
5942 * gdb.disasm/t06_ari2.s: Ditto.
5943 * gdb.disasm/t06_ari2.exp: Ditto.
5944 * gdb.disasm/t07_ari3.s: Ditto.
5945 * gdb.disasm/t07_ari3.exp: Ditto.
5946 * gdb.disasm/t08_or.s: Ditto.
5947 * gdb.disasm/t08_or.exp: Ditto.
5948 * gdb.disasm/t09_xor.s: Ditto.
5949 * gdb.disasm/t09_xor.exp: Ditto.
5950 * gdb.disasm/t10_and.s: Ditto.
5951 * gdb.disasm/t10_and.exp: Ditto.
5952 * gdb.disasm/t11_logs.s: Ditto.
5953 * gdb.disasm/t11_logs.exp: Ditto.
5954 * gdb.disasm/t12_bit.s: Ditto.
5955 * gdb.disasm/t12_bit.exp: Ditto.
5956 * gdb.disasm/t13_otr.s: Ditto.
5957 * gdb.disasm/t13_otr.exp: Ditto.
5958
e00759ef
EZ
59592003-07-22 Elena Zannoni <ezannoni@redhat.com>
5960
5961 * gdb.threads/tls.exp :Add kfail for 'info address' case.
5962
8bc2021f
EZ
59632003-07-22 Elena Zannoni <ezannoni@redhat.com>
5964
5965 * gdb.threads/tls.c : New file.
5966 * gdb.threads/tls.exp : New file.
5967 * gdb.threads/tls-main.c : New file.
5968 * gdb.threads/tls-shared.c : New file.
5969 * gdb.threads/tls-shared.exp : New file.
5970
89320c4c
AS
59712003-07-22 Andreas Schwab <schwab@suse.de>
5972
5973 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
5974
180dea7c
AS
59752003-07-20 Andreas Schwab <schwab@suse.de>
5976
5977 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
5978 due to insn reordering.
5979
0714963c
AC
59802003-07-15 Andrew Cagney <cagney@redhat.com>
5981
5982 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
5983
98a23b3f
MC
59842003-07-15 Michael Chastain <mec@shout.net>
5985
5986 * gdb.base/gdb1250.exp: New file.
5987 * gdb.base/gdb1250.c: New file.
5988
27e417a2
ML
59892003-07-09 Michal Ludvig <mludvig@suse.cz>
5990
5991 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
5992 expansion of size_t to 'unsigned long', not only to 'unsigned'.
5993
8bc2021f
EZ
59942003-07-09 Elena Zannoni <ezannoni@redhat.com>
5995
5996 * gdb.threads/tls.c: New file.
5997 * gdb.threads/tls.exp: New file.
5998 * gdb.threads/tls-main.c: New file.
5999 * gdb.threads/tls-shared.c: New file.
6000 * gdb.threads/tls-shared.exp: New file.
6001
d99968dc
EZ
60022003-07-09 Elena Zannoni <ezannoni@redhat.com>
6003
6004 * gdb.base/annota1.exp: Make sure that we properly escape the
6005 full path of the source file. Xfail more permissive patterns,
d63a86f8 6006 due to a compiler debug info problem.
d99968dc 6007
83876b3b
AS
60082003-07-07 Andreas Schwab <schwab@suse.de>
6009
2705e972
AS
6010 * gdb.asm/m68k.inc: New file.
6011 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
6012
83876b3b
AS
6013 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
6014 arguments"): Also match negative number.
6015
6016 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
6017
3a871b37
DJ
60182003-07-03 Daniel Jacobowitz <drow@mvista.com>
6019
6020 * gdb.base/store.c (charest): New typedef.
6021 (add_char): Rename to add_charest, update.
6022 (wack_char): Rename to wack_charest, update types. Return l + r
6023 to keep r live across the call.
6024 (wack_short, wack_int, wack_long, wack_longest, wack_float)
6025 (wack_double, wack_doublest): Return l + r to keep r live across
6026 the call.
6027 * gdb.base/store.exp: Accomodate store.c changes.
6028
b2a7f303
DC
60292003-06-30 David Carlton <carlton@kealia.com>
6030
6031 * gdb.c++/maint.exp (test_invalid_name): New.
6032 (test_first_component): Add tests for invalid names.
6033
3c6cb4a1
MC
60342003-06-29 Michael Chastain <mec@shout.net>
6035
6036 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
6037 output of '<VTT for class>' for virtual base classes.
6038
f1c2644b
DJ
60392003-06-29 Daniel Jacobowitz <drow@mvista.com>
6040
6041 * gdb.base/completion.exp: Tab-complete "complet" instead of
6042 "compl".
6043 * gdb.base/complex.exp, gdb.base/complex.c: New files.
6044
18080350
DJ
60452003-06-29 Daniel Jacobowitz <drow@mvista.com>
6046
6047 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
6048 * gdb.base/volatile.exp: Likewise.
6049
f56973f8
DJ
60502003-06-29 Daniel Jacobowitz <drow@mvista.com>
6051
6052 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
6053 gdb/1265.
6054
60552003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
6056 Daniel Jacobowitz <drow@mvista.com>
6057
6058 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
6059 initial line count of 'captured_main' from 26 to 32.
6060 (test_with_self): Allow xmalloc call to be interleaved with the
6061 preceding two lines.
6062
e766d4d6
JB
60632003-06-24 Joel Brobecker <brobecker@gnat.com>
6064
6065 * gdb.base/bang.exp: New testcase.
6066
f125c9a4
JB
60672003-06-23 Joel Brobecker <brobecker@gnat.com>
6068
6069 * gdb.base/langs.exp: Add some tests for the "minimal" language
6070 support.
6071
6e25beaf
EZ
60722003-06-23 Elena Zannoni <ezannoni@redhat.com>
6073
6074 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
6075 the testcase.
6076
2f816dda
DJ
60772003-06-22 Daniel Jacobowitz <drow@mvista.com>
6078
6079 * gdb.base/relocate.exp: Test add-symbol-file with a variable
6080 offset.
6081
db5a5748
DJ
60822003-06-22 Daniel Jacobowitz <drow@mvista.com>
6083
6084 * gdb.c++/pr-1210.cc: New file.
6085 * gdb.c++/pr-1210.exp: New file.
6086
1df0c130
DJ
60872003-06-21 Daniel Jacobowitz <drow@mvista.com>
6088
6089 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
6090 000-exec-continue.
6091
a92feac0
MK
60922003-06-15 Mark Kettenis <kettenis@gnu.org>
6093
6094 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
6095 on *-*-*bsd* instead of *-*-freebsd*.
6096
81a58f5b
AC
60972003-06-14 Andrew Cagney <cagney@redhat.com>
6098
6099 * gdb.base/store.exp: Test longest and doublest. Test all
6100 parameters. Weaken return statement match.
6101 * gdb.base/store.c: Add longest and doublest - aka long long and
6102 long double functions. Put all parameters into local register
6103 variables. Use negative values.
6104
b257a0d3
AC
61052003-06-14 Andrew Cagney <cagney@redhat.com>
6106
6107 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
6108 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
6109 exit status.
6110 * gdb.base/fileio.exp: Disable target when nointerrupts and
6111 noinferiorio, instead of limiting it to remote. Use remote_exec
6112 instead of system.
d63a86f8 6113
21c38304
JJ
61142003-06-12 Jeff Johnston <jjohnstn@redhat.com>
6115
6116 * gdb.base/float.exp: Add ia64 support.
6117
1bcdb424
CV
61182003-06-12 Corinna Vinschen <vinschen@redhat.com>
6119
6120 * gdb.base/fileio.exp: Run only on remote targets.
6121
6aeb981f
CV
61222003-06-10 Corinna Vinschen <vinschen@redhat.com>
6123
6124 * gdb.base/fileio.c: New file, testing File-I/O.
6125 * gdb.base/fileio.exp: Ditto.
6126
53df362e
RG
61272003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
6128
6129 * gdb.base/shreloc.exp: New file, check symbol values obtained from
6130 shared objects after relocation at load time (gdb PR/1132).
6131 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
6132 as above, part of the shared object relocation test.
6133
ffee1b46
MK
61342003-06-08 Mark Kettenis <kettenis@gnu.org>
6135
b5ca3722
MK
6136 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
6137 fully filled history list.
6138 * gdb.base/gdb_history: New file.
6139
03ed860d
MK
6140 * gdb.base/signals.exp: XFAIL "continue to func1" on
6141 i*86-*-freebsd*.
6142
ffee1b46
MK
6143 * gdb.base/attach.exp: When trying to attach to a nonexistent
6144 process, make it possible to specify the PID based on the target,
6145 and do so for *-*-freebsd*.
6146
d80dbb52
RH
61472003-06-02 Richard Henderson <rth@redhat.com>
6148
6149 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
6150
6dd77b81
RH
61512003-06-02 Richard Henderson <rth@redhat.com>
6152
6153 * gdb.base/selftest.exp: Next over lim_at_start initialization.
6154
f6347e16
RH
61552003-06-02 Richard Henderson <rth@redhat.com>
6156
6157 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
6158
2c161407
DJ
61592003-06-01 Daniel Jacobowitz <drow@mvista.com>
6160
6161 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
6162 of globalvar.
6163
572eb746
MK
61642003-06-01 Mark Kettenis <kettenis@gnu.org>
6165
6166 * gdb.asm/asm-source.exp: Check for memory read errors in
6167 disassembler test on *BSD too.
6168
9e9617a5
RH
61692003-06-01 Richard Henderson <rth@redhat.com>
6170
6171 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
6172 for .frame.
6173 (gdbasm_call): Lose ldgp.
6174 (gdbasm_startup): Add frame information.
6175 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
6176
7b34ad4e
MK
61772003-05-31 Mark Kettenis <kettenis@gnu.org>
6178
6179 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
6180 i?86-*-*.
6181
10059fdf
MK
61822003-05-30 Mark Kettenis <kettenis@gnu.org>
6183
6184 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
6185 FreeBSD.
6186
acf4b816
RH
61872003-05-29 Richard Henderson <rth@redhat.com>
6188
6189 * gdb.asm/alpha.inc: New file.
6190 * gdb.asm/asm-source.exp: Use it.
6191
e9ecd949
JB
61922003-05-29 Jim Blandy <jimb@redhat.com>
6193
6194 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
6195 'core.PID'.
6196
e3e5a4f3
JB
61972003-05-22 Jim Blandy <jimb@redhat.com>
6198
6199 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
6200 backtrace.
d63a86f8 6201
72fe3d25
DC
62022003-05-20 David Carlton <carlton@math.stanford.edu>
6203
6204 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
6205 this time.
6206
58da2eb2
DC
62072003-05-19 David Carlton <carlton@bactrian.org>
6208
6209 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
6210 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
6211
1fcb5155
DC
62122003-05-19 David Carlton <carlton@bactrian.org>
6213
6214 * gdb.c++/namespace.exp: Add namespace scope and anonymous
6215 namespace tests.
6216 Bump copyright date.
6217 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
6218 (main): Call C::D::marker2.
6219 * gdb.c++/namespace1.cc: New file.
6220
85e85163
JJ
62212003-05-14 Jeff Johnston <jjohnstn@redhat.com>
6222
6223 Roland McGrath <roland@redhat.com>
d63a86f8 6224 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
6225 there is no manager thread.
6226
a25fbfec
JJ
62272003-05-08 Jeff Johnston <jjohnstn@redhat.com>
6228
d63a86f8
RM
6229 * gdb.threads/schedlock.exp: Remove assumption that all threads
6230 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
6231 in one of the child threads rather than the main thread.
6232
be375bae
JB
62332003-05-07 Jim Blandy <jimb@redhat.com>
6234
09bf6082
JB
6235 Add support for assembly source testing on the s390x.
6236 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
6237 architecture.
6238 * gdb.asm/s390x.inc: New file.
6239
be375bae
JB
6240 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
6241 succession of 'if' statements.
6242
00905d52
AC
62432003-05-05 Andrew Cagney <cagney@redhat.com>
6244
6245 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
6246
b1e29e33
AC
62472003-05-05 Andrew Cagney <cagney@redhat.com>
6248
6249 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
6250 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
6251
e33d66ec
EZ
62522003-05-02 Elena Zannoni <ezannoni@redhat.com>
6253
6254 * gdb.base/charset.exp: Update based on new behavior of set/show
6255 charset commands.
6256
2b6fd0d8
AC
62572003-05-01 Andrew Cagney <cagney@redhat.com>
6258
6259 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
6260 variable do not give memory errors.
6261
130cacce
AF
62622003-04-30 Adam Fedor <fedor@gnu.org>
6263
6264 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
6265 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
6266 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
6267 gdb.objc/basicclass.m: : New files
6268
6269 * lib/gdb.exp (gdb_compile_objc): New procedure.
6270
bea71854
DJ
62712003-04-27 Daniel Jacobowitz <drow@mvista.com>
6272
6273 * gdb.base/signals.exp: Make backtrace tests more specific.
6274
0f20eeea
DC
62752003-04-23 David Carlton <carlton@bactrian.org>
6276
6277 * gdb.c++/maint.exp (test_first_component): Add tests for
6278 'operator' in more locations.
6279
c8c4d8dc
KB
62802003-04-16 Kevin Buettner <kevinb@redhat.com>
6281
6282 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
6283
3fe60e3c
EZ
62842003-04-16 Elena Zannoni <ezannoni@redhat.com>
6285
6286 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
6287 func marke' instead. Update test name.
6288
9219021c
DC
62892003-04-15 David Carlton <carlton@math.stanford.edu>
6290
6291 * gdb.c++/maint.exp: New file.
6292
5dd55bdd
EZ
62932003-04-14 Elena Zannoni <ezannoni@redhat.com>
6294
6295 * gdb.threads/schedlock.c: Change type of thread function argument
6296 to long, to avoid warnings on 64-bit platforms.
6297
00890572
EZ
62982003-04-14 Elena Zannoni <ezannoni@redhat.com>
6299
6300 * gdb.base/attach.exp: Add new message from ptrace in case of
6301 attaching to nonexistent process.
d63a86f8 6302
93201743
JB
63032003-04-11 Jim Blandy <jimb@redhat.com>
6304
6305 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
6306 gdb.c++/userdef.cc: Place comments on the lines to which the
6307 marker function might return.
6308 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
6309 gdb.c++/userdef.exp: Look for those comments to check that we've
6310 returned to the right place, instead of checking line numbers.
6311
2a11c64d
EZ
63122003-04-11 Elena Zannoni <ezannoni@redhat.com>
6313
6314 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
6315 match on sourcefile name, instead of directory name.
6316
68ab8fc5
EZ
63172003-04-10 Elena Zannoni <ezannoni@redhat.com>
6318
d63a86f8 6319 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
6320 working directory name.
6321
5624293a
JB
63222003-04-09 Jim Blandy <jimb@redhat.com>
6323
6324 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
6325 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
6326 after an inferior function call, report the failure, but allow the
6327 test to continue.
6328
f1f02ee4
SC
63292003-04-05 Stephane Carrez <stcarrez@nerim.fr>
6330
6331 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
6332 with -DPROTOTYPES.
6333
6eb79af0
SC
63342003-04-05 Stephane Carrez <stcarrez@nerim.fr>
6335
6336 * gdb.base/break.exp: Revert last patch.
6337
8dfb4cf0
SC
63382003-04-04 Stephane Carrez <stcarrez@nerim.fr>
6339
6340 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
6341 with -DPROTOTYPES.
6342
ed4c619a
AC
63432003-04-02 Andrew Cagney <cagney@redhat.com>
6344
6345 * gdb.base/callfuncs.exp: Make "print add" messages unique.
6346 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
6347 matching directories by the name breakpoint.
6348 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
6349 Make "continue to marker1" consistent.
6350 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
6351 message consistent.
6352 * lib/gdb.exp: Put "the program is no longer running", and "the
6353 program exited" in parenthesis.
6354 * lib/mi-support.exp: Ditto.
d63a86f8 6355
4e35d5f0 63562003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 6357
4e35d5f0
BR
6358 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
6359
71900fe8
AC
63602003-03-29 Andrew Cagney <cagney@redhat.com>
6361
6362 * gdb.base/sizeof.c (main): Print the value of '\377'.
6363 * gdb.base/sizeof.exp: Check the sign of '\377'.
6364
c0655a16
MC
63652003-03-27 Michael Chastain <mec@shout.net>
6366
6367 * gdb.base/gdb1090.exp: New file.
6368 * gdb.base/gdb1090.cc: New file.
6369
5b2a3989
JB
63702003-03-27 J. Brobecker <brobecker@gnat.com>
6371
6372 * gdb.gdb/observer.exp: New regression test.
6373
79876890
MC
63742003-03-27 Michael Chastain <mec@shout.net>
6375
6376 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
6377 * gdb.base/ptype.exp: Likewise.
6378
6eac95e3
CV
63792003-03-27 Corinna Vinschen <vinschen@redhat.com>
6380
6381 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
6382
e8c71839
MC
63832003-03-26 Michael Chastain <mec@shout.net>
6384
6385 * gdb.base/ptype.exp: Actually use some typedef'd types.
6386
71b10041
SC
63872003-03-21 Stephane Carrez <stcarrez@nerim.fr>
6388
6389 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
6390 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
6391
2512cf80
CV
63922003-03-20 Corinna Vinschen <vinschen@redhat.com>
6393
6394 * gdb.base/default.exp: Fix regular expression.
6395
0d195a4f
CV
63962003-03-20 Corinna Vinschen <vinschen@redhat.com>
6397
6398 * gdb.base/args.exp: Fix regular expression.
6399
8a2dbca8
CV
64002003-03-20 Corinna Vinschen <vinschen@redhat.com>
6401
6402 * gdb.base/help.exp: Allow Win32 child process.
6403
bf028682
CV
64042003-03-20 Corinna Vinschen <vinschen@redhat.com>
6405
6406 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
6407 when stepping out of main().
6408
182dbe85
CV
64092003-03-20 Corinna Vinschen <vinschen@redhat.com>
6410
6411 * gdb.base/default.exp: Check for win32 specific message when calling
6412 "run" without executable.
6413
d67a6ba5
CV
64142003-03-20 Corinna Vinschen <vinschen@redhat.com>
6415
6416 * gdb.base/args.exp: Expect .exe in output.
6417
a955b5bb
CV
64182003-03-20 Corinna Vinschen <vinschen@redhat.com>
6419
6420 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
6421 Cygwin native.
6422
bf6bad4b
AC
64232003-03-17 Andrew Cagney <cagney@redhat.com>
6424
6425 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
6426 vector registes.
6427 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
6428 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
6429
293e9a31
DC
64302003-03-17 David Carlton <carlton@math.stanford.edu>
6431
6432 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
6433 test, for PR breakpoints/38.
6434 Call test_watchpoint_and_breakpoint.
6435 * gdb.base/watchpoint.c (func3): New function.
6436 (main): Call func3.
6437
5330f2db
DC
64382003-03-04 David Carlton <carlton@math.stanford.edu>
6439
6440 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
6441 Garply<Garply<char> >:: garply".
6442 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
6443 with respect to PR c++/1111; note also PR c++/1113.
6444 (test_template_breakpoints): KFAIL "constructor breakpoint" with
6445 respect to PR c++/1062.
6446 KFAIL "destructor breakpoint" with respect to PR c++/1112.
6447
6ece72da
DC
64482003-03-03 David Carlton <carlton@math.stanford.edu>
6449
6450 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
6451 with respect to PR c++/57.
6452 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
6453 c++/826.
6454 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
6455 respect to PR c++/57.
6456
85ca1584
DC
64572003-03-03 David Carlton <carlton@math.stanford.edu>
6458
6459 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
6460 respect to PR c++/33 into FAILs.
6461
98e9c5b8
MC
64622003-03-03 Michael Chastain <mec@shout.net>
6463
7bedbf27
MC
6464 * configure.in: Update copyright years.
6465
64662003-03-03 Michael Chastain <mec@shout.net>
6467
6468 * Makefile.in: Update copyright years.
98e9c5b8 6469
f683e100
DC
64702003-02-28 David Carlton <carlton@math.stanford.edu>
6471
6472 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
6473 print class instead of struct and/or superfluous protection
6474 specifiers, as long as the resulting output is equivalent to the
6475 source code.
6476 Delete FIXME from end of messages on tests that don't need
6477 fixing.
6478
a9e0cf2c
DC
64792003-02-28 David Carlton <carlton@math.stanford.edu>
6480
6481 * gdb.c++/templates.exp (do_tests): Allow const in the two
6482 Foo<volatile char *>::foo tests.
6483
e8d359df
MS
64842003-02-27 Michael Snyder <msnyder@redhat.com>
6485
d63a86f8 6486 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
6487 will be consistant.
6488
0b71dc91
DC
64892003-02-26 David Carlton <carlton@math.stanford.edu>
6490
6491 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
6492 char *>::foo" test with respect to PR c++/33. Create a new test
6493 which is identical to that one except that it doesn't put the
6494 space between the "char" and the "*"; KFAIL it, too.
6495
dd14ab43
DC
64962003-02-26 David Carlton <carlton@math.stanford.edu>
6497
6498 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
6499 template types into either PASSes or KFAILs (corresponding to PR
6500 c++/57). Tweak indentation. Update copyright.
6501
1146c7f1
SC
65022003-02-23 Stephane Carrez <stcarrez@nerim.fr>
6503
6504 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
6505
74641dfb
MC
65062003-02-13 Michael Chastain <mec@shout.net>
6507
6508 * gdb.base/exprs.exp: Remove i960 remnants.
6509 * gdb.base/funcargs.exp: Likewise.
6510 * gdb.base/list.exp: Likewise.
6511 * gdb.base/ptype.exp: Likewise.
6512
559cd2d0
DC
65132003-02-14 David Carlton <carlton@math.stanford.edu>
6514
6515 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
6516 pEe->D::vg()" from XFAIL to KFAIL.
6517
c4f90d87
JM
65182003-02-13 Jason Molenda (jmolenda@apple.com)
6519
6520 * gdb.base/maint.exp: Update maint print statistics regexp to include
6521 new entries.
6522
cbc4d97c
MC
65232003-02-13 Michael Chastain <mec@shout.net>
6524
6525 * gdb.c++/inherit.exp: Remove call to get_debug_format.
6526
40f235b7
MC
65272003-02-12 Michael Chastain <mec@shout.net>
6528
6529 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
6530 * gdb.c++/inherit.exp: Likewise.
6531 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
6532 * gdb.c++/templates.exp: Likewise.
6533 * gdb.c++/virtfunc.exp: Likewise.
6534
c56716b0
JM
65352003-02-06 Jason Molenda (jason-cl@molenda.com)
6536
6537 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
6538 why the code is written that way.
6539
070afcf8
MC
65402003-02-05 Michael Chastain <mec@shout.net>
6541
6542 * gdb.base/dump.exp: Add missing copyright line.
6543
5d0331e5
JM
65442003-02-05 Jason Molenda (jason-cl@molenda.com)
6545
f7ae6d3e 6546 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
6547 at the beginning so the breakpoint doesn't get set on the loop.
6548
92851186
MC
65492003-02-05 Michael Chastain <mec@shout.net>
6550
6551 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
6552 output for configurations with gcc 2.95.3.
6553
cbf1e085
AC
65542003-02-05 Keith Seitz <keiths@redhat.com>
6555 Andrew Cagney <ac131313@redhat.com>
6556
6557 * gdb.mi/mi-cli.exp: New file.
d63a86f8 6558
29518e1e
MC
65592003-02-04 Michael Chastain <mec@shout.net>
6560
6561 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
6562 Call perror and then continue.
6563
5af1d5f3
MC
65642003-02-03 Michael Chastain <mec@shout.net>
6565
6566 * gdb.c++/pr-1023.cc: New file.
6567 * gdb.c++/pr-1023.exp: New file.
6568
6b549786
JB
65692003-02-05 Jim Blandy <jimb@redhat.com>
6570
6571 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
6572 it's local to foobar. Check for it there, and check that it's not
6573 present in main.
6574 * gdb.c++/local.cc (marker2): New function.
6575 (foobar): Call marker1.
6576 (main): Call marker2 instead of marker1.
6577
67f16606
AC
65782003-02-04 Andrew Cagney <ac131313@redhat.com>
6579
6580 * gdb.disasm/mn10200.exp: Obsolete file.
6581 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
6582 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
6583 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
6584
1c5cb38e
DC
65852003-02-04 David Carlton <carlton@math.stanford.edu>
6586
6587 * gdb.c++/overload.exp: Test intToChar(1).
6588 * gdb.c++/overload.cc (intToChar): New.
6589 (main): Call intToChar.
6590
d1fe6965
DC
65912003-02-03 David Carlton <carlton@math.stanford.edu>
6592
6593 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
6594 'might_kfail' arg.
6595 KFAIL some of the continue_to_bp_overloaded calls, according to
6596 PR c++/1025.
6597
9ba61c5d
MC
65982003-02-01 Michael Chastain <mec@shout.net>
6599
6600 * gdb.base/advance.c (marker1): New marker function.
6601 * gdb.base/advance.exp: When the 'advance' command lands on the
6602 return breakpoint, it can legitimately stop on either the
6603 current line or the next line. Accommodate both outcomes.
6604 * gdb.base/until.exp: Likewise.
6605
e7494ffb
AC
66062003-02-02 Andrew Cagney <ac131313@redhat.com>
6607
6608 2002-11-10 Jason Molenda (jason-cl@molenda.com):
6609 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
6610 now a list, not a tuple.
6611 * gdb.mi/mi-var-display.exp: Ditto.
6612 * gdb.mi/gdb792.exp: Ditto.
6613
075559bc
AC
66142003-02-01 Andrew Cagney <ac131313@redhat.com>
6615
6616 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
6617 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
6618 stack backtraces.
6619 * gdb.mi/mi-syn-frame.c: Part of same.
6620
2bd4c7b1
MK
66212003-02-01 Mark Kettenis <kettenis@gnu.org>
6622
6623 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
6624 gdb.mi/mi1-pthreads.exp: Return instead of calling
6625 gdb_suppress_entire_file.
6626
eabd8992
MS
66272003-02-01 Mark Salter <msalter@redhat.com>
6628
6629 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
6630
71469e2f
MS
66312003-01-31 Mark Salter <msalter@redhat.com>
6632
6633 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
6634 Support empty arg.
6635
38a94d44
MC
66362003-01-30 Michael Chastain <mec@shout.net>
6637
6638 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
6639 This was a workaround for a UTF-8 bug in readline 4.3. The bug
6640 has been fixed in gdb/readline on 2003-01-09.
6641
19ea9e73
MS
66422003-01-29 Michael Snyder <msnyder@redhat.com>
6643
e8d359df
MS
6644 * gdb.base/maint.exp: Allow for leading underscore in symbol.
6645 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
6646 * gdb.base/args.exp: Skip if target does not support args passing.
6647
2307bd6a
DJ
66482003-01-22 Daniel Jacobowitz <drow@mvista.com>
6649
19ea9e73 6650 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
6651 gdb_test. Accept a list of expect arguments as the third
6652 parameter.
6653 (gdb_test): Use it.
6654
f2dd3617
EZ
66552003-01-20 Elena Zannoni <ezannoni@redhat.com>
6656
6657 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
6658 allow for different test tree configurations. Update some
6659 tescases accordingly.
6660 * gdb.arch/altivec-regs.exp: Ditto.
6661 * gdb.asm/asm-source.exp: Ditto.
6662 * gdb.base/advance.exp: Ditto.
6663 * gdb.base/display.exp: Ditto.
d63a86f8 6664 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
6665 * gdb.base/mips_pro.exp: Ditto.
6666 * gdb.base/overlays.exp: Ditto.
6667 * gdb.base/relocate.exp: Ditto.
6668 * gdb.base/setshow.exp: Ditto.
6669 * gdb.base/step-line.exp: Ditto.
6670 * gdb.base/step-test.exp: Ditto.
6671 * gdb.base/until.exp: Ditto.
6672 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
6673
c71cdefd
DC
66742003-01-17 David Carlton <carlton@math.stanford.edu>
6675
6676 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
6677 corresponding to PR c++/945.
6678 Update copyright.
6679
fdba05d7
DC
66802003-01-17 David Carlton <carlton@math.stanford.edu>
6681
6682 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
6683 corresponding to PR c++/68.
6684
66852003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
6686
6687 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
6688 (test_paddr_hairy_functions): Call print_addr_2_kfail for
6689 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
6690
c362c33a
EZ
66912003-01-15 Elena Zannoni <ezannoni@redhat.com>
6692
0fbc361c
EZ
6693 * gdb.base/break.exp: Fix change of default location, because of
6694 removal of until tests.
6695 * gdb.base/help.exp: Update test for new 'until' help message.
6696 Add test for help on 'advance'.
c362c33a
EZ
6697 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
6698
dabf8a35
MK
66992003-01-15 Mark Kettenis <kettenis@gnu.org>
6700
6701 * gdb.base/default.exp: Adapt "info float" test for recent changes
6702 to that command. Add test for "info vector".
6703 * gdb.base/float.exp: New file. Add test for "info float" that
6704 resembles the old test in gdb.base/default.exp.
6705
a1769aca
DC
67062003-01-15 David Carlton <carlton@math.stanford.edu>
6707
6708 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
6709
82025e13
EZ
67102003-01-15 Elena Zannoni <ezannoni@redhat.com>
6711
6712 * gdb.base/break.exp: Move the tests of until command from here...
6713 * gdb.base/until.exp: ... to here. New file. Add other tests.
6714 * gdb.base/advance.c: New file.
6715 * gdb.base/advance.exp: New file.
6716
8f9ab801
EZ
67172003-01-14 Elena Zannoni <ezannoni@redhat.com>
6718
6719 * gdb.base/args.c: New file.
6720 * gdb.base/args.exp: New file.
6721
9ae66589
DJ
67222003-01-14 Daniel Jacobowitz <drow@mvista.com>
6723
6724 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
6725
8d77e5c3
DJ
67262003-01-14 Daniel Jacobowitz <drow@mvista.com>
6727
6728 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
6729
12d2f0a1
DJ
67302003-01-14 Daniel Jacobowitz <drow@mvista.com>
6731
6732 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
6733 dates.
6734
6ca37014
DJ
67352003-01-13 Daniel Jacobowitz <drow@mvista.com>
6736
6737 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
6738
b0023472
DJ
67392003-01-13 Daniel Jacobowitz <drow@mvista.com>
6740
6741 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
6742 (ptype &*"foo").
6743 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
6744
607fbc54 67452003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
6746
6747 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
6748 * gdb.mi/mi1-console.exp: Likewise.
6749
607fbc54 67502003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
6751
6752 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
6753 * gdb.mi/mi1-console.exp: Likewise.
6754
a1fb14a2
DJ
67552003-01-13 Daniel Jacobowitz <drow@mvista.com>
6756
6757 * gdb.c++/overload.exp: Remove some fixed XFAILs.
6758
c4cf40b7
DJ
67592003-01-09 Daniel Jacobowitz <drow@mvista.com>
6760
6761 * gdb.base/detach.exp: New test.
6762
696d5a5b
DJ
67632003-01-09 Daniel Jacobowitz <drow@mvista.com>
6764
6765 * Makefile.in (ALL_SUBDIRS): New variable.
6766 (subdirs, clean, distclean): Use it.
6767 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
6768 regenerating Makefile, since it is generated from the top level.
6769 * gdb.asm/Makefile.in: Likewise.
6770 * gdb.base/Makefile.in: Likewise.
6771 * gdb.c++/Makefile.in: Likewise.
6772 * gdb.disasm/Makefile.in: Likewise.
6773 * gdb.java/Makefile.in: Likewise.
6774 * gdb.mi/Makefile.in: Likewise.
6775 * gdb.threads/Makefile.in: Likewise.
6776 * gdb.trace/Makefile.in: Likewise.
6777
754533e4
DC
67782003-01-09 David Carlton <carlton@math.stanford.edu>
6779
6780 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
6781 Add copyright year 2003.
6782
d8b3e9ee
MC
67832003-01-06 Michael Chastain <mec@shout.net>
6784
6785 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
6786 When selecting a thread, 'line' and 'file' are optional.
6787 * gdb.mi/mi1-pthreads.exp: Likewise.
6788
8e9e0fe6
AS
67892003-01-06 Andreas Schwab <schwab@suse.de>
6790
6791 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
6792 failures.
6793
b5ab8ff3
DJ
67942003-01-04 Daniel Jacobowitz <drow@mvista.com>
6795
6796 Fix PR gdb/844
6797 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
6798 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
6799
6800 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
6801 instead of calling gdb_suppress_entire_file.
6802 * gdb.threads/print-threads.exp: Likewise.
6803 * gdb.threads/schedlock.exp: Likewise.
6804
6805 * gdb.threads/killed.exp: Return instead of calling
6806 gdb_suppress_entire_file.
6807 * gdb.threads/linux-dp.exp: Likewise.
6808 * gdb.threads/pthreads.exp: Likewise.
6809
1e698235
DJ
68102003-01-04 Daniel Jacobowitz <drow@mvista.com>
6811
6812 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
6813 stabs.
6814 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
6815 * gdb.base/whatis.exp: Always allow (void) after function names.
6816
147ff08c
DJ
68172003-01-04 Daniel Jacobowitz <drow@mvista.com>
6818
6819 * gdb.c++/casts.exp: Correct regexp.
6820
dc62bfc2
MK
68212003-01-04 Mark Kettenis <kettenis@gnu.org>
6822
6823 * configure.in: Call AC_CONFIG_HEADER. Don't call
6824 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
6825 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
6826 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
6827 aforementioned directories in the AC_OUPUT call.
6828 * config.hin: New file.
6829 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
6830 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
6831 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
6832 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
6833 pass -I$objdir instead of -I$objdir/$subdir in compilation.
6834 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
6835 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
6836 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
6837 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
6838 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
6839 gdb.threads/configure.in, gdb.threads/configure,
6840 gdb.threads/config.in, gdb.trace/configure.in,
6841 gdb.trace/configure: Removed.
6842
77afa639
MC
68432003-01-03 Michael Chastain <mec@shout.net>
6844
6845 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
6846 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
6847
7634bb6e
DJ
68482003-01-03 Daniel Jacobowitz <drow@mvista.com>
6849
6850 * gdb.base/store.exp: Fix regular expressions.
6851
b39c905e
MK
68522002-12-28 Mark Kettenis <kettenis@gnu.org>
6853
6854 * configure.in: Rewrite.
6855 * configure: Regenerated.
6856
0a8551dd
DC
68572003-01-03 David Carlton <carlton@math.stanford.edu>
6858
6859 * gdb.base/psymtab.exp: New file.
6860 * gdb.base/psymtab1.c: Ditto.
6861 * gdb.base/psymtab2.c: Ditto.
6862
c60b7188
AF
68632002-12-23 Adam Fedor <fedor@gnu.org>
6864
6865 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
6866
ee73db83
DC
68672002-12-23 David Carlton <carlton@math.stanford.edu>
6868
6869 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
6870 and current_directory initialization.
6871
d6c1774e
JB
68722002-12-22 Jim Blandy <jimb@redhat.com>
6873
f0a847b8
JB
6874 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
6875 rather than as part of the output file name.
6876
d6c1774e
JB
6877 * gdb.base/attach.exp: There's no need to copy the test program to
6878 /tmp; that was only ever necessary on HP/UX, and this test is
6879 entirely disabled there anyway.
6880
f0708dbb
JB
68812002-12-21 Jim Blandy <jimb@redhat.com>
6882
4c2acfea
JB
6883 * gdb.c++/psmang.exp: Doc fix.
6884
f0708dbb
JB
6885 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
6886 test.
6887
9579e000
DC
68882002-12-20 David Carlton <carlton@math.stanford.edu>
6889
6890 * gdb.c++/annota2.exp: KFAIL annotate-quit.
6891
d1810171
MC
68922002-12-18 Michael Chastain <mec@shout.net>
6893
6894 * gdb.c++/annota2.exp: Add copyright year 2002.
6895
76565097
DC
68962002-12-17 David Carlton <carlton@math.stanford.edu>
6897
6898 * gdb.c++/try_catch.cc: Add marker comments.
6899 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
6900 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
6901 * gdb.c++/m-static.cc: Ditto.
6902 * gdb.c++/m-static1.cc: Ditto.
6903 * gdb.c++/try_catch.cc: Ditto.
6904
da81390b
JJ
69052002-12-16 Jeff Johnston <jjohnstn@redhat.com>
6906
6907 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
6908 to see whether we are using the new -environment-directory
6909 command which resets via -r or the old version of the command
6910 which may prompt the user. Part of fix for gdb/741.
6911
b304d130
AC
69122002-12-13 Andrew Cagney <ac131313@redhat.com>
6913
6914 * gdb.fortran/types.exp: Update obsolete comment.
6915 * gdb.fortran/exprs.exp: Ditto.
6916 * lib/gdb.exp: Delete obsolete code.
6917 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
6918 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
6919 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
6920 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
6921 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
6922 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
6923 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
6924 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
6925 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
6926 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
6927 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
6928 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
6929 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
6930 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
6931 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
6932 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
6933 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
6934 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
6935 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
6936 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
6937 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
6938 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
6939 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
6940 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
6941 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
6942 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
6943 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
6944 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
6945 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
6946 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
6947 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
6948 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
6949 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
6950 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
6951 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
6952 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
6953 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
6954
a23b6e6a
DC
69552002-12-11 David Carlton <carlton@math.stanford.edu>
6956
6957 * gdb.c++/m-data.exp: Add test for members that shadow global
6958 variables: see PR gdb/804.
6959 * gdb.c++/m-data.cc: Ditto.
6960
6604731b
DJ
69612002-12-10 Daniel Jacobowitz <drow@mvista.com>
6962
6963 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
6964
de46ecd7
DC
69652002-12-06 David Carlton <carlton@math.stanford.edu>
6966
6967 * gdb.base/store.c: Don't declare functions static.
6968
27e829d0
AC
69692002-12-04 Andrew Cagney <ac131313@redhat.com>
6970
6971 * gdb.base/store.exp, gdb.base/store.c: New files.
6972
92806416
DJ
69732002-12-03 Daniel Jacobowitz <drow@mvista.com>
6974
6975 * gdb.base/selftest.exp: Update for current gdb.
6976
3bcbaac5
DJ
69772002-12-03 Daniel Jacobowitz <drow@mvista.com>
6978
6979 * gdb.base/maint.exp: Only dump symbols from one source file
6980 or objfile.
6981
f4f00b1f
DJ
69822002-12-03 Daniel Jacobowitz <drow@mvista.com>
6983
6984 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
6985 function call.
6986
f1c8a949
JB
69872002-11-25 Jim Blandy <jimb@redhat.com>
6988
6989 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
6990 function appearing in error message.
6991
9e297a97
DJ
69922002-11-21 Daniel Jacobowitz <drow@mvista.com>
6993
6994 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
6995
1f312e79
JJ
69962002-11-08 Jeff Johnston <jjohnstn@redhat.com>
6997
d63a86f8
RM
6998 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
6999 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
7000 should be in mi console format. This is part of fix for PR gdb/604.
7001
83c31e7d
FN
70022002-09-18 Fernando Nasser <fnasser@redhat.com>
7003
7004 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
7005 which explicitly prints the zero offset as "+0".
7006
322b3f65
DJ
70072002-10-22 Daniel Jacobowitz <drow@mvista.com>
7008
7009 * gdb.threads/schedlock.c (args): Make unsigned.
7010
70112002-10-21 Daniel Jacobowitz <drow@mvista.com>
7012
7013 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
7014 numbers. Allow "foo2|selected stack frame".
7015 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
7016 * gdb.asm/asmsrc2.s: Likewise.
7017 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
7018 comments.
7019 * gdb.asm/mips.inc: New file.
7020
5e2fe5b8
AF
70212002-10-18 Adam Fedor <fedor@gnu.org>
7022
7023 * gdb.base/default.exp: Update expected output to include 'ObjC'.
7024 * gdb.base/help.exp: Likewise.
7025
abe1a5d0
KB
70262002-10-17 Kevin Buettner <kevinb@redhat.com>
7027
7028 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
7029 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
7030
10abb1d4
JB
70312002-10-02 Jim Blandy <jimb@redhat.com>
7032
7033 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
7034
1f609b42
AC
70352002-10-01 Andrew Cagney <ac131313@redhat.com>
7036
7037 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
7038 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
7039 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
7040 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
7041 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
7042 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
7043 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
7044
0aee02e4
AC
70452002-09-29 Andrew Cagney <ac131313@redhat.com>
7046
7047 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
7048 * mi0-disassemble.exp, mi0-eval.exp: Delete.
7049 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
7050 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
7051 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
7052 * mi0-var-block.exp, mi0-var-child.exp: Delete.
7053 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 7054
6fde09ad
KB
70552002-09-27 Kevin Buettner <kevinb@redhat.com>
7056
7057 * gdb.base/annota1.exp (info break): Make directory components of
7058 path optional since not all compilers emit this debug information.
7059
7060 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
7061 step ends up stepping out of the function instead of stopping on
7062 the epilogue.
7063
9e8aab75
KS
70642002-09-26 Keith Seitz <keiths@redhat.com>
7065
7066 * lib/insight-support.exp (gdbtk_start): Figure out where
7067 the insight executable is based on where gdb is. Use this
7068 executable to start insight instead of gdb.
7069
e36180d7
AC
70702002-09-25 Andrew Cagney <cagney@redhat.com>
7071
7072 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
7073
9dd34b2b
AC
70742002-09-24 Andrew Cagney <ac131313@redhat.com>
7075
7076 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
7077 test_isolated_complaints.
7078 (test_empty_complaint): New function.
7079 (test_empty_complaints): New function. Check no output when no
7080 complaints.
d63a86f8 7081
dea97812
KB
70822002-09-19 Jim Blandy <jimb@redhat.com>
7083
7084 * gdb.base/charset.exp, gdb.base/charset.c: New files.
7085
54951bd7
AC
70862002-09-19 Andrew Cagney <ac131313@redhat.com>
7087
7088 * gdb.gdb/complaints.exp: New file.
7089
dec43320
AC
70902002-09-18 Andrew Cagney <ac131313@redhat.com>
7091
7092 * gdb.base/maint.exp: Check `help maint internal-warning'.
7093
e70d6e3f
DC
70942002-09-18 David Carlton <carlton@math.stanford.edu>
7095
7096 * gdb.c++/m-static.exp: Remove breakpoints depending on line
7097 numbers, and replace them by a single breakpoint after the
7098 constructors are all finished.
7099 Add test 4.
7100 * gdb.c++/m-static.cc: Add test 4.
7101 * gdb.c++/m-static.h: New file.
7102 * gdb.c++/m-static1.cc: New file.
7103
7104 * gdb.c++/printmethod.exp: New file.
7105 * gdb.c++/printmethod.cc: New file.
7106
7107 * gdb.c++/pr-574.exp: New file.
7108 * gdb.c++/pr-574.cc: New file.
7109
afb5c968
CV
71102002-09-18 Corinna Vinschen <vinschen@redhat.com>
7111
7112 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
7113 embedded targets which never actually exit.
7114
31e45dee
FN
71152002-09-18 Fernando Nasser <fnasser@redhat.com>
7116
7117 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
7118 "don't step after run" as unresolved or unsupported, instead of xfail.
7119
a283c5a1
CV
71202002-09-18 Corinna Vinschen <vinschen@redhat.com>
7121
7122 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
7123 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
7124 Add newline to expected string in "step out of main (status wrapper)"
7125 case.
7126
11350d2a
CV
71272002-09-18 Corinna Vinschen <vinschen@redhat.com>
7128
7129 * lib/gdb.exp (rerun_to_main): Allow restarting application.
7130 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
7131
0deec7d6
TT
71322002-09-17 Tom Tromey <tromey@redhat.com>
7133
7134 * gdb.base/printcmds.exp (test_print_string_constants): Expect
7135 \000, not \0, in double-quoted string.
7136
b2b4a1b5
CV
71372002-09-14 Corinna Vinschen <vinschen@redhat.com>
7138
c9d37158 7139 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
7140 string after running the commands execution on breakpoint tests.
7141
1c56143a
CV
71422002-09-13 Corinna Vinschen <vinschen@redhat.com>
7143
7144 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
7145
37f8da45
JB
71462002-09-12 Joel Brobecker <brobecker@gnat.com>
7147
7148 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
7149
08b468e0
KS
71502002-09-10 Keith Seitz <keiths@redhat.com>
7151
7152 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
7153 runto proc.
7154 (mi_run_to_main): Use mi_runto.
7155 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
7156
dc360f58
KS
71572002-09-10 Keith Seitz <keiths@redhat.com>
7158
7159 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
7160 regexp for stopping at main. Could have multiple event notifications.
7161 Don't assume that main was declared with no parameters.
7162 (mi_next): Use mi_step_to.
7163 (mi_step): Use mi_next_to.
7164
ce3abcfb
CV
71652002-09-09 Corinna Vinschen <vinschen@redhat.com>
7166
7167 * gdb.base/default.exp: Fix expected string in `info float' test.
7168
d1f5b980
BE
71692002-09-09 Ben Elliston <bje@redhat.com>
7170
7171 * config/mips.exp: Update comments.
7172 * config/mips-idt.exp: Likewise.
7173 * config/nind.exp: Likewise.
7174 * config/slite.exp: Likewise.
7175 * config/sparclet.exp: Likewise.
7176 * config/udi.exp: Likewise.
7177 * config/vx.exp: Likewise.
7178 * config/vxworks29k.exp: Likewise.
7179
2f71430b
JB
71802002-09-05 Jim Blandy <jimb@redhat.com>
7181
7182 * gdb.threads/killed.exp: Fix test failure message.
7183
7ddebc7e
KS
71842002-09-04 Keith Seitz <keiths@redhat.com>
7185
7186 * lib/mi-support.exp: Update copyright.
7187 (mi_gdb_test): Increase the priority of the expected pattern
7188 so that it matches gdb_test.
7189
0ae67eb3
KS
71902002-09-03 Keith Seitz <keiths@redhat.com>
7191
7192 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
7193 Use integer comparison instead of string comparison for testing
7194 whether binary was built.
7195
38fc42c8
JB
71962002-09-03 Jim Blandy <jimb@redhat.com>
7197
7198 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
7199
b6ff0e81
JB
72002002-08-29 Jim Blandy <jimb@redhat.com>
7201
7202 * gdb.threads/pthreads.exp: Move the portable thread compilation
7203 code into a function in lib/gdb.exp, and call that from here.
7204 * lib/gdb.exp (gdb_compile_pthreads): New function.
7205
07c98896
KS
72062002-08-29 Keith Seitz <keiths@redhat.com>
7207
7208 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
7209 expect_out so that callers can get at it.
7210
0312286c
DJ
72112002-08-23 Daniel Jacobowitz <drow@mvista.com>
7212
7213 * gdb.threads/print-threads.c: New file.
7214 * gdb.threads/print-threads.exp: New file.
7215 * gdb.threads/schedlock.c: New file.
7216 * gdb.threads/schedlock.exp: New file.
7217
dd039bc4
EZ
72182002-08-22 Elena Zannoni <ezannoni@redhat.com>
7219
7220 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
7221 not altivec.c.
7222
1f36144c
MK
72232002-08-17 Mark Kettenis <kettenis@gnu.org>
7224
7225 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
7226 targets. The problem should be fixed now.
7227
16057ec7 72282002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
7229
7230 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
7231 2002-07-24 change that removes final dots from error messages.
7232
3c1499ad
TT
72332002-08-13 Tom Tromey <tromey@redhat.com>
7234
7235 * gdb.base/readline.exp: New file.
7236
a20ce2c3
AC
72372002-08-01 Andrew Cagney <ac131313@redhat.com>
7238
7239 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
7240 supress message.
7241
db034ac5
AC
72422002-08-01 Andrew Cagney <cagney@redhat.com>
7243
7244 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
7245 CHILL_FOR_TARGET and CHILL_LIB.
7246 * configure.in (configdirs): Remove gdb.chill.
7247 * configure: Regenerate.
7248 * lib/gdb.exp: Obsolete references to chill.
7249 * gdb.fortran/types.exp: Ditto.
7250 * gdb.fortran/exprs.exp: Ditto.
7251
3e000b18
KB
72522002-07-30 Kevin Buettner <kevinb@redhat.com>
7253
7254 * gdb.base/shlib-call.exp (additional_flags): Conditionally
7255 set Irix-specific compile and link flags.
7256
28f4966b
KB
72572002-07-29 Kevin Buettner <kevinb@redhat.com>
7258
7259 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
7260 source files. The ``-o'' option doesn't work with the ``-E'' option
7261 when using the Irix compiler.
7262
46c0d5a6
DJ
72632002-07-19 Daniel Jacobowitz <drow@mvista.com>
7264
7265 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
7266 Improve support for reusing an exec file. Copy exec file
7267 to target, and run gdbserver on the target instead of on the host.
7268
eecf4bed
JB
72692002-07-18 Jim Blandy <jimb@redhat.com>
7270
0f815cdf
JB
7271 * gdb.base/ending-run.exp: Don't expect to see the program end in
7272 some orderly fashion when we're running on a real stand-alone
7273 board.
7274
eecf4bed
JB
7275 * gdb.base/interrupt.exp: Correct logic for skipping tests on
7276 targets that don't support interrupts.
7277
52d309e4
JB
72782002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
7279
7280 * gdb.base/attach.exp: Add patterns to match output from /proc-based
7281 systems.
7282 Move comments in expect statements to inside the actions, so that they
7283 don't get matched against.
7284
ff683d9e
MK
72852002-07-10 Mark Kettenis <kettenis@gnu.org>
7286
7287 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
7288 function when asleep" test.
7289
b5356753
AC
72902002-07-10 Andrew Cagney <ac131313@redhat.com>
7291
7292 * gdb.base/page.exp: Rewrite to handle problems with very long
7293 `info set' output. Update copyright.
7294
6aa4d13a
AC
72952002-06-26 Andrew Cagney <ac131313@redhat.com>
7296
7297 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
7298 gdb.threads-hp.
7299 * gdb.hp/configure: Regenerate.
7300 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
7301 * gdb.hp/gdb.threads-hp/configure: Delete file.
7302 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
7303
8cf8c2b8
AC
73042002-06-22 Andrew Cagney <ac131313@redhat.com>
7305
7306 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
7307 setlocale, bindtextdomain and textdomain.
7308
6827a8f8
JB
73092002-06-11 Jim Blandy <jimb@redhat.com>
7310
919d772c
JB
7311 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
7312 preprocessor macro information is present.
7313
6827a8f8
JB
7314 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
7315 tests.
7316
c15b0d21
MS
73172002-06-06 Michael Snyder <msnyder@redhat.com>
7318
c5984d70
MS
7319 * gdb.base/overlays.exp: Record addresses of overlay
7320 functions in TCL variables rather than in GDB variables,
7321 to avoid having GDB convert them to pointers (with loss
7322 of information).
7323
d63a86f8 7324 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 7325 default linker script changes.
c15b0d21
MS
7326 * gdb.base/long_long.exp: Add check for sizeof (long double).
7327
be26fe0d
ML
73282002-06-06 Michal Ludvig <mludvig@suse.cz>
7329
7330 * gdb.asm/asm-source.exp: Add x86-64 target.
7331 * gdb.asm/x86_64.inc: New.
d63a86f8 7332
258093ca 73332002-05-30 Michael Chastain <mec@shout.net>
258093ca 7334
4b3153f1 7335 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
7336 * gdb.c++/m-static.cc: New file.
7337 * gdb.c++/m-static.exp: New file.
7338
241264c6
MS
73392002-05-28 Michael Snyder <msnyder@redhat.com>
7340
7341 * gdb.base/call-ar-st.exp: Allow for reduced floating point
7342 precision.
7343
9bba8c8f 73442002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 7345
4b3153f1 7346 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
7347 * gdb.c++/m-data.cc: New file.
7348 * gdb.c++/m-data.exp: New file.
7349
73502002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 7351
4b3153f1 7352 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 7353 * gdb.c++/try_catch.cc: New file.
d63a86f8 7354 * gdb.c++/try_catch.exp: New file.
9bba8c8f 7355
def1b996
MC
73562002-05-27 Michael Chastain <mec@shout.net>
7357
7358 * gdb.c++/local.exp: Accept more nested types in output.
7359
522ba268
MC
73602002-05-26 Michael Chastain <mec@shout.net>
7361
7362 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
7363
277254ba
MS
73642002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
7365
7366 * lib/gdb.exp (gdb_wrapper_init): Just because
7367 gdb_wrapper_file exists, this does not mean that the file
7368 should not be rebuilt. That is what gdb_wrapper_initialized
7369 is for.
7370 (default_gdb_init): Reset gdb_wrapper_initialized.
7371
b61a8733
MS
73722002-05-23 Michael Snyder <msnyder@redhat.com>
7373
d63a86f8 7374 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
7375 the precision of the floating point test results.
7376 * gdb.base/call-rt-st.exp: Ditto.
7377
b61a8733
MS
7378 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
7379 * gdb.base/call-rt-st.exp: Ditto.
7380
56f6e910
MC
73812002-05-19 Michael Chastain <mec@shout.net>
7382
7383 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
7384
ad0b0016
EZ
73852002-05-19 Elena Zannoni <ezannoni@redhat.com>
7386
7387 * configure.in (configdirs): Add gdb.arch.
7388 * configure: Regenerate.
7389
f617d2b6
JB
73902002-05-17 Jim Blandy <jimb@redhat.com>
7391
7392 * gdb.base/completion.exp: Recognize the more detailed error
7393 messages produced by the macro expander's lexical analyzer.
7394
eac2a696
EZ
73952002-05-14 Elena Zannoni <ezannoni@redhat.com>
7396
7397 * gdb.arch/altivec-abi.c: New file.
7398 * gdb.arch/altivec-abi.exp: New file.
7399 * gdb.arch/altivec-regs.c: New file.
7400 * gdb.arch/altivec-regs.exp: New file.
7401
2fdde8f8
DJ
74022002-05-14 Daniel Jacobowitz <drow@mvista.com>
7403
7404 * gdb.base/maint.exp (maint print type): Update for new type
7405 structure.
d63a86f8 7406
e31f1a7c
EZ
74072002-05-14 Elena Zannoni <ezannoni@redhat.com>
7408
7409 * gdb.arch: New directory.
7410 * gdb.arch/configure.in: New file.
7411 * gdb.arch/configure: New file.
7412 * gdb.arch/Makefile.in: New file.
7413
db589741
CV
74142002-05-13 Corinna Vinschen <vinschen@redhat.com>
7415
7416 * gdb.asm/asm-source.exp: Add v850 as supported target.
7417 * gdb.asm/v850.inc: New file.
7418
8ce2a7dc
DJ
74192002-05-13 Daniel Jacobowitz <drow@mvista.com>
7420
7421 * gdb.c++/annota2.exp (annotate-quit): Add comment.
7422
df763c7f
DJ
74232002-05-12 Daniel Jacobowitz <drow@mvista.com>
7424
7425 * gdb.base/break.exp: Check 'break "marker2"'.
7426
377daeed
MS
74272002-05-10 Michael Snyder <msnyder@redhat.com>
7428
7429 * gdb.base/long_long.exp: Fix typo.
7430
c4b7bc2b
JB
74312002-05-10 Jim Blandy <jimb@redhat.com>
7432
ecac9a4e
JB
7433 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
7434 a bug.
7435
c4b7bc2b
JB
7436 * gdb.base/printcmds.exp (test_integer_literals_rejected):
7437 Recognize more detailed error message produced by the macro
7438 expander's lexical analyzer.
7439 * lib/gdb.exp (test_print_reject): Same.
7440
e71019a1
MK
74412002-05-09 Mark Kettenis <kettenis@gnu.org>
7442
7443 * gdb.c++/method.exp: Fix typo.
7444
fedfc8e6
MS
74452002-05-08 Michael Snyder <msnyder@redhat.com>
7446
166a1957
MS
7447 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
7448 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 7449 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
7450 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
7451 Add iftarget clause for strongarm.
d63a86f8 7452
f1c47eb2
MS
74532002-05-06 Michael Snyder <msnyder@redhat.com>
7454
cb9a9d3e
MS
7455 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
7456 (gdb_continue_to_end): Accept output from status wrapper.
7457 * gdb.base/ending-run.exp: Add case for output from status wrapper.
7458 Clean up fail messages to match pass messages.
7459
f1c47eb2
MS
7460 Enable the "needs_status_wrapper" testsuite feature.
7461 * lib/gdb.exp (gdb_wrapper_init): New procedure.
7462 (gdb_compile): Conditionally call gdb_wrapper_init.
7463 * gdb.base/a2-run.exp: Recognize output from status wrapper.
7464 * gdb.c++/method.exp: Recognize output from status wrapper.
7465
6079c749
BE
74662002-05-06 Ben Elliston <bje@redhat.com>
7467From Graydon Hoare <graydon@redhat.com>
7468
7469 * config/sid.exp: Include support for "rawsid" protocol.
7470
188baff3
JB
74712002-05-03 Jim Blandy <jimb@redhat.com>
7472
7473 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
7474 * gdb.c++/hang3.C: New file.
7475
b9c07f0f
AC
74762002-05-04 Andrew Cagney <ac131313@redhat.com>
7477
7478 * gdb.base/default.exp: Remove obsolete code.
7479 * gdb.c++/misc.exp: Ditto. Update copyright.
7480 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
7481 * gdb.base/whatis.exp: Ditto. Update copyright.
7482 * gdb.base/scope.exp: Ditto. Update copyright.
7483 * gdb.base/ptype.exp: Ditto. Update copyright.
7484 * gdb.base/printcmds.exp: Ditto. Update copyright.
7485 * gdb.base/opaque.exp: Ditto. Update copyright.
7486 * gdb.base/list.exp: Ditto.
7487 * gdb.base/funcargs.exp: Ditto. Update copyright.
7488 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
7489 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
7490 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
7491 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
7492 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
7493 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
7494
5c7a0397
MS
74952002-05-02 Michael Snyder <msnyder@redhat.com>
7496
d6dcc264 7497 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
7498 * gdb.base/long_long.exp: Add xscale target.
7499 * gdb.base/default.exp: Add xscale target.
7500
eb7f1c48
JB
75012002-05-01 Jim Blandy <jimb@redhat.com>
7502
7503 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
7504 gdb.c++/hang.exp: New test.
7505
a6befae8
FF
75062002-05-01 Fred Fish <fnf@redhat.com>
7507
7508 * gdb.base/completion.exp: Handle completions of "./Make" for
7509 more than one completion possibility, as is the case when we
7510 build and test in the source tree.
7511
0a310277
AG
75122002-04-29 Anthony Green <green@redhat.com>
7513
7514 * gdb.java/jmisc1.exp: New file.
7515 * gdb.java/jmisc2.exp: New file.
7516
6ff9af88
DJ
75172002-04-24 Daniel Jacobowitz <drow@mvista.com>
7518
7519 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
7520
96b3d632
EZ
75212002-04-23 Elena Zannoni <ezannoni@redhat.com>
7522
7523 * gdb.base/help.exp: Change 'help status' to allow for target
7524 dependent output differences.
7525
5019bb54
MC
75262002-04-22 Michael Chastain <mec@shout.net>
7527
7528 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
7529
a805a116
MC
75302002-04-22 Michael Chastain <mec@shout.net>
7531
7532 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
7533
a1706bfd
DM
75342002-04-17 David S. Miller <davem@redhat.com>
7535
7536 * gdb.asm/sparc64.inc: New file.
7537 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
7538
a73a20a2
EZ
75392002-04-19 Elena Zannoni <ezannoni@redhat.com>
7540
7541 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
7542 instruction file directly into the build tree. Clean up at end of
7543 test.
7544
ba678339
DM
75452002-04-18 David S. Miller <davem@redhat.com>
7546
7547 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
7548 handle 64-bit platforms correctly.
7549 * gdb.base/maint.exp: Likewise.
7550
b03399da
KB
75512002-04-18 Kevin Buettner <kevinb@redhat.com>
7552
7553 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
7554 ``-fpic'' when compiling files comprising a shared library, but
7555 it does need additional linker flags in order to find shared
7556 libraries at run time.
7557
e2004992
KB
75582002-04-18 Kevin Buettner <kevinb@redhat.com>
7559
7560 * gdb.base/cvexpr.c (use): New function.
7561 (main): Invoke use() on all global variables to prevent
7562 some linkers from deleting these otherwise unused symbols.
7563
d8937120
MC
75642002-04-17 Michael Chastain <mec@shout.net>
7565From David S. Miller <davem@redhat.com>
7566
7567 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
7568 handle 64-bit platforms correctly.
7569
ffd61a58
MS
75702002-04-12 Michael Snyder <msnyder@redhat.com>
7571From Jim Blandy <jimb@redhat.com>
7572 * gdb.base/foo.c (foox): Remove section attribute; the linker
7573 script can handle this instead.
7574 * gdb.base/bar.c (barx): Same.
7575 * gdb.base/baz.c (bazx): Same.
7576 * gdb.base/grbx.c (grbxx): Same.
7577
7578 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
7579 manager doesn't automatically unmap overlays unnecessarily.
7580
6b8426a6
MH
75812002-04-10 Martin M. Hunt <hunt@redhat.com>
7582
7583 * gdb.base/ending-run.exp: Fix pattern for Mips targets
7584 stepping out of main.
7585
34af4875
MC
75862002-04-09 Michael Chastain <mec@shout.net>
7587
7588 * gdb.c++/local.cc (main): Move call to marker1() inside nested
7589 scope so that the nested scope tests will make sense.
7590 * gdb.c++/local.exp: Write patterns that actually work with gcc
7591 (the HP patterns "were never known to work with gcc").
7592 Keep the old aCC patterns too.
7593
2d1676a0
DJ
75942002-04-09 Daniel Jacobowitz <drow@mvista.com>
7595
7596 * gdb.base/attach.exp: Correct target board test.
7597
3a63e3f9
MC
75982002-04-08 Michael Chastain <mec@shout.net>
7599
7600 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
7601 in a const method. Add some xfail and fail cases for configurations
7602 that do not emit the "const ...".
7603
f18dabd2
MC
76042002-04-07 Michael Chastain <mec@shout.net>
7605
7606 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
7607 Accept "A * const" and "const A * const" as type of "this".
7608 Fix spelling of getFunky throughout. Make messages uniform.
7609
0fcddd82
EZ
76102002-04-07 Elena Zannoni <ezannoni@redhat.com>
7611
7612 Work around for PR gdb/285:
7613 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
7614
16a8534a
EZ
76152002-04-07 Elena Zannoni <ezannoni@redhat.com>
7616
7617 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
7618 instructions file at run time instead of configure time.
7619 Sometimes we run the test in a directory that is not the one we
7620 configured in.
7621 * gdb.asm/configure.in: Delete creation of symlink.
7622 * gdb.asm/configure: Regenerate.
7623
24181d81
JB
76242002-04-05 J. Brobecker <brobecker@gnat.com>
7625
7626 * gdb.gdb/xfullpath.exp: New test, to exercise the new
7627 xfullpath () function.
7628
7cdb7107
DJ
76292002-04-04 Daniel Jacobowitz <drow@mvista.com>
7630
7631 * gdb.asm/Makefile.in: Correct dependencies.
7632
7633 * gdb.asm/powerpc.inc: New file.
7634 * gdb.asm/asm-source.exp: Add PowerPC.
7635 * gdb.asm/configure.in: Likewise.
7636 * gdb.asm/configure: Regenerated.
7637
a7d17088
DJ
76382002-04-04 Daniel Jacobowitz <drow@mvista.com>
7639
7640 * gdb.base/relocate.exp: New file.
7641 * gdb.base/relocate.c: New file.
7642
cd721503
FF
76432002-04-04 Fred Fish <fnf@redhat.com>
7644
7645 * gdb.base/step-test.exp: Update comment regarding stopping in
7646 memcpy/bcopy calls inserted as part of the compiler runtime.
7647
b22ad7a7
MS
76482002-04-04 Michael Snyder <msnyder@redhat.com>
7649
7650 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
7651
5f279fa6
DJ
76522002-04-03 Daniel Jacobowitz <drow@mvista.com>
7653
7654 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
7655 (gdb_expect): Remove $notransfer hack.
7656
dd0fd3ce
DJ
76572002-04-02 Daniel Jacobowitz <drow@mvista.com>
7658
7659 * gdb.c++/classes.exp ("calling method for small class"): Match
7660 updated register output.
7661
1e50cda1
DJ
76622002-03-30 Daniel Jacobowitz <drow@mvista.com>
7663
7664 Fix PR gdb/452
7665 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
7666 when finished. Make gdb_file_cmd send "exec-file" when
7667 appropriate.
7668
24015922
DJ
76692002-03-30 Daniel Jacobowitz <drow@mvista.com>
7670
7671 * gdb.base/attach.exp: Remove extra setup_xfail.
7672
dd7dfd64
MS
76732002-03-26 Michael Snyder <msnyder@redhat.com>
7674
7675 * gdb.base/default.exp: Add tests for dump, append, and restore.
7676 * gdb.base/help.exp: Add tests for dump, append, and restore.
7677 * gdb.base/dump.exp: New file, test dump, append and restore.
7678 * gdb.base/dump.c: New file.
7679
48b2f8d7
MS
76802002-03-27 Michael Snyder <msnyder@redhat.com>
7681
d63a86f8 7682 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
7683 clean-ups in help messages.
7684
05b4d525
FF
76852002-03-26 Fred Fish <fnf@redhat.com>
7686
7687 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
7688 have debugging info for those functions and the compiler uses them
7689 internally to copy structs around.
7690
d7679631
FF
76912002-03-26 Fred Fish <fnf@redhat.com>
7692
7693 * gdb.base/list.exp: Revert the change made yesterday and add note
7694 about why we don't list the default lines for remote targets.
7695
523ac3f9
MS
76962002-03-25 Michael Snyder <msnyder@redhat.com>
7697
7698 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
7699
754b2b8d
FF
77002002-03-25 Fred Fish <fnf@redhat.com>
7701
7702 * gdb.base/list.exp: This test works on remote targets so remove
7703 the short circuit for remote targets. Update copyright.
7704
33c3e192
FF
77052002-03-25 Fred Fish <fnf@redhat.com>
7706
7707 * gdb.base/attach.exp: Fix logic error that was suppressing this
7708 test for all non hppa*-*-hpux* targets, instead of the hp target.
7709 Move comments closer to the suppression point. Also now need to
7710 check that we are running natively.
7711
d43e73ee
MS
77122002-03-22 Michael Snyder <msnyder@redhat.com>
7713
882c8f02
MS
7714 * gdb.base/default.exp: Add test for gcore. Update copyright.
7715 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 7716
04c12f60
FF
77172002-03-06 Fred Fish <fnf@redhat.com>
7718
7719 * gdb.base/funcargs.c: Remove extraneous ';' character.
7720 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
7721
b43df995
MC
77222002-03-04 Michael Chastain <mec@shout.net>
7723
7724 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
7725 accommodate gcc v3 function signature.
7726 * gdb.mi/mi0-var-cmd-exp: Ditto.
7727
92362027
AC
77282002-02-24 Andrew Cagney <ac131313@redhat.com>
7729
7730 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
7731 ``GNU/Linux'' or ``Linux kernel''
7732 * testsuite/gdb.threads/pthreads.c: Ditto.
7733
258ad32d
MC
77342002-02-24 Michael Chastain <mec@shout.net>
7735
7736 * gdb.threads/pthreads.c (thread1): Add a return statement.
7737 (thread2): Likewise.
7738 (foo): Likewise.
7739
04c3b3d4
MC
77402002-02-23 Michael Chastain <mec@shout.net>
7741
7742 * gdb.threads/linux-dp.c (philosopher): Add a return statement
7743 to placate gcc.
7744
5a2a0a20
MC
77452002-02-23 Michael Chastain <mec@shout.net>
7746
7747 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
7748 test "ptype bint". The test passes on all my stabs configurations.
7749
a640f7fc
JB
77502002-02-21 Jim Blandy <jimb@redhat.com>
7751
27924826
JB
7752 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
7753 filename at a time, and watch for the ones we want to see.
7754
a640f7fc
JB
7755 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
7756 types of pointers to prototyped functions.
7757
edcc8c75
AC
77582002-02-20 Andrew Cagney <ac131313@redhat.com>
7759
7760 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
7761 signed, unsigned and straight char.
7762 (padding_char, padding_short, padding_int, padding_long,
7763 padding_long_long, padding_float, padding_double,
7764 padding_long_double): New global variables.
7765 (fill, fill_structs): New functions.
7766
7767 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
7768 for correctly sized writes. Update copyright.
7769 (get_valueof): New procedure.
7770 (get_sizeof): Call get_valueof.
7771 (check_valueof): New procedure.
7772 (check_padding): New procedure.
7773
ac57ea44
MC
77742002-02-20 Michael Chastain <mec@shout.net>
7775
7776 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
7777 to setup_xfail. Document some of the remaining calls.
7778
7a10c941
MC
77792002-02-18 Michael Chastain <mec@shout.net>
7780
7781 * gdb.c++/userdef.exp: Update copyright year.
7782
fb8acdcc
DJ
77832002-02-18 Daniel Jacobowitz <drow@mvista.com>
7784
7785 * gdb.c++/userdef.exp: Test overloaded operators properly.
7786 Remove xfails.
7787
fda6ae12
MS
77882002-02-14 Michael Snyder <msnyder@redhat.com>
7789
7790 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
7791
676a0442
DJ
77922002-02-14 Daniel Jacobowitz <drow@mvista.com>
7793
7794 * gdb.base/a2-run.exp: Check for a remote target properly.
7795 * gdb.base/annota1.exp: Likewise.
7796 * gdb.base/list.exp: Likewise.
7797 * gdb.base/reread.exp: Likewise.
7798 * gdb.base/scope.exp: Likewise.
7799 * gdb.base/shlib-call.exp: Likewise.
7800 * gdb.base/term.exp: Likewise.
7801 * gdb.c++/annota2.exp: Likewise.
7802
78b4f468
RE
78032002-02-13 Richard Earnshaw <rearnsha@arm.com>
7804
7805 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
7806
9a81ba51
MC
78072002-02-10 Michael Chastain <mec@shout.net>
7808
7809 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
7810 (call_after_alloca): Ditto.
7811
004af6c7
DJ
78122002-02-10 Daniel Jacobowitz <drow@mvista.com>
7813
7814 * gdb.base/ending-run.exp: Guard "cont" test with
7815 gdb_skip_stdio_test.
7816
37225f62
JB
78172002-02-06 Jim Blandy <jimb@redhat.com>
7818
7819 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
7820 from here...
7821 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
7822 To here. Disable this test on non-HP platforms. Add big comment.
7823
fe6fdd96
MS
78242002-02-04 Michael Snyder <msnyder@redhat.com>
7825
7826 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
7827 other than d10v and m32r.
7828
036fad3f
RE
78292002-02-02 Richard Earnshaw <rearnsha@arm.com>
7830
7831 * gdb.base/default.exp: Rewrite test patterns to reduce time
7832 taken to match them.
7833
7148ab62
DJ
78342002-01-30 Daniel Jacobowitz <drow@mvista.com>
7835
7836 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
7837 Allow a start function above main.
7838 * gdb.threads/linux-dp.exp: Fix copyright date.
7839
396cc255
DJ
78402002-01-30 Daniel Jacobowitz <drow@mvista.com>
7841
7842 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
7843 (check_philosopher_stack): Check for manager thread before checking
7844 for a just-starting thread.
7845
f038d31b
DJ
78462002-01-30 Daniel Jacobowitz <drow@mvista.com>
7847
7848 From Neil Booth <neil@daikokuya.demon.co.uk>:
7849 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
7850 warnings.
7851
b3ff9d9a
FF
78522002-01-21 Fred Fish <fnf@redhat.com>
7853
7854 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
7855 not caller.
7856
39ad761d
JB
78572002-01-21 Jim Blandy <jimb@redhat.com>
7858
7859 * gdb.base/reread.exp: Check that GDB properly re-reads the
7860 executable file when it changes while no inferior is running.
7861
aaf320fa
FF
78622002-01-21 Fred Fish <fnf@redhat.com>
7863
7864 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
7865 optionally accept the "shlib events" variation.
7866
808a31f5
JB
78672002-01-21 Jim Blandy <jimb@redhat.com>
7868
7869 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
7870 call `fflush' after every `printf', so that the output is produced
7871 at predictable points, regardless of whatever buffering does (or
7872 doesn't) take place.
7873 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
7874 at different points.
7875
4420d5e2
DJ
78762002-01-20 Daniel Jacobowitz <drow@mvista.com>
7877
7878 * gdb.c++/inherit.exp: Update copyright years.
7879 * gdb.c++/method.exp: Likewise.
7880
3e36a0f4
DJ
78812002-01-20 Daniel Jacobowitz <drow@mvista.com>
7882
7883 * gdb.c++/classes.exp: Update for improved v3 support and skipping
7884 artificial methods/arguments.
7885 * gdb.c++/derivation.exp: Likewise.
7886 * gdb.c++/inherit.exp: Likewise.
7887 * gdb.c++/method.exp: Likewise.
7888 * gdb.c++/virtfunc.exp: Likewise.
7889
b4ceaee6
AC
78902002-01-18 Andrew Cagney <ac131313@redhat.com>
7891
7892 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
7893 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
7894 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
7895 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
7896 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
7897 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
7898
ecace851
JB
78992002-01-17 Jim Blandy <jimb@redhat.com>
7900
7901 * gdb.asm/asm-source.exp (info symbol): Take another shot at
7902 anchoring the pattern matching the entry point symbol's name.
7903
375fc983
AC
79042002-01-17 Andrew Cagney <ac131313@redhat.com>
7905
7906 * gdb.base/maint.exp: Update ``maint internal-error'' to match
7907 continue/quit query. Update copyright.
7908
fe6fdd96
MS
79092002-01-14 Michael Snyder <msnyder@redhat.com>
7910
7911 * gdb.base/gcore.exp: Remove extra debugging output.
7912
e017c81f
DJ
79132002-01-13 Daniel Jacobowitz <drow@mvista.com>
7914
7915 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
7916 for slightly dubious v2 mangled string.
7917
37ab3bf8
DJ
79182002-01-13 Daniel Jacobowitz <drow@mvista.com>
7919
7920 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
7921
1bc05c3a 79222002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 7923
1bc05c3a 7924 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 7925
1bc05c3a
JM
7926 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
7927 constructors.
7928 * gdb.c++/derivation.exp: Likewise.
7929 * gdb.c++/templates.exp: Likewise.
7930 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 7931
1bc05c3a
JM
79322002-01-10 Michael Snyder <msnyder@redhat.com>
7933
7934 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 7935
a911c360
MS
79362002-01-08 Michael Snyder <msnyder@redhat.com>
7937
7938 * gdb.base/gcore.exp: New test for generate-core-file command.
7939 * gdb.base/gcore.c: Testcase for above.
7940 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
7941
ea2119ec
JM
79422002-01-08 Jason Merrill <jason@redhat.com>
7943
7944 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
7945
68203136
FF
79462002-01-07 Fred Fish <fnf@redhat.com>
7947
7948 * gdb.c++/overload.exp: Remove unconditional xfails for:
7949 print foo_instance1.overloadargs(1)
7950 print foo_instance1.overloadargs(1, 2)
7951 print foo_instance1.overloadargs(1, 2, 3)
7952 print foo_instance1.overloadargs(1, 2, 3, 4)
7953 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
7954 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
7955 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
7956 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
7957 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
7958 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
7959 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
7960 print foo_instance1.overload1arg()
7961 print foo_instance1.overload1arg((char)arg2)
7962 print foo_instance1.overload1arg((signed char)arg3)
7963 print foo_instance1.overload1arg((unsigned char)arg4)
7964 print foo_instance1.overload1arg((int)arg7)
7965 print foo_instance1.overload1arg((unsigned int)arg8)
7966 print foo_instance1.overload1arg((float)arg11)
7967 print foo_instance1.overload1arg((double)arg12)
d63a86f8 7968
21b9b5b1
MS
79692002-01-07 Michael Snyder <msnyder@redhat.com>
7970
7971 * gdb.base/huge.exp: New test. Print a very large target data object.
7972 (skip_huge_test): New test variable. Define if you want to skip this
7973 test. The test reads an 8 megabyte data object from the target, so it
7974 might be very time consuming on remote targets with a slow connection.
7975 * gdb.base/huge.c: New file. Test case for above.
7976
725f922e
FF
79772002-01-07 Fred Fish <fnf@redhat.com>
7978
7979 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
7980 g_instance.bfoo, and g_instance.cfoo.
7981
634d57ec
JL
7982Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
7983
f286b2c3
JL
7984 * gdb.base/break.c (multi_line_if_conditional): New function.
7985 (multi_ilne_while_conditional): Likewise.
7986 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
7987 IF or WHILE condition puts the breakpoint at the start of
7988 the condition.
7989
634d57ec
JL
7990 * gdb.base/selftest.exp (backtrace through signal handler): Remove
7991 hppa*-*-hpux* expected failure.
7992 * gdb.base/structs.exp (do_function_calls): Similarly.
7993
7994 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
7995 watchpoints.
7996
9fbfe2dc
AC
79972002-01-06 Andrew Cagney <ac131313@redhat.com>
7998
7999 Fix PR gdb/66.
8000 * gdb.base/structs.exp: Replace skip for a29k with skip for
8001 gdb,cannot_call_functions.
8002 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
8003 * gdb.base/callfuncs.exp: Ditto.
8004 * gdb.base/call-rt-st.exp: Ditto.
8005 * gdb.base/call-strs.exp: Ditto.
8006 * gdb.base/callfwmall.exp: Ditto.
8007 * gdb.base/scope.exp: Obsolete xfail a29k.
8008 * gdb.c++/misc.exp: Ditto.
8009 * gdb.c++/cplusfuncs.exp: Ditto.
8010 * gdb.base/ptype.exp: Ditto.
8011 * gdb.base/printcmds.exp: Ditto.
8012 * gdb.base/opaque.exp: Ditto.
8013 * gdb.base/list.exp: Ditto.
8014 * gdb.base/funcargs.exp: Ditto.
8015 * gdb.base/default.exp: Ditto.
8016
8ddad156
MS
80172002-01-04 Michael Snyder <msnyder@redhat.com>
8018
ca4976a6 8019 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
8020 * gdb.base/maint.exp: Add tests for maint info sections options.
8021
1b074332
JL
8022Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
8023
8024 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
8025
7d159115
CV
80262001-12-20 Corinna Vinschen <vinschen@redhat.com>
8027
8028 * gdb.asm/arm.inc: New file.
8029 * gdb.asm/asm-source.exp: Add arm targets.
8030 * gdb.asm/configure.in: Ditto.
8031 * gdb.asm/configure: Recreated from configure.in.
8032
8fb87725
JL
8033Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
8034
afabe08c
JL
8035 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
8036 with HP's compiler.
8037 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
8038 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
8039 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
8040 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
8041
8042 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
8043 either HP's compilers or GCC.
8044
db521deb
JL
8045 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
8046 a SIGBUS or SIGSEGV.
8047
8048 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
8049
8050 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
8051 can be compiled with either HP's compiler or GCC.
8052
cfa88ab7
JL
8053 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
8054 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
8055 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
8056
ca344dff
JL
8057 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
8058 to match current gdb output. Update due to using auto-solib-limit
8059 for limiting instead of overloading auto-solib-add.
8060 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
8061 test program.
8062
3f3c6e55 8063 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
8064 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
8065 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
8066 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
8067 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
8068 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
8069 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
8070 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
8071 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
8072 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
8073 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
8074 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
8075 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 8076
8fb87725
JL
8077 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
8078 a SIGTRAP to the inferior.
8079
cf599fa7
CV
80802001-12-19 Corinna Vinschen <vinschen@redhat.com>
8081
8082 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
8083 Substitute call to target_link by call to gdb_compile.
8084
2cd045cd
JL
8085Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
8086
8087 * gdb.base/break.exp: Fix HP specific search string when testing
8088 backtracing in a called function.
8089
d63a86f8 8090 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
8091 compiling the test with HP's compilers.
8092 * gdb.base/volatile.exp: Similarly.
8093
99ebe9ac
JB
80942001-12-19 Jim Blandy <jimb@redhat.com>
8095
8096 * gdb.base/printcmds.exp: Expect the null character to be printed
8097 as '\0', and the '\013' to be printed as '\v'.
8098 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
8099 * gdb.base/setvar.exp: Same.
8100
b9891b29
JB
81012001-12-17 Jim Blandy <jimb@redhat.com>
8102
0eba65ab
JB
8103 * gdb.base/completion.exp: Rather than completing very long
8104 filenames, which can make the readline library produce output we
8105 don't recognize, cd to the directory first, and then complete
8106 using nice, short relative paths.
8107
6970b5b1
JB
8108 * gdb.base/completion.exp: On some systems, there is, in fact, a
8109 variable named `b' in scope, since GDB treats all static
8110 variables as being in scope. So use `no_var_named_this'
8111 instead of `b'.
8112
b9891b29
JB
8113 * gdb.base/corefile.exp: Recognize the message saying that GDB
8114 can't find the core file's registers as a failure.
8115
e6ccd35f
JSC
81162001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
8117
8118 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
8119 test expect string more specific.
8120
105ba819
CV
81212001-12-13 Corinna Vinschen <vinschen@redhat.com>
8122
8123 * gdb.asm/asm-source.exp: Add support for xstormy16.
8124 * gdb.asm/configure.in: Ditto.
8125 * gdb.asm/configure: Rebuild.
8126 * gdb.asm/xstormy16.inc: New file.
8127
e9e79dd9
FF
81282001-12-10 Fred Fish <fnf@redhat.com>
8129
8130 * gdb.base/maint.exp: Update to match changes in type dumping code.
8131
347dc97d
JB
81322001-12-10 Jim Blandy <jimb@redhat.com>
8133
8134 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
8135 matching the entry point symbol's name at the beginning of the
8136 line.
8137
5178b9d6
DJ
81382001-12-07 Daniel Jacobowitz <drow@mvista.com>
8139
8140 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
8141 gdb.c++/inherit.exp, gdb.c++/method.exp,
8142 gdb.c++/namespace.exp, gdb.c++/templates.exp,
8143 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
8144 and class layout support.
8145
af890c52
DJ
81462001-12-07 Daniel Jacobowitz <drow@mvista.com>
8147
8148 * gdb.c++/classes.exp: Add test for static member function.
8149 * gdb.c++/misc.cc: Add class with static member function.
8150
7a345fb3
JB
81512001-12-07 Jim Blandy <jimb@redhat.com>
8152
f2e54a80 8153 If GDB says it can't find the struct the function returned, report
8032bf31
JB
8154 those tests as `unsupported'.
8155 * gdb.base/call-rt-st.exp (print_struct_call): New function.
8156 Rewrite subsequent tests to use it.
8157
8158 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
8159 those tests as `unsupported'.
8160 * gdb.base/structs.exp (call_struct_func): New function.
8161 (do_function_calls): Use call_struct_func to call the functions
8162 returning structs.
8163
0bc69509
JB
8164 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
8165 whether functions are prototyped or not, so we can't possibly pass
8166 arguments to t_float_values2 properly.
8167
7a345fb3
JB
8168 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
8169 value of `timeout' for targets other than the mips*tx39-*.
8170
edb6ede1
MS
81712001-12-06 Michael Snyder <msnyder@redhat.com>
8172
d63a86f8 8173 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
8174 and detect whether the start symbol has a leading underscore.
8175
2d842f13
JB
81762001-12-04 Jim Blandy <jimb@redhat.com>
8177
8178 * gdb.base/completion.exp: Clarify indentation.
8179
68550daf
JB
81802001-12-03 Jim Blandy <jimb@redhat.com>
8181
8182 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
8183 variables on the S/390, not `.word'.
8184
cd5195a8
JB
81852001-11-30 Jim Blandy <jimb@redhat.com>
8186
8187 Add assembly-source tests for s390-ibm-linux.
8188 * gdb.asm/s390.inc: New file.
8189 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
8190 the S/390 architecture.
8191 * gdb.asm/configure: Regenerated.
8192
ca9efc90
MS
81932001-11-30 Michael Snyder <msnyder@redhat.com>
8194
8195 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
8196 next, info source, info sources, info line, global and static
8197 variables, and static functions.
8198 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
8199 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
8200 * gdb.asm/asmsrc1.s: Add a static function and some variables.
8201 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
8202 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
8203 (gdbasm_leave): Restore frame pointer.
8204 (gdbasm_startup): Copy stack set-up from crt0.S.
8205
d0e66976
FN
82062001-11-26 Fernando Nasser <fnasser@redhat.com>
8207
8208 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
8209 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
8210 to a local (non-static) variable. Copy tstruct.a to a static buffer
8211 and return a pointer to that buffer.
8212 * gdb.base/callfwmall.c (t_structs_a): Ditto.
8213
e2334072
MK
82142001-11-24 Mark Kettenis <kettenis@gnu.org>
8215
8216 * gdb.asm/configure.in: Fix recognition of ix86 target.
8217 * gdb.asm/configure: Regenerate.
8218
756caa3d
MS
82192001-11-21 Michael Snyder <msnyder@redhat.com>
8220
8221 * gdb.asm/sparc.inc: New file.
8222 * gdb.asm/asm-source.exp: Recognize sparc target.
8223 * gdb.asm/configure.in: Recognize sparc target.
8224 * gdb.asm/configure: Regenerate.
d63a86f8 8225
9a4d72d5
MS
82262001-11-21 Michael Snyder <msnyder@redhat.com>
8227
8228 * gdb.asm/m32r.inc: New file.
8229 * gdb.asm/asm-source.exp: Recognize m32r target.
8230 * gdb.asm/configure.in: Recognize m32r target.
8231 * gdb.asm/configure: Regenerate.
8232
a773d1cd
MS
82332001-11-20 Michael Snyder <msnyder@redhat.com>
8234
017ac23d
MS
8235 * gdb.asm/i386.inc: New file.
8236 * gdb.asm/asm-source.exp: Recognize ix86 target.
8237 * gdb.asm/configure.in: Recognize ix86 target.
8238 * gdb.asm/configure: Regenerate.
8239
a773d1cd
MS
8240 * gdb.c++/namespace.exp: Fix quotes in output messages.
8241
bb632afb
MS
82422001-11-14 Michael Snyder <msnyder@redhat.com>
8243
25d559ca 8244 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
8245 qualifier in a type cast expression, to designate an address
8246 in the instruction space (Harvard architecture).
8247
4749e309
MS
82482001-11-13 Michael Snyder <msnyder@redhat.com>
8249
8250 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
8251 Tests for expressions using 'const' and 'volatile'.
8252
25050984
CV
82532001-11-13 Corinna Vinschen <vinschen@redhat.com>
8254
8255 * gdb.asm/asm-sources.exp: Allow defining linker flags.
8256
1902c51f
DJ
82572001-11-12 Daniel Jacobowitz <drow@mvista.com>
8258
8259 * lib/mi-support.exp (mi_run_to_helper): Move comments
8260 outside of gdb_expect.
8261
dcf95b47
DJ
82622001-11-11 Daniel Jacobowitz <drow@mvista.com>
8263
8264 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
8265 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
8266 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
8267 mi0_run_to): New functions.
8268 * gdb.mi/mi-simplerun.exp: Use them.
8269 * gdb.mi/mi0-simplerun.exp: Likewise.
8270 * gdb.mi/mi-var-cmd.exp: Likewise.
8271 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 8272
45b074e1
AC
82732001-11-10 Andrew Cagney <ac131313@redhat.com>
8274
8275 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
8276 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
8277
bf50d346
AC
82782001-11-09 Andrew Cagney <ac131313@redhat.com>
8279
8280 * gdb.base/restore.exp: Include $expected value in restored test
8281 message.
8282
9383332c
AC
82832001-11-09 Andrew Cagney <ac131313@redhat.com>
8284
8285 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
8286 implemented.
8287
db62520a
MS
82882001-11-08 Michael Snyder <msnyder@redhat.com>
8289
8290 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
8291 Add pass/fail message for stop at breakpoint in call dummy function.
8292
b5703437
MS
82932001-11-07 Michael Snyder <msnyder@redhat.com>
8294
d63a86f8
RM
8295 * gdb.c++/templates.exp (test_template_breakpoints):
8296 If we get an overload menu, but it does not match what
760f6330 8297 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
8298 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
8299 making the whitespace optional. Argument for "new" may be
8300 "unsigned" as well as "unsigned int/long".
d63a86f8 8301 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
8302 making the whitespace optional. Also replace "(void) with
8303 "((void|)), making the keyword "void" optional.
d63a86f8 8304 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
8305 making the whitespace optional. Also replace "(void) with
8306 "((void|)), making the keyword "void" optional.
3bf40917
MS
8307 * gdb.base/callfuncs.c (t_float_values): This function must
8308 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 8309 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
8310 can be tested against both cases. Usually one case involves
8311 promotion of float to double, while the other does not.
8312 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
8313 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
8314 includes a stack frame for "start".
8315
c8ab4e6d
JB
83162001-11-05 Jim Blandy <jimb@redhat.com>
8317
8318 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
8319 pointers are 32 bits long, and that offsets of relocs are always
8320 stored in the data (REL-style), and not in the reloc entry itself
8321 (RELA-style).
8322 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
8323 stabs.
8324
3f08ced9
MS
83252001-11-01 Michael Snyder <msnyder@redhat.com>
8326
8327 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
8328 and regular expression operators by using quoting.
8329
cbfa24cd
MS
83302001-10-31 Michael Snyder <msnyder@redhat.com>
8331
8332 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
8333 depending on what the symbol table contains.
8334 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
8335 the output of the ptype command. Similarly, accept both "const &"
8336 and "const&".
8337
aaa68313
CV
83382001-10-31 Corinna Vinschen <vinschen@redhat.com>
8339
8340 * gdb.base/miscexprs.c (main): Add usage of preprocessor
8341 symbol `STORAGE' to allow to choose the storage class of
8342 the local datastructures.
8343 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
8344 compiler directive.
8345
91740388
MS
83462001-10-30 Michael Snyder <msnyder@redhat.com>
8347
8348 * gdb.base/jump.exp: Allow it to run for all targets.
8349
1b7c05e7
CV
83502001-10-29 Corinna Vinschen <vinschen@redhat.com>
8351
8352 * gdb.base/call-ar-st.c (print_double_array): Match for loop
8353 with new double_array size.
8354 (main): Change storage class of all local variables to static.
8355 Reduce size of double_array to 9.
8356 * gdb.base/call-ar-st.exp: Increase timeout value.
8357 Change expected output for double array to match new size in
8358 call-ar-st.c.
8359
36a22261
CV
83602001-10-29 Corinna Vinschen <vinschen@redhat.com>
8361
8362 * gdb.base/ending-run.exp: Create identical output when passing
8363 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 8364 Stormy16 target.
36a22261 8365
92b8ae91
MK
83662001-10-28 Mark Kettenis <kettenis@gnu.org>
8367
8368 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
8369 that we catch the expected failure under Linux/x86.
8370
cb135b83
OF
83712001-10-29 Orjan Friberg <orjanf@axis.com>
8372
8373 * gdb.base/setvar.exp: Escape curly braces.
8374 * gdb.stabs/weird.exp: Ditto.
8375
6884aa54
DJ
83762001-10-27 Daniel Jacobowitz <drow@mvista.com>
8377
8378 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
8379 * gdm.mi/mi0-hack-cli.exp: Likewise.
8380
0398c9aa
AC
83812001-10-25 Andrew Cagney <ac131313@redhat.com>
8382
8383 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
8384 messages.
8385
d20bf2e8
AC
83862001-10-21 Andrew Cagney <ac131313@redhat.com>
8387
8388 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
8389 checking MI enabled.
8390
03dd63aa
CV
83912001-10-09 Corinna Vinschen <vinschen@redhat.com>
8392
8393 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
8394
1d9d99f3
FCE
83952001-10-04 Frank Ch. Eigler <fche@redhat.com>
8396
8397 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
8398 if gdb child process crashes, just signal an error.
8399
838ae6c4
JB
84002001-10-02 Jim Blandy <jimb@redhat.com>
8401
8402 * lib/gdb.exp (test_xfail_format): Simplify.
8403
8404 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
8405 front of the variable name `format'. Simplify `if'.
8406
8f0cbc1c
DJ
84072001-10-01 Daniel Jacobowitz <drow@mvista.com>
8408
8409 * gdb.threads/pthreads.exp: Wait for output and delay
8410 before sending ^C.
8411
1f08dafd
DJ
84122001-10-01 Daniel Jacobowitz <drow@mvista.com>
8413
8414 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
8415 some incorrect output instead of timing out.
8416 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
8417
674f90ff
CV
84182001-09-28 Corinna Vinschen <vinschen@redhat.com>
8419
8420 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
8421 check to allow additional `int'.
8422
9b284272
DJ
84232001-09-27 Daniel Jacobowitz <drow@mvista.com>
8424
8425 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
8426 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
8427
b55a4771
MS
84282001-09-27 Michael Snyder <msnyder@redhat.com>
8429
8430 * lib/gdb.exp (test_debug_format): New proc.
8431 (setup_xfail_format): Use new proc test_debug_format.
8432 * gdb.base/constvars.exp (local_compiler_xfail_check): New
8433 proc; use new service proc test_debug_format.
8434 Replace all other "gcc_compiled" tests with this test.
8435 * gdb.base/volatile.exp (local_compiler_xfail_check): New
8436 proc; use new service proc test_debug_format.
8437 Replace all other "gcc_compiled" tests with this test.
8438
84392001-09-27 Michael Snyder <msnyder@redhat.com>
8440
8441 * gdb.base/cvexpr.exp: New file.
8442 * gdb.base/cvexpr.c: New file
8443 Test for expressions using const and volatile keywords.
8444
4e6667ac
CV
84452001-09-26 Corinna Vinschen <vinschen@redhat.com>
8446
8447 * gdb.base/constvars.exp: Check for different orders of keywords
8448 and additional "int" strings in output.
8449
4f337972
AC
84502001-09-22 Andrew Cagney <ac131313@redhat.com>
8451
8452 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
8453 responses from "help maint".
8454
2015650d
FCE
84552001-09-19 Frank Ch. Eigler <fche@redhat.com>
8456
8457 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
8458 to localhost:NNN instead of :NNN, in case Xvfb is listening
8459 only on TCP.
8460
f3bcedc1
CV
84612001-09-19 Corinna Vinschen <vinschen@redhat.com>
8462
8463 * gdb.base/recurse.exp: When checking leaving the watchpoint
8464 scope, recognize when gdb is in function's epilogue and pass.
8465
6b819c92
KS
84662001-09-18 Keith Seitz <keiths@redhat.com>
8467
8468 * lib/insight-support.exp (_gdbtk_export_target_info): Add
8469 support for running tests against sid targets.
8470 (gdbtk_done): Ditto.
8471
a10c9419
CV
84722001-09-18 Corinna Vinschen <vinschen@redhat.com>
8473
8474 * gdb.base/ending-run.c (main): Set stdout buffersize
8475 to the same reasonable value for any target.
8476 * gdb.base/ending-run.exp: Add a regular expression
8477 to make testsuite happy on Sanyo Stormy16 target.
8478
739d0d99
CV
84792001-09-17 Corinna Vinschen <vinschen@redhat.com>
8480
8481 * gdb.base/display.c (do_loops): Add float variable `f'.
8482 Increment f in loop.
8483 * gdb.base/display.exp: Increment timeout by 60 seconds.
8484 Change float display test to use variable `f'.
8485
1b8947f0
JB
84862001-09-17 Jim Blandy <jimb@redhat.com>
8487
8488 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
8489 overflowing the limited breakpoint tables on some ROM monitors
8490 (like the ROM68K).
8491
9890ac81
FCE
84922001-09-15 Frank Ch. Eigler <fche@redhat.com>
8493
8494 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
8495 the "-ac" (disable access control) flag.
8496
6db765ea
JH
84972001-08-30 Jeff Holcomb <jeffh@redhat.com>
8498
8499 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
8500 ints.
8501
4c32cc04
KS
85022001-08-30 Keith Seitz <keiths@redhat.com>
8503
8504 * lib/gdb.exp: Move all insight-related functionality into
8505 separate file.
8506 * lib/insight-support.exp: New file.
8507
8d6e6f81
FCE
85082001-08-29 Frank Ch. Eigler <fche@redhat.com>
8509
8510 * config/sid.exp (sid_start): Never set sid verbosity; disable
8511 expect_background {} that consumed its stdout; tolerate </dev/null.
8512 Attempt to set endianness override in "sid" protocol mode. Cleanup.
8513
6a90e1d0
AC
85142001-08-18 Andrew Cagney <ac131313@redhat.com>
8515
8516 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
8517 CLI jump command to start it.
8518 (mi_run_to_main): Fail immediatly when unexpected output.
8519
1759b3c3
AC
85202001-08-18 Andrew Cagney <ac131313@redhat.com>
8521
8522 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
8523 beginning of function. Fix PR gdb/191.
8524
61d11d80
FCE
85252001-08-16 Frank Ch. Eigler <fche@redhat.com>
8526
8527 * config/sid.exp (sid_start): Don't warn if we cannot figure out
8528 what to force sid endianness to.
8529
942a4df2
KS
85302001-08-15 Keith Seitz <keiths@redhat.com>
8531
8532 * lib/gdb.exp (gdbtk_start): Don't set environment
8533 variables for TCL_LIBRARY and friends. Insight will
8534 now figure these out for itself.
8535
0521c418
MS
85362001-08-02 Michael Snyder <msnyder@redhat.com>
8537
8538 * gdb.base/completion.exp: Remove the symbol "a64l" from
8539 the expect string; this is target-specific, and not related
8540 to what is being tested.
8541
74a9a58a
DB
85422001-08-02 Dave Brolley <brolley@redhat.com>
8543
8544 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
8545
c70819fa
MS
85462001-07-25 Michael Snyder <msnyder@redhat.com>
8547
c2b8fa57
MS
8548 * gdb.base/consecutive.exp: New file. Test stepping over
8549 breakpoints on consecutive instructions.
8550 * gdb.base/consecutive.c: New file.
8551
c70819fa
MS
8552 * gdb.base/call-rt-st.exp: Use double-backslash to quote
8553 curly braces in regular expressions.
8554
2b1a1355
MS
85552001-07-25 Michael Snyder <msnyder@redhat.com>
8556
8557 * gdb.base/ending-run.exp: Accept "Program exited normally" as
8558 legitimate output from stepping out of main.
8559
413eca6f
KS
85602001-07-22 Keith Seitz <keiths@redhat.com>
8561
8562 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
8563 the empty string, do not run the tests.
8564
7e5a9322
SC
85652001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8566
8567 * gdb.base/long_long.exp: Detect size of pointer. Take into
8568 account 2-byte pointers when testing for p/a results.
8569
de58f10f
SC
85702001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8571
d63a86f8 8572 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
8573 and defined to 1K for m68hc11.
8574 (random_data): Reduce table to 1K for embedded platforms (68hc11).
8575 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
8576 (sizeof_random_data): New variable to tell the size of the data table;
8577 don't test past this size; always run to main.
8578
d6f5fea1
SC
85792001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8580
8581 * gdb.base/return2.exp: return of long long and double fails for
8582 68HC11; don't execute these tests on that platform.
8583 * gdb.base/return.exp: Return of a double fails for 68hc11.
8584
c477543d
SC
85852001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8586
8587 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
8588 tests that print a float.
8589 * call-rt-st.exp: Likewise.
8590
63cf1c79
MK
85912001-07-12 Mark Kettenis <kettenis@gnu.org>
8592
8593 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
8594 running this test on Linux.
8595
112f9ab5
MC
85962001-06-24 Michael Chastain <chastain@redhat.com>
8597
8598 * gdb.base/arithmet.exp: Remove some tests to make all test names
8599 unique.
8600
4970cb0f
MS
86012001-07-03 Michael Snyder <msnyder@redhat.com>
8602
8603 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
8604 the output of the ptype command.
8605
d85da69f
MS
86062001-07-02 Michael Snyder <msnyder@redhat.com>
8607
4c8a82de
MS
8608 * gdb.base/completion.exp: Don't assume that break.c is the only
8609 source file that may contain functions named "marker".
d85da69f
MS
8610 * gdb.base/corefile.exp: Quote the curly braces in regexp.
8611
8afc772b
AC
86122001-06-28 Andrew Cagney <ac131313@redhat.com>
8613
8614 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
8615 of files to delete.
8616
8617 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
8618 * gdb.disasm/h8300s.exp: New file.
8619 gdb.disasm/h8300s.s: Likewise.
8620
cff22675
AC
86212001-06-27 Andrew Cagney <ac131313@redhat.com>
8622
8623 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
8624 empty breakpoint tables.
8625
68c81b54
AC
86262001-06-25 Andrew Cagney <ac131313@redhat.com>
8627
8628 * lib/mi-support.exp: Update args=... part of stop-reason
8629 patterns. Accept either a list or a tuple.
8630
2dd62704
AC
86312001-06-23 Andrew Cagney <ac131313@redhat.com>
8632
8633 * lib/mi-support.exp: Remove local emacs variable defining
8634 change-log-default-name.
8635
b4127474
MC
86362001-06-22 Michael Chastain <chastain@redhat.com>
8637
8638 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
8639 This is operationally compatible with the previous version.
8640
8dbfb380
JB
86412001-06-13 Jim Blandy <jimb@redhat.com>
8642
8643 * lib/gdb.exp (gdb_test): Doc fix.
8644
f2d8c86d
MC
86452001-06-10 Michael Chastain <chastain@redhat.com>
8646
8647 * gdb.base/exprs.exp: Remove a duplicate test.
8648
81564d34
JB
86492001-06-06 Jim Blandy <jimb@redhat.com>
8650
8651 * gdb.base/return2.exp (main): Use values to test float and double
8652 returns that are not NaN's, to avoid being confused by IEEE
8653 comparison rules.
8654
da55addb
MS
86552001-06-04 Michael Snyder <msnyder@redhat.com>
8656
8657 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 8658 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
8659 rather than wait for 12 more tests to time out.
8660
42c65987
JB
86612001-06-06 Jim Blandy <jimb@redhat.com>
8662
b18bced9 8663 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 8664 Don't forget to match the GDB prompt.
b18bced9 8665
42c65987
JB
8666 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
8667
5b41e5f0
JB
86682001-06-04 Jim Blandy <jimb@redhat.com>
8669
8670 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
8671 command.
8672
015e046f
KB
86732001-05-31 Kevin Buettner <kevinb@redhat.com>
8674
8675 * gdb.base/annota1.exp (info break): Match four or more spaces
8676 after "Address".
8677
fb1ffbbe
MC
86782001-05-31 Michael Chastain <chastain@redhat.com>
8679
8680 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
8681 (dm_type_int_star): Likewise.
8682 (dm_type_long_star): Likewise.
8683 (dm_type_void_star): Likewise.
8684
5ea2a32c
KB
86852001-05-29 Kevin Buettner <kevinb@redhat.com>
8686
8687 * gdb.base/completion.exp (INPUTRC): Set this environment variable
8688 to a known value in order to get consistent results regardless
8689 of the setting of INPUTRC or the presence or contents of .inputrc.
8690
ae23c492
MS
86912001-05-24 Michael Snyder <msnyder@redhat.com>
8692
ac55707e
MS
8693 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
8694 Don't require that the main thread and the manager thread are the
8695 first in the list.
8696
ae23c492
MS
8697 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
8698 debugging. If test fails, issue an "unsupported" not a "fail".
8699
400071f1
JB
87002001-05-24 Jim Blandy <jimb@redhat.com>
8701
8702 Don't assume that short is shorter than int.
8703 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
8704 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 8705 this isn't true.
400071f1
JB
8706 ("print unsigned char == (~0)"): Add test that verifies that ~0,
8707 an int, is not equal to ~0 stored in an unsigned char. This tests
8708 the same thing that the previous test meant to, but works on
8709 16-bit machines, too.
8710 ("print unsigned char != (~0)"): Same test, complemented.
8711
0816a3e5
MS
87122001-05-24 Michael Snyder <msnyder@redhat.com>
8713
8714 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 8715 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
8716 and prevents dejagnu getting out of step.
8717
f6dc23a9
KB
87182001-05-23 Kevin Buettner <kevinb@redhat.com>
8719
8720 * gdb.base/finish.exp (finish_void): Revise pattern for
8721 stopping on the call statement to not permit stopping at
8722 the start of the instructions comprising the call sequence.
8723
7dbd117d
MC
87242001-05-19 Michael Chastain <chastain@redhat.com>
8725
8726 * gdb.base/callfuncs.exp: Make all test names unique.
8727 * gdb.base/commands.exp: Make all test names unique.
8728 * gdb.base/condbreak.exp: Make all test names unique.
8729 * gdb.base/dbx.exp: Make all test names unique.
8730 * gdb.base/default.exp: Make all test names unique.
8731 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
8732 and TIMEOUT messages to their corresponding PASS message.
8733 * gdb.base/ending-run.exp: Make all test names unique.
8734 * gdb.base/long_long.exp: Remove duplicate test.
8735
6b0b0a9e
KB
87362001-05-21 Kevin Buettner <kevinb@redhat.com>
8737
8738 * gdb.base/finish.exp (finish_void): Allow "finish" command to
8739 stop on the call statement as well as the statement after the
8740 call.
8741
2caa35cb
MS
87422001-05-21 Michael Snyder <msnyder@redhat.com>
8743
8744 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
8745
40713331
EZ
87462001-05-10 Elena Zannoni <ezannoni@redhat.com>
8747
8748 * gdb.base/completion.exp: Revamp test. Make it execute on all
8749 platforms.
8750
c2c1be8d
EZ
87512001-05-10 Elena Zannoni <ezannoni@redhat.com>
8752
2c9cd303
EZ
8753 * config/gdbserver.exp (gdb_load): Handle the case
8754 in which the arguments to gdbserver are given in the
8755 baseboard configuration file.
8756 Also handle the case in which the server needs to do a
8757 load.
8758
9671de48
KS
87592001-05-07 Keith Seitz <keiths@cygnus.com>
8760
8761 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
8762 set up the display for testing.
8763 (gdbtk_start): Convert all paths to paths that tcl will like.
8764 Export target information to environment.
8765 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
8766 necessary.
8767 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
8768 (to_tcl_path): New proc to convert a given pathname into
8769 a path acceptible as an argument to a tcl command.
8770 (_gdbtk_export_target_info): New proc to export target info
8771 into the environment for gdbtk testing.
8772 (gdbtk_done): New proc to signal end-of-test.
8773
5a360f47
JB
87742001-05-06 Jim Blandy <jimb@redhat.com>
8775
8776 * restore.c: Make the code of caller0 correspond to its comment.
8777
66c756c6
MS
87782001-05-03 Michael Snyder <msnyder@redhat.com>
8779
8780 * config/sid.exp (gdb_target_sid): Check for error messages.
8781 On error or timeout, don't make expect exit (which will terminate
8782 all subsequent tests); instead just make gdb exit.
d63a86f8 8783 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
8784 return a negative value.
8785
a966fde5
JB
87862001-04-24 Jim Blandy <jimb@redhat.com>
8787
851c18e0
JB
8788 * gdb.c++/templates.exp: If we see the prompt for the overload
8789 list, but we haven't recognized any of the longer patterns,
8790 arrange for this test to fail, not hang.
8791
a966fde5
JB
8792 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
8793 variations.
8794
db144853
MC
87952001-04-22 Michael Chastain <chastain@redhat.com>
8796
8797 * gdb.c++/local.exp: Use the 'runto' library function.
8798 * gdb.c++/namespace.exp: Likewise.
8799 * gdb.c++/overload.exp: Likewise.
8800
3207ec21
KB
88012001-03-26 Kevin Buettner <kevinb@redhat.com>
8802
8803 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
8804 * gdb.base/step-line.exp: New file. Test step/next in presence of
8805 #line directives.
8806 * gdb.base/step-line.c: New file. Test program for the above.
8807 * gdb.base/step-line.inp: New file. We pretend that this file has
8808 been transformed by some other tool into step-line.c.
8809
13b57657
JB
88102001-03-21 Jim Blandy <jimb@redhat.com>
8811
8812 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
8813 unmangled operator names.
8814
754cbe1c
JB
88152001-03-20 Jim Blandy <jimb@redhat.com>
8816
8817 * gdb.threads/linux-dp.exp: Recognize an additional message
8818 generated by GDB when it doesn't understand how to debug threads
8819 on the target system.
8820
177495c9
AC
88212001-03-19 Andrew Cagney <ac131313@redhat.com>
8822
8823 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
8824
f266096b
MC
88252001-03-12 Michael Chastain <chastain@redhat.com>
8826
8827 * gdb.c++/derivation.exp: Use the 'runto' library function.
8828
cac3c2ff
MC
88292001-03-12 Michael Chastain <chastain@redhat.com>
8830
8831 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
8832
b6c11a24
MC
88332001-02-24 Michael Chastain <chastain@redhat.com>
8834
8835 * gdb.c++/ref-types.exp: Change handwritten code to library
8836 function 'runto'.
8837
6bae5bce
OF
88382001-03-16 Orjan Friberg <orjanf@axis.com>
8839
8840 * gdb.base/signals.exp: Set count to 0 explicitly.
8841
0015fd9a
MS
88422001-03-15 Mark Salter <msalter@redhat.com>
8843
8844 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
8845 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
8846 (gdb_load): Add support for additional target_info: gdb_download_size
8847 and gdb_load_timeout.
0015fd9a 8848
fc33412a
DT
8849Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
8850
8851 * gdb.base/annota1.exp: Move test of isnative to earlier in the
8852 file -- to prevent failing when the compile fails but we have no
8853 intention of running the tests anyway.
8854
8855 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
8856 tests if set.
8857
8858 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
8859 integers.
8860
8861 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
8862 * gdb.c++/namespace.exp: Ditto.
8863
115f06de
OF
88642001-03-07 Orjan Friberg <orjanf@axis.com>
8865
8866 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
8867 * gdb.base/pointers.exp: Relax pattern match of decimals.
8868
b6ba6518
KB
88692001-03-06 Kevin Buettner <kevinb@redhat.com>
8870
8871 * Makefile.in, config/abug.exp, config/cfdbug.exp,
8872 config/cpu32bug.exp, config/dve.exp, config/est.exp,
8873 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
8874 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
8875 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
8876 config/sh.exp, config/sid.exp, config/slite.exp,
8877 config/sparclet.exp, config/udi.exp, config/unknown.exp,
8878 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
8879 config/vxworks.exp, config/vxworks29k.exp,
8880 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
8881 gdb.base/all-bin.exp, gdb.base/annota1.exp,
8882 gdb.base/arithmet.exp, gdb.base/assign.exp,
8883 gdb.base/async.exp, gdb.base/attach.exp,
8884 gdb.base/bitfields.exp, gdb.base/bitops.exp,
8885 gdb.base/break.exp, gdb.base/call-ar-st.exp,
8886 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
8887 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
8888 gdb.base/commands.exp, gdb.base/completion.exp,
8889 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
8890 gdb.base/constvars.exp, gdb.base/corefile.exp,
8891 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
8892 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
8893 gdb.base/ending-run.exp, gdb.base/environ.exp,
8894 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
8895 gdb.base/finish.exp, gdb.base/foll-exec.exp,
8896 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
8897 gdb.base/funcargs.exp, gdb.base/help.exp,
8898 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
8899 gdb.base/logical.exp, gdb.base/long_long.exp,
8900 gdb.base/maint.exp, gdb.base/mips_pro.exp,
8901 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
8902 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
8903 gdb.base/pointers.exp, gdb.base/printcmds.exp,
8904 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
8905 gdb.base/regs.exp, gdb.base/relational.exp,
8906 gdb.base/remote.exp, gdb.base/reread.exp,
8907 gdb.base/restore.exp, gdb.base/return2.exp,
8908 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
8909 gdb.base/selftest.exp, gdb.base/setshow.exp,
8910 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
8911 gdb.base/sigall.exp, gdb.base/signals.exp,
8912 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
8913 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
8914 gdb.base/step-test.exp, gdb.base/structs.c,
8915 gdb.base/structs.exp, gdb.base/structs2.exp,
8916 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
8917 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
8918 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
8919 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
8920 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
8921 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
8922 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
8923 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
8924 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
8925 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
8926 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
8927 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
8928 gdb.fortran/types.exp, gdb.java/jmisc.exp,
8929 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
8930 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
8931 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8932 gdb.trace/circ.exp, gdb.trace/collection.exp,
8933 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8934 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8935 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
8936 gdb.trace/report.exp, gdb.trace/save-trace.exp,
8937 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8938 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
8939 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
8940 notices.
8941
dc96c6c7 89422001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
8943
8944 * gdb.base/varargs.c (find_max_double): Fix printf format string:
8945 first arg is int not float.
8946
dc96c6c7 89472001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
8948
8949 * gdb.base/reread.exp: Unsupported for non-native targets;
8950 doesn't work for remote debugging.
8951
9b0c4aeb
FN
89522001-02-19 Fernando Nasser <fnasser@redhat.com>
8953
8954 From Drew Moseley <dmoseley@redhat.com>
8955 * gdb.base/ending-run.exp: Properly handle the BSP state when
8956 stepping past the end of main.
8957
02aa71d5
MC
89582001-02-19 John Moore <jmoore@redhat.com>
8959
8960 * gdb.base/commands.exp (infrun_breakpoint_command_test):
8961 Converted HPUX fix for non-expected items following multiple
8962 step commands into general solution for all platforms.
8963
1fa449a4
MC
89642001-02-18 Michael Chastain <chastain@redhat.com>
8965
8966 * gdb.c++/classes.exp (do_tests): Change runto statements
8967 from "runto 'foo(void)'" to "runto 'foo'". This makes the
8968 statements demangler agnostic.
8969 * gdb.c++/virtfunc.exp (do_tests): Likewise.
8970 (gdb_virtfunc_restart): Likewise.
8971
b2f9ec70
MC
89722001-02-14 Michael Chastain <chastain@redhat.com>
8973
8974 * gdb.c++/inherit.exp (do_tests): Change runto statements
8975 from "runto 'foo(void)'" to "runto 'foo'". This makes the
8976 statements demangler agnostic.
8977
cf74b8ca
AC
8978Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
8979
8980 * gdb.threads/pthreads.exp: Unify pass/fail messages for
8981 ``continue to bkpt at common_routine in thread 2'' and ``stopped
8982 before calling common_routine 15 times'' tests.
8983
99f78f56
MC
89842001-02-11 Michael Chastain <chastain@redhat.com>
8985
8986 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
8987 Helps the test script figure out which demangler is in use.
8988 (dm_type_foo_ref): Ditto.
8989 (dm_type_int_star): Ditto.
8990 (dm_type_long_star): Ditto.
8991 (dm_type_unsigned_int): Ditto.
8992 (dm_type_void): Ditto.
8993 (dm_type_void_star): Ditto.
99707966 8994 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
8995 Probe the gdb demangler and set variables to accommodate
8996 formatting differences.
8997 (info_func_regexp): New function. Same as info_func, but
8998 matches against a regexp.
8999 (info_func): Match against a literal string.
9000 (print_addr_2): New function. Match against a literal string,
9001 which can be different from the input to gdb.
9002 (print_addr): Simply call print_addr_2 with the same argument twice.
9003 (test_lookup_operator_functions): Use demangler formatting variables.
9004 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
9005 the tests in the same order as the C++ class declaration.
9006 (test_paddr_operator_functions): Ditto.
9007 (test_paddr_overloaded_functions): Ditto.
9008 (test_paddr_hairy_functions): Use demangler formatting variables.
9009 Add reference to gdb/19 for related tests.
9010 (do_tests): Call probe_demangler.
9011
1de8f023
KB
90122001-01-30 Kevin Buettner <kevinb@redhat.com>
9013
9014 * gdb.c++/templates.cc (printf): Remove unused function definition.
9015
ca3f91ed
MS
90162001-01-26 Felix Lee <flee@redhat.com>
9017
9018 * sid.exp (sid_exit): Pass host, not target, to remote_close.
9019
90202001-01-25 matthew green <mrg@redhat.com>
9021
9022 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
9023 up sid.
9024 (sid_exit): Call `remote_pop_conn' after GDB is gone.
9025
90262001-01-25 matthew green <mrg@redhat.com>
9027
9028 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 9029 Deprecate $sid_spawn_id.
ca3f91ed
MS
9030 (sid_exit): Remove code necessary only for `spawn.'
9031
90322001-01-25 matthew green <mrg@redhat.com>
9033
9034 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
9035
fb18ec4a
MC
90362001-01-28 Michael Chastain <chastain@redhat.com>
9037
9038 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
9039 to call when tests fail. It takes gdb out of the overloaded
9040 function choice menu back to the main prompt, so that the test
9041 program stays synchronized.
9042 (set_bp_overloaded): New proc to collect all the common
9043 code for setting a breakpoint on an overloaded name. Calls
9044 take_gdb_out_of_choice_menu when needed.
9045 (menu_overload1arg): New variable to collect the repeated
9046 instances of the expected menu for an overloaded name. Change
9047 the regular expression to handle changes in g++ type encoding:
9048 "void" can be either "void" or "", and "unsigned int" can be
9049 either "unsigned int" or "unsigned".
9050 (continue_to_bp_overloaded): Change regular expressions to handle
9051 changes in g++ type encoding.
9052 (no proc): Call take_gdb_out_of_choice_menu when needed.
9053 Remove redundant calls to "info break". Accept either "canceled"
9054 or "cancelled". Change regular expressions in "info break"
9055 calls to handle changes in g++ type encoding. Give all tests
9056 unique strings.
9057
9c646a6e
BE
90582001-01-17 Ben Elliston <bje@redhat.com>
9059
9060 * config/sid.exp: New file.
9061
9549d9c1
AC
9062Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
9063
9064 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
9065
dc96c6c7 90662000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
9067
9068 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
9069 Add a RE to accept a non-ascii char if one is ever presented.
9070
b4df4f68
FN
90712000-12-20 Fernando Nasser <fnasser@redhat.com>
9072
297dd0fd 9073 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 9074
dc96c6c7 90752000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 9076
d63a86f8 9077 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
9078 in regexp. One '\' does not suffice on Linux.
9079
4a7bddb6
MC
90802000-12-09 Michael Chastain <chastain@redhat.com>
9081
9082 * gdb.base/break.exp (test_clear_command): Use a marker function
9083 rather than 'main' for the test function. Also move this
9084 test to an execution point where the marker function names are
9085 guaranteed to be bound to functions. (Executing tests after a
9086 'finish' from main runs into name conflicts with local names
9087 in __libc_start_main).
9088
dc96c6c7 90892000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
9090
9091 * gdb.base/finish.exp: New test for gdb's "finish" command.
9092 * gdb.base/return2.exp: New test for gdb's "return" command.
9093 * gdb.base/return2.c: New source file for above.
9094
dc96c6c7 90952000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
9096
9097 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
9098 * gdb.base/miscexprs.exp: Ditto.
9099 * gdb.base/pointers.exp: Ditto.
9100 * gdb.c++/derivation.exp: Ditto.
9101 * gdb.c++/local.exp: Ditto.
9102 * gdb.c++/namespace.exp: Ditto.
9103 * gdb.c++/overload.exp: Ditto.
9104 * gdb.c++/ref-types.exp: Ditto.
9105
dc96c6c7 91062000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
9107
9108 * gdb.base/constvars.exp: Test result of "up" command.
9109 * gdb.base/miscexprs.exp: Ditto.
9110 * gdb.base/pointers.exp: Ditto.
9111 * gdb.base/scope.exp: Ditto.
9112 * gdb.c++/derivation.exp: Ditto.
9113 * gdb.c++/local.exp: Ditto.
9114 * gdb.c++/namespace.exp: Ditto.
9115 * gdb.c++/overload.exp: Ditto.
9116 * gdb.c++/ref-types.exp: Ditto.
9117
44097287
FN
91182000-11-22 Michael Chastain <chastain@redhat.com>
9119
9120 * mips_pro.exp: Accept either "middle -> top -> main" or
9121 "middle -> main" in the backtrace, because gcc can optimize
9122 tail calls to jumps. Remove setup_xfail for the hppa case.
9123 Add a comment with the original warning messages from PR 3016,
9124 which was filed in 1993, to preserve them for posterity.
9125
9d2e1bab
ND
91262000-11-17 Nick Duffek <nsd@redhat.com>
9127
9128 * lib/gdb.exp (gdb_test): Override timeout with board info.
9129
1aca8eb7
ND
91302000-11-17 Nick Duffek <nsd@redhat.com>
9131
9132 * gdb.base/display.exp: Don't kill running stub. Add "again" to
9133 the second kill and detach messages.
9134
93076499
ND
91352000-11-17 Nick Duffek <nsd@redhat.com>
9136
9137 * configure.in: Add AC_EXEEXT.
9138 * configure: Regenerate.
9139 * Makefile.in (just-check): Export EXEEXT.
9140 * lib/gdb.exp ($EXEEXT): Import from environment.
9141 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
9142 expect "maint dump-me" on Cygwin.
9143 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
9144 $EXEEXT.
9145
30e87cd3
ND
91462000-11-17 Nick Duffek <nsd@redhat.com>
9147
9148 * gdb.base/break.exp: Test backtrace and finish from called
9149 function on all platforms, not just HP-UX.
9150
dc96c6c7 91512000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
9152
9153 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
9154 code from gdb_target_monitor, so it can be used independantly
9155 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 9156
dc96c6c7 91572000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
9158
9159 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
9160 * gdb.base/corefile.exp: Expect the message "Program is being
9161 debugged already" when we send the "corefile" command, since
9162 the preceeding gdb_load may have connected gdb to a remote target.
9163 * gdb.base/display.exp: Disable hardware watchpoints if new
9164 board info variable "no_hardware_watchpoints" is true.
9165 Replace single-letter commands with more readable ones.
9166 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
9167 if new board info variable "no_hardware_watchpoints" is true.
9168 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
9169 to see if stdio (printf) testing is possible.
9170 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
9171 board info variable "no_hardware_watchpoints" is true. Use new
9172 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
9173
39124dea
FN
91742000-11-13 Fernando Nasser <fnasser@redhat.com>
9175
9176 From Orjan Friberg <orjanf@axis.com>:
9177 * gdb.base/printcmds.exp: Escape curly braces followed by a number
9178 in array print pattern match.
9179
a9e2e984
FN
91802000-11-09 Fernando Nasser <fnasser@redhat.com>
9181
9182 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
9183 spelling "cancelled" to U.S. spelling "canceled" to match changes
9184 made to gdb.
9185 * gdb.c++/ovldbreak.exp: Ditto.
9186
c7db355b
PS
91872000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
9188
9189 * gdb.base/callfuncs.c (main): Moved to end of file, call
9190 t_double_values to initialize the FPU before inferior calls are made.
9191 * gdb.base/callfuncs.exp: Test for register preservation after calling
9192 inferior functions. Add tests for continuining, finishing and
9193 returning from a stop in a call dummy.
9194
dc96c6c7 91952000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
9196
9197 * gdb.base/commands.exp: Break up long lines, and re-indent.
9198
dc96c6c7 91992000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
9200
9201 * config/gdbserver.exp: Rewritten from the ground up, to make it
9202 compatible with the current dejagnu tree, and to make it work with
9203 the new "gdbserver" in libremote.
9204
dc96c6c7 92052000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
9206
9207 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
9208 * gdb.base/varargs.exp: Skip entire test if no printf support.
9209 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
9210 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
9211
dc96c6c7 92122000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
9213
9214 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
9215 no floating point support.
9216 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
9217 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
9218 * gdb.base/call-rt-st.exp: Ditto.
9219 * gdb.base/call-strs.exp: Ditto.
9220
bac5fc66
JG
92212000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
9222
9223 * gdb.base/sizeof.c: include <stdio.h>.
9224
9225 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
9226 'finish', otherwise uncaptured gdb_prompt would potentially
9227 throw remaining test points out of sync.
9228
b22a6027
SB
92292000-07-26 Scott Bambrough <scottb@netwinder.org>
9230
9231 * gdb.base/recurse.exp: Run tests for all targets.
9232 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
9233 gnu-oldld case on ARM.
9234 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
9235 for ARM targets.
d63a86f8 9236
d8231941
AG
9237Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
9238
9239 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
9240 * gdb.java/configure: Rebuild.
9241
8caabe69
AG
9242Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
9243
9244 * gdb.java/jv-exp.exp: New file.
9245
9d273ca3
AG
9246Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
9247
9248 * configure: Rebuilt.
9249 * configure.in (configdirs): Add gdb.java.
9250 * gdb.java/jmisc.java: New file.
9251 * gdb.java/jmisc.exp: New file.
9252 * gdb.java/Makefile.in: New file.
9253 * gdb.java/configure: Rebuilt.
9254 * gdb.java/configure.in: New file.
9255 * lib/java.exp: New file.
9256
4f823a66
AC
9257Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
9258
9259 * gdb.base/exprs.exp: Test casts to a pointer including over and
9260 underflow.
9261
2391e11d
AC
9262Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
9263
9264 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
9265 and the compilers sizes.
9266
54602222
ND
92672000-07-09 Nick Duffek <nsd@redhat.com>
9268
9269 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
9270 (use_methods): New function.
9271 (main): Call use_methods().
9272 * gdb.c++/classes.exp (test_method_param_class): New procedure.
9273 (do_tests): Call test_method_param_class.
9274
2bec0572
ND
92752000-07-09 Nick Duffek <nsd@redhat.com>
9276
9277 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
9278 spelling.
9279 (test_enums): New procedure. Move enum tests from end of script
9280 to here. Set breakpoint on function name instead of line number.
9281 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
9282 (enums2): New marker function.
9283 (enums1): New function.
9284 (main): Call enums1(). Move enum tests to enums1().
9285
78492fde
AC
9286Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
9287
9288 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
9289 compile/link program. Update line numbers.
9290 * gdb.asm/d10v.inc: Define ``startup''.
9291 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 9292
49a2cef8
AC
9293Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
9294
9295 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
9296
3e6c8688
EZ
92972000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9298
9299 * gdb.base/maint.exp: Add 'maint print architecture' item to output
9300 of 'help maint print' command.
9301
9ff5cbe9
AC
9302Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
9303
9304 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
9305 they use gdb_expect_list.
9306
17c579bd
AC
9307Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
9308
9309 * gdb.base/commands.exp: Use ``set remote
9310 memory-read-packet-size'' instead of ``set endian big'' to test
9311 long commands.
9312
e6d71bf3
DB
93132000-06-03 Daniel Berlin <dan@cgsoftware.com>
9314
9315 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 9316 g++, and stop skipping them.
e6d71bf3
DB
9317
9318 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
9319 work under g++.
9320
d63a86f8 9321 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
9322 initialization.
9323
dc96c6c7 93242000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
9325
9326 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
9327 the regular expression: accept an (almost) arbitrary sequence of
9328 "frames-invalid" and "breakpoints-invalid" messages both before
9329 and after the "starting" message.
9330
dc96c6c7 93312000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
9332
9333 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 9334
dc96c6c7 93352000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
9336
9337 * gdb.base/annota1.exp (annotate-signal-handler-caller):
9338 Relax the regular expression a little, make it pass on Solaris 8.
9339
8216cda9
KB
93402000-05-12 Kevin Buettner <kevinb@redhat.com>
9341
9342 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 9343 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
9344 Instead, it is permissible for gdb to stop on the line of the
9345 call itself.
9346
1a570b2f
MS
93472000-05-12 Michael Snyder <msnyder@.cygnus.com>
9348
9349 * gdb.base/break.exp (bp on small function, optimized file):
9350 Add a second pass pattern. The behavior differs here between stabs
9351 and dwarf for one-line functions. Stabs preserves two line symbols
9352 (one before the prologue and one after) with the same line number,
9353 but dwarf regards these as duplicates and discards one of them.
9354 Therefore the address after the prologue (where the breakpoint is)
9355 has no exactly matching line symbol, and GDB reports the breakpoint
9356 as if it were in the middle of a line rather than at the beginning.
9357
dc96c6c7 93582000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 9359
d63a86f8 9360 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
9361 rather than "send_gdb" (for consistancy).
9362
7d418785
AC
9363Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
9364
9365 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
9366 * gdb.c++/templates.cc: Properly check for GCC version number.
9367 * lib/compiler.cc: Likewise
9368
dc96c6c7 93692000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 9370
d63a86f8 9371 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
9372 gdb may not stop at the first line of main, due to code motion.
9373
dc96c6c7 93742000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
9375
9376 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
9377 This test depends on parsing the printf output from the target.
9378 Since the sparclet stub doesn't do stdio, this will never work.
9379 * gdb.base/call-rt-st.exp: ditto.
9380 * gdb.base/call-strs: ditto.
9381
dc96c6c7 93822000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
9383
9384 * gdb.base/miscexprs.exp: make sizeof long array test portable.
9385
9386 * gdb.base/ending-run.exp: After connecting to a remote target,
9387 but before running, the target will appear to be in a random
9388 location. Specify both a file and a line for breakpoints.
9389 Also, the function that calls main may be called 'init'
9390 rather than 'start'.
9391
a5a51225
EZ
93922000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9393
9394 * gdb.base/help.exp: Update output for add-symbol-file command.
9395
7930cc7c
FN
93962000-04-10 Fernando Nasser <fnasser@cygnus.com>
9397
9398 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9399 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
9400
23e37ab1
C
94012000-04-07 J.T. Conklin <jtc@redback.com>
9402
e93c542c
C
9403 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
9404
23e37ab1
C
9405 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
9406
591b8fa3
PDM
9407Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
9408
9409 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
9410 values that can be represented exactly.
9411 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
9412 above change, and to not check against the directory part of the source
9413 file name.
9414 (step into print_long_arg_list): Likewise.
9415 (print print_small_structs from print_long_arg_list): Likewise.
9416 (print print_long_arg_list): Likewise.
9417
7a495180
EZ
94182000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9419
30b53638 9420 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 9421
beb998c6
AC
9422Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
9423
9424 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
9425
1c689132
DB
94262000-03-25 Daniel Berlin <dan@cgsoftware.com>
9427
9428 * gdb.base/commands.exp (deprecated_command_test): Add test for
9429 deprecate with no arguments.
9430
c1790a9d
JL
94312000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
9432
9433 * gdb.base/break.exp: Add new test for setting breakpoints on
9434 optimized code so we can test breakpoints work even when function
9435 prologues may be optimized away
9436
003ba290
FN
94372000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
9438
9439 From David Whedon <dwhedon@gordian.com>
9440 * gdb.base/commands.exp : Added command deprecator tests.
9441
6837a0a2
DB
94422000-03-22 Daniel Berlin <dan@cgsoftware.com>
9443
9444 * gdb.base/help.exp: Added test for new apropos command.
9445
b9593231
KB
94462000-03-21 Kevin Buettner <kevinb@redhat.com>
9447
9448 * gdb.base/pointers.c (usevar): New function.
9449 (main): Make sure that global variables v_int_pointer2, rptr,
9450 and y are all referenced someplace in the program by calling
9451 usevar() on them. [Some linkers delete symbols which are
9452 never referenced. The space remains, but there's no way to
9453 get a (symbolic) handle on the variable from the debugger.]
9454
751a959b
EZ
94552000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9456
9457 * gdb.base/printcmds.c: Add typedeffed arrays.
9458
9459 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
9460 procedure to test arrays that are typedef'd.
9461
73a93a32
JI
94622000-03-13 James Ingham <jingham@leda.cygnus.com>
9463
9464 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 9465 the library directories.
73a93a32 9466
fb40c209
AC
9467Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
9468
9469 * configure.in (configdirs): Add sub directory gdb.mi.
9470 * configure: Re-generate.
9471
9472 * gdb.mi: New directory.
d63a86f8 9473
ee4dd2c9
AC
94742000-02-25 Scott Bambrough <scottb@netwinder.org>
9475
9476 * gdb.base/long_long.exp: Correct test suite failure when printing
9477 a long long value as a double on ARM platforms.
9478
70f0cc22
JB
94792000-02-16 Jim Blandy <jimb@redhat.com>
9480
9481 * gdb.base/break.exp ("breakpoint line number"): Make sure the
9482 default source file is set properly before running this test.
9483
853819b8
EZ
94842000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9485
9486 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
9487 gdbtk/library directory, not in gdbtcl2.
9488
dfcd3bfb
JM
94892000-02-04 Jim Blandy <jimb@redhat.com>
9490
9491 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
9492 backslash from regexp pattern.
9493
9494 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
9495 procedure. Use it to run all the "continue to bp overloaded"
9496 tests. Note that this changes the names of the tests slightly.
9497 If the breakpoint hit message includes a hex PC value, because
9498 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
9499 from the real source code, still consider that a pass.
9500
9501 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
9502 XFAIL here if the breakpoint message contains a hex address. Note
9503 similar change on 1999-11-02.
9504
9505 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
9506
9507 * gdb.base/ptype.exp: Establish a default source file before
9508 calling get_debug_format.
9509
95102000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
9511
9512 * gdb.base/watchpoint.exp: Remove duplication of test messages.
9513
8b93c638
JM
95142000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
9515
9516 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
9517 of successive stepi commands -- while in the prologue we should see
9518 the function entry bracket.
9519
95202000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
9521
9522 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
9523 reach __change_mode() when stepping through the end of main().
9524
c5394b80
JM
95252000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
9526
9527 * gdb.base/default.exp: Fix expected pattern.
9528 * gdb.base/help.exp: Same.
9529
0d06e24b
JM
95302000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9531
9532 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
9533 Don't use xfail's because that affects only the following test.
d63a86f8 9534
0d06e24b
JM
9535 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
9536 solaris or linux.
9537
9538 * gdb.base/selftest.exp: Update to reflect changes to main.c.
9539
dc96c6c7 95402000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 9541
d63a86f8 9542 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
9543 "A syntax error" rather than "A parse error". Accept both.
9544
95452000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
9546
9547 * gdb.base/default.exp: Remove OS dependent string from "target
9548 remote" test.
9549 * gdb.base/help.exp: Same for "help target remote" test.
9550
c3f6f71d
JM
95512000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9552
9553 From Jim Kingdon <kingdon@redhat.com>:
9554
9555 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
9556 prompt (cleanup rather than necessity, but still might keep output
9557 from spilling to next test).
9558
95592000-01-02 Fred Fish <fnf@cygnus.com>
9560
9561 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
9562 AIX, which defines them in <sys/types.h>.
9563
ed9a39eb 95641999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 9565
ed9a39eb
JM
9566 * gdb.base/default.exp: Match arm* etc instead of arm in "info
9567 float" test.
9568
95691999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 9570
ed9a39eb 9571 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
9572
9573 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
9574 outermost frame disallowed".
9575
95761999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
9577
9578 * gdb.base/setvar.exp: New tests for setting the value of a struct
9579 with a constant list.
9580
95811999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
9582
9583 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
9584 require the user to type a cast before setting the value of a struct.
9585
de57eccd
JM
95861999-12-06 Jim Blandy <jimb@cygnus.com>
9587
9588 * gdb.base/default.exp: Expect the new 'info float' command on
9589 all i386 platforms.
9590
9591 * gdb.threads/linux-dp.exp: Expand our ability to recognize
9592 LinuxThreads libraries that don't support debugging.
9593
c2d11a7d
JM
9594Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
9595
9596 * gdb.base/remote.c: Fill the buffer with truely random data.
9597 Change the buffer type to ``unsigned char'' to simplify size
9598 arithmetic.
9599
9600 * gdb.base/remote.exp: Reduce download numbers by one. Typical
9601 stub only handles 400-1 byte packets. Verify that the download
9602 worked.
9603
96041999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
9605
9606 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
9607 tests, using UNRESOLVED for the untested cases. Also, does not wait
9608 for a timeout if the prompt was received before a recognizable pattern.
9609
96101999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
9611
9612 * lib/gdb.exp (gdb_expect_list): Fix spelling.
9613
96141999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9615
9616 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
9617 watchpoints.
9618
96191999-11-24 Jason Merrill <jason@casey.cygnus.com>
9620
9621 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
9622
9623 * gdb.c++/local.exp: Be more flexible in recognizing local class
9624 name mangling. Don't allow horribly truncated method names.
9625 * gdb.c++/derivation.exp: Expect protected inheritance.
9626 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
9627 * gdb.c++/virtfunc.exp: Likewise.
9628 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
9629 when printing a nested enum.
9630
96311999-11-22 Jim Blandy <jimb@cygnus.com>
9632
9633 * gdb.base/step-test.exp: Properly await GDB's response to setting
9634 a breakpoint on the call to large_struct_by_value.
9635
9636 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
9637 just because we have debug info for the `start' function.
9638
96391999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
9640
9641 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
9642 "Unknown signal" messages, which indicate (on LinuxThreads) that
9643 GDB doesn't know how to debug threads on this system. This is
9644 better than hanging while philosopher 0 dumps chatter into gdb.log.
9645
96461999-11-18 Tom Tromey <tromey@cygnus.com>
9647
9648 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
9649
96501999-11-18 Fred Fish <fnf@cygnus.com>
9651
9652 * gdb.base/coremaker2.c: Add sample program for generating
9653 cores that is more self contained than coremaker.c. Eventually
9654 I'll add more code to this and tie it into the testsuite.
9655
4ce44c66
JM
96561999-11-12 Stan Shebs <shebs@andros.cygnus.com>
9657
9658 * gdb.base/dollar.exp: Remove, now in gdb.hp.
9659
96601999-11-10 Jimmy Guo <guo@cup.hp.com>
9661
9662 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
9663 from $srcdir/lib/.
9664 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
9665 and gdb.c++/.
9666
9667 * gdb.c++/derivation.exp: remove redundant get compiler info code.
9668
d63a86f8 9669 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
9670 'continue with watch' test point.
9671
96721999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
9673
9674 Merged from p2linux-990323-branch:
d63a86f8 9675
4ce44c66
JM
9676 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
9677
11cf8741
JM
9678Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
9679
9680 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
9681 {limit,fixed}''. Test ``set download-write-size''.
9682
9683Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
9684
9685 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
9686 gdb_expect_list.
9687
9688Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
9689
9690 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
9691
96921999-11-03 Mark Salter <msalter@cygnus.com>
9693
9694 * gdb.base/break.exp: Fix "stub continue" pattern.
9695
96961999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
9697
9698 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
9699
97001999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
9701
9702 * gdb.base/display.exp ("finish"): Add timeout clause.
9703
9704 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
9705 plain prompt clause, so this doesn't have to time out in order to
9706 fail.
9707
9708 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
9709 breakpoint hit messages include an address.
9710
9711 * gdb.base/display.exp: Don't forget to escape parens in regular
9712 expressions. Unix regexp notatation sucks.
9713
97141999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9715
9716 * gdb.base/annota1.exp: Test for annotate-signalled: change output
9717 order for 'signalled' message.
9718
5c44784c
JM
97191999-11-01 Stan Shebs <shebs@andros.cygnus.com>
9720
9721 From Jimmy Guo <guo@cup.hp.com>:
9722 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
9723 * gdb.base/annota1.c: Add code for tests to work with.
9724
97251999-10-26 Frank Ch. Eigler <fche@cygnus.com>
9726
9727 * gdb.base/remote.exp: New test for remote downloading settings.
9728 * gdb.base/remote.c: New file with large .data.
9729
917317f4
JM
97301999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
9731
9732 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
9733 for LinuxThreads support, merged from the Code Fusion branch.
9734
9735Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
9736
9737 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
9738 containing exp_continue into a while within an expect. Don't
9739 attempt a start more than three times. Check return value from
9740 gdb_load.
d63a86f8 9741
2df3850c
JM
9742Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
9743
9744 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
9745 a pass case.
9746
2acceee2
JM
97471999-10-01 Kevin Buettner <kevinb@cygnus.com>
9748
9749 * gdb.base/break.c (main): Added a statement that we can step
9750 off of.
9751 * gdb.base/break.exp: Added tests for setting a breakpoint
9752 at an offset and stepping onto a breakpoint.
9753
97541999-10-01 Fred Fish <fnf@cygnus.com>
9755
d63a86f8 9756 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
9757 gdb output.
9758
c2c6d25f
JM
97591999-09-18 Jim Blandy <jimb@cris.red-bean.com>
9760
9761 * gdb.base/break.exp: Code locations are in hex, don't forget!
9762 (For HP-UX.)
9763
97641999-09-17 Stan Shebs <shebs@andros.cygnus.com>
9765
9766 * condbreak.exp: Use break.c as test program.
9767 * condbreak.c: Remove, redundant with break.c.
9768
97691999-09-15 Stan Shebs <shebs@andros.cygnus.com>
9770
9771 * config/monitor.exp (gdb_target_monitor): Disable X- and
9772 Z-packets if the target needs it.
9773
97741999-09-13 James Ingham <jingham@leda.cygnus.com>
9775
9776 * gdb.c++/overload.exp: Added tests for listing overloaded
9777 functions with function pointers in the arg, explicitly calling
9778 out the version you want.
9779
cff3e48b
JM
97801999-09-09 Stan Shebs <shebs@andros.cygnus.com>
9781
9782 * long_long.exp: Add variations of test cases that work for
9783 targets with 16-bit ints and 32-bit doubles.
9784
d4f3574e
SS
97851999-09-08 Stan Shebs <shebs@andros.cygnus.com>
9786
9787 * break.c (main): Compare a possibly-uninitialized argc with an
9788 unlikely value that fits in 16 bits.
9789
97901999-09-07 Stan Shebs <shebs@andros.cygnus.com>
9791
9792 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
9793 0xfeeb, don't want negative numbers if ints are 16 bits.
9794
9795 * lib/gdb.exp (skip_cplus_tests): New proc.
9796 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
9797 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
9798 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
9799 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
9800 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
9801 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
9802 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
9803 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
9804
9805 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
9806
9807Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
9808
9809 * gdb.base/corefile.exp (up): Allow a parameter to appear
9810 in the frame that we're going up to.
9811
9812 From Jim Blandy <jimb@cygnus.com>:
9813
9814 * gdb.base/default.exp (info float): Expect some output now.
9815
9816 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
9817 returning floating-point values to fail on the x86.
9818 * gdb.base/callfwmall.exp (do_function_calls): Same.
9819
9820 * gdb.base/list.exp (test_listsize): Correct expectations for
9821 listing line 1 with listsize 2. Also, listing a single line
9822 works now, as does listing three lines. [Kevin's note: There
9823 were a number of other cases fixed too where the expectations
9824 differed...]
9825
98261999-09-02 Stan Shebs <shebs@andros.cygnus.com>
9827
9828 * gdb.base/selftest.exp: Add case for when version prints as
9829 constant string instead of char pointer.
9830
104c1213
JM
98311999-08-25 Stan Shebs <shebs@andros.cygnus.com>
9832
9833 * gdb.base/ending-run.exp: Add Solaris case for what happens when
9834 stepping out of main.
9835
9836 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
9837 G++ used.
9838
9839 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
9840 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
9841
9842 * gdb.c++/ovldbreak.exp: Update match string in test that
9843 includes a warning of multiple breakpoints.
9844
98451999-08-24 Stan Shebs <shebs@andros.cygnus.com>
9846
9847 * gdb.base/display.exp: Improve precision of step-after-finish
9848 added yesterday.
9849
9850 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
9851 test.
9852
9853 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
9854 configs when using G++, not just hppa*.
9855
98561999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9857
9858 * gdb.base/async.c: New file.
9859 * gdb.base/async.exp: New file.
9860
9861Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
9862
9863 * gdb.base/break.exp: Tweak PA specific tests to properly handle
9864 PA64.
9865
53a5351d
JM
9866Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
9867
104c1213
JM
9868 * gdb.base/display.exp: "finish" can leave us mid-line on many
9869 targets, deal with it. Add a small constant to main, instead of
9870 1000 since main+1000 may not be a valid address in the target.
9871
53a5351d
JM
9872 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
9873 on hpux11.
9874
9875 * gdb.base/attach.exp: Handle another hpux11 error message variant
9876 when attaching to a process that does not exist.
9877
98781999-08-19 J.T. Conklin <jtc@redback.com>
9879
9880 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
9881 characters in 'continue to 1241' test.
9882
98831999-08-17 Stan Shebs <shebs@andros.cygnus.com>
9884
9885 * gdb.base/call-ar-st.exp: Add a shorter match case for the
9886 stop in print_long_arg_list, define and use a whitespace
9887 variable in print_small_structs test, add an XFAIL for Solaris.
9888 * gdb.base/dbx.exp: XFAIL func commands until somebody is
9889 interested enough to fix.
9890
7be570e7
JM
98911999-08-13 Keith Seitz <keiths@cygnus.com>
9892
9893 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
9894 (dbx_gdb_load): Remove. Use gdb_load instead, since that
9895 proc knows about targets other than the natives.
9896 (test_assign): Use "gdb_run_cmd" to "run" the target.
9897 Check that we've actually hit the breakpoint at main.
9898 When we attempt to assign a value to a local variable, check
9899 that the variable is in the current scope, i.e., don't use
9900 a test with an empty result.
9901
9902Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
9903
9904 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
9905 command.
9906
99071999-08-09 Stan Shebs <shebs@andros.cygnus.com>
9908
9909 From Jimmy Guo <guo@cup.hp.com> and others at HP:
9910 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
9911 gdb.compat, gdb.threads-hp.
9912 gdb.hp/configure, gdb.hp/configure.in: New files.
9913 gdb.hp/Makefile.in: Recurse into new subdirs.
9914 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
9915 gdb.hp/gdb.objdbg: New directory, tests for debugging info
9916 in object files.
9917 gdb.hp/tools: New directory, aux tools for HP-specific tests.
9918
96baa820
JM
99191999-08-05 Stan Shebs <shebs@andros.cygnus.com>
9920
9921 * gdb.base/display.exp: Help expect by putting a newline in the
9922 funky printf, remove a bogus p/a test.
9923
99241999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9925
9926 * gdb.base/display.exp: Make sure that when we say 'run', we are
9927 connected to the target. This is necessary when running not
9928 natively.
9929
99301999-08-03 Stan Shebs <shebs@andros.cygnus.com>
9931
9932 * gdb.base/step-test.exp: Removed some extraneous messages.
9933
9934 * gdb.base/long_long.exp: Don't run memory examination tests
9935 on little-endian targets (they will need a different set of
9936 results to match).
9937
99381999-08-02 Stan Shebs <shebs@andros.cygnus.com>
9939
9940 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
9941 until somebody decides to fix GDB.
9942
9943 * gdb.base/long_long.c: Stop compiler complaint by specifying long
9944 constant as "ULL".
9945 * gdb.base/long_long.exp: Loosen x/c test, add partial result
9946 matches for a couple x/2 commands.
9947
a0b3c4fd
JM
99481999-07-30 Stan Shebs <shebs@andros.cygnus.com>
9949
9950 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
9951 by merging in ref-types2 tests.
9952 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
9953
9954 From Jimmy Guo <guo@cup.hp.com> and others at HP:
9955 * gdb.c++/Makefile.in: Add standard actions.
9956 (EXECUTABLES): Rename from PROGS, update list.
9957 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
9958 from gdb.hp.
9959 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
9960 foo and bar locals.
9961 * gdb.c++/anon-union.exp: Fix tests to match.
9962 * gdb.c++/classes.exp: Run if HP compiler used, add extra
9963 expect matches to handle output variations.
9964 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
9965 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
9966 output, add HP alternatives for new and delete prints.
9967 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
9968 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
9969 * gdb.c++/demangle.exp: Use $style when reporting failure.
9970 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
9971 * gdb.c++/inherit.exp: Run if HP compiler used, add some
9972 match alternatives.
9973 * gdb.c++/local.exp: Add match alternatives or xfails for HP
9974 compilers.
9975 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
9976 * gdb.c++/method.exp: Add match alternatives.
9977 * gdb.c++/misc.cc: Add bool types.
9978 * gdb.c++/misc.exp: Add tests for bool types.
9979 * gdb.c++/overload.exp: Add xfails.
9980 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
9981 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
9982 add some more template parameter tests (only for HP currently).
9983 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
9984 * gdb.c++/virtfunc.cc: Add return type and value for main.
9985 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
9986 match alternatives.
d63a86f8 9987
a0b3c4fd
JM
99881999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
9989
9990 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
9991
99921999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
9993
9994 * gdb.base/signals.exp: Don't expect getting a backtrace from
9995 within a signal handler to fail on Linux.
9996
99971999-07-29 Stan Shebs <shebs@andros.cygnus.com>
9998
9999 From Jimmy Guo <guo@cup.hp.com> and others at HP:
10000 * lib/gdb.exp: Remove some gratuitious semicolons.
10001 (delete_breakpoints): Increase timeout.
10002 (gdb_expect): Add -notransfer option.
10003 (gdb_test): Use -notransfer option.
10004 (get_compiler_info): Add f77 case.
10005 (get_compiler): New proc, split out from gdb_preprocess, add f77
10006 case.
10007 (gdb_preprocess): Call get_compiler.
10008
10009 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
10010 * gdb.base/attach.exp, gdb.base/display.exp,
10011 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
10012 gdb.base/long_long.exp, gdb.base/printcmds.exp,
10013 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
10014 third arg to gdb_test.
10015 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
10016 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
10017 HP-UX xfails, add others.
10018 * gdb.base/completion.exp: Reflect name change of self-test.
10019 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
10020 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
10021 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
10022 HP failure number.
10023 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
10024 useless HP-UX 10.30 references.
10025 * gdb.base/maint.exp: Loosen matches.
10026 * gdb.base/pointers.c (main): Declare more_code.
10027 * gdb.base/pointers.exp: Match on output of a `next'.
10028 * gdb.base/structs.c: Add prototypes.
10029 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
10030 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
10031
100321999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
10033
10034 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
10035 command.
10036
100371999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
10038
10039 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
10040 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
10041
10042 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
10043 debug info. Deal with lack of signal hanlder info in stack.
10044
10045 From Jim Kingdon <kingdon@redhat.com>:
10046 * gdb.base/annota1.exp: If printf has debug info, deal with it.
10047
5a2468f5
JM
100481999-07-19 Stan Shebs <shebs@andros.cygnus.com>
10049
10050 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
10051 gdb.base/foll-vfork.exp: Don't run for crosses.
10052
adf40b2e
JM
10053Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
10054
10055 * gdb.base/configure.in: Check for gdbvars.exp instead of
10056 a1-selftest.exp.
10057 * gdb.base/configure: Re-generate.
10058
100591999-07-12 Stan Shebs <shebs@andros.cygnus.com>
10060
10061 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
10062 in trying to run first and name is too long.
10063
10064 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
10065 pointers2.c and pointers2.exp, respectively.
10066 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
10067 doschk happier.
10068
43e526b9
JM
100691999-07-08 Stan Shebs <shebs@andros.cygnus.com>
10070
10071 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
10072 callfuncs2.c and callfuncs2.exp.
10073
10074 * gdb.base/list.exp: Remove mistaken xfails.
10075 * gdb.base/list0.h: Add optional prototypes.
10076
9846de1b
JM
10077Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
10078
10079 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
10080 calling malloc.
10081 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
10082 * ptype.exp: Move test for get_debug_format to before its first
10083 use.
10084
100851999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
10086
10087 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
10088 * gdb.base/annota2.cc, annota2.exp: Move from here.
10089 * gdb.c++/annota2.cc, annota2.exp: To here.
10090 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
10091
43ff13b4
JM
10092Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
10093
10094 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
10095 a consistent format.
10096
085dd6e6
JM
100971999-06-25 Stan Shebs <shebs@andros.cygnus.com>
10098
10099 From Jimmy Guo <guo@cup.hp.com> and others at HP:
10100 * lib/gdb.exp (get_compiler_info): Add detection for assorted
10101 HP compilers, also set the globals $true and $false.
10102
10103 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
10104 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
10105 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
10106 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
10107 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
10108 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
10109 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
10110 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
10111 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
10112 whatis.c} Add C++ compatible function definitions and return
10113 types, add includes for library functions.
10114 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
10115 * gdb.base/step-test.c (myglob): Rename from glob.
10116 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
10117 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
10118 files, move here from gdb.hp.
10119 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
10120 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
10121 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
10122 Adjust line numbers in regexps.
10123
10124 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
10125 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
10126 instead of 0/1.
10127
10128 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
10129 foll-vfork.exp: New files, move here from gdb.hp.
10130 * gdb.base/page.exp: New file, test of pagination command.
10131
10132 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
10133 recursion test.
10134 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
10135
10136 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
10137 gdb.base/solib.exp: Fix compiler invocation process.
10138
10139 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
10140 HP-UX 11, turn off overload resolution explicitly.
10141 * gdb.base/commands.exp: Set argument list explicitly, add
10142 watchpoint test.
10143 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
10144 them work.
10145 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
10146 expressions properly.
10147 * gdb.base/corefile.exp: Loosen the match slightly.
10148 * gdb.base/default.exp: Allow "Error accessing memory" message
10149 also.
10150 * gdb.base/display.exp: Skip over x/0 j if PA64.
10151 * gdb.base/funcargs.exp: Add xfails for HP-UX.
10152 * gdb.base/interrupt.exp: Ditto.
10153 * gdb.base/langs.exp: Add symbolic matches governed by compiler
10154 in use.
10155 * gdb.base/list.exp: Add xfails for HP-UX.
10156 * gdb.base/long_long.exp: Refine some of the numeric matches.
10157 * gdb.base/mips_pro.exp: Xfail on HP-UX.
10158 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
10159 * gdb.base/nodebug.exp: Succeed on more varieties of output.
10160 * gdb.base/opaque.exp: Remove some HP-UX xfails.
10161 * gdb.base/ptype.exp: Succeed on more varieties of output.
10162 * gdb.base/scope.exp: Add xfails for HP-UX.
10163 * gdb.base/sect-cmd.exp: Add more cases.
10164 * gdb.base/setvar.exp: Add xfails for HP-UX.
10165 * gdb.base/shlib-call.exp: Loosen some matches slightly.
10166 * gdb.base/signals.exp: Match on void symbolically.
10167 * gdb.base/step-test.exp: Add case for PA64.
10168 * gdb.base/term.exp: Add exit and restart.
10169 * gdb.base/twice.exp: Clean up after self.
10170 * gdb.base/varargs.exp: Disable overload resolution explicitly.
10171 * gdb.base/whatis.exp: Allow more ways to pass tests.
10172
10173 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
10174 no longer useful.
10175
10176Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
10177
10178 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
10179 list of patterns.
10180 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
10181 print_double_array(double_array)", "continuing to breakpoint
10182 1018", "print print_double_array(array_d)" and "continuing to
10183 1034" tests.
d63a86f8 10184
085dd6e6
JM
101851999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
10186
10187 * Makefile.in: Add empty html and install-html targets.
10188
101891999-06-24 Stan Shebs <shebs@andros.cygnus.com>
10190
10191 * config/mt-*: Remove, these haven't been used since 1996.
10192
101931999-06-22 Stan Shebs <shebs@andros.cygnus.com>
10194
10195 * gdb.base/call-strs.c, gdb.base/ending-run.c,
10196 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
10197 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
10198
9e0b60a8
JM
101991999-06-18 Stan Shebs <shebs@andros.cygnus.com>
10200
10201 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
10202 simpler match case for the ptype of the big class.
10203
102041999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
10205
10206 * gdb.exp: Fix test for gdb_prompt existence.
10207
102081999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
10209
10210 * gdb.exp (gdb_test): Add fail after calls to perror.
10211
102121999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
10213
10214 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
10215
102161999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
10217
10218 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
10219
0f71a2f6
JM
10220Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
10221
10222 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
10223 malloc() is linked in.
10224
102251999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
10226
10227 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
10228 step at end.
10229
10230 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
10231
102321999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
10233
10234 * gdb.java/jv-print.exp: New file. (Our first Java test!)
10235
cce74817
JM
10236Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
10237
10238 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
10239 * gdb.base/mips_pro.exp: Likewise.
10240
102411999-06-02 Keith Seitz <keiths@cygnus.com>
10242
10243 * gdb.c++/templates.cc: Change all "new" operators to throw
10244 an exception.
10245 * gdb.c++/cplusfuncs.cc: Likewise.
10246
10247 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
10248
10249Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
10250
10251 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
10252 * gdb.base/ending-run.exp: When stepping out of main, accept a
10253 step into an arbitrary assembler file.
10254
392a587b
JM
102551999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
10256
d63a86f8 10257 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 10258 "breakpoint-invalid" to be printed.
d63a86f8 10259 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
10260 number of "frames-invalid" and "breakpoint-invalid" to be printed.
10261 * gdb.base/annota2.cc: Initialize a.x to 0.
10262
9e086581
JM
102631999-05-17 Keith Seitz <keiths@cygnus.com>
10264
10265 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
10266 when "skip_float_tests" set.
10267 Ditto for "print print_double_array(array_d)", "print print_small_structs",
10268 "print print_ten_doubles", and "step into print_long_arg_list".
10269 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
10270 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
10271 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
10272 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
10273 "skip_float_tests" is set.
10274 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
10275 when "skip_float_tests" set.
d63a86f8 10276
cd0fc7c3
SS
102771999-05-06 Keith Seitz <keiths@cygnus.com>
10278
10279 * gdb.base/annota2.cc: Include stdio.h.
10280
10281Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
10282
10283 * gdb.base/crossload.exp: Remove, this has been disabled ever
10284 since BFD stopped including all targets, and cross-GDB gets
10285 plenty of testing anyway.
10286 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
10287 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
10288 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
10289 * gdb.base/README: Remove, was doc for this.
10290 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
10291 needed.
10292
b83266a0
SS
102931999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
10294
10295 * gdb.base/call-ar-st.exp: Fix one regular expression in test
10296 output.
10297
10298 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
10299 * gdb.base/annota2.exp: New file. More annotation tests.
10300 * gdb.base/annota1.c: New file. Source file for annota1.exp.
10301 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
10302
103031999-04-23 Angela Marie Thomas <angela@cygnus.com>
10304
10305 * config/cfdbug.exp: New file.
10306
7a292a7a
SS
103071999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
10308
10309 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
10310 Marcus Daniel's and Dale Hawkins's demangler crashes.
10311
10312 * gdb.c++/demangle.exp (test_gnu_style_demangling,
10313 test_lucid_style_demangling, test_arm_style_demangling,
10314 test_hp_style_demangling): Try Tom Tromey's core-dumping
10315 identifier under each demangling style.
10316
103171999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
10318
10319 * gdb.c++/demangle.exp: Include the current demangling style
10320 in all test names.
10321 (current_demangling_style): New global variable.
10322 (set_demangling_style, test_demangling_core, test_demangling,
10323 test_demangling_exact): New functions.
10324 (test_gnu_style_demangling, test_lucid_style_demangling,
10325 test_arm_style_demangling, test_hp_style_demangling): Use those,
10326 instead of calling gdb_test and gdb_test_exact directly.
10327 (catch_demangling_errors): New function, which reports errors
10328 signalled by the demangling test functions in an orderly way.
10329 (do_tests): Use catch_demangling_errors.
10330
103311999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
10332
10333 * gdb.base/signals.exp (test_handle_all_print): Use () for
10334 grouping in expressions, not {}.
10335
10336 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
10337 initialized yet.
10338
103391999-04-01 Stan Shebs <shebs@andros.cygnus.com>
10340
10341 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
10342 are listed.
10343
103441999-03-26 Stan Shebs <shebs@andros.cygnus.com>
10345
10346 * gdb.stabs/weird.exp: Test for CC being defined before
10347 looking at its value.
10348
103491999-03-25 Stan Shebs <shebs@andros.cygnus.com>
10350
10351 * gdb.base/call-ar-st.exp: Remove stray '#'.
10352 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
10353 "short int" and "long int".
10354 * gdb.c++/overload.cc: Cast the string added in the previous
10355 change, to mollify finicky HP compiler.
10356 * gdb.hp/reg-test.exp (testfile): Fix file name.
10357 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 10358
7a292a7a
SS
10359 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
10360 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
10361 alternate form of enum ptype.
10362
c906108c
SS
103631999-03-23 Stan Shebs <shebs@andros.cygnus.com>
10364
7a292a7a
SS
10365 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
10366 * gdb.hp/*.exp: Change all to run compiler probe only after
10367 passing skip_hp_tests, so as not to waste time on guaranteed
10368 failure.
10369
c906108c
SS
10370 * gdb.c++/overload.cc: Pass string instead of char addr, always
10371 init ccpfoo.
10372 * gdb.c++/templates.cc: Fix syntax error.
10373
7a292a7a
SS
10374Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
10375
10376 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 10377 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
10378 command.
10379
103801999-03-18 James Ingham <jingham@cygnus.com>
10381
10382 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
10383
10384 * gdb.c++/method.exp: It was testing an uninitialized int on the
10385 stack and assuming it was positive.
10386
10387 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
10388
10389 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 10390 keep it from killing the rest of the tests.
7a292a7a
SS
10391 Use gdb_continue_to_end.
10392
10393 * gdb.base/sigall.exp: use gdb_continue_to_end.
10394
10395 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
10396
10397 * gdb.base/display.exp: use runto_main, not run.
10398
d63a86f8
RM
10399 * gdb.base/default.exp: Check for the current error message in the
10400 r abbreviation test.
7a292a7a
SS
10401 Add strongarm to the targets that know info float.
10402
d63a86f8 10403 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
10404 run which doesn't work with monitors.
10405
10406 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
10407
10408 * gdb.base/break.exp: use the gdb_continue_to_end proc.
10409
10410 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
10411 program. Traps the case (in Cygmon) when the program never really
10412 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
10413 more places, so I used my name. Sorry Mark...
10414
10415 * config/monitor.exp (gdb_target_monitor): added another
10416 target_info parameter: remotebinarydownload. This will set the
10417 remotebinarydownload flag if this is causing some boards trouble.
10418
104191999-03-18 Mark Salter <msalter@cygnus.com>
10420
10421 * lib/gdb.exp (continue_to_exit): New function.
10422
10423 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
10424 * gdb.base/ending-run.exp: Ditto.
10425 * gdb.base/step-test.exp: Ditto.
10426
104271999-03-16 Stan Shebs <shebs@andros.cygnus.com>
10428
10429 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
10430 (suggested by Art Haas <ahaas@neosoft.com>).
10431
104321999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
10433
10434 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
10435
10436Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
10437
10438 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
10439 descriptions of types (short unsigned int vs unsigned short, etc).
10440
104411999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
10442
10443 * gdb.base/call-strs.exp: Don't assume that `step' will step over
10444 a call to strlen; sometimes we do have sources.
10445
104461999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
10447
10448 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
10449 character, so GDB won't print garbage after its end.
d63a86f8 10450
c906108c
SS
10451 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
10452 breakpoint there instead. Sometimes GCC emits memcpy to handle
10453 the large structures being passed by value, so we step into that
10454 instead of sum_array_print, which obscures what we're really testing.
10455 * gdb.base/step-test.exp: However, we do want a test that notices
10456 the bizarre steps into memcpy, so do that here. Add check for
10457 stepping into function calls that pass large structures by value.
10458 ("Is that a noun clause, or are you just happy to see me?")
10459 Remove all references to specific line numbers.
10460 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
10461 New type and function.
10462 (main): Call large_struct_by_value, passing it a large struct by value.
10463 * lib/gdb.exp (gdb_get_line_number): New function.
10464
10465 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
10466 more portable.
10467
7a292a7a
SS
104681999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
10469
c906108c
SS
10470 * lib/gdb.exp: Doc fixes.
10471
7a292a7a
SS
104721999-03-05 Nick Clifton <nickc@cygnus.com>
10473
d63a86f8 10474 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
10475
104761999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
10477
c906108c
SS
10478 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
10479 commands. They're not germane to this test, and they don't work
10480 that way on remote targets.
10481
3fc11d3e
JM
104821999-03-01 James Ingham <jingham@cygnus.com>
10483
10484 * Changelog entries merged over from gdb development branch.
10485
3fc11d3e
JM
10486 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
10487
10488 * lib/gdb.exp (gdbtk_analyze_results): Generic function
10489 for outputting results of test run.
10490
2d4a1622 10491 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
10492
10493 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 10494
7a292a7a
SS
104951999-02-25 Felix Lee <flee@cygnus.com>
10496
10497 * lib/gdb.exp (debug_format): initialize
10498
c906108c
SS
104991999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
10500
10501 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
10502 * gdb.base/call-rt-st.c: Ditto.
10503
c906108c
SS
105041999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
10505
10506 * gdb.threads/pthreads.exp (horiz): New variable.
10507 (test_startup): Fix regexps that capture thread numbers.
10508
105091999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
10510
10511 * gdb.base/smoke.exp: Disambiguate two test case names (both
10512 called ``print'').
10513
10514Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
10515
10516 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
10517 compilation.
10518
105191999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
10520
10521 * gdb.base/miscexprs.exp: Change patterns to match GDB's
10522 actual output formatting.
10523 * gdb.base/smoke.exp: GDB removes leading 0's.
10524 * gdb.base/volatile.exp: Don't check type of remuneration;
10525 that variable is no longer defined in constvars.c.
10526 * gdb.base/step-test.c (main): Exit with explicit exit code.
10527 * gdb.base/step-test.exp: Remove two nexti checks--they are
10528 not portable.
10529
105301999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
10531
10532 * gdb.base/help.exp ("help delete display"): Fix test to match
10533 gdb's output.
10534
10535 * gdb.base/long_long.c (known_types): Initialize values to zero.
10536 * gdb.base/long_long.exp: Step one more line
10537 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 10538 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
10539 unique test case names.
10540
10541Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
10542
d63a86f8 10543 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
10544
10545 * gdb.c++/method.exp: Add missing close brace.
10546
105471999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
10548
10549 * gdb.base/maint.exp: Use 'set height 0' to disable page
10550 prompting, not 'set height 400'.
10551
10552 Fix a bunch of timeouts.
10553 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
10554 four separate tests, so expect doesn't take forever to match a ton
10555 of text against a regexp with lots of .* forms.
10556 ("maint print psymbols", "maint print symbols"): Make some of
10557 these greps more selective, so that expect doesn't try to wade
10558 through huge piles of output and time out.
10559
10560 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
10561
10562 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
10563 tests: one which doesn't expect shlib events to be reported, and
10564 another which does, but is XFAIL for all platforms other than
10565 HP/UX.
10566
10567 * gdb.base/break.exp: Teach the test suite that the `catch
10568 fork', `catch vfork', and `catch exec' commands produce error
10569 messages on platforms that don't provide these features.
10570
10571Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
10572
10573 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
10574 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
10575 (shortening names from solib_threshold.exp etc), won't run on
10576 anything but HP-UX for the foreseeable future.
10577 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
10578 reflect move.
10579
10580Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
10581
10582 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10583 gdb.trace/Makefile.in (clean): Remove all test executables.
10584
10585Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
10586
10587 * gdb.base/shlib-call.exp: add test cases to verify that gdb
10588 successfully re-sets breakpoints in shared libraries.
10589 * gdb.base/shmain.c (main): return 0, don't fall off the end.
10590
10591Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
10592
d63a86f8
RM
10593 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
10594 and compiled w/o GCC.
c906108c
SS
10595
10596 * gdb.hp/watch-cmd.exp: ditto.
10597
10598 * gdb.hp/watch-hp.exp: ditto.
10599
10600 * gdb.hp/xdb1.exp: ditto.
10601
10602 * gdb.hp/xdb2.exp: ditto.
10603
10604 * gdb.hp/dbx.exp: ditto.
10605
10606Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
10607
10608 * constvars.c: Remove C++-isms.
10609 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
10610 with GCC.
10611
10612Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
10613
10614 The following changes are part of the HP merge.
10615
10616 * gdb.base/break.exp: new tests to verify that catchpoints for
10617 fork, vfork, and exec don't trigger inappropriately.
10618
10619 * gdb.base/opaque.exp: compile one file at a time, then link.
10620
10621 * gdb.base/signals.exp: be more restrictive about which hppa
10622 systems receive a setup_xfail. new tests.
10623
10624 * gdb.base/solib_threshold.build: new file.
10625 * gdb.base/solib_threshold.exp: new file.
10626 * gdb.base/solib_threshold.link_opts: new file.
10627 * gdb.base/solib_threshold.mk: new file.
10628 * gdb.base/gen_solib_threshold.c: new file.
10629
10630 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
10631 tests. New tests for enums inside classes.
10632
10633 * gdb.c++/compiler.cc: indicate support of template debugging.
10634
10635 * gdb.c++/demangle.exp: run hp style demangling tests.
10636
10637 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
10638 tests.
10639
10640 * gdb.c++/misc.cc: changes to support new tests.
10641
10642 * gdb.c++/templates.cc: changes to support HP's compiler; changes
10643 to support new tests.
10644
10645 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
10646 gcc, then skip these tests.
10647
10648Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
10649
10650 The following files are part of the HP merge; some had longer
10651 names at HP, but have been renamed to be no more than 14
10652 characters in length.
10653
10654 * gdb.hp/ambiguous.cc: new file.
10655 * gdb.hp/ambiguous.exp: new file.
10656 * gdb.hp/attach.exp: new file.
10657 * gdb.hp/attach2.exp: new file.
10658 * gdb.hp/classes-hp.exp: new file.
10659 * gdb.hp/ctti.exp: new file.
10660 * gdb.hp/ctti-add.cc: new file.
10661 * gdb.hp/ctti-add1.cc: new file.
10662 * gdb.hp/ctti-add2.cc: new file.
10663 * gdb.hp/ctti-add3.cc: new file.
10664 * gdb.hp/dbx.exp: new file.
10665 * gdb.hp/exception.cc: new file.
10666 * gdb.hp/exception.exp: new file.
10667 * gdb.hp/foll-exec.c: new file.
10668 * gdb.hp/foll-exec.exp: new file.
10669 * gdb.hp/foll-fork.c: new file.
10670 * gdb.hp/foll-fork.exp: new file.
10671 * gdb.hp/foll-vfork.c: new file.
10672 * gdb.hp/foll-vfork.exp: new file.
10673 * gdb.hp/inherit-hp.exp: new file.
10674 * gdb.hp/more-steps.exp: new file.
10675 * gdb.hp/namespace.cc: new file.
10676 * gdb.hp/namespace.exp: new file.
10677 * gdb.hp/optimize.exp: new file.
10678 * gdb.hp/pxdb.c: new file.
10679 * gdb.hp/pxdb.exp: new file.
10680 * gdb.hp/quicksort.exp: new file.
10681 * gdb.hp/reg-test.exp: new file.
10682 * gdb.hp/reg-test.s: new file.
10683 * gdb.hp/sized-enum.c: new file.
10684 * gdb.hp/sized-enum.exp: new file.
10685 * gdb.hp/start-stop.exp: new file.
10686 * gdb.hp/templ-hp.cc: new file.
10687 * gdb.hp/templ-hp.exp: new file.
10688 * gdb.hp/thr-lib.c: new file.
10689 * gdb.hp/thr-lib.exp: new file.
10690 * gdb.hp/thr-lib.h: new file.
10691 * gdb.hp/thr-liblib.c: new file.
10692 * gdb.hp/virtfun-hp.c: new file.
10693 * gdb.hp/virtfun-hp.exp: new file.
10694 * gdb.hp/watch-cmd.exp: new file.
10695 * gdb.hp/watch-hp.exp: new file.
10696 * gdb.hp/xdb1.exp: new file.
10697 * gdb.hp/xdb2.exp: new file.
10698 * gdb.hp/xdb3.exp: new file.
10699
10700Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
10701
10702 The following files are part of the HP merge; some had longer
10703 names at HP, but have been renamed to be no more than 14
10704 characters in length.
10705
10706 * gdb.base/ss.h: new file.
10707 * gdb.base/call-ar-st.c: new file.
10708 * gdb.base/call-ar-st.exp: new file.
10709 * gdb.base/call-rt-st.c: new file.
10710 * gdb.base/call-rt-st-exp: new file.
10711 * gdb.base/call-strs.exp: new file.
10712 * gdb.base/ena-dis-br.exp: new file.
10713 * gdb.base/environ.exp: new file.
10714 * gdb.base/long_long.exp: new file.
10715 * gdb.base/sect-cmd.exp: new file.
10716 * gdb.base/shlib-cl2.exp: new file.
10717 * gdb.base/smoke.exp: new file.
10718 * gdb.base/so-impl-ld.c: new file.
10719 * gdb.base/so-impl-ld.exp: new file.
10720 * gdb.base/so-indr-cl.c: new file.
10721 * gdb.base/so-indr-cl.exp: new file.
10722 * gdb.base/varargs.exp: new file.
10723 * gdb.base/volatile.exp: new file.
10724 * gdb.base/whatis-exp.exp: new file.
7a292a7a 10725 * gdb.base/display.exp: new file.
c906108c
SS
10726 * gdb.c++/derivation.exp: new file.
10727 * gdb.c++/local.exp: new file.
10728 * gdb.c++/member-ptr.exp: new file.
10729 * gdb.c++/overload.exp: new file.
10730 * gdb.c++/ovldbreak.exp: new file.
10731 * gdb.c++/ref-types.exp: new file.
10732 * gdb.c++/ref-types2.exp: new file.
10733 * gdb.c++/userdef.exp: new file.
d63a86f8 10734
c906108c
SS
10735Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
10736
10737 * gdb.base/default.exp: Reflect wording change in remote.c.
10738
dc96c6c7 10739Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10740
10741 * gdb.base/help.exp: Update to reflect current text.
10742
10743Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
10744
10745 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
10746 they're stack variables and contain garbage.
10747 * gdb.c++/anon-union.exp: new file.
10748
10749 The following changes were made by David Taylor
10750 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
10751 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
10752 in changes by HP.
10753
10754 * gdb.base/bitops.exp: new file.
10755 * gdb.base/default.exp: change expected messages for catch and
10756 info catch tests to reflect HP merge changes.
10757 * gdb.base/enable-disable-break.exp
10758 * gdb.base/ending-run.c: new file.
10759 * gdb.base/long_long.c: new file.
10760 * gdb.base/maint.exp: new file.
10761 * gdb.base/pointers2.exp: new file.
10762 * gdb.base/shlib-call2.exp: new file.
10763 * gdb.base/solib.exp: new file.
10764 * gdb.base/step-test.c: new file.
10765 * gdb.c++/anon-union.cc: new file.
10766 * gdb.c++/local.cc: new file.
10767 * gdb.c++/member-pointer.cc: new file.
10768 * gdb.c++/method.cc: new file.
10769 * gdb.c++/ref-types.cc: new file.
10770 * gdb.c++/ref-types2.cc: new file.
10771 * gdb.c++/userdef.cc: new file.
d63a86f8 10772
c906108c
SS
10773 * gdb.base/scope.exp: compile one file at a time, then link.
10774 * gdb.base/langs.exp: ditto.
10775 * gdb.base/list.exp: ditto.
d63a86f8 10776
c906108c
SS
10777Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
10778
10779 The following changes were made by David Taylor
10780 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
10781 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
10782 in changes by HP.
d63a86f8 10783
c906108c
SS
10784 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
10785 skip tests. When compiling pass c++ flag to gdb_compile.
10786 * gdb.c++/
d63a86f8 10787
c906108c
SS
10788 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
10789 test for on hppa*-*-hpux*; use args to see if c++ was specified.
10790 (skip_hp_tests): new function.
10791 (gdb_preprocess): new function.
10792
10793 * configure.in (hpdir): decide whether to configure gdb.hp.
10794 * configure: regenerated.
10795
10796 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
10797 to delete on clean.
10798 (EXECUTABLES): update to reflect new additions.
10799 * gdb.base/commands.exp: update message expected.
10800 * gdb.base/default.exp: add copyright notice.
10801 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
10802 * gdb.base/help.exp: update messages to reflect current text.
10803 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
10804 targets for recurse tests.
10805 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
10806 skip this file.
10807
10808 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
10809 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
10810 compilation.
10811 * gdb.c++/misc.exp: ditto.
10812 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
10813 run the tests. tell gdb_compile that it's a c++ compilation.
10814
10815 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 10816
c906108c
SS
10817 * gdb.base/all-bin.exp: new file.
10818 * gdb.base/arithmet.exp: new file.
10819 * gdb.base/assign.exp: new file.
10820 * gdb.base/completion.exp: new file.
10821 * gdb.base/cond-expr.exp: new file.
10822 * gdb.base/condbreak.exp: new file.
10823 * gdb.base/define.exp: new file.
10824 * gdb.base/dollar.exp: new file.
10825 * gdb.base/environment.exp: new file.
10826 * gdb.base/eval-skip.exp: new file.
10827 * gdb.base/jump.exp: new file.
10828 * gdb.base/logical.exp: new file.
10829 * gdb.base/pointers.exp: new file.
10830 * gdb.base/relational.exp: new file.
10831 * gdb.base/section_command.exp: new file.
10832 * gdb.base/whatis-expr.exp: new file.
10833
10834 * gdb.base/all-types.c: new file.
10835 * gdb.base/call-array-struct.c: new file.
10836 * gdb.base/call-return-struct.c: new file.
10837 * gdb.base/call-strings.c: new file.
10838 * gdb.base/callfuncs2.c: new file.
10839 * gdb.base/condbreak.c: new file.
10840 * gdb.base/constvars.c: new file.
10841 * gdb.base/display.c: new file.
10842 * gdb.base/int-type.c: new file.
10843 * gdb.base/jump.c: new file.
10844 * gdb.base/miscexprs.c: new file.
10845 * gdb.base/pointers.c: new file.
10846 * gdb.base/pointers2.c: new file.
10847 * gdb.base/shmain.c: new file.
10848 * gdb.base/shr1.c: new file.
10849 * gdb.base/shr2.c: new file.
10850 * gdb.base/solib.c: new file.
10851 * gdb.base/solib1.c: new file.
10852 * gdb.base/solib2.c: new file.
10853 * gdb.base/varargs.c: new file.
10854 * gdb.c++/derivation.cc: new file.
10855 * gdb.c++/overload.cc: new file.
10856 * gdb.c++/ovldbreak.cc: new file.
10857 * gdb.hp/attach.c: new file.
10858 * gdb.hp/attach2.c: new file.
10859 * gdb.hp/average.c: new file.
10860 * gdb.hp/compiler.c: new file.
10861 * gdb.hp/compiler.cc: new file.
10862 * gdb.hp/execd-program.c: new file.
10863 * gdb.hp/follow-exec.c: new file.
10864 * gdb.hp/follow-fork.c: new file.
10865 * gdb.hp/follow-vfork-and-exec.c: new file.
10866 * gdb.hp/misc-hp.cc: new file.
10867 * gdb.hp/more-steps.c: new file.
10868 * gdb.hp/optimize.c: new file.
10869 * gdb.hp/quicksort.c: new file.
10870 * gdb.hp/run-hp.c: new file.
10871 * gdb.hp/start-stop.c: new file.
10872 * gdb.hp/sum.c: new file.
10873 * gdb.hp/templates-hp.cc: new file.
10874 * gdb.hp/thread-local-in-lib.c: new file.
10875 * gdb.hp/thread-local-in-lib.h: new file.
10876 * gdb.hp/thread-local-in-lib.lib.c: new file.
10877 * gdb.hp/vforked-program.c: new file.
10878 * gdb.hp/virtfunc-hp.cc: new file.
10879 * gdb.hp/watchpoint-hp.c: new file.
10880 * gdb.hp/xdb.c: new file.
10881 * gdb.hp/xdb0.c: new file.
10882 * gdb.hp/xdb0.h: new file.
10883 * gdb.hp/xdb1.c: new file.
10884
10885Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
10886
10887 The following change was made by Edith Epstein
10888 <eepstein@cygnus.com> as part of a project to merge in changes
10889 originally made by HP; HP did not create ChangeLog entries.
10890
10891 * gdb.c++/demangle.exp: changed the expected output for some
10892 ARM-style mangling -- removed second reference to datatype.
10893 For example, maint demangle __dt__11T1__pt__2_cFv
10894 T1<char>::~T1<char>(void)
10895 becomes,
10896 maint demangle __dt__11T1__pt__2_cFv
10897 T1<char>::~T1(void)
10898
10899 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 10900
c906108c
SS
10901Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
10902
10903 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
10904 * gdb.trace/backtrace.exp: Likewise.
10905 * gdb.trace/circ.exp: Likewise.
10906 * gdb.trace/collection.exp: Likewise.
10907 * gdb.trace/deltrace.exp: Likewise.
10908 * gdb.trace/infotrace.exp: Likewise.
10909 * gdb.trace/limits.exp: Likewise.
10910 * gdb.trace/packetlen.exp: Likewise.
10911 * gdb.trace/passc-dyn.exp: Likewise.
10912 * gdb.trace/passcount.exp: Likewise.
10913 * gdb.trace/report.exp: Likewise.
10914 * gdb.trace/save-trace.exp: Likewise.
10915 * gdb.trace/tfind.exp: Likewise.
10916 * gdb.trace/tracecmd.exp: Likewise.
10917 * gdb.trace/while-dyn.exp: Likewise.
10918 * gdb.trace/while-stepping.exp: Likewise.
10919
109201998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
10921
10922 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
10923
10924Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
10925
10926 From Brendan Kehoe:
10927 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
10928 int return types.
10929
10930Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
10931
10932 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
10933 remote dos host testing right.
10934
10935Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
10936
10937 * gdb.base/corefile.exp: remove some xfails.
10938
10939Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
10940
10941 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
10942 have different timestamps.
10943
10944Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
10945
10946 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
10947 gdb.base/default.exp: Replace "exec" with "executable".
10948
10949Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
10950
10951 * gdb.base/default.exp: Change else if to elseif from previous
10952 delta.
10953
10954Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
10955
10956 * gdb.base/default.exp: Add brace missing from previous delta.
10957
10958Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
10959
10960 * gdb.base/default.exp: Support test for info float for all
10961 varieties of arm toolchain.
10962
dc96c6c7 10963Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10964
10965 * gdb.trace/*.exp: remove "remote_download" command.
10966
dc96c6c7 10967Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10968
10969 * gdb.trace/*.exp: remove -gdwarf from compile.
10970
10971Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
10972
10973 * gdb.trace/configure.in(AC_INIT): typo
10974 * gdb.trace/configure: regenerated
10975
dc96c6c7 10976Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10977
10978 * config/m68k-emc.exp: New file.
10979 * lib/<emc-support.exp trace-support.exp}: New files.
10980 * configure.in: add new test directory gdb.trace.
10981 * gdb.trace/{configure configure.in Makefile.in}: New files.
10982 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
10983 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
10984 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
10985 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
10986 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
10987 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
10988 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 10989
dc96c6c7 10990Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
10991
10992 * gdb.c++/classes.exp: Change all regular expressions to match
10993 arbitrary combinations of newline/carriage-return, so that they
10994 will work equally well on Unix and Windows.
10995 * gdb.c++/inherit.exp: ditto.
10996 * gdb.c++/virtfunc.exp: ditto.
10997
109981998-08-11 Dawn Perchik <dawn@cygnus.com>
10999
11000 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
11001
c2d11a7d
JM
11002Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
11003
11004 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
11005 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
11006 to use a0-a3/d0-d3 as needed.
11007
11008Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
11009
11010 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
11011 * gdb.disasm/am33.exp: Corresponding changes.
11012
c906108c
SS
110131998-07-11 Felix Lee <flee@cygnus.com>
11014
11015 * gdb.base/callfuncs.exp: add cmp10 test.
11016 * gdb.base/callfuncs.c (cmp10): new function.
11017
11018Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
11019
d63a86f8 11020 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
11021 into two parts to get around a synchronization problem in expect.
11022
3fc11d3e
JM
11023Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
11024
11025 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
11026
11027 * configure.in: Add options for gdbtk testsuite.
11028
11029 * configure: Regenerate.
11030
11031 * gdb.gdbtk: New directory to hold gdbtk tests.
11032
c906108c
SS
11033Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
11034
11035 * gdb.fortran/types.exp: Escape brackets in expect patterns
11036 for test_float_literal_types_accepted tests.
11037 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
11038 before run test.
11039
c2d11a7d
JM
11040Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
11041
11042 * am33.exp: Just compile, do not link the testcase.
11043 * am33.s: Add ".am33" pseudoop to force am33 mode.
11044
c906108c
SS
110451998-06-25 Felix Lee <flee@cygnus.com>
11046
11047 * gdb.base/setshow.exp: make sure $pc is sane.
11048
11049 * gdb.stabs/weird.exp: split expect patterns properly.
11050
c2d11a7d
JM
11051Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
11052
11053 * gdb.disasm/am33.s: New disassembler testfile for the am33.
11054 * gdb.disasm/am33.exp: Run it.
11055
dc96c6c7 11056Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11057
11058 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
11059 match processing (and eliminate spurious timeouts when running).
11060
dc96c6c7 11061Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11062
11063 * gdb.base/signals.exp (test_handle_all_print): put back Mach
11064 exception test, but conditionalize it on target [mach | gnu].
11065
dc96c6c7 11066Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11067
11068 * gdb.base/overlays.exp: fixup compile line for linker script.
11069
11070Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
11071
11072 * gdb.fortran/types.exp: don't guess at float size.
11073
11074Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
11075
11076 * gdb.base/exprs.exp: delete test that depends on int size.
11077
11078Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
11079
11080 * config/sim.exp: Removed checks for target triplets.
11081 (gdb_target_sim): Use gdb,target_sim_options.
11082
11083Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
11084
11085 * gdb.base/reread.exp: New file.
11086 * gdb.base/reread1.c: New file.
11087 * gdb.base/reread2.c: New file.
11088
11089Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
11090
11091 * config/sim.exp: Use 'target sim -sparclite' when running
11092 SPARClite programs.
11093
11094Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
11095
11096 * gdb.base/structs2.exp: New file.
11097 * gdb.base/structs2.c: New file.
11098
11099Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
11100
11101 * gdb.asm/common.inc: New file.
11102 * gdb.asm/d10v.inc: New file.
11103 * asm-source.exp: Pass -I's to gas to find .inc files.
11104 Update line numbers in expected output.
11105 * asmsrc1.s: Rewrite.
11106 * asmsrc2.s: Rewrite.
11107 * configure.in: Create arch.inc symlink.
11108 * configure: Regenerate.
11109 * Makefile.in (distclean): Delete arch.inc.
11110
11111Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
11112
11113 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
11114 (t_enum_value2): ditto
11115 (t_enum_value3): ditto
11116 (main): ditto
11117Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
11118
11119 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
11120 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
11121 change.
11122 Use gdb_test instead of send_gdb/gdb_expect sequences.
11123
11124Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
11125
11126 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
11127 not void.
11128
11129Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
11130
11131 * gdb.base/branches.c: Code with lots of loops and
11132 subroutines. Used to test gdbs ability to single step through PC
11133 changes, especially to test mips-tdep.c:mips_next_pc
11134
11135Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
11136
11137 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
11138 more rigorous EGCS C++ error checking.
11139
11140Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11141
11142 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 11143 tests.
c906108c 11144 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 11145 function when asleep.
c906108c 11146 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
11147 for i*86 Linux and SVR4 signal handling problems.
11148 Remove linux xfail for `next to handler in signals_tests_1', fixed
11149 by recent infrun.c change.
c906108c 11150 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 11151 stack backtraces.
c906108c
SS
11152 Adjust expect pattern in `handle all print' test to match Apr 28 1997
11153 target.[ch] change.
11154
11155Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
11156
11157 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
11158 for a newline from gdb before continuing.
11159 (default_gdb_exit): Just look for y or n.
11160 (gdb_test): Detect abnormal exit from GDB running on DOS; if
11161 it does, fail the rests of the tests in the file.
11162
11163Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
11164
11165 * config/cygmon.exp: New file.
11166
11167Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
11168
11169 * gdb.base/list.exp: Fix problem with "list default lines around
11170 main" test on remote targets.
11171
11172 * gdb.base/scope.exp: Fix problem with filelocal_bss before
11173 run test on remote targets.
11174
11175Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
11176
11177 * gdb.asm: New directory.
11178 * configure.in: Configure it.
11179 * configure: Regenerate.
11180 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
11181 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
11182
11183Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
11184
11185 * config/mn10300-eval.exp: New file to support MN10300 eval board.
11186
dc96c6c7 11187Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 11188
c906108c
SS
11189 * gdb.base/overlays (several files): Merge the two overlay
11190 managers into one. Change variables (foox, barx, bazx, grbxx)
11191 back into ints but force them to load in their proper sections.
11192
11193Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
11194
11195 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
11196 on-chip insn memory and IMAP1 to upper 128k.
11197 (D10VCopy): Handle memory regions crossing 16k boundaries.
11198 (D10VCopy): Transfer data in 32 bit chunks.
11199
11200Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
11201
11202 * gdb.base/overlays.c (main): Exit normally when result is
11203 correct.
11204
11205 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
11206 map. Include space for printf in .text segment.
11207
11208 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
11209 updated d10v memory VMA/LMA map.
11210 (D10VCopy): Call D10VTranslate.
d63a86f8 11211
c906108c
SS
11212Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
11213
11214 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
11215
11216 * gdb.base/bar.c (barx, bar): Change variable to small array so
11217 that it won't be put into the .sdata - small data -
11218 section. Update reference.
11219 * gdb.base/baz.c (bazx, baz): Ditto.
11220 * gdb.base/foo.c (foox, foo): Ditto.
11221 * gdb.base/grbx.c (grbxx, grbx): Ditto.
11222
11223 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
11224 to be arrays.
d63a86f8 11225
dc96c6c7 11226Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 11227
c906108c
SS
11228 * gdb.base/overlays.exp: fix up and get working again.
11229 Add tests for backtraces from an overlay function.
d63a86f8 11230
c906108c
SS
11231Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
11232
11233 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
11234 "calling function with watchpoint enabled".
11235
11236Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
11237
11238 * gdb.base/break.exp (test_next_with_recursion): Remove
11239 gdb_suppress_tests for d10v-*-*.
11240 * lib/gdb.exp (gdb_suppress_tests): Disable this function
11241 pending review of whether it is useful or not.
11242
11243Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
11244
11245 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
11246
11247Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
11248
11249 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
11250 * config/dve.exp: New file to support Densan boards.
11251
11252Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
11253
11254 * gdb.base/interrupt.exp: Document problem of simulators, signals,
11255 reads and BSD.
11256
11257Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
11258
11259 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
11260 response.
11261
11262 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
11263
11264Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
11265
11266 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
11267 test.
11268
11269 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
11270 target_sizeof_long and target_bigendian_p.
11271 (structs_by_value, structs_by_reference): Check values according
11272 to targets word size and endianess.
d63a86f8 11273
c906108c
SS
11274Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
11275
11276 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
11277 output.
11278
11279Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
11280
11281 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
11282 Update test of set args help to match source change.
11283
11284Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
11285
11286 * gdb.base/default.exp: Expect help system output to be in
11287 alphabetical order.
11288 * gdb.base/help.exp: Ditto.
11289
11290Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
11291
11292 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
11293 "i*86-pc-linux-gnu*".
11294 * gdb.base/interrupt.exp: Ditto.
11295 * gdb.base/corefile.exp: Ditto.
11296
11297 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
11298 define vxworks when building the testcase.
11299
11300 * gdb.base/ptype.exp: Fix testnames to be unique.
11301 * gdb.base/radix.exp: Ditto.
11302 * gdb.base/term.exp: Ditto.
11303 * gdb.base/whatis.exp: Ditto.
11304 * gdb.c++/classes.exp: Ditto.
11305
11306Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
11307
11308 * gdb.base/callfuncs.exp: Fix indentation.
11309
11310 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
11311 suppress_flag has been set.
11312 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
11313 target feature.
11314
11315Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
11316
11317 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
11318 the testcase.
11319
11320 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
11321 set_debug_traps() and breakpoint().
11322 * gdb.c++/misc.cc (main): Ditto.
11323 * gdb.c++/templates.cc (main): Ditto.
11324 * gdb.c++/virtfunc.cc (main): Ditto.
11325
11326Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
11327
11328 * lib/gdb.exp(gdb_step_for_stub): New function.
11329 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
11330 exists, reload the executable and do a "continue" instead of
11331 doing a jump.
11332 (runto_main): Use gdb_step_for_stub.
d63a86f8 11333
c906108c
SS
11334 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
11335 tests to have unique names.
11336 * gdb.base/callfuncs.exp: Ditto.
11337 * gdb.base/commands.exp: Ditto.
11338 * gdb.base/default.exp: Ditto.
11339 * gdb.base/help.exp: Ditto.
11340 * gdb.base/list.exp: Ditto.
11341 * gdb.base/opaque.exp: Ditto.
11342 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
11343 similar tests.
d63a86f8 11344
c906108c
SS
11345 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
11346 * gdb.c++/cplusfuncs.cc: Ditto.
11347 * gdb.c++/virtfunc.cc: Ditto.
11348
11349 * config/monitor.exp: Keep track of the last file we saw, rather
11350 than trying to get the info from gdb.
11351
11352 * gdb.fortran/types.exp: Move comment to previous line.
11353
11354Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
11355
11356 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
11357 target mode.
11358
11359Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
11360
11361 From Bob Manson:
11362 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
11363 string from GDB when it connects.
11364
11365 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
11366
11367Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
11368
11369 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
11370 if we can't get a debug format from GDB (we may be testing an
11371 older GDB). Use a 10 second timeout when checking for the format.
11372
11373 * gdb.stabs/weird.exp: Fix quoting.
11374
11375 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
11376
11377Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
11378
11379 * config/arm-ice.exp: New file.
11380
11381Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
11382
11383 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
11384 until it has been modified to work with the new testsuite.
11385
99707966 11386 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
11387 testcase won't compile, cause all of the testcases in the file to
11388 fail instead.
11389
11390 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
11391 (gdb_clear_suppressed): New procedure.
11392 (gdb_stop_suppressing_tests): Only clear suppress_flag if
11393 it contains a positive value.
11394
11395Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
11396
11397 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
11398
11399 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
11400
11401Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
11402
11403 * lib/gdb.exp (setup_xfail_format): New function.
11404 (get_debug_format): New function to get debug format.
11405 (debug_format): New global variable to hold last value set
11406 by get_debug_format.
11407 * gdb.base/list.exp: Call get_debug_format and expect some
11408 tests to fail for DWARF 1 and COFF formats.
11409 * gdb.c++/ptype.exp: Ditto.
11410 * gdb.c++/classes.exp: Ditto.
11411 * gdb.c++/cplusfuncs.exp: Ditto.
11412 * gdb.c++/inherit.exp: Ditto.
11413 * gdb.c++/templates.exp: Ditto.
11414 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 11415
c906108c
SS
11416Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
11417
11418 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
11419 host doesn't have a currently-open connection.
11420
11421 * config/sparclet.exp: Cleanups and fixes to make it generic for
11422 any gdb stub target. Handle cases where gdb doesn't respond when
11423 interrupted in a sane fashion.
11424
11425 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
11426 same thing in a totally different way.
11427
11428 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
11429 setting "timeout".
11430 (gdb_start): We set the global gdb_prompt variable in
11431 default_gdb_init now.
11432
11433Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
11434
11435 * gdb.base/printcmds.exp: Fix "check for floating addition"
11436 regexp to accept results within approx +/- .01 of exact value.
11437 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
11438
11439Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
11440
11441 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
11442 properly.
11443 (gdb_expect): Add optional timeout parameter, and add timeout
11444 value to various calls.
11445 (gdb_suppress_tests): Only give one warning message per group.
11446
11447Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
11448
11449 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
11450 global variables. Handle getting a value for $timeout more
11451 gracefully.
11452
11453Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
11454
11455 * lib/gdb.exp: Close connection to remote host if gdb doesn't
11456 initialize.
11457 (default_gdb_init): New procedure; allow gdb_init to be overridden
11458 by a target configuration file.
11459 (gdb_expect): Pass the timeout to remote_expect.
11460
11461 * config/monitor.exp(gdb_load): Fix typo in regexp.
11462
11463Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
11464
11465 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
11466
11467Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
11468
11469 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
11470 here. Call gdb_target_exec before rebooting the target, to make
11471 sure the connection to the target is closed.
11472 (gdb_load): Pass the name of the executable to gdb_target_monitor.
11473 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
11474 Also detect "Timeout reading from remote" error.
11475
11476 * config/gdbserver.exp: Pass the executable being loaded to
11477 gdb_target_monitor. Don't call gdb_file_cmd here; let
11478 gdb_target_monitor do it.
11479
11480 * gdb.disasm/hppa.exp: Don't use exec_output.
11481
11482Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
11483
11484 * gdb.base/list.exp: If we're debugging a non-native target,
11485 try to set the pc register to point to the start of the
11486 program before doing the first list command.
11487
11488 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
11489 test_calls after restarting.
11490
11491 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
11492 reloading.
11493
11494 * gdb.base/watchpoint.exp: Fix typo.
11495
11496 * gdb.base/setshow.exp: Check for use_gdb_stub.
11497
11498 * gdb.base/break.exp: Fix continue until exit test for the gdb
11499 stub case.
11500 * gdb.base/langs.exp: Ditto.
11501
11502 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
11503 gdb_load_offset. If we weren't given a file to load, figure out
11504 what the current file is and use it.
11505
11506 * config/i386-bozo.exp: New file.
11507
11508Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
11509
11510 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
11511 feature.
11512
11513 * config/proelf.exp: New entry.
11514
11515Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
11516
11517 * lib/gdb.exp: Remove spurious .* patterns at the beginning
11518 of regexps.
11519
11520 * gdb.base/watchpoint.exp: Don't run the test_stepping
11521 tests if gdb can't call functions on the target.
11522
11523 * gdb.base/setshow.exp: Don't run the set prompt tests if
11524 the board has gdb_prompt set.
11525
11526Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
11527
11528 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
11529 * gdb.base/commands.exp: Likewise.
11530 * gdb.base/setshow.exp: Likewise.
11531
11532Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
11533
11534 * config/monitor.exp(gdb_start): Look for gdb_prompt target
11535 feature.
11536
11537 * config/i960.exp: New file.
11538
11539Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
11540
11541 * gdb.base/funcargs.exp: Check for gdb,short_int target
11542 feature instead of looking for explicit target triplets.
11543
dc96c6c7 11544Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 11545
d63a86f8 11546 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
11547 "p 123DEADBEEF", to check parse_number.
11548 * top.c: change "to enable to enable" to "to enable" in a couple
11549 of help strings.
11550
11551Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
11552
11553 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
11554 on the mn10300.
d63a86f8 11555
c906108c
SS
11556Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
11557
11558 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
11559 where the test executable is run with explicit args.
11560 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
11561
11562Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
11563
11564 * gdb.base/run.c: Use FAKEARGV to build test executable that
11565 does not require a command line arg, since most simulators
11566 don't currently support passing such an arg into the simulated
11567 program.
11568 * gdb.base/commands.exp: Change tests to insert the proper
11569 value as the arg to the first recursive factorial call. Change
11570 compilation line to define FAKEARGV at compile time.
11571
11572Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
11573
11574 * gdb.base/recurse.exp: Enable these tests for the mn10300.
11575 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
11576 function with watchpoint enabled" test.
11577
11578Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
11579
11580 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
11581 Don't call gdb_test when the command doesn't return to a gdb prompt.
11582
11583 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
11584 "Tests restarted" messages.
11585
11586Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
11587
11588 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
11589
dc96c6c7 11590Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
11591
11592 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
11593 for INFO SYMBOL; add help tests for OVERLAY commands.
11594 * gdb.base/default.exp: add tests for INFO SYMBOL command;
11595 add tests for OVERLAY commands
11596 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
11597 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
11598 * gdb.base/sigall.c: add usestubs code frag
11599 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 11600
c906108c
SS
11601Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
11602
11603 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
11604 failures.
11605 (gdb_stop_suppressing_tests): Note that tests have restarted.
11606
11607Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
11608
11609 * config/h8300.exp: New file.
11610
11611Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
11612
11613 * gdb.base/setshow.exp: Check for the existence of a
11614 feature, not its value.
11615
11616Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
11617
11618 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
11619
11620 * gdb.base/scope.exp: It's now init0(), not init().
11621
11622 * gdb.base/scope0.c: For now, change init() to be init0().
11623
11624 * config/monitor.exp: Use gdb_serial in preference to serial
11625 or netport.
11626
11627 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
11628 and it's not already set.
11629
11630Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
11631
11632 * gdb.base/setshow.exp: Only test the run command if the target
11633 isn't using a stub and if it supports argument passing.
11634
11635Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
11636
11637 * config/udi.exp(gdb_start): Make sure UDICONF is set
11638 properly before starting gdb.
11639
11640Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
11641
11642 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
11643 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
11644 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
11645
11646Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
11647
11648 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
11649 specialized code to reboot the board, use remote_reboot instead.
11650
11651 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
11652
11653 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
11654
11655 * config/monitor.exp: Make sure we disconnect from the target.
11656 Also, try a reboot/reload cycle instead of failing if the
11657 load fails.
11658
11659Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
11660
11661 * gdb.base/default.exp: Don't set match_max.
11662 * gdb.base/help.exp: Ditto.
11663 * gdb.base/list.exp: Ditto.
11664 * gdb.base/signals.exp: Ditto.
11665
11666 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
11667 set, use remote_ld to download the testcase instead of
11668 the GDB loader.
11669
11670Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
11671
11672 * config/vr5000.exp: New file.
11673
11674 * config/monitor.exp(gdb_target_monitor): Add pattern for
11675 "Ending remote" to detect errors in connecting.
11676
11677 * gdb.base/setshow.exp: Add .* within auto language test.
11678
11679 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
11680 target feature.
11681
11682 * config/monitor.exp(gdb_load): Check for a failure when loading,
11683 and reboot the board if necessary.
11684
11685 * gdb.base/setvar.exp(test_set): Handle multiple prints within
11686 a set of tests. Remove print.* from the patterns being checked.
11687
11688Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
11689
11690 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
11691 refer to gdb_spawn_id.
11692
11693 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
11694 longer used.
11695 * config/sparclet.exp: Ditto.
11696 * config/sparclet-old.exp: Ditto.
11697 * config/slite.exp: Ditto.
11698 * config/sim.exp: Ditto.
11699 * gdb.base/funcargs.exp: Ditto.
11700
11701 * lib/gdb.exp:Remove references to gdb_spawn_id.
11702 (gdb_expect): Move to remote.exp.
11703
11704Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
11705
11706 * config/monitor.exp: Detect the "Couldn't establish connection"
11707 message from GDB.
11708
11709Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
11710
11711 * gdb.base/bitfields.exp: Use runto instead of explicit
11712 gdb_run_cmd/gdb_expect sequences.
11713
11714 * gdb.base/break.exp(text_next_with_recursion): Add match for
11715 gdb_expect call.
11716
11717 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
11718 We also need to handle the "A program is being debugged already"
11719 prompt from gdb. Use gdb_test to set the baud rate.
11720
11721 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
11722 to 20000. Really. I mean it.
11723
11724Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
11725
11726 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
11727 fails. If suppress_flag is set, skip perror message about not
11728 being able to send to GDB.
11729 (send_gdb): If suppress_flag is set, don't try to send commands to
11730 GDB.
11731 (gdb_expect): If suppress_flag is set, always fail immediately.
11732 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
11733 (gdb_init): Call gdb_stop_suppressing_tests.
11734 (default_gdb_exit): Ditto.
11735 (default_gdb_start): Ditto.
11736
11737 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
11738 gdb_stop_suppressing_tests as appropriate.
11739 * gdb.base/break.exp: Ditto.
11740 * gdb.base/callfuncs.exp: Ditto.
11741 * gdb.base/commands.exp: Ditto.
11742 * gdb.base/exprs.exp: Ditto.
11743 * gdb.base/funcargs.exp: Ditto.
11744 * gdb.base/list.exp: Ditto.
11745 * gdb.base/recurse.exp: Ditto.
11746 * gdb.base/scope.exp: Ditto.
11747 * gdb.base/structs.exp: Ditto.
11748 * gdb.c++/inherit.exp: Ditto.
11749
11750Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
11751
11752 * config/vr4300.exp: New file.
11753
99707966 11754 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 11755
99707966 11756 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
11757
11758Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
11759
11760 * lib/gdb.exp(gdb_init): New function.
11761
11762 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
11763 for each individual variable set.
11764
11765 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
11766 name.
11767
11768 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
11769
11770 * gdb.base/scope.exp: Use gdb_test.
11771
11772 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
11773 aborting; the testsuite driver will do that for us (see
11774 gdb_finish). Also, use gdb_test in a few more places.
11775
11776Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
11777
11778 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
11779
11780Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
11781
11782 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
11783 and "add_tests" are not at the same address.
11784
11785Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
11786
11787 * gdb.base/ptype.exp: Use gdb_test.
11788
11789Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
11790
11791 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
11792 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
11793 left in. No longer expect them to fail.
11794
11795 * gdb.stabs/*.mt; Deleted, no longer used.
11796 * gdb.stabs/configure.in: Remove references to target makefile
11797 frags.
11798 * gdb.stabs/configure: Rebuilt.
11799
11800 * gdb.disasm/*.mt: Deleted, no longer used.
11801 * gdb.disasm/configure.in: Remove references to target makefile
11802 frags. Use "sh3.s" as the unique filename for this directory.
11803 * gdb.disasm/configure: Rebuilt.
11804
11805 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
11806 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
11807 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
11808
11809Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
11810
11811 * config/udi.exp: Use mondfe,name instead of remote_host.
11812
11813Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
11814
11815 * gdb.base/watchpoint.exp: Don't expect a failure when calling
11816 a function with a watchpoint enabled on the mn10200.
11817
11818 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
11819 before trying to create it!
11820
11821Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
11822
11823 * config/vx.exp: Use hostname instead of netport.
11824
11825 * config/vxworks.exp: New file.
11826
11827 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
11828
11829 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
11830 gdb before assuming everything worked. Send a ^C if a timeout
11831 occurs.
11832
11833 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
11834 $gdb_spawn_id directly.
11835 (gdb_run_cmd): Try _start as well as start. Use the target feature
11836 gdb,start_symbol as the symbol to start from when jumping.
11837
11838Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
11839
11840 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
11841 redundant) test.
11842
11843 * gdb.base/recurse.exp: Relax final value test for 'b' so that
11844 it doesn't lose for 16bit integer systems.
11845
11846Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
11847
11848 * gdb.fortran/types.exp: If the target doesn't support "double"
11849 data types, then expect "real" types to only be 4 bytes.
11850
11851 * gdb.c++/virtfunc.exp: Expect failure for virtual function
11852 call tests if the target doesn't support inferior function calls.
11853
11854 * gdb.base/printcmds.exp: Allow minor deviation in FP values
11855 in printf tests.
11856
11857Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
11858
11859 * gdb.base/help.exp: Disable "help set", "help show", and
11860 "help support". Simplify regexp for "help stack".
11861
11862 * gdb.base/default.exp: Set match_max to 5000 and the timeout
11863 to 60 seconds. Temporarily set match_max to 15000 around the
11864 "info copying" test.
11865
11866 * gdb.base/nodebug.exp: Don't try to do an inferior function
11867 call if the target doesn't support them.
11868 * gdb.base/printcmds.exp: Likewise.
11869 * gdb.base/setvar.exp: Likewise.
11870 * gdb.base/structs.exp: Likewise.
11871 * gdb.c++/templates.exp: Likewise.
11872 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
11873
11874 * gdb.base/recurse.exp: Enable for the mn10200.
11875
11876 * configure.in: Do configure gdb.stabs directory for *-*-elf
11877 targets.
11878 * configure: Rebuilt.
11879
11880 * gdb.base/break.exp: Check for gdb,noresults before testing
11881 exit status and/or results from the target.
11882 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
11883 * lib/gdb.exp: Remove old (now bogus) initialization of
11884 noinferior, noargs, noresults and nosignals.
11885
11886Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
11887
11888 * config/sh.exp: New file.
11889
11890 * config/slite.exp: Try to connect multiple times to the board
11891 before rebooting. Only send a "monitor run" if need_monitor_run
11892 is set.
11893
11894 * gdb.base/break.exp: Don't do the "stub continue" test if
11895 the target has gdb_stub set.
11896
11897 * gdb.base/callfuncs.exp: Increase the timeout.
11898
11899 * gdb.base/interrupt.exp: Don't even try to compile the testcase
11900 if the target has gdb,noinferiorio set.
11901
11902 * gdb.base/list.exp: Increase match_max to 10000 characters.
11903
11904 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
11905
11906 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
11907 target.
11908
11909 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
11910
11911Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
11912
11913 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
11914 trying to delete the copy of gdb. Catch the file delete so we
11915 don't die if the delete fails; also, the file should be copied to
11916 the host, not to the build.
11917
11918Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
11919
11920 * lib/gdb.exp(gdb_test): Surround the result pattern with
11921 parenthesis in case it contains multiple regexps separated
11922 with |.
11923
11924 * gdb.base/watchpoint.exp: Use gdb_test.
11925 * gdb.base/default.exp: Ditto.
11926
11927Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
11928
99707966 11929 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 11930
c906108c
SS
11931 * gdb.base/scope.exp: Use gdb_test.
11932 * gdb.c++/classes.exp: Ditto.
11933 * gdb.c++/inherit.exp: Ditto.
11934
11935Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
11936
11937 * gdb.base/crossload.exp: Don't use execute_anywhere, use
11938 remote_exec instead.
11939 * gdb.base/corefile.exp: Don't be ridiculous.
11940 * gdb.base/*.c: Add missing stub invocations.
11941
11942Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
11943
11944 * config/slite.exp: Miscellaneous fixes.
11945
11946 * lib/gdb.exp: Fix runto.
11947
11948 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
11949 the target.
11950
11951 * gdb.base/watchpoint.exp: Fix regexp.
11952
11953 * lib/gdb.exp(default_gdb_exit): Add a catch to the
11954 close and wait commands, as the descriptor may now be
11955 invalid. Always call "remote_close host".
11956
11957Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
11958
11959 Major rewrite for testsuite revision.
d63a86f8 11960
c906108c
SS
11961 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
11962 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
11963 instead of relying on spawn_id to always contain a valid
11964 spawn id.
11965 (get_compiler_info): New procedure to build the ${binfile}.ci
11966 file, instead of replicating this in N different places.
11967 (gdb_compile): New procedure.
d63a86f8 11968
c906108c
SS
11969 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
11970 appropriate arguments) instead of compile. Use gdb_test in a lot
11971 more places. Use send_gdb instead of send. Always run gdb_start
11972 at the start of a testcase, as this is no longer done magically.
11973
11974 config/*-gdb.exp: Rename without the -gdb suffix.
11975
11976 config/mips.exp: Use remote_close instead of exit_remote_shell.
11977 config/monitor.exp: Use target_info instead of looking at
11978 baud, timeout, etc.
11979 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
11980
11981Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11982
11983 * gdb.c++/templates.exp (test_ptype_of_templates),
11984 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
11985 Update expect patterns for destructors and assignment operators
11986 to match corresponding c-typeprint.c changes.
11987 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
11988 to destructor breakpoint test, GDB should be able to set the
11989 destructor breakpoint without specifying arguments.
11990
11991Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
11992
11993 * gdb.threads/pthreads.exp: Change result for failure to compile due
11994 to lack of pthreads runtime support from an error to simply an
11995 unsupported test, per dejagnu standards.
11996
11997Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11998
11999 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
12000 where GDB exits to reduce pattern match time.
12001 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
12002
12003 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
12004
dc96c6c7 12005Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
12006
12007 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
12008 * gdb.base/default.exp: ditto.
12009 * gdb.base/nodebug.exp: ditto.
12010 * gdb.base/printcmds.exp: ditto.
12011 * gdb.base/ptype.exp: ditto.
12012 * gdb.base/setvar.exp: ditto.
12013 * gdb.base/structs.exp: ditto.
12014 * gdb.base/setshow.c: Guard against uninitialized values of argc.
12015
12016Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
12017
12018 * configure, */configure: Rebuild with autoconf 2.12.
12019
12020Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
12021
12022 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
12023 use new i*86-pc-linux*-gnu quads.
12024 * gdb.base/corefile.exp: Ditto.
12025 * gdb.base/signals.exp: Ditto.
12026 * gdb.base/sigall.exp: Ditto.
12027 * gdb.base/interrupt.exp: Ditto.
12028
12029 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
12030 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
12031 RedHat 4.0.
d63a86f8 12032
c906108c
SS
12033 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
12034 linux. This allows the test case to at least compile on latest
12035 linux, but still not run due to missing the threads runtime library.
12036
12037Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12038
12039 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
12040 directory to search gdb directory. Accept and step over conditional
12041 stack alignment code. Consume $prompt in failure cases.
12042 Reset timeout to $oldtimeout instead of some arbitrary value.
12043 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
12044 timeout problems with infinite stack backtraces.
12045 * gdb.base/ptype.exp (ptype struct link, union tu_link):
12046 Accept function parameters for linkfunc member.
12047
12048Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
12049
12050 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
12051 (CXXFLAGS): Remove, unreferenced.
12052 (B_OPTIONS): Add for -B options and add code to initialize with
12053 previous -B options and also add -B option to pick up cross compiled
12054 runtime.
12055 (TARGET_INCLUDES): Add for -I options and add code to initialize when
12056 doing cross compiles.
12057 (target_alias): Declare global.
12058 (xgcc): Set variable to full path of gcc in build tree. Use findfile
12059 to verify that gcc exists in build tree, and if so set CC to that
12060 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 12061
c906108c
SS
12062Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
12063
12064 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
12065 ptype test for anonymous union. Fixup testcase to match
12066 current gcc debug output.
12067
12068Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
12069
12070 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
12071 force argument to an unsigned long type.
12072
12073Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
12074
12075 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
12076 tests and anonymous union print/ptype tests.
12077 * gdb.base/list.exp (test_forward-search): Increase timeout by
12078 5 minutes for the "search extremely long line" case.
12079 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
12080 completely optional and that the pass/fail messages use the command as
12081 the message if that third arg is a null string.
12082 (gdb_test_exact): Arrange that a null string pattern means match a
12083 null string output rather than any output, which might include random
12084 errors.
12085 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
12086 backtrace test.
12087 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
12088 always failing and failure is now exposed by gdb.exp changes.
12089
12090Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
12091
12092 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
12093 weren't being noted.
12094
12095Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12096
12097 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
12098 * gdb.stabs/weird.exp: Remove v_comb xfails.
12099
dc96c6c7 12100Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
12101
12102 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
12103 list.exp scope.exp watchpoint.exp]
12104 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 12105
dc96c6c7 12106Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
12107
12108 * config/monitor.exp: Increase download timeout to 1000 seconds.
12109
dc96c6c7 12110Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
12111
12112 * config/m32r.exp: Increase timeout to 120 seconds.
12113
12114Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
12115
12116 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
12117 and accept older ordering as obsolescent gcc or gdb.
12118 * gdb.c++/templates.exp: Ditto.
12119 * gdb.c++/virtfunc.exp: Ditto.
12120
12121Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
12122
12123 * gdb.base/coremaker.c: Add code to mmap some data so we
12124 can check that it ends up in the core file.
12125 * gdb.base/corefile.exp: Add test to read mmapped data
12126 from core file.
12127
dc96c6c7 12128Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
12129
12130 * config/m32r.exp: New file.
12131
12132Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
12133
12134 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
12135 that cflags can contains -gstabs, and work correctly for other tests.
12136
dc96c6c7 12137Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
12138
12139 * gdb.base/setshow.exp: New file, tests show and set.
12140 * gdb.base/setshow.c: New file, tests show and set.
12141 * gdb.base/help.exp: Add test for help set|show annotate.
12142 * gdb.base/default.exp: Add test for set|show annotate.
12143
12144Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
12145
12146 * testsuite/gdb.base/break.exp: Make backtrace from factorial
12147 errors unique.
12148 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
12149 explicitly.
12150
12151Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
12152
12153 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
12154 and width commands. This is done elsewhere.
12155 * (gdb_start): Don't call gdb_start_sim here. That's already
12156 done in gdb_load. This fixes lots of failures in default.exp.
12157
12158Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
12159
12160 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
12161 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
12162 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
12163 in the same we we treat other failures (since it may be an expected
12164 condition), rather than as an error.
12165 * gdb.base/signals.exp (test_handle_all_print): Revert back to
12166 old test format.
12167
12168Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
12169
12170 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
12171 (distclean maintainer-clean realclean): No need to remove files
12172 twice. Nuke the duplicates.
12173 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 12174 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
12175 Remove config.h along with other config files.
12176
12177Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
12178
12179 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
12180 "p func1 ()" and note that rests of tests are skipped.
12181 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
12182 setup_xfails for "print func2::coremaker_local".
12183 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
12184 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
12185 affected by the previous run test.
12186 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
12187 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
12188 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
12189 "pass int powerset tuple" and "pass modeless int powerset tuple".
12190 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
12191 "real write 4" and "real write 8".
12192 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
12193 setup_xfails for "print vs1 after tuple assign 2",
12194 "print \$i after tuple assign 2", and
12195 "print vs2 after tuple assign 2".
12196 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
12197 meaningful error message and return -1 so the caller can
12198 suppress further tests and avoid a cascade of errors.
d63a86f8 12199
c906108c
SS
12200Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
12201
12202 * gdb.base/a1-selftest.exp: Tweak tests to account for new
12203 format for printing version.
12204 * gdb.base/default.exp: Ditto.
12205 * gdb.base/interrupt.exp: Fix problem with cascade of
12206 errors if child process dies while calling a function.
d63a86f8 12207
c906108c
SS
12208Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
12209
12210 * Makefile.in (VPATH): Add
12211 * Makefile.in (Makefile, config.status): Fix rules so things get
12212 remade when necessary.
12213
12214Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
12215
12216 * Makefile.in (just-check): Add path to sibling expect dir
12217 to environment variable specified by RPATH_ENVVAR.
12218
12219Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
12220
12221 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
12222 (just-check): Add shared library paths for libstdc++, tk,
12223 tcl, bfd, and opcodes to the environment variable specified
12224 in RPATH_ENVVAR.
12225 * configure.in: Add support to recognize --enable-shared flag
12226 and generate correct value for RPATH_ENVVAR.
12227 * configure: Regenerated with autoconf.
12228
12229Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
12230
12231 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
12232 include all osf versions.
12233 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
12234 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
12235 when target is linux. When failing to build pthreads test
12236 executable, give more meaningful message.
12237 * gdb.threads/pthreads.c: Hpux also uses old definition of second
12238 arg for pthread_create.
d63a86f8 12239
c906108c
SS
12240Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
12241
12242 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
12243 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
12244 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
12245 and -lpthreads (everybody else).
12246 (test_startup): Fail gracefully if threads are not supported.
12247 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
12248 "p/c array_index("abcdef",2)" when not gcc compiled.
12249 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
12250 "print func2::coremaker_local" when not gcc compiled.
12251 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
12252 "ptype on opaque struct tagname (statically)",
12253 "ptype on opaque struct tagname (dynamically) 1", and
12254 "ptype on opaque struct tagname (dynamically) 2"
12255 for not compiled with gcc.
12256 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
12257 backtrace when compiled with gcc.
d63a86f8 12258 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
12259 than always return success.
12260
12261Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
12262
12263 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
12264
12265Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
12266
12267 * gdb.base/structs.exp: Undo last change.
12268
12269Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
12270
12271 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
12272 encapsulate all the steps/nexts done during self test, starting
12273 at main, and makes them less sensitive to optimization issues.
12274 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
12275 signal handler" test.
12276 * gdb.threads/pthreads.exp: Only run this for native configs.
12277 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
12278 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
12279 tests.
12280 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
12281 for "runto test_calls(void)" test.
d63a86f8 12282
c906108c
SS
12283Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
12284
12285 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
12286 and don't expect address info in breakpoint confirmations.
12287
12288Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
12289
12290 * gdb.base/list.exp (test_forward_search): Increase timeout
12291 temporarily by 60 seconds for searching extremely long line,
12292 and then reset to old value when done. Increase expect input
12293 buffer to 10000.
12294
12295Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
12296
12297 * gdb.base/list.exp (test_forward_search): Fix to handle very
12298 long source line without overflowing expect's input buffer.
12299
12300Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
12301
12302 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
12303 "buffer_full".
12304
12305 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
12306 "buffer_full".
12307
12308 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
12309 "buffer_full".
12310
12311 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
12312 "buffer_full".
12313
12314Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
12315
12316 * configure.in (configdirs): Add gdb.threads.
12317 * configure: Regenerated with autoconf.
12318 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
12319 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
12320 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 12321
c906108c
SS
12322Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
12323
12324 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
12325
12326Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
12327
12328 * gdb.base/signals.exp (test_handle_all_print): Test separately for
12329 each signal's status in the output of "handle all print".
12330 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
12331 the \r\n sequence that immediately precedes the gdb prompt.
12332 * gdb.base/a1-selftest.exp: Save original timeout and restore
12333 after test.
12334
12335Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
12336
12337 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
12338 symbol.
12339
12340Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
12341
12342 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
12343
12344Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
12345
12346 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
12347 timeout by 60 seconds.
12348
12349Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
12350
12351 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
12352 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
12353 error return.
12354
12355Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
12356
12357 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
12358 gdb initialization, also report how long dejagnu waited. Restore
12359 old timeout before doing error return. Temporarily increase timeout
12360 by 3 minutes to allow for slow startups over heavy NFS use.
12361
12362Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
12363
12364 * lib/gdb.exp: Report timeout value for verbosity level 2.
12365 * config/gdbserver.exp: Ditto.
12366 * config/hppro.exp: Ditto.
12367 * config/mips-gdb.exp: Ditto.
12368 * config/monitor.exp: Ditto.
12369 * config/netware.exp: Ditto.
12370 * config/sim-gdb.exp: Ditto.
12371 * config/slite-gdb.exp: Ditto.
12372 * config/udi-gdb.exp: Ditto.
12373 * config/unix-gdb.exp: Ditto.
12374 * config/vx-gdb.exp: Ditto.
12375 * gdb.base/a1-selftest.exp: Ditto.
12376 * gdb.base/a2-run.exp: Ditto.
12377 * gdb.base/break.exp: Ditto.
12378 * gdb.base/corefile.exp: Ditto.
12379 * gdb.base/list.exp: Ditto.
12380 * gdb.base/recurse.exp: Ditto.
12381 * gdb.base/scope.exp: Ditto.
12382 * gdb.base/signals.exp: Ditto.
12383
12384Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
12385
12386 * gdb.threads/Makefile.in (docdir): Removed.
12387
12388Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
12389
12390 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 12391 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 12392 @srcdir@.
d63a86f8 12393 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
12394 autoconf 2.5 or higher.
12395 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
12396
12397Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
12398
12399 * configure: Regenerated.
12400 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
12401 avoid name clashes with SunOS headers.
12402
12403Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
12404
12405 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
12406
12407Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
12408
12409 * gdb.base/callfuncs.exp: Finish last change -- make sure the
12410 prototype information ends up in the compiler info file.
12411
12412Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
12413
12414 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
12415 attempting to regenerate it. Eliminate use of a temporary file
12416 and just generate the info file directly. Source it immediately,
12417 for consistency of use.
12418 * gdb.base/corefile.exp: Ditto
12419 * gdb.base/exprs.exp: Ditto.
12420 * gdb.base/funcargs.exp: Ditto.
12421 * gdb.base/langs.exp: Ditto.
12422 * gdb.base/list.exp: Ditto.
12423 * gdb.base/mips_pro.exp: Ditto.
12424 * gdb.base/nodebug.exp: Ditto.
12425 * gdb.base/opaque.exp: Ditto.
12426 * gdb.base/ptype.exp: Ditto.
12427 * gdb.base/scope.exp: Ditto.
12428 * gdb.base/setvar.exp: Ditto.
12429 * gdb.base/signals.exp: Ditto.
12430 * gdb.base/whatis.exp: Ditto.
12431 * gdb.c++/templates.exp: Ditto.
12432 * gdb.c++/virtfunc.exp: Ditto.
12433 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
12434 whether or not to add -lstdc++ to the compile command line args.
12435
12436Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12437
12438 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
12439 it got fixed by the recent lookup_minimal_symbol_by_pc change.
12440 Increase timeout, a lot of single stepping might be needed if the
12441 target has no hardware watchpoints.
12442
12443Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
12444
12445 * gdb.base/break.exp: Ignore compiler warnings when compiling
12446 break.c.
12447 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
12448 * gdb.base/default.exp: Add h8300 xfails. Handle messages
12449 from remote-sim.
12450 * gdb.base/exprs.exp: Add h8300 xfails.
12451 * gdb.base/funcargs.exp: Likewise.
12452 * gdb.base/nodebug.exp: Likewise.
12453 * gdb.base/printcmds.exp: Likewise.
12454 * gdb.base/ptype.exp: Likewise.
12455 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
12456 h8300 xfails.
d63a86f8 12457 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
12458 on the h8300.
12459 * gdb.base/funcargs.c: Explicitly make last constant argument to
12460 call_after_alloca_subr an unsigned long type.
12461 * gdb.base/return.c: Include stdio.h.
12462
12463Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
12464
12465 * config/abug.exp: New file for the older Motorola Bug monitor
12466 that runs on the mvme13x series VME boards.
12467 * config/monitor.exp: Use the new config array for target settings
12468 if they exist.
12469
12470Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
12471
12472 * sim-gdb.exp: Make the SH simulator allocate less space when
12473 it is targeted.
12474
12475Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
12476
12477 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
12478 test.
12479
12480Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
12481
12482 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
12483 "rs6000-*-*" for "list function in include file" when gcc compiled.
12484 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
12485 for "p ctable1[120]".
12486 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
12487 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
12488 Remove setup_xfail for "rs6000-*-*" for
12489 "print 'scope0.c'::filelocal before run".
12490 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
12491 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
12492 since some compilers don't allow both options to be given
12493 on the same command line. Create object file and move it.
d63a86f8 12494
c906108c
SS
12495Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
12496
12497 * gdb.base/corefile.exp: Always regenerate the core file, since
12498 we always regenerate the coremaker program. Detect special case
12499 where registers cannot be read from core file.
d63a86f8 12500
c906108c
SS
12501Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
12502
12503 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
12504 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
12505 * gdb.c++/templates.exp: Only match on basename of file since
12506 some formats like xcoff don't encode directory information.
12507 * gdb.stabs/weird.exp: Use the right sed script for powerpc
12508 and rs6000 AIX xcoff targets.
12509 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
12510 * configure: Regenerate.
12511 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
12512 here, rather than in distclean.
d63a86f8 12513
c906108c
SS
12514Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
12515
12516 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
12517 defined, and use it to compile the test case with -O2. The
12518 native compilation still uses no optimization.
12519 * gdb.base/mips_pro.c: Remove inline assembly code since
12520 it is compiled PIC by default, which results in assembler
12521 warnings that make the testsuite think the compilation
12522 was unsuccessful.
12523
12524Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
12525
12526 * gdb.c++/misc.exp: Add note to message for
12527 "print s.a for foo struct" that this is a known gcc 2.7.2
12528 and earlier bug.
12529
12530Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
12531
12532 * gdb.base/break.exp: Fix pattern for matching "Delete all
12533 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
12534 setup_xfail for deleting all breakpoints test. Fix various
12535 timeout messages to include "(timeout)".
12536 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
12537 for "p t_float_values2(3.14159,float_val2)".
12538 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
12539 for "continue to call2g" when gcc compiled.
12540 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
12541 "up to foo in langs.exp", "show language at foo in langs.exp",
12542 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
12543 and "show language at fsub in langs.exp".
12544 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
12545 "list line 1 in include file", "list message for lines past EOF",
12546 "list function in include file", "list list0.h:foo", and
12547 "list filename:function; nonexistant function".
12548 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
12549 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
12550 and "ptype t_char_array" to be for native cc only.
d63a86f8 12551
c906108c
SS
12552Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
12553
d63a86f8 12554 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
12555 setup_xfail for "print coremaker_bss", "print coremaker_ro",
12556 "print func2::coremaker_local", and "backtrace in corefile.exp".
12557
12558Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
12559
12560 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
12561 "bt in signals.exp". This problem only appears when running
12562 the testsuite, and then only intermittently.
12563
12564Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
12565
12566 * gdb.base/return.exp (return_tests): Differentiate between
12567 two tests of continuing.
12568
12569Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
12570
12571 * */Makefile.in (maintainer-clean): Remove config.log.
12572 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
12573 * gdb.c++/Makefile.in (PROGS): Add inherit.
12574 (clean): Remove *.ci.
12575
12576Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
12577
12578 * gdb.c++/misc.cc: Add test code from Mike Stump.
12579 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
12580
12581Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
12582
12583 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
12584 to "alpha-*-osf2*" and add comment.
12585 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
12586 setup_xfail for "step over execarg initialization" and
12587 "step over corearg initialization".
12588 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
12589 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
12590 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
12591 gcc compiled for "print coremaker_bss", "print coremaker_ro",
12592 "print func2::coremaker_local", and "backtrace in corefile.exp".
12593 * gdb.base/signals.exp: Build and source signals.ci.
12594 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
12595 to be for gcc only.
12596 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 12597
c906108c
SS
12598Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12599
12600 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
12601 Feb 3 procfs.c change.
12602
12603Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
12604
12605 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
12606
12607Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
12608
12609 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
12610 from dejagnu's apparent default of 10 seconds, which gives random
12611 results when running the tests over NFS on moderately loaded systems.
12612 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
12613
12614Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
12615
12616 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
12617 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
12618 result reports.
12619
12620Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
12621
12622 * configure.in (CY_AC_PATH_TCLH): Remove.
12623 * configure: Regenerate.
12624
12625Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
12626
12627 * gdb.c++/Makefile.in (clean): Add missing '{'.
12628
12629Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
12630
12631 * lib/gdb.exp: Provide a default value for noinferior.
12632
12633 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
12634 Load libgloss.exp.
12635
12636Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
12637
12638 * gdb.disasm/hppa.exp: Compile directly into an executable, use
12639 the executable, not the .o to run the tests from.
12640
12641Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
12642
12643 * gdb.base/break.exp: Don't test for program exit or exit status
12644 if $noresults if nonzero.
12645 * gdb.base/langs.exp: Likewise.
12646 * gdb.base/watchpoint.exp: Likewise.
12647
12648 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
12649 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
12650 trying to compile the testcase.
12651
12652Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
12653
12654 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
12655 * gdb.base/signals.exp (continue to handler): Likewise.
12656
12657Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
12658
12659 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
12660
12661 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
12662
12663Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
12664
12665 * gdb.base/corefile.exp: Recognize "not found" as failure
12666 when trying to determine if a core file was generated.
12667 If no core file was generate the first time, try again without
12668 the ulimit -c to work around braindamaged shells.
12669
12670Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
12671
12672 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
12673 [] tests with "test" and enclose string in quotes.
12674 * gdb.stabs/configure: Rebuild
d63a86f8 12675
c906108c
SS
12676Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
12677
12678 Changes in sync with expect:
12679 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
12680 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
12681 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
12682 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
12683 argument to AC_REQUIRE.
12684 * configure: Regenerated.
12685
12686Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
12687
12688 * gdb.base/corefile.exp: When generating a core, discard any
12689 error messages about ulimit not found and the "core dumped"
12690 message from the shell that runs the coredumper.
12691
12692Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
12693
12694 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
12695
12696 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
12697 which sed script to run. Expect failure for v_comb test
12698 on PA targets too.
d63a86f8 12699
c906108c
SS
12700Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
12701
12702 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
12703 "print func2::coremaker_local" and for "backtrace in corefile.exp"
12704
12705Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
12706
12707 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
12708 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
12709 "sparc-sun-solaris*" xfails for "p v_comb".
12710 * lib/gdb.exp (default_gdb_start): Fix typo.
12711 * gdb.base/corefile.exp: Allow "Core was generated by ..."
12712 messages to not include the full program name that caused
12713 the core dump since some systems (such as solaris) apparently
12714 truncate this path to about 80 characters.
12715 When generating a core file first try increasing the core file
12716 size limit to unlimited since some systems may default it to
12717 zero, and it is harmless to try it. Move the test for failing
12718 to generate a core file to where it will actually get executed.
12719 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
12720 new gdb result from g++ debug info improvements and make old
12721 pattern obsolescent. Also account for size_t differences
12722 (may be int or long).
12723 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
12724 initialization before function call is placed in the delay slot
12725 and thus appears to be skipped over by commands such as "next".
12726
12727Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
12728
12729 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
12730
12731Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
12732
12733 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
12734 input source file; fix code to compile test to deal with this
12735 convention.
12736 * gdb.c++/*.exp: Likewise.
12737
12738Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
12739
12740 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
12741 "bt in signals.exp".
12742
12743Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
12744
12745 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
12746 "step over execarg initialization" and
12747 "step over corearg initialization".
12748
12749Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
12750
12751 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
12752 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
12753
12754Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
12755
12756 From Rob Savoye (rob@poseidon.cygnus.com)
12757 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
12758 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
12759 configure.in}, gdb.disasm/{Makefile.in, configure.in},
12760 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
12761 configure.in}: Major reworking for autoconfig.
12762 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
12763 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
12764 New files.
12765 * config/unix-gdb.exp: Make GDB global.
12766 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
12767 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
12768 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
12769 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
12770 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
12771 term.exp, twice.exp, watchpoint.exp, whatis.exp},
12772 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
12773 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
12774 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
12775 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
12776 pr-8136.exp, result.exp, string.exp, tuples.exp},
12777 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
12778 to returns as necessary, arrange for test to compile own testcase
12779 executable.
12780 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 12781
c906108c
SS
12782Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
12783
12784 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
12785 clear_xfail at end of test which might not call either pass or fail.
12786 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
12787 "backtrace through signal handler".
12788
12789Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12790
12791 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
12792 continuing from a job control stop signal.
12793 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
12794
12795Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
12796
12797 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
12798 * gdb.base/corefile.exp: Likewise.
12799 * gdb.base/funcargs.exp: Likewise.
12800
12801Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
12802
12803 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
12804 * config/monitor.exp: Add support for setting baud rate.
12805
12806Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
12807
12808 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
12809 i*86-*-linux* xfails for "backtrace through signal handler".
12810 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
12811 "print func2::coremaker_local".
12812 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
12813 alpha-dec-osf2* xfail for
12814 "delete all breakpoints when none".
12815
12816Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
12817
12818 * gdb.base/break.exp: Change test that deletes all breakpoints
12819 when no user breakpoints are installed. A post 4.15 change
12820 causes gdb to no longer prompt in this case.
12821
12822Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
12823
12824 * gdb.base/return.exp (return_tests): Change xfail for test
12825 "correct value returned double test" to stop xfailing at
12826 Solaris 2.5. Apparently the bug has been fixed.
12827
12828Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
12829
12830 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
12831 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
12832
12833Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
12834
12835 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
12836 * gdb.disasm/hppa.s: Corresponding changes.
12837
12838Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
12839
12840 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
12841 makefile fragment.
12842 * config/mt-hpux: Deleted.
12843
12844Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
12845
d63a86f8 12846 * Many files: When warning about suppressed tests due to a
c906108c
SS
12847 nonexistant test binary, avoid incrementing the warning count.
12848
12849Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
12850
12851 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 12852
c906108c
SS
12853Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12854
12855 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
12856 "sparc-*-solaris2*".
12857
12858Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12859
12860 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
12861 Add global and local variables and initialize them.
12862 * gdb.base/corefile.exp: Test correct mapping of corefile sections
12863 by printing variables. Remove rs6000 and powerpc xfails, BFD now
12864 extracts the file name and terminating signal from the core file.
12865 * TODO: Remove note about tests for correct mapping of corefile.
12866 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
12867 from optimizing it away.
12868 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
12869 handles common blocks.
12870
12871Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
12872
12873 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
12874 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
12875
12876Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
12877
12878 * Makefile.in (maintainer-clean): New target, synonym for
12879 realclean.
12880 * gdb.base/Makefile.in (maintainer-clean): Likewise.
12881 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
12882 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
12883 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
12884 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
12885 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
12886
12887Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
12888
12889 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
12890 xfails when not gcc compiled for "print foo::funclocal".
12891 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
12892 "print foo::funclocal at foo",
12893 "print 'scope1.c'::foo::funclocal at foo",
12894 "print foo::funclocal_bss at foo",
12895 "print 'scope1.c'::foo::funclocal_bss at foo",
12896 "print foo::funclocal_ro at foo",
12897 "print 'scope1.c'::foo::funclocal_ro at foo",
12898 "print bar::funclocal at foo" and
12899 "print 'scope1.c'::bar::funclocal at foo".
12900 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
12901 gcc compiled for "print foo::funclocal at bar".
12902 Expand all messages to ensure that they identify that
12903 the test is at bar().
12904 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
12905 gcc compiled for:
12906 "ptype on opaque struct pointer (statically)",
12907 "ptype on opaque struct tagname (statically)",
12908 "ptype on opaque struct pointer (dynamically) 1",
12909 "ptype on opaque struct tagname (dynamically) 1",
12910 "ptype on opaque struct pointer (dynamically) 2" and
12911 "ptype on opaque struct tagname (dynamically) 2
12912 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
12913 gcc compiled for:
12914 "p datalocal"
12915 "whatis datalocal",
12916 "ptype datalocal",
12917 "p bsslocal",
12918 "whatis bsslocal", and
12919 "ptype bsslocal".
12920 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
12921 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
12922 when not gcc compiled.
12923 * gdb.base/funcargs.exp (float_and_integral_args): Add
12924 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
12925 compiled.
12926 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
12927 "backtrace from call6a" when not gcc compiled.
12928 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
12929 "backtrace from call7a" when not gcc compiled.
12930 * gdb.base/callfuncs.exp (do_function_calls):
12931 Add "hppa*-*-hpux*" xfail when not gcc compiled for
12932 "p t_char_array_values(char_array_val2,char_array_val1)",
12933 "p t_char_array_values(char_array_val1,char_array_val2)",
12934 "p t_char_array_values("carray 1","carray 2")",
12935 "p t_char_array_values("carray 1",char_array_val2)",
12936 "p t_char_array_values(char_array_val1,"carray 2")",
12937 "p sum_args(1,{2})",
12938 "p sum_args(2,{2,3})",
12939 "p sum_args(3,{2,3,4})",
12940 "p sum_args(4,{2,3,4,5})"
12941 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
12942 "backtrace in corefile.exp" when not gcc compiled.
12943
12944Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12945
12946 * gdb.base/signals.exp: Rewrite `handle all print' test as
12947 a procedure. Accept blanks or TABs as whitespace, increase
12948 timeout and expect input buffer size for the large output
12949 from the command. Remove "i*86-*-bsdi2.0" xfail.
12950
12951Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12952
12953 * gdb.base/setvar.exp: Add new testcases for truncation when
12954 assigning invalid values to bitfields.
12955
12956Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
12957
d63a86f8 12958 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
12959 mips-sgi-irix* xfail for
12960 "call inferior func with struct - returns char *"
12961 and fix test so that an optional (unsigned char *) cast is
12962 accepted in the result.
12963
12964Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
12965
12966 * gdb.base/funcargs.exp (float_and_integral_args): Remove
12967 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
12968 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
12969 * gdb.base/signals.exp: Remove duplicate "handle all print" test
12970 that accidentally got checked in.
12971
12972Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
12973
d63a86f8 12974 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
12975 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
12976 compiled test.
12977 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
12978 Add mips-sgi-irix5* xfail for not gcc compiled.
12979 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
12980 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
12981 "p top", "whatis top", "p middle", and "whatis middle".
12982 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
12983 "whatis signed char" for not gcc compiled.
12984 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
12985 "set variable signed char=-1 (-1)" and
12986 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
12987 * gdb.base/funcargs.exp (float_and_integral_args):
12988 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
12989 Add mips-sgi-irix* xfail when not gcc compiled for
12990 "continue to call2b".
12991 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
12992 "continue to call2g".
12993 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
12994 "backtrace from call6a"
12995 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
12996 "backtrace from call7k".
12997 Add mips-sgi-irix5* xfail when not gcc compiled for
12998 "backtrace from call7a".
12999 (localvars_after_alloca): Fix gdb_test cmds for
13000 "print * after runto ...".
13001 Remove rs6000-*-* xfails for
13002 "print i after runto localvars_after_alloca" and
13003 "print l after runto localvars_after_alloca"
13004 for all compilers.
13005 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
13006 when not compiled with gcc, for:
13007 "print signed char == (minus)",
13008 "print signed char != (minus)",
13009 "print signed char < (minus)",
13010 "print signed char > (minus)".
13011 * gdb.base/callfuncs.exp (do_function_calls):
13012 Add mips-sgi-irix* xfail, when compiled with native compiler, for
13013 "call inferior func with struct - returns char *".
d63a86f8 13014 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
13015 "correct value returned double test" to include Solaris 2.4.
13016 * gdb.base/funcargs.exp (float_and_integral_args):
13017 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 13018
c906108c
SS
13019Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13020
13021 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
13022 enumeration bitfields if compiling with GNU C.
13023 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
13024 to empty' prompt.
13025
13026Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
13027
13028 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
13029 test for PRO targets.
13030
13031 * gdb.base/funcargs.exp: Avoid ever setting more than 8
13032 breakpoints in the inferior at any given time by making
13033 two groups of breakpoints for call2*, call6* and call7*
13034 tests.
13035
13036Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13037
13038 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
13039 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
13040 from optimizing it away.
13041 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
13042 "call inferior func with struct".
13043
13044Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
13045
13046 * configure.in: Only configure gdb.chill for particular targets.
13047
13048Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
13049
13050 * gdb.base/Makefile.in: Add action to .c.o transformation
13051 rule that generates a .ci file for each .o file and remove
13052 explicit .c.o rules except for callfuncs.o.
13053 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
13054 generates a .ci file for each .o file and remove explicit
13055 .cc.o rules.
13056 (clean): Remove *.tmp *.ci files.
13057 (EXECUTABLES): Remove templ-info.exp.
13058 * gdb.base/compiler.c: New file.
13059 * gdb.c++/compiler.cc: New file
13060 * gdb.base/scope.exp: Source gdb.base/scope.ci.
13061 Change rs6000-*-* xfail for
13062 "print 'scope0.c'::filelocal_ro" and
13063 "print 'scope1.c'::filelocal" and
13064 "print 'scope1.c'::filelocal_bss" and
13065 "print 'scope1.c'::filelocal_ro" and
13066 "print 'scope1.c'::foo::funclocal" and
13067 "print 'scope1.c'::foo::funclocal_ro" and
13068 "print 'scope1.c'::bar::funclocal" and
13069 "print 'scope0.c'::filelocal_ro" and
13070 "print 'scope1.c'::filelocal at foo" and
13071 "print 'scope1.c'::filelocal_bss at foo" and
13072 "print 'scope1.c'::filelocal_ro at foo" and
13073 "print 'scope1.c'::foo::funclocal at foo" and
13074 "print 'scope1.c'::foo::funclocal_bss at foo" and
13075 "print 'scope1.c'::foo::funclocal_ro at foo" and
13076 "print 'scope1.c'::bar::funclocal at foo" and
13077 "print 'scope0.c'::filelocal_ro" and
13078 "print 'scope1.c'::filelocal" and
13079 "print 'scope1.c'::filelocal_bss" and
13080 "print 'scope1.c'::filelocal_ro" and
13081 "print 'scope1.c'::foo::funclocal" and
13082 "print 'scope1.c'::foo::funclocal_bss" and
13083 "print 'scope1.c'::foo::funclocal_ro" and
13084 "print 'scope1.c'::bar::funclocal" and
13085 "print 'scope1.c'::bar::funclocal_bss"
13086 to only be xfail'd when not compiled with gcc.
d63a86f8 13087 Add rs6000-*-* xfail for
c906108c
SS
13088 "print 'scope0.c'::filelocal_bss before run"
13089 when compiled with gcc.
13090 (test_at_main): Add rs6000-*-* xfail for
13091 "print filelocal_ro in test_at_main"
13092 when compiled with gcc.
13093 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 13094 Add rs6000-*-aix* xfail for
c906108c
SS
13095 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
13096 "ptype t_char_array", not compiled with gcc.
13097 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
13098 xfail for "list foo (in include file)" when gcc compiled.
13099 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
13100 (integral_args): Add rs6000-*-* xfail for
13101 "run to call0a" if not compiled with gcc.
13102 (unsigned_integral_args): Add rs6000-*-* xfail for
13103 "run to call1a" if not compiled with gcc.
13104 (float_and_integral_args): Add rs6000-*-* xfail for
13105 "run to call2a" if not compiled with gcc and for
13106 "continue to call2b" for any compiler.
13107 Add rs6000-*-* xfail to
13108 "print f1 after run to call2a" for gcc compiled.
13109 (discard_and_shuffle): Add rs6000-*-* xfail for
13110 "run to call6a".
13111 (shuffle_round_robin): Add rs6000-*-* xfail for
13112 "backtrace from call7a" if not compiled with gcc.
13113 Add rs6000-*-* xfail for
13114 "backtrace from call7b" if compiled with gcc.
13115 (call_after_alloca): Add rs6000-*-* xfail for
13116 "print c in call_after_alloca" and
13117 "print s in call_after_alloca" and
13118 "backtrace from call_after_alloca_subr"
13119 if not compiled with gcc.
13120 (localvars_in_indirect_call): Add rs6000-*-* xfail for
13121 "print c in localvars_in_indirect_call" and
13122 "print c in localvars_in_indirect_call" and
13123 "backtrace in indirectly called function" and
13124 "stepping into indirectly called function"
13125 if not compiled with gcc.
13126 (localvars_after_alloca): Add rs6000-*-* xfail for
13127 "print c after runto localvars_after_alloca" and
13128 "print s after runto localvars_after_alloca" and
13129 "print i after runto localvars_after_alloca" and
13130 "print l after runto localvars_after_alloca"
13131 for all compilers.
13132 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
13133 than whatis-info.exp.
13134 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
13135 than opaque-info.exp.
13136 Setup rs6000-*-* xfail for
d63a86f8 13137 "ptype on opaque struct pointer (statically)" and
c906108c
SS
13138 "ptype on opaque struct pointer (dynamically)" when
13139 not compiled with gcc.
13140 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
13141 rather than callf-info.exp.
13142 (do_function_calls): Add clear_xfail for rs6000-*-* for
13143 "p t_float_values2(3.14159,float_val2)". Seems to work
13144 fine there, both with xlc and gcc. Need to find out what
13145 it is doing right and fix other platforms.
13146 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
13147 "call inferior func with struct - returns int",
13148 "call inferior func with struct - returns long",
13149 "call inferior func with struct - returns float",
13150 "call inferior func with struct - returns double",
13151 "call inferior func with struct - returns char *",
13152 but only if not gcc compiled (presumes xlc compiled).
13153 Change rs6000-*-* xfails for
13154 "call inferior func with struct - returns char" and
13155 " call inferior func with struct - returns short" to only
13156 xfail if not using gcc.
13157 (clean mostlyclean): Remove *.ci and *.tmp files.
13158 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
13159 than templ-info.exp.
13160 * gdb.base/langs.exp: Source gdb.base/langs.ci.
13161 Add rs6000-*-* xfail for "up to foo in langs.exp"
13162 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
13163 when not gcc compiled.
d63a86f8 13164
c906108c
SS
13165Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13166
13167 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
13168 * gdb.base/corefile.exp: Likewise.
13169 * gdb.base/list.exp: Likewise.
13170 * gdb.base/scope.exp: Likewise.
13171 * gdb.base/siganls.exp: Likewise.
13172
13173 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
13174 compiler output.
13175 * gdb.base/whatis.exp: Likewise.
13176
13177Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
13178
13179 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
13180 failure (opcode table has been fixed to match reality).
13181
13182Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
13183
13184 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
13185 "call inferior func with struct - returns char",
13186 "call inferior func with struct - returns short"
13187
13188 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
13189 "print 'scope0.c'::filelocal at main",
13190 "print 'scope0.c'::filelocal_bss in test_at_main",
13191 "print 'scope0.c'::filelocal at foo",
13192 "print 'scope0.c'::filelocal_bss in test_at_foo",
13193 "print 'scope0.c'::filelocal at bar",
13194 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 13195
c906108c
SS
13196 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
13197 in source file 1". This bug seems to have been fixed with both
13198 gcc and native cc (was native assembler bug?).
13199
13200Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
13201
13202 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
13203 "backtrace through signal handler" to "i*86-*-sysv4*".
13204 * gdb.base/signals.exp: Add xfail for "'next' behaved as
13205 continue" case. Add "known SVR4 bug" to fail message.
13206 Add "i*86-*-bsdi2.0" xfail for "handle all print".
13207 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
13208 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
13209 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
13210 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
13211 "up to foo in langs.exp", "show language at foo in
13212 langs.exp", "up to cppsub_ in langs.exp", "show
13213 language at cppsub_ in langs.exp", "up to fsub in
13214 langs.exp", and "show language at fsub in langs.exp".
13215 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
13216 "bactrace in corefile.exp".
13217 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
13218 "call inferior function with struct - returns float" and
13219 "call inferior function with struct - returns double".
d63a86f8 13220
c906108c
SS
13221Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
13222
13223 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
13224 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
13225 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
13226 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
13227
13228Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
13229
13230 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
13231 (or overriden) "CHILL" macro rather then bare "gcc".
13232 Also look for ../../gcc/xgcc since that is what we will
13233 actually need, not "Makefile". Remove following assignment
13234 of CHILL to CHILL_FOR_TARGET because that results in
13235 recursive definition.
13236
13237Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
13238
13239 * gdb.base/corefile.exp: Change xfail for backtrace in
13240 corefile.exp from linuxaout to all linux.
13241 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
13242 cases where we miss the breakpoint at the signal handler
13243 for some reason. Setup xfail for linuxoldld/linuxaout and
13244 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
13245 hitting SIGURG breakpoint.
13246 * gdb.base/signals.exp: Setup xfail for "next" acting like
13247 continue to add linuxoldld. Setup xfail for all linux for
13248 "next to handler in signals_tests_1", "backtrace in
13249 signals_tests_1", "continue to func1", "pass SIGUSR1",
13250 and continue to handler".
13251
13252Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
13253
13254 * Update all FSF addresses except those in COPYING* files.
13255
13256Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
13257
13258 * gdb.base/a2-run.exp: Change messages to be more explicit about
13259 the status of args, and quote binfile in results.
13260
13261Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
13262
13263 * gdb.base/callfuncs.exp: Add tests for passing structs to
13264 inferior functions and return various types.
13265 * gdb.base/callfuncs.c: Add functions to receive a struct
13266 and return a member of the struct, in various types.
13267
13268Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13269
13270 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
13271
13272Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
13273
13274 * config/vxworks29k.exp: New file, sources vxworks.exp.
13275
13276Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13277
13278 * config/gdbremote.exp: New file. Testing framework using
13279 gdbserver.
13280
13281Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
13282
13283 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
13284 "call function when asleep" and "send end of file".
13285 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
13286 for "backtrace in corefile.exp".
13287 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
13288 for "backtrace through signal handler".
13289 * gdb.base/corefile.exp: Make sure we actually generate a core file
13290 before trying the core tests. Some systems allow the user to suppress
13291 generation of core files and default to that (linux for example).
13292 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
13293 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
13294
13295Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13296
13297 * gdb.threads: New directory with some crude multi-threaded
13298 gdb tests (step.exp and step2.exp).
13299 * config/mt-lynx (STEP_EXECUTABLE): Define.
13300 (THREADFLAGS): Define.
13301
13302Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
13303
13304 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
13305
13306 * gdb.base/signals.exp: Disable whole file for lynx until
13307 further notice.
13308
13309 * gdb.base/signals.exp: xfail test where "next" acts like
13310 "continue" for lynx.
13311
13312 * gdb.base/interrupt.exp: xfail test for calling function while
13313 inferior is asleep for lynx.
13314
13315 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
13316 than one cr-lf after each command.
13317
13318Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13319
13320 * configure.in: Reinstate setting of stabsdirs variable, fix
13321 typo in setting up configdirs for native builds.
13322
13323 * gdb.base/return.exp: Fix typo in return double test.
13324 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
13325 compiler from optimizing them away.
13326
13327Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
13328
13329 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
13330 sequences to be echo'd by gdb when using gdb_test.
13331 * gdb.chill/chexp.exp: Likewise.
13332 * gdb.fortran/exprs.exp: Likewise
13333
13334Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13335
13336 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
13337 after the inferior gdb has started.
13338
13339 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
13340 after each command.
13341 * gdb.base/funcargs.exp: Likewise.
13342 * gdb.base/gdbvars.exp: Likewise.
13343 * gdb.base/interrupt.exp: Likewise.
13344 * gdb.base/list.exp: Likewise.
13345 * gdb.base/watchpoint.exp: Likewise.
13346 * gdb.c++/demangle.exp: Likewise.
13347 * gdb.c++/inherit.exp: Likewise.
13348 * gdb.chill/chexp.exp: Likewise.
13349 * gdb.fortran/exprs.exp: Likewise.
13350
13351 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
13352 test if we can't handle IO to/from the inferior.
13353
13354 * gdb.c++/misc.exp: Always check for a program already being
13355 started after sending a "run" command to gdb.
13356
13357 * gdb.base/twice.exp: Start with a fresh gdb.
13358
13359 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
13360 only depend on gdb's expression code, not the chill runtime.
13361
13362 * gdb.base/return.c: Put return values into variables so we
13363 can have gdb print them rather than depending on the program
13364 to print them.
13365 * gdb.base/return.exp: Corresponding changes.
13366
13367 * lib/gdb.exp: Provide default value for noinferiorio.
13368 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
13369 the inferior.
13370
13371 * gdb.base/break.exp: Always check for a program already being
13372 started after sending a "run" command to gdb.
13373 (text_next_with_recursion): Don't check the output from the
13374 program's printf statement. Instead just make sure the program
13375 exited.
13376
13377 * gdb.base/commands.exp: Protect tests which need arguments with
13378 $noargs conditionals.
13379
13380Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13381
13382 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
13383 of structure member arrays to match gdb/valops.c:value_addr change.
13384
13385Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
13386
13387 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
13388 cases.
13389
13390Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
13391
13392 * configure.in (configdirs): Remove gdb.chill from default list
13393 of subdirs and then add it back in only if doing a native build.
13394 The current chill compiler does not yet work in any cross build.
13395 * Revert all signal changes from Jul 6.
13396 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
13397 for sh-hms targets, allowing these tests to link, with no other
13398 changes. Testing is suppressed by setting "nosignals" in site.exp.
13399
13400Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
13401
13402 * configure.in (signaldirs): Define and add to configdirs for all
13403 targets except some specific ones that are known to not support signals.
13404 Also clean up formatting.
13405 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
13406 (signals, sigall): Remove rules to build.
13407 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
13408 Moved to new gdb.signals directory.
13409 * gdb.signals: New test directory.
13410 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
13411 signals.c signals.exp}: New or moved files.
13412
13413Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
13414
13415 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
13416
13417Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
13418
13419 * gdb.base/return.exp: Xfail `return double' test failure
13420 on at least Solaris 2.3 and handle future/past versions on
13421 a case by case basis as appropriate. Also update message
13422 to include i*86 failures.
13423
13424Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13425
13426 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
13427
13428 * lib/gdb.exp: Fix comment which erroneously identified
13429 gdb_file_cmd as gdb_load (the 19 May change was in fact to
13430 gdb_file_cmd not gdb_load).
13431 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
13432
13433 * gdb.base/setvar.exp: Make test names consistent between pass and
13434 fail cases. Use gdb_test more.
13435
13436Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13437
13438 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
13439
13440Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13441
13442 * gdb.base/help.exp: Fix expected help string for `show commands'.
13443
13444Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
13445
13446 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
13447
13448 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
13449 of a text section.
13450
13451Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
13452
13453 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
13454 that loop eventually terminates. Fix Connection refused logic so
13455 that testsuite will expire nicely.
13456
13457Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
13458
13459 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
13460 config/rom68k.exp: New tcl glue for the appropriate monitors.
13461 These all just end up calling monitor.exp.
13462 * config/monitor.exp (gdb_target_monitor): Handle `Connection
13463 refused' by retrying. Cleanup some timeout issues.
13464 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
13465 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
13466 callers don't have to set/restore global timeout variable.
13467
13468 * The following set of changes centralizes management of the global
13469 timeout variable. This way, it can be set in one target dependent
13470 place instead of dozens of places scattered throughout the test suite.
13471 If you need to lengthen a timeout, then you should either set timeout
13472 in one of the config/{target}.exp files, or multiply it by a factor.
13473 Setting it to an absolute value is always going to lose for some
13474 targets.
13475 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
13476 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
13477 * gdb.base/funcargs.exp: Don't set timeout.
13478 * gdb.base/list.exp (test_forward_search): Only use local timeout.
13479 * gdb.base/printcmds.exp (test_print_string_constants
13480 test_print_array_constants): Don't set timeout.
13481 * gdb.base/ptype.exp: Don't set timeout.
13482 * gdb.base/recurse.exp: Don't set timeout.
13483 * gdb.base/return.exp: Don't set timeout.
13484 * gdb.base/watchpoint.exp: Don't set timeout.
13485 * gdb.c++/classes.exp (do_tests): Don't set timeout.
13486 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
13487
13488Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
13489
13490 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
13491
13492Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13493
13494 * lib/gdb.exp: Disable chill tests for irix5.
13495
13496Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13497
13498 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
13499 each test pass or fail.
13500
13501Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13502
13503 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
13504 xlc not gcc.
13505
13506Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
13507
13508 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
13509
13510Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
13511
13512 * config/est.exp: Fix copyright and comments. Remove dead code.
13513 Use targetname, serialport and baud variables instead of fixed
13514 constants.
13515 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
13516 * config/cpu32bug.exp: New file to support cpu32bug monitors.
13517
13518Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13519
13520 * gdb.base/watchpoint.exp: Don't run
13521 test_watchpoint_triggered_in_syscall for sunos.
13522
13523Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13524
13525 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
13526 they don't seem to exist. Do include stdio.h.
13527
13528Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13529
13530 * gdb.base/a1-selftest.exp: Add alpha xfail.
13531
13532Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13533
13534 * gdb.base/watchpoint.c (main): Prompt before calling read().
13535 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
13536 Revise accordingly. Remove cruft about sending "123" several
13537 times, until it gets noticed. Clean up the "print buf[0]" stuff
13538 so that it passes or fails, and waits for prompts in the usual way.
13539
13540Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13541
13542 * gdb.base/recurse.exp: Fix comment.
13543
13544 * TODO: Remove item about printing variables in nodebug.exp. Add
13545 item about enabling tests which are only run on some targets.
13546
13547 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
13548 fail, make test names unique, use new gdb_test convention
13549 regarding pattern, use gdb_test more, etc.).
13550
13551 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
13552 fail, make test names unique, etc.).
13553
13554Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13555
13556 * gdb.base/nodebug.c: Change return type of top and middle to
13557 short.
13558 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
13559 are fixed by the recent mdebugread.c changes. Allow `short ()'
13560 as type for top and middle.
13561
13562Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13563
13564 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
13565 nearly as I can tell, the whole thing was an accident in Stu's
13566 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
13567 to replace a send/expect pair with gdb_test, but ended up only
13568 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
13569 of 30 Mar 1995 took care of it, but left this vestigial comment
13570 which I am now nuking.
13571
13572Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13573
13574 * gdb.base/break.exp: Look for different line number for
13575 breakpoint at main depending on usestubs.
13576
13577Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13578
13579 * gdb.base/list.exp: Adjust some alternate expect patterns to
13580 match recent list0.c change. Add alternate expect pattern for
13581 output from `list default lines around main' for optimizing
13582 compilers.
13583
13584Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13585
13586 * lib/gdb.exp: If nosignals is not set, set it to 0.
13587
13588Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
13589
13590 * config/slite-gdb.exp: Responds to load symbol table prompt.
13591 * gdb.base/break.exp: Adjust line number, fix rerun.
13592 * gdb.base/langs0.c: Add #ifdef usestubs.
13593
13594Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
13595
13596 * gdb.base/list.exp: Adjust line contents after adding new lines in
13597 list0.c. Also fix a syntax error.
13598
13599 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
13600 * gdb.base/break.exp: ditto.
13601 * gdb.base/list.exp: ditto.
13602 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
13603 * gdb.base/run.c: ditto.
13604 * gdb.base/list0.c: ditto.
13605 * gdb.base/funcargs.c: ditto.
13606
13607Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
13608
13609 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
13610 $targetname, $serialport and $baud instead of hardwired variables.
13611 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
13612 target doesn't support signals.
13613
13614Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
13615
13616 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
13617
13618Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13619
13620 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
13621 Don't rely on the value of an auto variable before it has been
13622 initialized. Use gdb_test more.
13623
13624Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13625
13626 * lib/gdb.exp (default_gdb_version): A version number must start
13627 with a digit, but other than that contains all characters up to
13628 the first whitespace character.
13629
13630Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13631
13632 * gdb.base/commands.exp (breakpoint_command_test): New tests.
13633
13634Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13635
13636 * gdb.c++/*.exp: Warn if executable does not exist. The original
13637 reason for skipping the warning was that configure.in sometimes
13638 intentionally skipped building the executables but the tcl code
13639 had no way of knowing. That (a) was always bogus with respect to
13640 error handling, (b) is no longer true (right now there is no way
13641 to skip C++ tests).
13642
13643 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
13644
13645Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13646
13647 * gdb.base/list.exp: Add expect patterns for output from
13648 SunPRO compiled executables.
13649 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
13650 types.
13651
13652Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13653
13654 * gdb.base/break.exp (test_next_with_recursion): Accept any line
13655 number (we are already testing that the correct source line text
13656 gets printed).
13657
13658 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
13659 that is what is intended, but something needed to be done to get
13660 sunos4 native working again.
13661
13662 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
13663
13664 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
13665 apparently went with a (very) old xfail.
13666
13667Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
13668
13669 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
13670 runto_main is a proc in gdb.exp that will do 'step' for target use
13671 stubs.
13672 * gdb.base/exprs.exp: ditto.
13673 * gdb.base/interrupt.exp: ditto.
13674 * gdb.base/opaque.exp: ditto.
13675 * gdb.base/printcmds.exp: ditto.
13676 * gdb.base/ptype.exp: ditto.
13677 * gdb.base/scope.exp: ditto.
13678 * gdb.base/setvar.exp: ditto.
13679 * gdb.base/signals.exp: ditto.
13680 * gdb.base/twice.exp: ditto.
13681 * gdb.c++/classes.exp: ditto.
13682 * gdb.c++/inherit.exp: ditto.
13683 * gdb.c++/templates.exp: ditto.
13684 * gdb.base/break.exp: no run and hit main for stubs. Change line
13685 numbers for breakpoints and info breakpoint.
13686 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
13687 breakpoint().
13688 * gdb.base/callfuncs.c: ditto.
13689 * gdb.base/exprs: ditto.
13690 * gdb.base/interrupt.c: ditto.
13691 * gdb.base/opaque0.c: ditto.
13692 * gdb.base/printcmds.c: ditto.
13693 * gdb.base/ptype.c: ditto.
13694 * gdb.base/scope0.c: ditto.
13695 * gdb.base/setvar.c: ditto.
13696 * gdb.base/signals.c: ditto.
13697 * gdb.base/twice.c: ditto.
13698 * gdb.c++/misc.cc: ditto.
13699 * gdb.c++/templates.cc: ditto.
13700
13701Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13702
13703 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
13704
13705 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
13706 somewhere between `read' and `main.c'. I'm pretty sure the
13707 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
13708 and it isn't particularly useful.
13709
13710 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
13711
13712Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13713
13714 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
13715
13716Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
13717
13718 * config/mt-slite: add LIBS and -nostdlib.
13719 * config/slite-gdb.exp: add this new file to support sparclite target.
13720
13721Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
13722
13723 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
13724
13725 * gdb.base/a2-run.exp: Change argument to istarget from
13726 "*-*-vxworks" to "*-*-vxworks*".
13727 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
13728
13729Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
13730
13731 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
13732 will not runto main but do a 'step' to step out of breakpoint().
13733 * config/mt-slite: add -Dusestubs.
13734
13735Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13736
13737 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
13738 instead of just @.
13739
13740 * gdb.base/signals.exp: Add test for "handle all print".
13741 * TODO: Remove "handle all print". Also remove item about
13742 checking copyright date (I don't like the idea of a spurious FAIL
13743 based on when we run the tests).
13744
13745 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
13746 for SunOS4 (reason for failure not investigated). Remove
13747 redundant test for $binfile.
13748
13749 * gdb.base/nodebug.c (array_index): Call malloc.
13750
13751 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
13752
13753Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
13754
13755 * gdb.base/recurse.exp: Update gdb_test invocation to use new
13756 conventions and slightly simplify the matching regexp.
13757
13758Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13759
13760 * gdb.base/break.exp: Update gdb_test invocation to use new
13761 convention.
13762
13763 * lib/gdb.exp: If noargs is not set, set it to 0.
13764
13765 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
13766 tests unique.
13767
13768 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
13769
13770Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13771
13772 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
13773 one argument of type "<non-float parameter>".
13774
13775Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
13776
13777 * config/rom68k.exp: New file to support Motorola IDP board.
13778 * gdb.base/a2-run.exp: Skip this file if noargs is set.
13779 * gdb.base/break.c: Change things around so that this program
13780 doesn't depend upon args. This is necessary to make remote
13781 targets work (in general, they can't take args).
13782 * gdb.base/break.exp: Don't try to send args to program. Don't
13783 expect output. Also, replace lots of code with gdb_test.
13784
13785Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13786
13787 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
13788 printing of '\'' (which is what the comment says we are testing,
13789 even though we were not), not '''.
13790 (test_integer_literals_rejected): Test that printing ''' is an error.
13791
13792 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13793 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
13794 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
13795 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
13796 Use gdb_test not test_print_accept.
13797 * lib/gdb.exp: Remove test_print_accept.
13798
13799 * gdb.base/signals.exp (signal_tests_1): Make pass message
13800 consistent with fail message.
13801
13802 * gdb.base/whatis.exp: Remove xfails for printing char vs.
13803 unsigned char; the bug (PR 1821) is fixed.
13804
13805 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
13806
13807 * gdb.base/scope.exp (test_at_localscopes): Call pass for
13808 successful tests--makes xfailing them work right.
13809
13810Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13811
13812 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
13813 only \r\n, not .*. The test can pass .* as the last thing in
13814 $pattern if that is what it wants. In addition to providing this
13815 flexibility, this change should speed up pattern matching in cases
13816 where the pattern already ended with .* (there were a number of
13817 them). This change also helps catch bad patterns--in the old
13818 scheme the typo "char \*" instead of "char \\*" would pass. Now
13819 it is caught.
13820 * Many .exp files: Update callers.
13821
13822 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
13823 clearer and does not spuriously match multiple ('s. Likewise for
13824 ) and *.
13825
13826 * gdb.base/nodebug.exp: Test ability to call a function and pass
13827 it a string (even with no debugging info).
13828
13829 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
13830 "p '\'", which is the same as "p ''" once tcl gets done with
13831 quoting, to "p '\\'", which I suspect is what is intended (one
13832 backslash gets sent to GDB).
13833
13834 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
13835
13836Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13837
13838 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
13839 1817) was fixed literally years ago.
13840
13841Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13842
13843 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
13844 test, it causes stepping out of call_after_alloca_subr with
13845 optimizing compilers.
13846 (localvars_in_indirect_call): Consume GDB prompt if `finish'
13847 fails.
13848
13849 * gdb.c++/templates.exp: Source templ-info.exp only if
13850 the templates executable exists.
13851
13852 * gdb.c++/misc.cc (class Contains_static_instance,
13853 class Contains_nested_static_instance),
13854 gdb.c++/classes.exp (test_static_members): Test printing of
13855 a class that contains a static instance of the class.
13856
13857Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13858
13859 * gdb.base/langs2.c (cppsub_): Don't prototype.
13860 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
13861 only, I believe).
13862
13863Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13864
13865 * lib/gdb.exp (skip_chill_tests): New procedure.
13866
13867 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
13868
13869Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
13870
13871 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
13872 each expect pattern. Cuts runtime from 12 to about 4 seconds.
13873
13874Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13875
13876 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
13877
13878 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
13879 disassemble 8, not 16, instructions for part 4.
13880
13881 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
13882 support the latter anymore.
13883
13884 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
13885 -DNO_PROTOTYPES.
13886 * gdb.base/callfuncs.c: Control use of prototypes based on
13887 NO_PROTOTYPES, not __STDC__.
13888 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
13889 t_float_values2 tests if prototypes in use.
13890
13891 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
13892 t_double_values): When checking differences against DELTA, check
13893 that difference is within the range (-DELTA,DELTA), not just
13894 (-infinity,DELTA).
13895
13896Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
13897
13898 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
13899 'file' command firts, then 'target', then 'load', this is due to gdb
13900 target set up.
13901 * config/mips-gdb.exp: Fix a couple regular exp bugs.
13902
13903Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
13904
13905 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
13906 FP load/store variants.
13907 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
13908
13909Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
13910
13911 * gdb.base/term.exp: Do not give a warning if not native, it is
13912 not an abnormal condition.
13913
13914Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
13915
13916 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
13917 t_char_array".
13918
13919Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
13920
13921 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
13922 are getting the version number.
13923
13924 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
13925 if not native, it is not an abnormal condition.
13926
13927Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13928
13929 * lib/gdb.exp: Just use "file exists", rather than undocumented
13930 dejagnu procedure "findfile".
13931
13932Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13933
13934 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
13935 (LDFLAGS): Set to -Xlinker -Ur.
13936
13937 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
13938 Removed, these values are set by lib/gdb.exp.
13939
13940 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
13941
13942Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13943
13944 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
13945 of replicating gdb startup code.
13946
13947 * config/mt-vxworks (LDFLAGS): Set to -r.
13948 (CFLAGS_FOR_TARGET): Removed.
13949
13950 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
13951 (gdb) and gdb for vxworks uses (vxgdb).
13952
13953 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
13954 executable is not in the tree and host != target, use sed and
13955 program_transform_name to determine the gdb name used by the
13956 target.
13957
13958 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
13959 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
13960
13961Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13962
13963 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
13964 floats, chars, and shorts where there are ANSI-style function
13965 definitions.
13966
13967 * gdb.base/langs.exp, gdb.base/langs*: New test.
13968 * gdb.base/Makefile.in: Build it.
13969 * TODO: Remove item about checking that C names don't get C++
13970 demangling applied; this test tests it.
13971
13972Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13973
13974 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
13975 went with the const70 xfail. The xfail went away a year ago.
13976
13977 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
13978
13979 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
13980 for hp300.
13981
13982 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
13983
13984 * gdb.base/a1-selftest.exp: Don't run on hp300.
13985
13986Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13987
13988 * Makefile.in (site.exp): Set host_alias and target_alias as well
13989 as host_triplet and target_triplet.
13990
13991Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
13992
13993 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
13994
13995 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
13996 places as other ecoff systems).
13997
13998 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
13999 ultrix.
14000
14001Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
14002
14003 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
14004 remove them.
14005 * gdb.base/nodebug.exp: Accept "function" in addition to "text
14006 variable and "variable" in addition to "data variable".
14007 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
14008
14009 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
14010 2.
14011 * gdb.base/list1.c (long_line): Add additional statement at start
14012 of function.
14013 * gdb.base/list.exp (test_forward_search): Update line number to
14014 reflect new statement.
14015
14016Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14017
14018 * gdb.base/signals.exp: Reinitialize searched source directories
14019 after gdb_start call.
14020
14021Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
14022
14023 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
14024 * gdb.stabs/Makefile.in: Likewise.
14025
14026 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
14027 change. Instead split the tests into smaller pieces.
14028 * gdb.disasm/hppa.s: Corresponding changes.
14029
14030Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
14031
14032 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
14033 Quote ^C when passing it to stty. For some shells ^ is a pipe.
14034
14035 * gdb.base/funcargs.exp: Modify many tests so that every test
14036 either passes or fails. Make some test names unique.
14037
14038Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
14039
14040 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
14041 Call stty to set interrupt character.
14042
14043 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
14044 for HP assembler versus GNU assembler based on actual behavior of
14045 $(CC), rather than assuming that $(AS) is always the GNU assembler.
14046
14047 * TODO: Suggest a few more stepping tests.
14048
14049Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
14050
14051 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
14052 restart GDB for h8300 after a continue.
14053 (return): Add pattern to match a29k-udi behavior.
14054 * gdb.base/nodebug.exp: Remove obsolete comment.
14055 * gdb.base/regs.exp: New file, testing of register displays.
14056 * gdb.base/return.exp: Fix typo in reference to $objdir.
14057 * gdb.base/whatis.exp: Always start with a fresh GDB.
14058
14059Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
14060
14061 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
14062 higher, these tests generate a lot of output.
14063
14064Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
14065
14066 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
14067 code following the catch silently ignored some errors; without the
14068 catch they should be thrown like any other tcl error. Also, the
14069 catch used "" instead of {} which meant all the callers who wanted
14070 to include one of the characters "[]$ had to quote it an extra time.
14071 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
14072 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
14073 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
14074 Remove extra quoting.
14075
14076Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
14077
14078 * gdb.base/commands.exp: Make test names unique; every test either
14079 passes or fails. Update some comments.
14080
14081 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
14082
14083Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
14084
14085 The following fixes a FAIL caused by the fact that the alpha stabs
14086 configuration didn't use the ".if alpha" code in weird.def.
14087 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
14088 bit pointer, so the 32 bit version works even on the alpha.
14089 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
14090 Remove the stuff which allowed us to have separate versions for
14091 alpha and everything else.
14092
14093 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
14094 regexp which "info func operator\[\](" is supposed to match. Fix
14095 string to send to GDB. Note that GDB still doesn't work right. Add a
14096 new test for "info func .perator\[\](" which GDB does handle correctly.
14097
14098 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
14099
14100Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
14101
14102 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
14103 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
14104 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
14105 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
14106 it makes the tests harder to understand and confuses test-o-matic.
14107 The preferred style is that each test provides a PASS or a FAIL,
14108 and has a unique message (e.g. "continue #54" not just "continue")
14109 which is the same for the pass and the fail.
14110 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
14111 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
14112 to lib/gdb.exp.
14113 * gdb.base/printcmds.exp: Use test_print_accept. Remove
14114 prt_accept which was basically the same thing. Likewise for
14115 test_print_reject and prt_reject.
14116 * lib/gdb.exp (test_print_reject): Add some more error message
14117 patterns to match from the former printcmds.exp (prt_reject).
14118 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
14119 One defect of the passcount stuff is that some of it failed to
14120 report XPASS where appropriate.
14121 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
14122 stuff before and after arg in expected pattern.
14123 (test_paddr_operator_functions): Re-do test without print_addr_of;
14124 this is the only test which seems to want extra stuff there.
14125
14126Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14127
14128 * gdb.base/nodebug.exp: Update new tests to reflect improved
14129 wording of gdb output.
14130
14131 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
14132 and "ptype" work on variables in files compiled without -g.
14133 Replaces commented out "maint print msymbol" tests.
14134
14135Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14136
14137 * gdb.base/setvar.c (dummy): Call malloc.
14138
14139 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
14140 losing with the irix4 sed.
14141
14142 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
14143 ALRM" on irix4.
14144
14145Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14146
14147 * TODO: Remove items about corefile.exp testing new exec-file and
14148 backtrace; both are now done. Add items about printing enums.
14149
14150Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14151
14152 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
14153 "get signal $thissig" test fails.
14154
14155 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
14156
14157Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14158
14159 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
14160 compiler warning with dec alpha compiler.
14161
14162 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
14163 extra \n from gdb_test call (this explains why the prompt test
14164 that I removed yesterday was there).
14165 (user_defined_command_test): Remove extra \n and prompt test.
14166
14167 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
14168 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
14169 doesn't exist.
14170 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
14171 Also remove alpha workaround, which turns out to be because
14172 SIGABRT == SIGLOST.
14173
14174 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
14175
14176 * gdb.base/help.exp: Don't test "help show".
14177
14178Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14179
14180 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
14181 "set print address" is on.
14182 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
14183 pass prompt to gdb_test; gdb_test already looks for the prompt.
14184
14185 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
14186
14187 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
14188 was a vestige of the manual TESTSTRATEGY, and the purpose of it
14189 was to make sure that gdb can read a core file. But (a) the "read
14190 the corefile" part didn't make it to a1-selftest.exp, we just
14191 delete the corefile after creating it, and (b) we test reading
14192 corefiles in corefile.exp anyway. Also, this test left around a
14193 xgdb process on Solaris.
14194
14195 * gdb.base/corefile.exp: Also test backtrace.
14196
14197Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
14198
14199 * gdb.base/commands.exp: Test a simple user defined command with
14200 arguments and if/while statements; verify the full user command is
14201 printed by "show user".
14202
14203 * gdb.base/commands.exp: Test if/while commands as part of a
14204 breakpoint command list; verify they appear in breakpoint
14205 information.
14206
14207Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14208
14209 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
14210 than by dividing by zero.
14211
14212Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
14213
14214 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
14215 performing an inferior call with watchpoints enabled.
14216 * gdb.base/watchpoint.c (main): Delete second unnecessary read
14217 call.
14218
14219Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14220
14221 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
14222 of "file" command.
14223
14224 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
14225 Add additional pattern for when "int operator int(void);" appears
14226 in a different order.
14227
14228Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
14229
14230 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
14231
14232 * gdb.base/help.exp: Replace most of docstrings for "info signals"
14233 and "signal" with ".*".
14234
14235Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
14236
14237 * TODO: Add note about "handle all nostop".
14238
14239 * gdb.base/{sigall.c, sigall.exp}: New test.
14240 * gdb.base/Makefile.in: Add it.
14241
14242Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
14243
14244 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
14245 when invoking GDB, suppresses any windowing interface.
14246
14247Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
14248
14249 * config/sim-gdb: New file, simulator testing support.
14250
14251Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
14252
14253 * gdb.base/interrupt.exp: Test calling func1 twice.
14254
14255Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
14256
14257 * gdb.base/list.exp (test_forward_search): Set timeout higher
14258 when we'll be getting lots of output from gdb.
14259
14260 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
14261 "init_malloc" to after the expect statement. Run it if that
14262 regexp is taken, but also for two others which happen if source
14263 cannot be found.
14264
14265Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14266
14267 * gdb.base/printcmds.exp: New test, for printing register before
14268 program is running.
14269
14270Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14271
14272 * gdb.base/list.exp: Correct some alternate expect patterns
14273 to reflect changes in list1.c.
14274
14275Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14276
14277 * TODO: Add item regarding large frames.
14278
14279 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
14280
14281 * TODO: Remove item about enabling return.exp; it
14282 is enabled. Suggest a few more "return" tests.
14283
14284Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14285
14286 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
14287 anonymous unions.
14288
14289Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14290
14291 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
14292 and pr-5646.o, so "make" is the same as "make all", not "make
14293 pr-4975.o".
14294
14295Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
14296
14297 * gdb.base/list.exp: Adjust expectations to reflect changes in
14298 list1.c.
14299 (test_forward_search): New test proc.
14300 * gdb.base/list1.c (long_line): New function, has long source line.
14301
14302Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
14303
14304 * gdb.base/a1-selftest.exp: Change initial stepping to know about
14305 additional line of code that was added.
14306
14307Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
14308
14309 * gdb.disasm/hppa.s: Break the large branching tests into smaller
14310 tests so as not to overflow expect's input buffers.
14311 * gdb.disasm/hppa.exp: Corresponding changes.
14312
14313Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14314
14315 Beginnings of template debugging tests.
14316 * gdb.c++/templ-info.cc: New file to test for template
14317 debugging capability of the compiler.
14318 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
14319 templ-info.cc.
14320 * gdb.c++/templates.cc: Add explicit template instantiations
14321 to enable compiling with -fno-implicit-templates. Add destructor
14322 and 'value' method to T5 class for template tests.
14323 * gdb.c++/templates.exp: Add testcases for printing of template
14324 types, setting breakpoints on template methods and calling a
d63a86f8 14325 template method.
c906108c
SS
14326
14327Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
14328
14329 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
14330 branch target since some assemblers (gas-2.5) may emit a
14331 relocation for the branch instead of resolving it in the
14332 assembler.
14333
14334Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14335
14336 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
14337 through signal handler.
14338
14339Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14340
14341 * configure.in (*-*-netware): Use config/mt-netware.
14342
14343 * config/mt-netware: New file.
14344 * config/mt-i386-netware: Removed, separate configs for different
14345 netware architectures are no longer needed now that we have
14346 --with-headers.
14347
14348Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14349
14350 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
14351 by the recent changes to use ANSI C arithmetic conversions.
14352
14353Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14354
14355 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
14356 bug involving using inferior_pid to figure out whether to select a
14357 frame.
14358
14359Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
14360
14361 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
14362 match the current disassembler output.
14363
14364Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
14365
14366 * gdb.fortran/exprs.exp: Expect VOID instead of void.
14367 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
14368 types, expect "int" as type of integer values (for now).
14369
14370Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
14371
14372 * gdb.base/commands.exp: New tests for if/while commands.
14373
14374Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
14375
14376 * lib/gdb.exp (runto): Replace sub-pattern for hex value
14377 by .*, since hex values have different syntax in Chill mode.
14378
14379Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14380
14381 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
14382 linefeed from expect pattern for repeated types with indices > 9.
14383
14384Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
14385
14386 First part of Fortran test suite.
14387 * gdb.fortran: New directory.
14388 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
14389
14390Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14391
14392 * gdb.base/default.exp: Update expect pattern for load command
14393 without arguments.
14394
14395Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14396
14397 * configure.in: Change i386 to i[345]86.
14398 * gdb.base/configure.in: Likewise.
14399 * gdb.c++/configure.in: Likewise.
14400 * gdb.chill/configure.in: Likewise.
14401
14402Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
14403
14404 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
14405 patterns, since that is not a valid context for comments.
14406
14407Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
14408
14409 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
14410 repeated types and repeated types with indices > 9.
14411
14412Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
14413
14414 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
14415 2417; old bug has been fixed.
14416
14417Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
14418
14419 * gdb.base/interrupt.exp: When trying to wake up the inferior,
14420 send the newline ourselves instead of assuming gdb_test will do
14421 so when passed an empty input string.
14422
14423 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
14424 stabs testcode.
14425
14426Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14427
14428 * lib/gdb.exp (gdb_test): Don't send anything if the first
14429 argument is an empty string. This makes cases where we want to
14430 match output that is already in expect's buffers (for example,
14431 matching a breakpoint after gdb_run_cmd has been called) work
14432 reliably.
14433
14434Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14435
14436 * config/netware.exp: New file.
14437
14438Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14439
14440 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
14441 the -B and -L prefixes so we can find the debugging stub.
14442
14443 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
14444 there and we are using the gcc from the tree.
14445
14446 * gdb.base/types.c: Removed.
14447
14448 * gdb.base/configure.in: Look for makefile fragments in ../config.
14449 Recognize i386-*-netware.
14450 * gdb.c++/configure.in: Likewise.
14451
14452Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14453
14454 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
14455 the correct TCL syntax.
14456
14457Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14458
14459 * gdb.base/opaque.exp: use runto instead of messing around with
14460 breakpoints. Simplify by using gdb_test.
14461
14462 * gdb.base/bitfields.exp: restart between tests on netware targets
14463 because breakpoints aren't relocated after target death. Run
14464 processes to completion.
14465
14466 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
14467
14468Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
14469
14470 * Makefile.in: Remove extra tabs that confuse some versions
14471 of "make". Use the newly built gdb to test with by default,
14472 rather than the first one in the tester's search path.
14473
14474Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
14475
14476 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
14477
14478 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
14479 condition help.
14480
14481Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14482
14483 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
14484
14485 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
14486 running.
14487 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
14488 * gdb.base/funcargs.exp: Likewise.
14489
14490 * gdb.base/bitfields.exp: Simplify by using gdb_test.
14491 * gdb.base/funcargs.exp: Likewise.
14492
14493 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
14494 message is "".
14495
14496Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14497
14498 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
14499 return,signals,twice}.exp: Handle non-existant binaries
14500 consistantly.
14501
14502 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
14503 * gdb.base/Makefile.in: Don't try to generate a core dump, we
14504 might testing a cross development system.
14505
14506Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14507
14508 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
14509 runtest script is relative to ${srcdir}, not ${rootdir}.
14510
14511Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
14512
14513 * gdb.base/signals.exp: Allow for optionality of breakpoint
14514 address.
14515
14516Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14517
14518 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
14519
14520Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14521
14522 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
14523 for size_t definition.
14524 * gdb.c++/templates.cc: Likewise
14525
14526 * config/mt-i386-netware: New file.
14527
14528 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
14529 defined.
14530
14531 * gdb.base/Makefile.in: Added support for systems that name core
14532 files by appending "core" to the program name.
14533 * gdb.base/a1-selftest.exp: Likewise.
14534
14535Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14536
14537 * gdb.base/return.exp: Add comment and message for `return double'
14538 test failure on Sparc Solaris.
14539
14540Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
14541
14542 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
14543
14544Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14545
14546 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
14547 from optimizing them away.
14548 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
14549 patterns to include default constructors and assignment operators,
14550 to match gcc versions beyond 2.5.8. Accept any cplus demangling
14551 character in the output of the virtual base pointer.
14552
14553Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14554
14555 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
14556 expression match in print_addr_of to avoid unintented matches.
14557 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
14558 versions up to 2.5.8.
14559
14560Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14561
14562 * gdb.base/list.exp: Tweak alternate pattern for listing of an
14563 included file to run under newer versions of expect.
14564 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
14565 consecutive >'s in templates to accomodate recent cplus-dem.c change.
14566 Remove xfail for the virtual table of BDDHookV.
14567
14568Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
14569
14570 * lib/gdb.exp (string_to_regexp): Set a default result.
14571 (default_gdb_start): Fix misleading message.
14572
14573Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
14574
14575 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
14576 Remove all CC, etc definitions.
14577 * config/mt-hpux: New file.
14578 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
14579 (CFLAGS, LDFLAGS): Define.
14580 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
14581
14582 * Makefile.in (site.exp): Don't insert host_os, etc.
14583 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
14584 (distclean): Check existence of subdir.
14585 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
14586 * gdb.base/Makefile.in: General cleanup and simplification.
14587 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
14588 to build executables. Use default rule to build .o files.
14589 (EXPECT, RUNTEST, CC): Fix relative pathname.
14590 (site.exp): Don't insert host_os, etc.
14591 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
14592 and/or SIGUSR1 defined.
14593 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
14594 * gdb.c++/Makefile.in: General cleanup and simplification.
14595 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
14596 (CFLAGS): Remove.
14597 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
14598
14599Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
14600
14601 * gdb.base/recurse.exp: Misc changes to get tests running again
14602 after Kung's changes to the watchpoint code.
14603 * gdb.base/watchpoint.exp: Likewise.
14604
14605Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
14606
14607 * lib/gdb.exp (string_to_regexp): Convert {\} also.
14608
14609Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
14610
14611 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
14612 * lib/gdb.exp (default_gdb_start): Define.
14613 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
14614 gdb.base/funcargs.exp, gdb.base/opaque.exp,
14615 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
14616 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
14617 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
14618 Don't call gdb_target_udi in between tests.
14619
14620Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14621
14622 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
14623 (which was basically just a local version of the same thing). In
14624 addition to avoiding duplication, gdb_test_exact is faster.
14625 * lib/gdb.exp (gdb_test_exact): Fix typo.
14626
14627 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
14628 don't give an error.
14629
14630 * gdb.base/term.exp: Call delete_breakpoints before starting.
14631
14632 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
14633 (t10): Add comment.
14634
14635Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
14636
14637 Reorganization of the GDB Test Suite.
14638
14639 * gdb.base: New directory, contains all the basic tests.
14640 * gdb.c++: New directory, tests specific to C++.
14641 * gdb.chill: New directory, tests specific to Chill.
14642 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
14643 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
14644 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
14645 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
14646 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
14647 t30-31 to chill).
14648 * */gdbme.*: Rename to match appropriate expect scripts.
14649 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
14650 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
14651 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
14652 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
14653 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
14654 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
14655 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
14656 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
14657 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
14658 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
14659 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
14660 gdb.c++/virtfunc.cc: New names of C++ files.
14661 * gdb.chill/chillvars.ch: New name of Chill file.
14662 * gdb.base/configure.in, gdb.c++/configure.in,
14663 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
14664 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
14665 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
14666 * configure.in (configdirs): Update to reflect directory changes.
14667 (target_abbrev): No longer define for any configuration.
14668 * Makefile.in: Cosmetic improvements to header comments.
14669
14670Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
14671
14672 Various changes to gdb.t31:
14673
14674 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
14675 * gdbme.ch: Make all key-words and predefineds be upper-case.
14676 * chillvars.exp: Expect key-words and predefinds in upper-case.
14677
14678 * chillvars.exp: Use gdb_test_exact many places.
14679 Change expected output for arrays (which now includes index labels).
14680
14681 * pr-5020.exp, gdme.ch (module PR_5020):
14682 New test, for PR-5020.
14683
14684Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
14685
14686 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
14687 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
14688
14689Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
14690
14691 * Makefile.in: Fix bit-rot in definitions of CHILL,
14692 CHILL_FOR_TARGET and Chill_LIB.
14693 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
14694 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
14695 CHILL, and CHILL_LIB.
14696
14697Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
14698
14699 * Revert the previous changes. Please see Rob's directory
14700 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
14701
14702Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
14703
14704 * Makefile.in, configure.in, config/mips-gdb.exp,
14705 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
14706 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
14707 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
14708 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
14709 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
14710 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
14711 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
14712 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
14713 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
14714 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
14715 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
14716 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
14717 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
14718 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
14719 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
14720 changes from 94Q1.
14721
14722Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
14723
14724 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
14725 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
14726 Rob's new testing fragments.
14727
14728Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
14729
14730 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
14731 lib/gdb.exp: Replace error proc calls with perror.
14732
14733Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
14734
14735 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
14736 version also, match on casted version strings, and match on
14737 gdb startup case where the line numbers might be messed up.
14738
14739Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
14740
14741 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
14742 (CFLAGS): Delete it from here.
14743
14744Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
14745
14746 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
14747
14748Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
14749
14750 * Makefile.in (RUNTEST): Default to just "runtest".
14751
14752Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14753
14754 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
14755 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
14756 the code has been restructured.
14757
14758Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14759
14760 * gdb.t00/default.exp (set write): Allow any number of \r and/or
14761 \n, not just one of each.
14762
14763 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
14764 /bin/cc gives a warning if you do.
14765
14766Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
14767
d63a86f8 14768 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
14769 __t10ListS_link1ZUiRCUiPT0
14770
14771Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14772
14773 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
14774 on local variables in recursive functions.
14775
14776 * gdb.t07/Makefile.in: Build the new test.
14777
14778Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14779
14780 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
14781 directly. Instead compare the return values from actual calls.
14782
14783Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
14784
14785 * Makefile.in (check): Set TCL_LIBRARY for runtest.
14786
14787Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14788
14789 * From Peter Schauer with minor modifications.
14790 * gdb.t15/return.exp (return_tests): Handle targets where "return"
14791 stops in mid-line in the caller. Add xfail for returning a float
14792 value on X86 targets.
14793
14794Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14795
14796 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
14797 to avoid expect lossage.
14798 (fmem_LRbug_tests): Likewise.
14799 * gdb.disasm/hppa.s: Corresponding changes.
14800
14801 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
14802 conditions to work with latest dejagnu/expect.
14803
14804 * gdb.t15/funcargs.exp (finish from indirect call): No longer
14805 expected to fail on the PA.
14806 (backtrace in call with trampolines): Explicitly require main
14807 to be frame #1 (no trampolines should show up in backtrace).
14808
14809 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
14810 "continue -expect".
14811 * gdb.t06/break.exp: Likewise.
14812 * gdb.t07/watchpoint.exp: Likewise.
14813 * gdb.t13/bitfields.exp: Likewise.
14814 * gdb.t15/{funcargs,return}.exp: Likewise.
14815 * gdb.stabs/weird.exp: Likewise.
14816 * config/{mips,udi}-gdb.exp: Likewise.
14817
14818 * hppa.sed: Enclose comments within a sed command to avoid
14819 losing with the old OSF1 sed.
14820
14821Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14822
14823 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
14824 sequent dynix.
14825 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
14826 * gdb.t15/funcargs.exp: Conditionally step again to really
14827 finish from marker_call_with_trampolines. Handle the case where
14828 the first step from within call_with_trampolines already steps
14829 us back to main.
14830 * gdb.t15/gdbme.c: Add comment to closing brace of
14831 call_with_trampolines for funcargs.exp.
14832
14833Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14834
d63a86f8 14835 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
14836 Fix typo(s).
14837
14838Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14839
14840 * gdb.t07/gdbme.c: More code for watchpoint testing.
14841
14842 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
14843 "Hardware watchpoint" throughout file.
14844 (test_watchpoint_triggered_in_syscall): New test.
14845 (test_complex_watchpoint): New test.
14846
14847Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14848
14849 * gdbme.c (call_with_trampolines): New function to try and step
14850 into. Tests trampoline problems on the PA.
14851
14852 * funcargs.exp (localvars_in_indirect_call): No longer expect
14853 stepping into indirect call to fail on PAs.
14854 (test_stepping_over_trampolines): New test.
14855
14856Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14857
14858 * TODO: Add suggestions for static member function tests, and
14859 completion tests.
14860
14861Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14862
14863 * TODO: Add suggestions for "p/a" tests.
14864
14865 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
14866 (default_gdb_exit): Replace all the hair with sending "quit" to
14867 the process with a simple close.
14868
14869Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14870
14871 * TODO: Add suggestions for shared library tests.
14872
14873Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14874
14875 * TODO: Add suggestions for x/s tests.
14876
14877Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14878
14879 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
14880 "enable once", and "enable breakpoints once" with ".*".
14881
14882Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14883
14884 * TODO: Add suggestions about structure passing tests.
14885
14886Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
14887
14888 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
14889 the primary1 test, use work around if __GNUC__ < 2.
14890 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
14891 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
14892 Test for bad output rather than waiting for timeout. Issue
14893 second continue only if first continue failed.
14894
14895Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
14896
14897 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
14898 operator[] test with gdb_test because the old code didn't seem to
14899 be getting the quoting right with the new dejagnu.
14900
14901Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
14902
14903 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
14904 one from the path.
14905 * Makefile.in: Use a fresh expect if there is one, use runtest
14906 from the src tree if there is one.
d63a86f8 14907
c906108c
SS
14908Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
14909
14910 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
14911 next over recursive call. Revise the tests from that point on
14912 (which had been skipped) to match GDB's actual (correct) output.
14913
14914 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
14915 with next over a breakpoint whose condition is false.
14916
14917 * gdb.t00/help.exp: Comment out "help set print" tests just like
14918 (and for same reason as) "help set" test.
14919
14920Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14921
14922 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
14923 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
14924
14925Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14926
14927 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
14928 necessary gdb_target_udi.
14929
14930 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
14931
14932 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
14933 1838 and 2417; they are fixed.
14934
14935 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
14936 gdb.t03/ptype.exp (ptype structure, ptype union):
14937 Remove xfails; the test is looser than when the xfails were added.
14938
14939 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
14940 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
14941
14942 * gdb.t01/run.exp: Only run shell test if isnative.
14943
14944 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
14945 since "run" automatically loads if necessary. Call gdb_target_udi
14946 after the "file" since "file" kills any execution target.
14947
14948 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
14949 GDB. GDB doesn't work that way (not anymore at least) on UDI.
14950 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
14951 argument for UDI.
14952
14953Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
14954
14955 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
14956
14957 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
14958
14959Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14960
14961 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
14962 properly quoting regexps. This makes the second argument to
14963 demangle a fixed string, which matches the callers, instead of a
14964 shell-style pattern which is what the previous implementation
14965 used. Update some of the callers.
14966
14967Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14968
14969 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
14970 (comib_nullified_tests): Fix typo.
14971 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
14972 strings. No longer expected to fail.
14973
14974 * gdb.disasm/hppa.s (addib_tests): Fix typo.
14975 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
14976 strings. No longer expected to fail.
14977
14978 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
14979 string. No longer expected to fail.
14980
14981Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
14982
14983 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
14984 No longer expected to fail.
14985
14986 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
14987 string. No longer expected to fail.
14988
14989Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14990
14991 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
14992 only in the names (I probably got most of them). I was even
14993 generous with some which differed in underscores in names, and
14994 probably missed a few, and I *still* was able to remove almost a
14995 third of the file with almost no impact on testsuite coverage.
14996
14997Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14998
14999 * gdb.t00/default.exp: Match udi_attach error message as well as
15000 the one from child_attach.
15001
15002 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
15003
15004 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
15005
15006 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
15007 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
15008
15009 * Move test with enums and partial symbols back to
15010 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
15011 Reverts the change of 26 May 93. Per today's change to
15012 stabs.texinfo, the behavior that weird.exp was expecting was
15013 unreasonable; what is important is that the compiler+gdb get
15014 things right, which happens with a recent gcc. Also fix the test
15015 to deal with native compilers which put out the stab gdb can't
15016 deal with.
15017
15018Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
15019
15020 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
15021 in the names. The main thing these accomplish is to slow things down.
15022 Many more such duplicates surely remain.
15023
15024 * gdb.t00/help.exp: Comment out "help support" test just like
15025 (and for same reason as) "help set" test.
15026
15027Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
15028
15029 * gdb.t06/break.exp: Remove setup_xfails for
15030 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
15031 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
15032 about known bug in gcc to include up through 2.5.8.
15033 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
15034 well as "_vb$".
15035 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
15036 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
15037 with latest gcc and gdb.
15038 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
15039 well as "_vb$".
15040
15041Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
15042
15043 * configure.in (hppa*-*-*): Also configure and build stabs-only
15044 tests.
15045
15046Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
15047
15048 * gdb.t10/hppa.mt: A makefile fragment for the PA.
15049 * gdb.t10/configure.in (hppa*-*-*): Use it.
15050
15051Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15052
15053 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
15054
15055Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15056
15057 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
15058 versions prior to 1.13.5.
15059
15060Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
15061
15062 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
15063 the prompt is at the start of a line.
15064
15065Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
15066
15067 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
15068 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
15069 in the copr tests now.
15070 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
15071 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
15072 expected to fail.
15073
15074Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
15075
15076 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
15077 gdb.t31/chillvars.exp, lib/gdb.exp:
15078 Tweak to run under either version of expect.
15079 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
15080 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
15081 * gdb.t11/list.exp: Remove extraneous whitespace.
15082
15083Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
15084
15085 * gdb.t16/printcmds.exp (test_print_strings): Accept
15086 "(unsigned char *) " before the string.
15087
15088 * TODO: Add notes about printing of fancy types and GDB expressions.
15089
15090Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
15091
15092 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
15093 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 15094 if doing mips-idt-ecoff.
c906108c
SS
15095
15096Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
15097
15098 * Most .exp files: Tweak to run under either version of expect.
15099
15100Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
15101
15102 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
15103 xfails; I'm not sure why they are failing, but not because of PR 1806.
15104
15105Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
15106
15107 * config/unix-gdb.exp: Remove gdb_unload cause it's already
15108 defined in lib/gdb.exp.
15109
15110Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15111
15112 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
15113 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
15114 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
15115 have to be typeless.
15116
15117Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
15118
15119 * TODO: Add suggestion for copyright year test.
15120
15121Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
15122
15123 * configure.in (*-*-lynxos*): Add stabs tests.
15124
15125Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
15126
15127 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
15128 so insert a tab before any assembler directive in column zero.
15129
15130 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
15131 stores.
15132 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
15133 stores.
15134 (fpu_short_memory_tests): Likewise.
15135
15136Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15137
15138 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
15139 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
15140 .stabs directives in comments.
15141
15142Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15143
15144 * TODO: New file, describing tests we could write.
15145 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
15146
15147Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15148
15149 * gdb.t06/signals.exp: Add kludge to force re-sync.
15150
15151 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
15152 to xgdb instead of gdb, get out of gdb.
15153
15154Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
15155
15156 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
15157 for info.
15158
15159Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
15160
15161 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
15162 * gdb.stabs/configure.in (hppa*-*-*): Use it.
15163 * gdb.stabs/hppa.sed: New sed script for the PA.
15164
15165Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15166
15167 * gdb.stabs: Re-write weird.def and configuration to use sed
15168 instead of cpp. sed is portable and POSIX; cpp is neither.
15169
15170Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15171
15172 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
15173
15174Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15175
15176 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
15177
15178Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15179
15180 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
15181 "_vb$".
15182 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
15183 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
15184
15185Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15186
15187 * lib/gdb.exp: Comment out code which depends on non-existent
15188 `transform' procedure.
15189
15190Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
15191
15192 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
15193 * lib/gdb.exp: Transform tool name.
15194 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
15195 1.1's new error handling system.
15196
15197Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15198
15199 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
15200
15201Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15202
15203 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
15204 They made pattern matching so slow that timeouts happened on
15205 heavily loaded systems. Now any output from "show print" which
15206 gets us back to the GDB prompt is a PASS.
15207
15208Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
15209
15210 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
15211
15212Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15213
15214 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
15215
15216 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
15217 It is not from PR 3220.
15218
15219Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15220
15221 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
15222 just started failing because they depended on the order the
15223 subcommands are presented, or exact docstring text. This kind of
15224 test is a pain and has minimal benefit.
15225
15226Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15227
15228 * gdb.t09/corefile.exp: At end of test, use "core" command with
15229 no arguments.
15230
15231Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
15232
15233 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
15234 17}/Makefile.in: Make it possible to run the testsuite with Sun
15235 make and CC = cross gcc by adding explicit build rules for .o
15236 files.
15237
15238Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15239
15240 * gdb.t15/funcargs.exp: Don't put comments on same line as
15241 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 15242
c906108c
SS
15243Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15244
15245 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
15246
15247Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
15248
15249 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
15250 * gdb.t20/inherit.exp: remove three dumplicate entries.
15251
15252Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15253
15254 * gdb.t06/break.exp: For "next over recursive call", fail on any
15255 incorrect output, not just on "factorial (value=2)".
15256
15257Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15258
15259 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
15260 working now. Add an xfail if accesing a bss variable causes
15261 a memory error if the target is not yet run.
15262
15263Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15264
15265 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
15266 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
15267 name of __st* demangling (2 strings). Did Kung really get the
15268 more than 95 others right without testing them?
15269
15270Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
15271
15272 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
15273
15274Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
15275
15276 * configure.in (configdirs): Add gdb.disasm
15277 * gdb.disasm: New directory for GDB disassembler tests.
15278 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
15279
15280Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15281
15282 * gdb.t00/help.exp: Don't test "help set".
15283
15284 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
15285 from within expect statements. None of these happen anymore and
15286 they cause regressions to be silently unnoticed.
15287
15288 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
15289 messages) about known failures with gcc cygnus-2.4.5-930417.
15290
15291 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
15292 comp-info.exp so it gets built if it doesn't exist.
15293
15294 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
15295 it is no longer used.
15296 * gdb.t13/comp-info.c: Removed.
15297
15298Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
15299
15300 * gdb.t06/signals.exp: Add xfail for sun3.
15301
15302Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15303
15304 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
15305 relevant because ^C doesn't get sent but failure can be reproduced
15306 interactively).
15307
15308Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15309
15310 * gdb.stabs/alpha.mt: New configuration file for alpha.
15311 * gdb.stabs/configure.in: Use it.
15312 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
15313 sharing with alpha.mt, redefine long to word via preprocessor.
15314 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
15315 for alpha.
15316 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
15317 native cc.
15318 * gdb.t00/teststrategy.exp: Change expect string so that we
15319 consume the `(xgdb)' from the command echo and from the gdb prompt.
15320 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
15321 gdb currently compares all values as long, so this failure probably
15322 applies to any configuration where LONGEST is bigger than a target int.
15323 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
15324 with gcc.
15325 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
15326 to handle opaque pointers, gcc is.
15327 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
15328 as first argument. Include <sys/types.h> and change all operator
15329 new definitions to use size_t.
15330 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
15331 now that we use size_t.
15332
15333Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15334
15335 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
15336 a long or float array cast all array members to the same type.
15337 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
15338 with 64 bit longs.
15339 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
15340 on alpha.
15341 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
15342
15343Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15344
15345 * gdb.t24 (demangle.exp): Constructors of templates have names like
15346 vector<int>::vector(int) not vector<int>::vector<int>(int). See
15347 section 14.6 of the ARM.
15348
15349 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
15350 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
15351 accomplish little and slow down the testsuite.
15352
15353 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
15354 Accept spaces various places.
15355
15356Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15357
15358 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
15359 with watchpoint enabled.
15360
15361 * Makefile.in: Remove definition of CC and remove the second
15362 definition of CXX (the "CXX = gcc" one remains). These definitions
15363 were causing backquotes to be expanded within backquotes, which
15364 doesn't work.
15365
15366Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
15367
15368 * gdb.t17/callfuncs.exp: Add "return 0" to end.
15369
15370Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15371
15372 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
15373 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
15374 by mips cc and contains no stabs entries.
15375
15376Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
15377
15378 * config/vx-gdb.exp: Use fake device to load files rather than
15379 NFS.
15380 * lib/gdb.exp: New proc to do "file" command.
15381 * config/unix-gdb.exp: Use new "file" proc.
15382
15383Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15384
15385 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
15386 Rework board rebooting slightly.
15387 (gdb_exit): Don't exit from the remote shell; there isn't one.
15388 * gdb.stabs/weird.exp: If a program is being debugged already,
15389 kill it.
15390 * gdb.t04/setvar.exp: Stop and restart gdb.
15391 * gdb.t05/expr.exp: Likewise.
15392 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
15393 restart gdb and reload the program.
15394 * gdb.t08/opaque.exp: Likewise.
15395 * gdb.t12/scope.exp: Likewise.
15396 * gdb.t13/bitfields.exp: Likewise.
15397 * gdb.t15/funcargs.exp: Likewise.
15398 * gdb.t20/classes.exp: Likewise.
15399 * gdb.t03/ptype.exp: Increase timeout.
15400 * gdb.t16/printcmds.exp (test_print_string_constants,
15401 test_print_array_constants): Likewise.
15402 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
15403 * gdb.t20/classes.exp (do_tests): Likewise.
15404 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
15405
15406Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
15407
15408 * gdb.stabs: Renamed *wierd* to *weird*.
15409
15410Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
15411
15412 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
15413 for timeout. Add "known gcc 2.4.5 bug" to failure message.
15414
15415Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
15416
15417 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
15418 (do_tests): Remove xfail for whatis on one_var and two_var.
15419
15420Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
15421
15422 * Makefile.in: Made cross building work better by adding
15423 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
15424
15425Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15426
15427 * gdb.t15/{return.c,return.exp,Makefile.in}:
15428 New test, currently commented out.
15429
15430Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
15431
15432 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
15433 still running and removes the leftover named socket so GDb can do
15434 clean restarts.
15435
15436Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
15437
15438 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
15439 console, not GDB.
15440 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
15441 cross testing works better with "make check"
15442 * config/unix-gdb: Use default procedures for exit and version.
15443 * config/vx-gdb.exp: Cleaned up and massaged back to working order
15444 with the newest VxWorks.
15445
15446Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15447
15448 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
15449 old form.
15450
15451 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
15452 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
15453
15454 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
15455
15456 * config/unix-gdb.exp: Remove this version of gdb_exit
15457 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
15458 Rob says he'll look at it when he gets back to testing boards.
15459
15460Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
15461
15462 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
15463 an expected fail for certain ptype commands.
15464
15465 * gdb.t20/classes.exp: Update expected results of "ptype class
15466 Base1" to account for the constructor that now appears in the type.
15467
15468Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
15469
15470 * configure.in (configdirs): Restore gdb.t04, which mysteriously
15471 disappeared from list.
15472 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
15473 "alldone" proc with call to cleanup and exit.
15474 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
15475 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
15476 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
15477 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
15478 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
15479 "alldone" proc with simple returns that suppress remaining
15480 tests. The alldone proc went away many months ago.
15481
15482Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15483
15484 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
15485
15486 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
15487
15488Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15489
15490 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
15491 as vax gdb will display them.
15492
15493Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15494
15495 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
15496 optimizers.
15497
15498 * scope.exp: Change "bad value for localval" messages so each one
15499 is unique.
15500
15501 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
15502 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
15503
15504 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
15505
15506Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15507
15508 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
15509 doesn't exist (due to optimization).
15510
15511Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15512
15513 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
15514 contains \r because the filename is long.
15515
15516 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
15517 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
15518
15519Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15520
15521 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
15522 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
15523 Ultrix.
15524 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
15525 int tests.
15526 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
15527
15528Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
15529
15530 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
15531
15532 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 15533 to match does not match the passing case but still matches the
c906108c
SS
15534 failing case.
15535
15536Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15537
15538 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
15539
15540Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
15541
15542 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
15543 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
15544 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
15545 Remove various versions of gdb_exit.
15546 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
15547 gdb_exit.
15548 * config/unix-gdb.exp: gdb_exit remains here, and should override
15549 the generic version, since it's doing a lot of wierd stuff that
15550 the other versions aren't. FIXME, fold it in, or abandon this
15551 version.
15552
15553Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15554
15555 * gdb.t24/demangle.exp: Add tests for PR 3220.
15556
15557Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15558
15559 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
15560
15561Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
15562
15563 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
15564 "i386-*-*". Works for i486 as well.
15565
15566 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
15567 bug, and expand domain of xfail to all SVR4 systems, since the
15568 actual problem is likely to be in generic SVR4 /proc support.
15569
15570Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15571
15572 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
15573
15574Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
15575
15576 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
15577 xfails for other systems. Match a missing 'Continuing.' as an
15578 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
15579
15580 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
15581 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
15582 Only issue warning for missing executables if -all option is used.
15583
15584 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
15585 file if -all option is used. It's like an unpredictable XFAIL.
15586
15587Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15588
15589 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
15590 for dynamically linked binaries.
15591
15592 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
15593
15594Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15595
15596 * gdb.t20/inherit.exp: Change message for "print tagless struct"
15597 to state that this is a known bug in old versions of g++.
15598
15599Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15600
15601 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
15602 while waiting for `Continuing'.
15603
15604Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
15605
15606 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
15607 in text, data, and bss.
15608 * gdb.t10/nodebug.c: Add local and global test variables for
15609 initialized and uninitialized data.
15610
15611Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15612
15613 * config/unix-gdb.exp (gdb_exit): Add "wait".
15614
15615Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15616
15617 * gdb.t06/signals.exp: xfail the continue from the handler for all
15618 targets.
15619
15620 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
15621 function with watchpoints enabled, the i386 call dummy starts with
15622 a call.
15623
15624 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
15625 386 bsd names its corefiles.
15626
15627Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
15628
15629 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
15630 compilers don't grok it.
15631 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
15632 with small octal ints rather than character constants, which
15633 are signed and might not fit if first promoted to int.
15634
15635Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
15636
15637 * gdb.t09/Makefile.in (clean): Remove corefile.
15638
15639Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15640
15641 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
15642
15643Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15644 and Jim Kingdon (kingdon@cygnus.com)
15645
15646 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
15647 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
15648 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
15649
15650Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15651
15652 * gdb.t17/interrupt.exp: Add xfail for hppa.
15653
15654Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15655
15656 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
15657 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
15658 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
15659 to determine signed-ness of bitfields and use the result to setup
15660 the xfail.
15661 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
15662 * gdb.t15/funcargs.exp: Use them to step until the second indirect
15663 call line is reached if necessary.
15664
15665Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15666
15667 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
15668
15669Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15670
15671 * gdb.t06/break.exp: Also test `clear' command.
15672
15673Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
15674
15675 * gdb.t00/teststrategy.exp: Remove extra quote.
15676
15677 * gdb.t07/watchpoint.exp: Change xfail for calling function with
15678 watchpoint enabled to be for all non-68k machines.
15679
15680 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
15681
15682Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15683
15684 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
15685 targets use aout.mt instead of ecoff.mt as gas understands
15686 standard aout format.
15687
15688Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
15689
15690 * lib/gdb.exp (runto): Don't insist that function we are running to
15691 was compiled with -g.
15692
15693 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
15694
15695 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
15696 to get back into the read system call.
15697 Accept leading newline in case where we woke it up.
15698
15699Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15700
15701 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
15702 to make the stabs test work on ecoff systems using gcc and -with-stabs.
15703 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
15704 enable ecoff configuration.
15705
15706Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15707
15708 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
15709
15710Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15711
15712 * gdb.t16/printcmds.exp: Add another printf test.
15713
15714Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
15715
15716 * configure.in: If configured -with-stabs on any target, add
15717 stabsdirs to configdirs.
15718
15719Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15720
15721 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
15722 fun" so pattern does not match the command itself.
15723
15724Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15725
15726 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
15727
15728Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15729
15730 * gdb.t17/interrupt.exp: Test for more things.
15731
15732Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15733
15734 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
15735 compiler arranges the code and line numbers.
15736
15737 * gdb.t17/interrupt.exp: Don't send \n after ^C.
15738
15739Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15740
15741 * gdb.t00/help.exp: Increase expect input buffer size.
15742
15743Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15744
15745 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
15746
15747 * gdb.t07/watchpoint.exp: Add xfail for hppa.
15748
15749 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
15750
15751 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
15752 [0-9]*, not just [0-9].
15753
15754Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15755
15756 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
15757
15758 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
15759
15760Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15761
15762 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
15763
15764Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15765
15766 * gdb.t06/signals.c: Add xfails for sun3.
15767
15768 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
15769
15770 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
15771 test_stepping tests.
15772
15773Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15774
15775 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
15776
15777 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
15778
15779 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
15780 rather than actually putting it through cpp twice.
15781
15782 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
15783
15784Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
15785
15786 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
15787 no longer needed.
15788
15789Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15790
15791 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
15792
15793 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
15794 C++ features prints as "struct", make it a pass, not an xfail.
15795
15796Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15797
15798 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
15799 Don't require VA to print as "class" rather than "struct".
15800
15801Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
15802
15803 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
15804
15805Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15806
15807 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
15808
15809Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15810
15811 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
15812 order.
15813
15814Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15815
15816 * gdb.t16/printcmds.exp: Add printf tests.
15817
15818 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
15819
15820 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
15821
15822Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
15823
15824 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
15825 pass counts, to counteract any existing or future setup_xfails.
15826
15827Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15828
15829 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
15830 {BEGIN,END}_COMMON for common block instead of STAB.
15831 * gdb.stabs/wierd.exp: Add xfail for rs6000.
15832
15833 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
15834 intp_var should be N_GSYM not N_LSYM.
15835 wierd-aout.S: Use a label for the value of the N_SO.
15836 wierd.def: Remove all backslashes.
15837 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
15838
15839Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15840
15841 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
15842 get the expected next to inheritance3.
15843
15844Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15845
15846 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
15847 now that gcc-2.4 gets it right.
15848
15849Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15850
15851 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
15852
15853 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
15854 generating comp-info.exp which works for cross-compilation.
15855
15856Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
15857
15858 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
15859 "*-*-sysv4.*".
15860
15861Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
15862
15863 * gdb.t01/run.exp: Start with a fresh gdb.
15864 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
15865 SVR4.x.
15866
15867Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
15868
15869 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
15870 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
15871 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
15872 Makefile.in (distclean, realclean): Remove gdbme.c from list of
15873 things to remove.
15874
15875Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
15876
15877 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
15878 test cases from bug reports.
15879
15880Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
15881
15882 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
15883 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
15884 avoid spurious xfails.
15885 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
15886 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
15887 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
15888
15889Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
15890
15891 * gdb.t00/teststrategy.exp: Rework to provide more useful
15892 description of each test, fix problem with systems that define
15893 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
15894 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
15895 results for "next over recursive call" so timeouts aren't taken
15896 by error.
15897
15898Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
15899
15900 * gdb.t12/scope.exp: Test printing of variables before run.
15901
15902 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
15903 printed in wrong order due to sorting.
15904
15905Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
15906
15907 * gdb.t00/teststrategy.exp: Fix expected results for printing
15908 user entered string constant. Is array of char, prints with no
15909 address.
15910
15911 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
15912 commands.
15913 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
15914 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
15915 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
15916 of struct of char arrays.
15917 * gdb.t00/radix.exp: New tests for radix commands.
15918
15919Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
15920
15921 * gdb.t16/printcmd.exp: Print a variable before running program
15922 (with xfail for AIX).
15923
15924Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
15925
15926 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
15927
15928 * gdb.t16/printcmd.exp: Don't print variables before running program.
15929
15930 * gdb.t06/break.exp: Don't require envp argument to main.
15931
15932 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
15933
15934 * gdb.t02/whatis.exp, gdb.t11/list.exp:
15935 Add xfails for rs6000.
15936
15937 * gdb.t02/whatis.exp: Change other tests not to re-test something
15938 we already tested.
15939
15940 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
15941 each type used has a variable of that type.
15942
15943Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
15944
15945 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
15946
15947Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15948
15949 * configure.in: change srctrigger to be a file, not a directory
15950
15951Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
15952
15953 * configure.in (mips-idt-ecoff*): Added trailing '*'.
15954
15955 * gdb.t11/list.exp: Fixed a couple of typos.
15956
15957Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
15958
15959 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
15960 is fixed and PR is closed.
15961 * gdb.t16 (gdbme.c): Add simple test string variable.
15962 * gdb.t16 (printcmds.exp): Add tests with simple test string
15963 variable, primarily for boundaries on "set print elements".
15964
15965Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
15966
15967 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
15968 Make leading 0's optional and don't expect a tab in the middle
15969 of the number.
15970
15971 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
15972
15973 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
15974 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
15975 don't end command passed to gdb_test with newline.
15976
15977 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
15978 signed keyword away, don't expect signed bitfields to be signed.
15979
15980 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
15981 printing with only as many 1's as are in the field as well as printing
15982 with 32 1's (see comment).
15983
15984Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
15985
15986 * gdb.t00/default.exp: Start with a fresh gdb.
15987 * configure.in (configdirs): Remove gdb.t31 until the chill
15988 compiler works again. It no longer is able to find chillrt0
15989 since it isn't in libchill.a anymore.
15990 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
15991 wierd.o, make more modular.
15992 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
15993 spurious newlines that caused problems.
15994
15995Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
15996
15997 * Move test with enums and partial symbols from gdb.t03/ptype.exp
15998 to gdb.stabs/wierd.exp since GCC has worked around the bug.
15999 gdb.stabs/wierd.{exp,def}: Many new tests.
16000
16001 * gdb.t00/default.exp: update info line for new message.
16002
16003 * gdb.t02/{whatis.exp,gdbme.c}:
16004 Test that "char *" doesn't print as "caddr_t".
16005
16006Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
16007
16008 * gdb.t00/help.exp: Use .* in place of some help messages which
16009 just changed.
16010 gdb.t00/default.exp: Update "info frame" test for new message.
16011 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
16012 Remove some xfails
16013
16014Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
16015
16016 * gdb.t03/{gdbme.c,ptype.exp}:
16017 Add tests for typedef'd struct and union without tags.
16018 Also check "whatis" on a variable of a typedef'd enum without a tag.
16019
16020 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
16021 PRMS 1823; the bug still exists but isn't reproduced by this test
16022 anymore), and remove rs6000 XFAIL (the bug is fixed).
16023
16024 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
16025 duplicated from whatis.exp. For those that are left, accept
16026 "long", "long int", or "int" for long variables (whatis.exp already
16027 has an XFAIL for "int", so no need to fail it here).
16028
16029 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
16030 Deal with GCC's names for types now that GDB uses the compiler's names.
16031
16032 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
16033 setup_xfail's for sunos4. If we #defined the signed keyword away,
16034 don't expect GDB to know that char it is signed.
16035
16036 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
16037
16038Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
16039
16040 * configure.in (configdirs): Add gdb.t24 for C++ tests that
16041 should work on any system, regardless of debugging format.
16042 * gdb.t21/demangle.exp: Move to gdb.t24.
16043 * gdb.t24/demangle.exp: Move from gdb.t21.
16044 * gdb.t24/{Makefile.in, configure.in}: New files.
16045
16046Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
16047
16048 * configure.in: Do gdb.stabs and C++ tests only for stabs.
16049 * gdb.stabs: New directory.
16050
16051Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
16052
16053 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
16054 not just "Quit anyway?".
16055
16056Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
16057
16058 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
16059 that all setup_xfails are immediately followed by clear_xfails.
16060
16061Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
16062
16063 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
16064 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
16065 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
16066 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
16067 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
16068 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
16069 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
16070 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
16071 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
16072 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
16073 gdb.t31/chillvars.exp, lib/gdb.exp:
16074 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
16075 bug-gdb@prep.ai.mit.edu.
16076
16077Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
16078
16079 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
16080 with 0.0, not integer 0.
16081
16082Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
16083
16084 * gdb.t06/break.exp: Update for "Kill the program" message change.
16085
16086Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
16087
16088 * Makefile.in (GDBFLAGS): Set to -nx.
16089 * Makefile.in (site.exp): Use GDBFLAGS.
16090
16091Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
16092
16093 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
16094 Makefiles.
16095 (check): depend on just-check.
16096 (just-check): added so that tests can be run without a noop
16097 build pass.
16098
16099Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
16100
16101 Switch to using configure's configdirs.
16102 * Makefile.in (Makefile): add configure.in dependency.
16103 (SUBDIRS): removed redundant assignment.
16104 * configure.in: switch subdirs assignment to configdirs.
16105 * gdb.t*/configure.in: new files.
16106
16107Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
16108
16109 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
16110 works.
16111
16112Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
16113
16114 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
16115 in explicit rules. Apparently this is not supported by some makes.
16116
16117Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
16118
16119 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
16120
16121Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16122
16123 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
16124 disappeared.
16125
16126Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
16127
16128 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
16129
16130Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
16131
16132 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
16133 watchpoint problem that is now fixed.
16134 * gdb.t30/chexp.exp: Remove setup_xfail for printing
16135 uninitialized convenience variables.
16136 * gdb.t31/chillvars.exp: Fix expected patterns for printing
16137 structures.
16138
16139Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16140
16141 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
16142 which causes expect to get out of sync with gdb on long output
16143 from help set.
16144 * gdb.t09/corefile.exp: Make expected pattern for core file
16145 failing signal and frame output format less sun specific.
16146
16147Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
16148
16149 * gdb.t31/chillvars.exp: Add and remove initial dummy
16150 breakpoint, so that symbol table is forced in.
16151 (Needed at least on Sunos4, though it seems not SVR4.)
16152 * gdb.t31/chillvars.exp: Update for changed output format.
16153
16154Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
16155
16156 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
16157
16158Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
16159
16160 * Makefile.in: Added --srcdir when invoking runtest, removed the
16161 need for a local config file. (optional now)
16162
16163Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
16164
16165 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
16166 failure count used to force early termination. Add some more
16167 expected failures for gnu style demangling.
16168
16169Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16170
16171 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
16172 pmi variable from gdb.t20/gdbme to get optimized away.
16173 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
16174 Check for written corefile upon timeout _and_ eof.
16175
16176Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16177
16178 * config/unix-gdb.exp: Add missing return 0.
16179
16180Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16181
16182 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
16183 test termination.
16184
16185Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
16186
16187 * configure.in (subdirs): Put back gdb.t17 which mysteriously
16188 disappeared.
16189
16190Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
16191
16192 * gdb.t10/crossload.exp: Disable the i860-elf test until such
16193 time as i860 support works.
16194
d63a86f8 16195 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
16196 "backtrace 100\r" rather than just "backtrace\r", to match last
16197 change.
16198
16199Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
16200
16201 * config/udi-gdb.exp (gdb_exit): Remove close command.
16202 (gdb_target_udi): New procedure to set the UDI target.
16203 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
16204 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
16205 Added waits for prompts after several question responses. Added
16206 some more responses used by a29k-amd-udi-gdb.
16207 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
16208 pass different arguments, restart UDI connection after program
16209 completion.
16210 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
16211 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
16212 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
16213 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
16214 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
16215 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
16216 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
16217 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
16218 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
16219 after program completion.
16220 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
16221 compiled with a SELECT_VECS setting.
16222 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
16223 infinite recursion.
16224
16225 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
16226 Added checks for COFF results, and made them expected failures for
16227 all targets. It would be better to make them expected failures
16228 for COFF targets only.
16229
16230Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
16231
16232 * Makefile.in: add null dvi target, don't bother to recurse
16233 through test directories for info and install-info; rename
16234 $(datadir) to be dejagnu instead of deja-gnu
16235
16236Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
16237
16238 * gdb.t31/gdbme.ch: Re-enable code that previously caused
16239 compiler to coredump.
16240 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
16241 code.
16242
16243Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
16244
16245 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
16246 coredump.
16247 * gdb.t31/chillvars.exp: Comment out tests that depend on that
16248 code.
16249
16250Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
16251
16252 * gdb.t03/ptype.exp: tests for return code from gdb_test.
16253 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
16254 which in a shell. Deletes xgdb when done.
16255 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
16256 Tests the return from the "set height" or "set width" commands.
16257 Added a few return codes where needed.
16258
16259Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
16260
16261 * Makefile.in (SUBDIRS): Add gdb.t17.
16262 * configure.in (subdirs): Add gdb.t17.
16263 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
16264 files to test gdb's calling of functions in the inferior with
16265 the correct arguments and gdb's ability to retrieve any
16266 result returned.
16267
16268Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
16269
16270 * config/unix-gdb.exp (gdb_exit): Remove close commands that
16271 may be called after gdb goes away. Previous versions of expect
16272 needed these to avoid file descriptor leaks, but they cause
16273 errors with the current revision of expect.
16274 * gdb.t00/gdbvars.exp: Use -re on expected output after
16275 setting sevenbit-strings.
16276 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
16277 to set sevenbit-strings consistent across tests.
16278 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
16279 set sevenbit-strings consistent across tests.
16280
16281Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
16282
16283 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
16284 expected output to match current "expect" expectations.
16285
16286Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
16287
16288 * gdb.t00/default.exp: Change expected output for default "source"
16289 command, to match new gdb behavior which requires a filename to
16290 source.
16291
16292Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
16293
16294 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
16295 expected fail for i486-*-* that misses the marker2 function.
16296 * gdb.t10/crossload.exp (bfddefault): Allow successful
16297 recognition of a format to pass even if no symbols are found.
16298 Explicitly catch failures where the format is not recognized
16299 or is ambiguous, and add the reason to the fail message.
16300 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
16301 the cause is and invalid target and add reason to failure message.
16302 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
16303 elf32-i386, elf32-sparc, and elf32-i860.
16304 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
16305 Set up expected failure for 'filename'::variable scope resolution,
16306 which is now apparently broken on all targets.
16307 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
16308 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
16309 gdb.t23/templates.exp: Change failure for missing binfile into
16310 just a warning.
16311 gdb.t21/demangle.exp: Change all cfront references to 'arm'
16312 references.
16313
16314Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
16315
16316 * gdb.t00/default.exp: Add expected output for default "source"
16317 command, to match new gdb behavior.
16318 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
16319
16320Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
16321
16322 * config/*-gdb.exp: returns an error, rather than exiting on
16323 internal errors.
16324
16325Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
16326
16327 * gdb.t03/gdbme.c: Add pointer to struct variable.
16328 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
16329 referencing struct members.
16330
16331Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
16332
16333 * configure.in (mips-idt-ecoff): New target.
16334 * config/mips-gdb.exp: New file for remote board using MIPS remote
16335 debugging protocol.
16336
16337 * Redid configuration scheme. Removed gdb.t*/configure.in.
16338 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
16339 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
16340 distclean targets. Built executables via .o files. Adjusted
16341 tests to account for source files in $(srcdir) rather than
16342 $(objdir).
16343 * lib/gdb.exp (runto): Don't expect () after the function name,
16344 because it may have arguments.
16345
16346Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
16347
16348 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
16349 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
16350 expected failures for mips-idt-* and mips-sgi-*.
16351 * gdb.t00/default.exp (attach): Kill process if requested.
16352 * gdb.t00/help.exp (help target core, help target): Accept a gdb
16353 that does not read core files.
16354 * gdb.t01/run.exp: Removed checks for exit status code.
16355 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
16356 it is linked in.
16357 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
16358 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
16359 appropriate, rather than doing it by hand.
16360 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
16361 execution.
16362 * gdb.t10/crossload.exp: Kill existing program if needed.
16363 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
16364 appropriate, rather than doing it by hand. Always increase
16365 timeout for this test, not just for VxWorks.
16366
16367Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
16368
16369 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
16370 of Chill STRUCT types and STRUCT values.
16371 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
16372 than "char".
16373 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 16374 struct2): New struct definitions and initializations to test
c906108c
SS
16375 simple Chill STRUCT types.
16376
16377Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
16378
16379 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
16380 the null byte at the end of strings.
16381 * gdb.t00/default.exp: Make show version insensitive to copyright
16382 date.
16383 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
16384 to avoid dependencies on target char signedness.
16385 * gdb.t16/printcmds.exp: Update expected results for explicitly
16386 unsigned char.
16387 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
16388 now work.
16389 * gdb.t21/demangle.exp: Add many more patterns for template
16390 demangling, most of them being expected failures.
16391 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
16392 string we are matching for, to match on the whole string.
16393 * gdb.t21/demangle.exp: Add many new test strings to demangle,
16394 and fix a whole bunch that had incorrect expected output but were
16395 passing anyway because of the bug in "proc demangle".
16396 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
16397 type.
16398 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
16399
16400Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
16401
16402 * gdb/testsuite: made modifications to testcases, etc., to allow
16403 them to work properly given the reorganization of deja-gnu and the
16404 relocation of the testcases from deja-gnu to a "tool" subdirectory.
16405
16406Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
16407
16408 * gdb/testsuite: Initial creation of gdb/testsuite.
16409 Migrated dejagnu testcases and support files for testing nm to
16410 gdb/testsuite from deja-gnu. These files were moved "as is"
16411 with no modifications. This migration is part of a major overhaul
16412 of dejagnu. The modifications to these testcases, etc., which
16413 will allow them to work with the new version of dejagnu will be
16414 made in a future update.
48efe704 16415
8d8cb839 16416 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 16417\f
8d8cb839
EZ
16418;; Local Variables:
16419;; mode: change-log
16420;; left-margin: 8
16421;; fill-column: 74
16422;; version-control: never
16423;; End:
902f2ccb
MC
16424
16425 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 16426 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
16427 Copying and distribution of this file, with or without modification,
16428 are permitted provided the copyright notice and this notice are preserved.