* gdb.cp/templates.exp (test_template_args): Allow "struct".
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4
52010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6
7 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8 (FunctionArg::method): New function.
9 (empty, arg): New variables.
10 (main): Call arg.method.
11 * gdb.cp/templates.exp (test_template_args): New function.
12 (do_tests): Call it.
13
142010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
15
16 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
17 of "next" to proceed over pthread_exit call.
18
192010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
20
21 * gdb.base/maint.exp: Avoid wildcards against potentially very long
22 "maint print statistics" output to prevent expect timeouts.
23
242010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
25
26 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
27 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
28 (test_float_rejected): ... here.
29 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
30 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
31 (test_float_rejected): ... here.
32 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
33 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
34 (test_float_rejected): ... here.
35 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
36 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
37 (test_float_rejected): ... here.
38
392010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
40
41 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
42 before disabling hardware watchpoints.
43 (test_inaccessible_watchpoint): Check that hardware watchpoints
44 are used. Test for watchpoints on a constant address.
45
462010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
47
48 * gdb.base/ui-redirect.exp: New file.
49
502010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
51 Joel Brobecker <brobecker@adacore.com>
52
53 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
54
552010-08-31 Doug Evans <dje@google.com>
56
57 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
58
592010-08-30 Tom Tromey <tromey@redhat.com>
60
61 PR python/11792:
62 * gdb.python/py-value.exp (test_subscript_regression): Add
63 dynamic_type test.
64
652010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
66
67 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
68 instead of running to main. Do not test the main function.
69 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
70 Add new main.
71
722010-08-26 Pedro Alves <pedro@codesourcery.com>
73
74 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
75 one test.
76
772010-08-24 Doug Evans <dje@google.com>
78
79 PR symtab/11942
80 * gdb.dwarf2/dw4-sig-types.cc: New file.
81 * gdb.dwarf2/dw4-sig-types.h: New file.
82 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
83 * gdb.dwarf2/dw4-sig-types.exp: New file.
84
852010-08-23 Tom Tromey <tromey@redhat.com>
86
87 PR python/11145:
88 * gdb.python/py-value.c (Base, Derived): New types.
89 (base): New global.
90 * gdb.python/py-value.exp (test_subscript_regression): Add
91 dynamic_cast test.
92
932010-08-23 Tom Tromey <tromey@redhat.com>
94
95 PR python/10676:
96 * gdb.python/py-type.exp (test_fields): Add tests for type
97 equality.
98
992010-08-23 Tom Tromey <tromey@redhat.com>
100
101 PR python/11915:
102 * gdb.python/py-type.exp (test_fields): Add tests for array.
103
1042010-08-23 Keith Seitz <keiths@redhat.com>
105
106 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
107 have any children. Create a new abbrev for it.
108 Add missing terminal sequence to .debug_abbrev.
109
1102010-08-20 Keith Seitz <keiths@redhat.com>
111
112 PR symtab/11465:
113 * gdb.dwarf2/pr11465.exp: New test.
114 * gdb.dwarf2/pr11465.S: New file.
115 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
116 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
117
1182010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
119
120 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
121 registers. Update data sets with the new v2_double element in the
122 VSX register union. Add vector_register3_vr data set for the AltiVec
123 registers. Use gdb_test_no_output instead of send_gdb.
124
1252010-08-19 Pedro Alves <pedro@codesourcery.com>
126
127 * gdb.python/py-shared.exp: New file, factored out from
128 python.exp.
129 * gdb.python/py-shared.c: New file.
130 * gdb.python/py-shared-sl.c: New file.
131 * gdb.python/python-1.c: New file.
132 * gdb.python/python-sl.c: Delete.
133 * gdb.python/python.c: Mention python-1.c.
134 * gdb.python/python.exp: Move shared library tests to
135 py-shared.exp.
136 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
137 (MISCELLANEOUS): New.
138 (clean mostlyclean): Also remove $MISCELLANEOUS.
139
1402010-08-19 Doug Evans <dje@google.com>
141
142 PR exp/11926
143 * gdb.base/printcmds.exp (test_float_accepted): New function.
144 Move existing float tests there. Add tests for floats with suffixes.
145 (test_float_rejected): New function.
146 * gdb.java/jv-print.exp (test_float_accepted): New function.
147 (test_float_rejected): New function.
148 * gdb.objc/print.exp: New file.
149 * gdb.pascal/print.exp: New file.
150 * lib/objc.exp: New file.
151
1522010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
153
154 * gdb.base/default.exp (info set): Avoid full buffer error and force
155 reading up to final gdb prompt.
156 (show): Likewise.
157
1582010-08-18 Tom Tromey <tromey@redhat.com>
159
160 PR symtab/11919:
161 * gdb.base/completion.exp: Add test.
162
1632010-08-18 Doug Evans <dje@google.com>
164
165 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
166 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
167 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
168 Simplify, early exit if runto_main fails.
169 * gdb.fortran/exprs.exp: load_lib fortran.exp.
170 (set_lang_fortran): Moved to lib/fortran.exp.
171 * gdb.fortran/types.exp: load_lib fortran.exp.
172 (set_lang_fortran): Moved to lib/fortran.exp.
173 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
174 * gdb.java/jprint.exp (set_lang_java): Ditto.
175 * gdb.java/jv-exp.exp: load_lib java.exp.
176 If set_lang_java fails, issue a warning instead of failure to be
177 consistent with other set_lang_foo uses.
178 (set_lang_java): Moved to lib/java.exp.
179 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
180 If set_lang_java fails, issue a warning instead of failure to be
181 consistent with other set_lang_foo uses.
182 * gdb.pascal/types.exp: load_lib pascal.exp.
183 (set_lang_pascal): Moved to lib/pascal.exp.
184 * lib/fortran.exp: New file.
185 * lib/java.exp (set_lang_java): New function.
186 * lib/pascal.exp (set_lang_pascal): New function.
187
1882010-08-18 Yao Qi <yao@codesourcery.com
189
190 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
191 func_nofb_start and func_loopfb_start, so that address of functions
192 is equal to these labels on Thumb.
193
1942010-08-18 Yao Qi <yao@codesourcery.com>
195
196 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
197 to reflect latest c source file.
198
1992010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
200
201 * gdb.cp/infcall-dlopen.exp: New file.
202 * gdb.cp/infcall-dlopen.cc: New file.
203 * gdb.cp/infcall-dlopen-lib.cc: New file.
204
2052010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
206 Pedro Alves <pedro@codesourcery.com>
207
208 PR breakpoints/11371
209
210 * gdb.base/watch-cond-infcall.exp: New file.
211 * gdb.base/watch-cond-infcall.c: New file.
212
2132010-08-16 Tom Tromey <tromey@redhat.com>
214
215 * gdb.base/help.exp: Update.
216 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
217 watchpoint.
218 (test_watch_location): New proc.
219 (test_watchpoint_in_big_blob): Delete watchpoint.
220 * gdb.base/watchpoint.c (func5): New function.
221 (main): Call it.
222
2232010-08-16 Doug Evans <dje@google.com>
224
225 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
226
2272010-08-11 Phil Muldoon <pmuldoon@redhat.com>
228
229 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
230 tests.
231
2322010-08-11 Ken Werner <ken.werner@de.ibm.com>
233
234 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
235 * gdb.base/gnu_vector.c: New File.
236 * gdb.base/gnu_vector.exp: Likewise.
237
2382010-08-11 Phil Muldoon <pmuldoon@redhat.com>
239
240 * gdb.python/python.c: New File.
241 * gdb.python/python-sl.c: New File.
242 * gdb.python/python.exp: Test solib_address and decode_line
243 * functions.
244
2452010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
246
247 * gdb.python/python.exp (show height, set height 10)
248 (verify pagination beforehand, verify pagination beforehand: q)
249 (gdb.execute does not page, verify pagination afterwards)
250 (verify pagination afterwards: q): New.
251
2522010-08-02 Doug Evans <dje@google.com>
253
254 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
255 because of an older gcc, change test2
256 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
257 to unsupported.
258
2592010-07-30 Kazu Hirata <kazu@codesourcery.com>
260
261 * gdb.base/break-always.exp: Do not expect full paths to file
262 names.
263 * gdb.base/commands.exp: Likewise.
264
2652010-07-30 Doug Evans <dje@google.com>
266
267 * gdb.cp/temargs.exp: For new tests that require newer gccs,
268 xfail them when run with older gccs.
269
270 * lib/gdb.exp (build_executable): Forward "c++" option to
271 get_compiler_info.
272
273 * gdb.python/py-type.exp (test_template): Mark as xfail tests
274 "python print ttype.template_argument(1)" and
275 "python print isinstance(ttype.template_argument(1), gdb.Value)"
276 if using gcc 4.4 or earlier.
277
278 * gdb.base/valgrind-db-attach.exp: Use unique test name for
279 attach-to-debugger handling.
280
2812010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
282
283 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
284 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
285 (main): Use copyreloc.
286 * gdb.base/prelink.exp (split debug of executable)
287 (.dynbss vs. .bss address shift): New tests.
288
2892010-07-29 Pedro Alves <pedro@codesourcery.com>
290
291 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
292 in gdb_test_multiple.
293
2942010-07-29 Pedro Alves <pedro@codesourcery.com>
295
296 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
297 environment.
298
2992010-07-28 Tom Tromey <tromey@redhat.com>
300
301 PR python/11060:
302 * gdb.python/py-type.c (Temargs): New template.
303 (temvar): New variable.
304 * gdb.python/py-type.exp (test_template): New proc.
305
3062010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
307
308 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
309 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
310
3112010-07-28 Tom Tromey <tromey@redhat.com>
312
313 PR c++/9946:
314 * gdb.cp/temargs.exp: New file.
315 * gdb.cp/temargs.cc: New file.
316
3172010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
318
319 * gdb.base/help.exp (help disassemble): Update the content.
320
3212010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 * gdb.threads/ia64-sigill.exp: New file.
324 * gdb.threads/ia64-sigill.c: New file.
325
3262010-07-27 Tom Tromey <tromey@redhat.com>
327
328 * gdb.opt/inline-cmds.c (ATTR): New define.
329 (func1): Use it.
330 (func2): Likewise.
331 (func3): Likewise.
332 (outer_inline1): Likewise.
333 (outer_inline2): Likewise.
334 * gdb.opt/inline-bt.c (ATTR): New define.
335 (func1): Use it.
336 (func2): Likewise.
337 * gdb.opt/inline-locals.c (ATTR): New define.
338 (func1): Use it.
339 (func2): Likewise.
340
3412010-07-27 Tom Tromey <tromey@redhat.com>
342
343 * gdb.stabs/gdb11479.c (hack): New function.
344 (test): Use it.
345 (test2): Use it.
346 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
347 (int32_search_buf, int64_search_buf): No longer static.
348 (x): Remove.
349 * gdb.base/relocate.c (hack): New function.
350
3512010-07-27 Phil Muldoon <pmuldoon@redhat.com>
352
353 * gdb.python/py-value.exp (test_inferior_function_call): New function.
354 * gdb.python/py-value.c (func1): New function.
355 (func2): Likewise.
356
3572010-07-26 Corinna Vinschen <vinschen@redhat.com>
358
359 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
360 as not to clash with .data section.
361
3622010-07-26 Jerome Guitton <guitton@adacore.com>
363
364 * gdb.base/code_elim.exp: New file.
365 * gdb.base/code_elim1.c: New file.
366 * gdb.base/code_elim2.c: New file.
367
3682010-07-21 Pedro Alves <pedro@codesourcery.com>
369
370 PR symtab/11827
371
372 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
373 (some_volatile_enum): New variable.
374 * gdb.base/printcmds.exp (test_print_enums): New.
375 <top level>: Call it.
376
3772010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
378
379 * gdb.cp/fpointer.cc: New test.
380 * gdb.cp/fpointer.exp: New test.
381
3822010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
383
384 * gdb.base/solib-nodir.exp: New file.
385 * lib/gdb.exp (runto): New case for a GDB internal error.
386
3872010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
388 Ulrich Weigand <uweigand@de.ibm.com>
389 Tom Tromey <tromey@redhat.com>
390
391 * gdb.base/charset-malloc.c: New file.
392 * gdb.base/charset.c (malloc_stub): New prototype.
393 (main): Call it instead of malloc itself.
394 * gdb.base/charset.exp: Use only prepare_for_testing.
395 (binfile): Remove the variable.
396
3972010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
398
399 Make core files the process_stratum.
400 * gdb.base/corefile.exp (run: load core again)
401 (run: sanity check we see the core file, run: with core)
402 (run: core file is cleared, attach: load core again)
403 (attach: sanity check we see the core file, attach: with core)
404 (attach: core file is cleared): New tests.
405 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
406
4072010-07-14 Ken Werner <ken.werner@de.ibm.com>
408
409 * gdb.arch/altivec-abi.exp: New tests.
410
4112010-07-13 Tom Tromey <tromey@redhat.com>
412
413 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
414 (main): Use it.
415 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
416
4172010-07-13 Tom Tromey <tromey@redhat.com>
418
419 * gdb.base/label.exp: New file.
420 * gdb.base/label.c: New file.
421
4222010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
423 H.J. Lu <hongjiu.lu@intel.com>
424
425 * lib/gdb.exp (is_ilp32_target): New.
426 (is_lp64_target): Likewise.
427
428 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
429 target.
430 * gdb.arch/amd64-disp-step.exp: Likewise.
431 * gdb.arch/amd64-dword.exp: Likewise.
432 * gdb.arch/amd64-i386-address.exp: Likewise.
433 * gdb.arch/amd64-word.exp: Likewise.
434
435 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
436 target.
437 * gdb.arch/i386-bp_permanent.exp: Likewise.
438 * gdb.arch/i386-byte.exp: Likewise.
439 * gdb.arch/i386-disp-step.exp: Likewise.
440 * gdb.arch/i386-gnu-cfi.exp: Likewise.
441 * gdb.arch/i386-prologue.exp: Likewise.
442 * gdb.arch/i386-size-overlap.exp: Likewise.
443 * gdb.arch/i386-size.exp: Likewise.
444 * gdb.arch/i386-sse.exp: Likewise.
445 * gdb.arch/i386-unwind.exp: Likewise.
446 * gdb.arch/i386-word.exp: Likewise.
447
448 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
449 test only when building 64-bit executables. Do not hard-code
450 -m64 option.
451
4522010-07-07 Doug Evans <dje@google.com>
453
454 * lib/gdb.exp (gdb_test_list_exact): New function.
455 * gdb.base/default.exp (show convenience): Call it, add tests for
456 $_sdata = void, $_thread = 0.
457
4582010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
459 Joel Brobecker <brobecker@adacore.com>
460
461 Fix re-run of PIE executable, PR shlibs/11776.
462 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
463 Remove $displacement_main to match the solib-svr4.c change. New "kill"
464 and re-"run" of the inferior.
465
4662010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
467 Joel Brobecker <brobecker@adacore.com>
468
469 Cope with missing /usr/sbin/prelink.
470 * lib/prelink-support.exp (prelink_no):
471 <result == 1 && $output is "no such file or directory">: New.
472 (prelink_yes): Likewise. Return on failed prelink_no.
473
4742010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
475 Joel Brobecker <brobecker@adacore.com>
476
477 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
478 build_executable by build_executable_own_libs. Replace "prelink -R"
479 execution by a call of prelink_yes. Comment why "prelink -r" needs no
480 change.
481 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
482 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
483 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
484 Replace build_executable by build_executable_own_libs's function
485 build_executable_own_libs.
486 (prelinkNO): Create new stub to call prelink_no.
487 (prelinkYES): Create new stub to call prelink_yes.
488 (test_attach): Rename calls of copy to file_copy.
489 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
490 (copy): Move to ...
491 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
492 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
493 * gdb.base/prelink.exp: Disable testcase also for is_remote and
494 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
495 special flags by gdb_compile_shlib. Replace second gdb_compile by
496 build_executable_own_libs. Replace "prelink -R" execution by a call of
497 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
498 a second call of prelink_yes. Replace restart commands by
499 clean_restart.
500 (prelink): Rename to ...
501 (seen displacement message): ... this test. Extend its expectation
502 strictness.
503
5042010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
505
506 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
507 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
508 displacement message exactly once.
509
5102010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
511 Joel Brobecker <brobecker@adacore.com>
512
513 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
514 its restore after the <$relink_args != ""> loop. new comment.
515
5162010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
517 Joel Brobecker <brobecker@adacore.com>
518
519 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
520 code for it. New variable relink_args.
521 (prelinkYES): Call prelinkNO.
522 (test_attach): Accept new parameter relink_args. Re-prelink the binary
523 in such case. Move the core code to ...
524 (test_attach_gdb): ... a new function. Send GDB command "file".
525 Extend expected "Attaching to " string.
526
5272010-07-02 Tom Tromey <tromey@redhat.com>
528
529 * gdb.base/bitops.exp: Remove extraneous "pass".
530
5312010-07-02 Ken Werner <ken.werner@de.ibm.com>
532
533 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
534
5352010-07-01 Pedro Alves <pedro@codesourcery.com>
536
537 * gdb.base/help.exp: Adjust expected output.
538
5392010-07-01 Pedro Alves <pedro@codesourcery.com>
540
541 * gdb.base/help.exp: Adjust expected output.
542
5432010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
544
545 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
546 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
547 c++/11702.
548
5492010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
550 Doug Evans <dje@google.com>
551
552 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
553 add .dynamic entry'.
554
5552010-06-29 Doug Evans <dje@google.com>
556
557 Test PR c++/11702.
558 * gdb.cp/m-static.exp: Add testcase.
559 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
560
5612010-06-28 Phil Muldoon <pmuldoon@redhat.com>
562 Tom Tromey <tromey@redhat.com>
563 Thiago Jung Bauermann <bauerman@br.ibm.com>
564
565 * gdb.python/py-inferior.c: New File.
566 * gdb.python/py-infthread.c: New File.
567 * gdb.python/py-inferior.exp: New File.
568 * gdb.python/py-infthread.exp: New File.
569
5702010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
571
572 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
573 (ptype ::C::OtherFileClass typedefs): New.
574 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
575 (C::OtherFileClass::cOtherFileClassVar2): New.
576 (C::OtherFileClass::cOtherFileClassVar_use): Use also
577 cOtherFileClassVar2.
578 (C::cOtherFileType2, C::cOtherFileVar2): New.
579 (C::cOtherFileVar_use): use also cOtherFileVar2.
580 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
581
5822010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
583
584 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
585 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
586 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
587 (print ::C::cOtherFileVar)
588 (whatis C::OtherFileClass::cOtherFileClassType)
589 (whatis ::C::OtherFileClass::cOtherFileClassType)
590 (print C::OtherFileClass::cOtherFileClassVar)
591 (print ::cOtherFileClassVar)
592 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
593 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
594 trailing content.
595 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
596 (C::OtherFileClass::cOtherFileClassVar)
597 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
598 (C::cOtherFileVar, C::cOtherFileVar_use): New.
599
6002010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
601
602 Test PR c++/11703 and PR gdb/1448.
603 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
604 gdb/1448.
605
6062010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
607
608 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
609 (main) <rtti_data>: New.
610 * gdb.cp/virtbase.exp (print rtti_data): New.
611
6122010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
613 Joel Brobecker <brobecker@adacore.com>
614
615 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
616
6172010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
618
619 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
620
6212010-06-28 Doug Evans <dje@google.com>
622
623 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
624
6252010-06-27 Doug Evans <dje@google.com>
626
627 * gdb.cp/m-static.exp: Update expected test output.
628
6292010-06-25 Paul Hilfinger <hilfinger@adacore.com>
630
631 * gdb.gdb/selftest.exp: Adjust expected message for
632 capturing start-up runtime.
633
6342010-06-25 Tom Tromey <tromey@redhat.com>
635
636 PR python/10808:
637 * gdb.python/python.exp: Add new tests.
638
6392010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
640
641 * gdb.cp/operator.cc: Created an import loop.
642 * gdb.cp/operator.exp: Added testcase for import loop.
643
6442010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
645
646 Test PR python/11407.
647 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
648 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
649 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
650 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
651 executable_nofb and executable_fb. New variables srcsfile, objsfile,
652 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
653 binfile. Call gdb_compile with clean_restart twice.
654 (func_nofb print, func_nofb backtrace, func_loopfb print)
655 (func_loopfb backtrace): New.
656
6572010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
658
659 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
660 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
661 by a hand made one.
662 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
663 i?86 requirement. Remove variables srcfile and binfile. New variable
664 sources, executable_nofb and executable_fb. Call prepare_for_testing.
665
6662010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
667
668 * gdb.cell/dwarfaddr.exp: New file.
669 * gdb.cell/dwarfaddr.S: New file.
670
6712010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
672
673 Test PR 9436.
674 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
675
6762010-06-24 Hui Zhu <teawater@gmail.com>
677
678 * gdb.base/eval.exp: New file.
679
6802010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
681
682 * gdb.cell/fork.exp: New file.
683 * gdb.cell/fork.c: Likewise.
684 * gdb.cell/fork-spu.c: Likewise.
685
6862010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
687
688 * lib/gdb.exp (banned_variables_traced): New global variable.
689 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
690 (gdb_init): Use `trace add variable' instead of obsolete
691 `trace variable'.
692
6932010-06-21 Doug Evans <dje@google.com>
694
695 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
696
6972010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
698
699 * gdb.arch/spu-ls.exp: New file.
700 * gdb.arch/spu-ls.c: Likewise.
701
7022010-06-18 Stan Shebs <stan@codesourcery.com>
703
704 * gdb.threads/thread-specific.exp: Add tests of $_thread.
705
7062010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
707
708 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
709 * gdb.base/watch-cond.exp: Likewise.
710 * gdb.python/py-breakpoint.exp: Likewise.
711
7122010-06-18 Pedro Alves <pedro@codesourcery.com>
713
714 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
715 clean_restart, make sure every test has a distinct message, and
716 that messages don't include the executable' full path.
717
7182010-06-17 Doug Evans <dje@google.com>
719
720 * gdb.arch/i386-size.exp: Updated expected output for
721 DISASSEMBLY_OMIT_FNAME.
722
7232010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
724 Sergio Durigan Junior <sergiodj@redhat.com>
725
726 * gdb.base/watch-notconst.c: New file.
727 * gdb.base/watch-notconst.S: New file.
728 * gdb.base/watch-notconst2.c: New file.
729 * gdb.base/watch-notconst2.S: New file.
730 * gdb.base/watch-notconst.exp: New file.
731 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
732 (func4): Add operations on `global_ptr_ptr'.
733 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
734 routine to test watchpoints created with a constant expression.
735 (test_inaccessible_watchpoint): Include tests for watchpoints
736 created with a constant expression.
737
7382010-06-14 Kevin Buettner <kevinb@redhat.com>
739
740 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
741 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
742 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
743 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
744 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
745 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
746 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
747 of `_start'.
748
7492010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
750
751 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
752 not supported on the target.
753 * gdb.mi/mi-nonstop-exit.exp: Likewise.
754 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
755 * gdb.mi/mi-nsintrall.exp: Likewise.
756 * gdb.mi/mi-nsmoribund.exp: Likewise.
757 * gdb.mi/mi-nsthrexec.exp: Likewise.
758
7592010-06-11 Stan Shebs <stan@codesourcery.com>
760
761 * gdb.base/permissions.exp: New file.
762
7632010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
764
765 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
766 does not support ELF executable class.
767
7682010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
769
770 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
771
7722010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
773
774 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
775 (runto): Catch "The target does not support running in non-stop mode.".
776
7772010-06-11 Michael Snyder <msnyder@vmware.com>
778
779 * gdb.base/setshow.exp (set language asm): Don't use
780 gdb_test_no_output, fails on some targets.
781
7822010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
783
784 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
785 * gdb.cp/pr9167.exp: Likewise.
786
7872010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
788
789 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
790
7912010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
792
793 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
794
7952010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
796
797 * gdb.base/charset.c (main): Make sure malloc gets linked in.
798
7992010-06-11 Tom Tromey <tromey@redhat.com>
800
801 PR gdb/9977, PR exp/11636::
802 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
803 (pieces_test_f6): Update expected output.
804
8052010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
806
807 * gdb.base/moribund-step.exp: New.
808
8092010-06-08 Michael Snyder <msnyder@vmware.com>
810
811 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
812 * gdb.ada/boolean_expr.exp:
813 * gdb.ada/frame_args.exp: Ditto.
814 * gdb.ada/lang_switch.exp: Ditto.
815 * gdb.ada/ptype_arith_binop.exp: Ditto.
816 * gdb.ada/ref_param.exp: Ditto.
817 * gdb.ada/type_coercion.exp:Ditto.
818
819 * gdb.asm/asm-source.exp: Ditto.
820
821 * gdb.base/attach.exp: Ditto.
822 * gdb.base/bitfields2.exp: Ditto.
823 * gdb.base/call-signal-resume.exp: Ditto.
824 * gdb.base/callfuncs.exp: Ditto.
825 * gdb.base/commands.exp: Ditto.
826 * gdb.base/dbx.exp: Ditto.
827 * gdb.base/default.exp: Ditto.
828 * gdb.base/dump.exp: Ditto.
829 * gdb.base/exprs.exp: Ditto.
830 * gdb.base/freebpcmd.exp: Ditto.
831 * gdb.base/interrupt.exp: Ditto.
832 * gdb.base/list.exp: Ditto.
833 * gdb.base/long_long.exp: Ditto.
834 * gdb.base/maint.exp: Ditto.
835 * gdb.base/ptype.exp: Ditto.
836 * gdb.base/return.exp: Ditto.
837 * gdb.base/setshow.exp: Ditto.
838 * gdb.base/sigbpt.exp: Ditto.
839 * gdb.base/sigrepeat.exp: Ditto.
840
841 * gdb.cp/classes.exp: Ditto.
842
843 * gdb.dwarf2/dw2-restore.exp: Ditto.
844
845 * gdb.gdb/selftest.exp: Ditto.
846
847 * gdb.multi/base.exp: Ditto.
848 * gdb.multi/bkpt-multi-exec.exp: Ditto.
849
850 * gdb.python/py-block.exp: Ditto.
851 * gdb.python/py-prettyprint.exp: Ditto.
852 * gdb.python/py-template.exp: Ditto.
853
854 * gdb.server/ext-attach.exp: Ditto.
855 * gdb.server/ext-run.exp: Ditto.
856 * gdb.server/server-mon.exp: Ditto.
857
858 * gdb.threads/fork-thread-pending.exp: Ditto.
859 * gdb.threads/hand-call-in-threads.exp: Ditto.
860 * gdb.threads/interrupted-hand-call.exp: Ditto.
861 * gdb.threads/linux-dp.exp: Ditto.
862 * gdb.threads/manythreads.exp: Ditto.
863 * gdb.threads/print-threads.exp: Ditto.
864 * gdb.threads/pthreads.exp: Ditto.
865 * gdb.threads/schedlock.exp: Ditto.
866 * gdb.threads/thread-unwindonsignal.exp: Ditto.
867 * gdb.threads/threadapply.exp: Ditto.
868
8692010-06-08 Michael Snyder <msnyder@vmware.com>
870
871 * gdb.ada/exec_changed.exp:
872 Use ".*" instead of "" as wildcard regexp.
873
874 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
875 * gdb.base/call-ar-st.exp: Ditto.
876 * gdb.base/checkpoint.exp: Ditto.
877 * gdb.base/default.exp: Ditto.
878 * gdb.base/dump.exp: Ditto.
879 * gdb.base/ending-run.exp: Ditto.
880 * gdb.base/fileio.exp: Ditto.
881 * gdb.base/miscexprs.exp: Ditto.
882 * gdb.base/pointers.exp: Ditto.
883 * gdb.base/readline.exp: Ditto.
884 * gdb.base/reread.exp: Ditto.
885 * gdb.base/restore.exp: Ditto.
886 * gdb.base/shlib-call.exp: Ditto.
887 * gdb.base/valgrind-db-attach.exp: Ditto.
888 * gdb.base/volatile.exp: Ditto.
889 * gdb.base/watchpoints.exp: Ditto.
890
891 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
892
893 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
894 * gdb.python/py-value.exp: Ditto.
895
896 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
897 * gdb.trace/circ.exp: Ditto.
898 * gdb.trace/collection.exp: Ditto.
899 * gdb.trace/packetlen.exp: Ditto.
900 * gdb.trace/passc-dyn.exp: Ditto.
901 * gdb.trace/report.exp: Ditto.
902 * gdb.trace/tfile.exp: Ditto.
903 * gdb.trace/tfind.exp: Ditto.
904 * gdb.trace/while-dyn.exp: Ditto.
905
9062010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
907
908 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
909
9102010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
911
912 Test PR 10640.
913 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
914
9152010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
916
917 * gdb.cp/koenig.exp: Test for ADL operators.
918 * gdb.cp/koenig.cc: Added ADL operators.
919 * gdb.cp/operator.exp: New test.
920 * gdb.cp/operator.cc: New test.
921
9222010-06-04 Michael Snyder <msnyder@vmware.com>
923
924 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
925 * gdb.base/pending.exp: Ditto.
926
927 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
928
9292010-06-04 Doug Evans <dje@google.com>
930
931 * gdb.python/py-prettyprint.exp: Add new test for enabled and
932 disabled printers.
933 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
934 (enable_lookup_function): New function.
935
9362010-06-04 Tom Tromey <tromey@redhat.com>
937
938 * gdb.python/py-value.exp (test_value_hash): Don't test equality
939 of hash and id.
940
9412010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
942
943 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
944 newline.
945 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
946 (empty verbose non-noisy clear, empty verbose noisy clear)
947 (empty non-verbose noisy clear): Likewise.
948
9492010-06-03 Michael Snyder <msnyder@vmware.com>
950
951 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
952 * gdb.base/display.exp: Ditto.
953 * gdb.base/find.exp: Ditto.
954 * gdb.base/ifelse.exp: Ditto.
955 * gdb.base/multi-forks.exp: Ditto.
956 * gdb.base/recurse.exp: Ditto.
957 * gdb.base/setshow.exp: Ditto.
958 * gdb.base/value-double-free.exp: Ditto.
959 * gdb.base/watch-vfork.exp: Ditto.
960 * gdb.base/watch_thread_num.exp: Ditto.
961 * gdb.base/watchpoint-solib.exp: Ditto.
962 * gdb.base/watchpoint.exp: Ditto.
963 * gdb.base/watchpoints.exp: Ditto.
964
965 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
966 * gdb.cp/overload.exp: Ditto.
967 * gdb.cp/virtfunc.exp: Ditto.
968
969 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
970
971 * gdb.reverse/watch-precsave.exp:
972 Replace gdb_test with gdb_test_no_output.
973
974 * gdb.threads/attach-into-signal.exp:
975 Replace gdb_test with gdb_test_no_output.
976 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
977 * gdb.threads/watchthreads.exp: Ditto.
978 * gdb.threads/watchthreads2.exp: Ditto.
979
980 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
981 * gdb.trace/tfind.exp: Ditto.
982
9832010-06-03 Joel Brobecker <brobecker@adacore.com>
984
985 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
986 successful test if message is the empty string.
987
9882010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
989
990 * gdb.fortran/module.exp (stopped language detection): New test.
991
9922010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
993
994 Support DW_TAG_module as separate namespaces.
995 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
996 gdb.fortran/library-module-lib.f90: New.
997 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
998 (print i): Remove.
999 (continue to breakpoint: i-is-1, print var_i value 1)
1000 (continue to breakpoint: i-is-2, print var_i value 2)
1001 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
1002 (print var_d, print var_i value 14, ptype modmany, complete `modm)
1003 (complete `modmany, complete `modmany`, complete `modmany`var)
1004 (show language, setting breakpoint at module): New tests.
1005 * gdb.fortran/module.f90 (module mod): Remove.
1006 (module mod1, module mod2, module modmany, subroutine sub1)
1007 (subroutine sub2, program module): New.
1008
10092010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1010
1011 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
1012 (print value of rUC, print value of rI, print value of UI): ... here.
1013 * gdb.cp/anon-union.exp (pass): Rename to ...
1014 (print z 2): ... here.
1015
10162010-06-02 Michael Snyder <msnyder@vmware.com>
1017
1018 * gdb.trace/actions.exp: Use gdb_test_no_output.
1019 * gdb.trace/circ.exp: Ditto.
1020 * gdb.trace/packetlen.exp: Ditto.
1021 * gdb.trace/save-trace.exp: Ditto.
1022 * gdb.trace/tracecmd.exp: Ditto.
1023 * gdb.trace/tsv.exp: Ditto.
1024
1025 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
1026 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
1027 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
1028 * gdb.threads/manythreads.exp: Ditto.
1029 * gdb.threads/print-threads.exp: Ditto.
1030 * gdb.threads/pthreads.exp: Ditto.
1031 * gdb.threads/schedlock.exp: Ditto.
1032 * gdb.threads/staticthreads.exp: Ditto.
1033 * gdb.threads/thread-specific.exp: Ditto.
1034 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1035 * gdb.threads/threadapply.exp: Ditto.
1036 * gdb.threads/watchthreads.exp: Ditto.
1037 * gdb.threads/watchthreads2.exp: Ditto.
1038
1039 * gdb.python/py-block.exp: Use gdb_test_no_output.
1040 * gdb.python/py-prettyprint.exp: Ditto.
1041 * gdb.python/py-template.exp: Ditto.
1042 * gdb.python/py-value.exp: Ditto.
1043
1044 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
1045 * gdb.reverse/watch-reverse.exp: Ditto.
1046
1047 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
1048 * gdb.server/ext-run.exp: Ditto.
1049
1050 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
1051 * gdb.dwarf2/dw2-compressed.exp: Ditto.
1052 * gdb.dwarf2/dw2-intercu.exp: Ditto.
1053 * gdb.dwarf2/dw2-intermix.exp: Ditto.
1054 * gdb.dwarf2/dw2-producer.exp: Ditto.
1055 * gdb.dwarf2/mac-fileno.exp: Ditto.
1056
1057 * gdb.gdb/observer.exp: Use gdb_test_no_output.
1058 * gdb.gdb/selftest.exp: Ditto.
1059
1060 * gdb.multi/base.exp: Use gdb_test_no_output.
1061
1062 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
1063
10642010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1065
1066 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
1067
10682010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
1069
1070 * gdb.cp/class2.exp: Use gdb_test_no_output.
1071 * gdb.cp/classes.exp: Ditto.
1072 * gdb.cp/extern-c.exp: Ditto.
1073 * gdb.cp/inherit.exp: Ditto.
1074 * gdb.cp/maint.exp: Ditto.
1075 * gdb.cp/mb-inline.exp: Ditto.
1076 * gdb.cp/mb-templates.exp: Ditto.
1077 * gdb.cp/method2.exp: Ditto.
1078 * gdb.cp/misc.exp: Ditto.
1079 * gdb.cp/ovldbreak.exp: Ditto.
1080 * gdb.cp/punctuator.exp: Ditto.
1081 * gdb.cp/templates.exp: Ditto.
1082 * gdb.cp/virtbase.exp: Ditto.
1083
1084 * gdb.threads/attach-stopped.exp:
1085 Replace uses of send_gdb / gdb_expect.
1086 * gdb.threads/attachstop-mt.exp:
1087 Replace uses of send_gdb / gdb_expect.
1088 * gdb.threads/gcore-thread.exp:
1089 Replace uses of send_gdb / gdb_expect.
1090 * gdb.threads/hand-call-in-threads.exp:
1091 Replace uses of send_gdb / gdb_expect.
1092 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
1093 * gdb.threads/print-threads.exp:
1094 Replace uses of send_gdb / gdb_expect.
1095 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
1096 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
1097 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
1098
1099 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
1100 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
1101 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
1102 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
1103 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
1104 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
1105 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
1106 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
1107 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
1108 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
1109 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
1110
11112010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1112
1113 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
1114
11152010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
1116
1117 * gdb.cp/koenig.exp: Added new test case.
1118 * gdb.cp/koenig.cc: Ditto.
1119
11202010-06-01 Michael Snyder <msnyder@vmware.com>
1121
1122 * gdb.base/arithmet.exp: Use gdb_test_no_output.
1123 * gdb.base/arrayidx.exp: Ditto.
1124 * gdb.base/attach.exp: Ditto.
1125 * gdb.base/auxv.exp: Ditto.
1126 * gdb.base/bigcre.exp: Ditto.
1127 * gdb.base/break-always.exp: Ditto.
1128 * gdb.base/break-interp.exp: Ditto.
1129 * gdb.base/break.exp: Ditto.
1130 * gdb.base/breakpoint-shadow.exp: Ditto.
1131 * gdb.base/call-ar-st.exp: Ditto.
1132 * gdb.base/call-sc.exp: Ditto.
1133 * gdb.base/call-signal-resume.exp: Ditto.
1134 * gdb.base/callfuncs.exp: Ditto.
1135 * gdb.base/catch-syscall.exp: Ditto.
1136 * gdb.base/charset.exp: Ditto.
1137 * gdb.base/code-expr.exp: Ditto.
1138 * gdb.base/commands.exp: Ditto.
1139 * gdb.base/cond-expr.exp: Ditto.
1140 * gdb.base/condbreak.exp: Ditto.
1141 * gdb.base/cursal.exp: Ditto.
1142 * gdb.base/cvexpr.exp: Ditto.
1143 * gdb.base/default.exp: Ditto.
1144 * gdb.base/del.exp: Ditto.
1145 * gdb.base/detach.exp: Ditto.
1146 * gdb.base/display.exp: Ditto.
1147 * gdb.base/ena-dis-br.exp: Ditto.
1148 * gdb.base/eval-skip.exp: Ditto.
1149 * gdb.base/foll-fork.exp: Ditto.
1150 * gdb.base/foll-vfork.exp: Ditto.
1151 * gdb.base/frame-args.exp: Ditto.
1152 * gdb.base/funcargs.exp: Ditto.
1153 * gdb.base/gcore-buffer-overflow.exp: Ditto.
1154 * gdb.base/gdbvars.exp: Ditto.
1155 * gdb.base/help.exp: Ditto.
1156 * gdb.base/ifelse.exp: Ditto.
1157 * gdb.base/included.exp: Ditto.
1158 * gdb.base/list.exp: Ditto.
1159 * gdb.base/macscp.exp: Ditto.
1160 * gdb.base/maint.exp: Ditto.
1161 * gdb.base/multi-fork.exp: Ditto.
1162 * gdb.base/overlays.exp: Ditto.
1163 * gdb.base/page.exp: Ditto.
1164 * gdb.base/pending.exp: Ditto.
1165 * gdb.base/pointers.exp: Ditto.
1166 * gdb.base/pr11022.exp: Ditto.
1167 * gdb.base/prelink.exp: Ditto.
1168 * gdb.base/printcmds.exp: Ditto.
1169 * gdb.base/psymtab.exp: Ditto.
1170 * gdb.base/randomize.exp: Ditto.
1171 * gdb.base/relational.exp: Ditto.
1172 * gdb.base/relocate.exp: Ditto.
1173 * gdb.base/remote.exp: Ditto.
1174 * gdb.base/sepdebug.exp: Ditto.
1175 * gdb.base/set-lang-auto.exp: Ditto.
1176 * gdb.base/setshow.exp: Ditto.
1177 * gdb.base/setvar.exp: Ditto.
1178 * gdb.base/signals.exp: Ditto.
1179 * gdb.base/signull.exp: Ditto.
1180 * gdb.base/sigstep.exp: Ditto.
1181 * gdb.base/sizeof.exp: Ditto.
1182 * gdb.base/solib-disc.exp: Ditto.
1183 * gdb.base/store.exp: Ditto.
1184 * gdb.base/structs.exp: Ditto.
1185 * gdb.base/structs2.exp: Ditto.
1186 * gdb.base/subst.exp: Ditto.
1187 * gdb.base/term.exp: Ditto.
1188 * gdb.base/trace-commands.exp: Ditto.
1189 * gdb.base/unwindonsignal.exp: Ditto.
1190 * gdb.base/valgrind-db-attach.exp: Ditto.
1191 * gdb.base/varargs.exp: Ditto.
1192 * gdb.base/watch-cond.exp: Ditto.
1193 * gdb.base/watch_thread_num.exp: Ditto.
1194 * gdb.base/watchpoint-cond-gone.exp: Ditto.
1195 * gdb.base/watchpoint.exp: Ditto.
1196 * gdb.base/whatis-exp.exp: Ditto.
1197
11982010-06-01 Michael Snyder <msnyder@vmware.com>
1199
1200 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
1201 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
1202 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
1203 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
1204 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
1205 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
1206 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
1207 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
1208 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
1209 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
1210 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
1211 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
1212 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
1213 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
1214 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
1215
12162010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1217
1218 * gdb.base/commands.exp (begin commands on watch): Remove excessive
1219 trailing newline.
1220 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
1221 * gdb.java/jmisc.exp (p *args\n): Rename to ...
1222 (p *args): ... here and remove excessive trailing newline.
1223
12242010-05-31 Joel Brobecker <brobecker@adacore.com>
1225
1226 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
1227
12282010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1229
1230 Accept the new Linux kernel "t (tracing stop)" string.
1231 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
1232 Update comment.
1233 (state_wait) <T (tracing stop)>: New.
1234 (main): Update the state_wait expect string.
1235
12362010-05-28 Pedro Alves <pedro@codesourcery.com>
1237
1238 * limits.c, limits.exp: Delete files.
1239 * Makefile.in (clean mostlyclean): Adjust.
1240 * tracecmd.exp: Adjust.
1241
12422010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1243
1244 * gdb.base/tui-layout.exp: New.
1245
12462010-05-28 Michael Snyder <msnyder@vmware.com>
1247
1248 * gdb.reverse/break-precsave.exp:
1249 Replace uses of send_gdb / gdb_expect.
1250 * gdb.reverse/break-reverse.exp:
1251 Replace uses of send_gdb / gdb_expect.
1252 * gdb.reverse/consecutive-precsave.exp:
1253 Replace uses of send_gdb / gdb_expect.
1254 * gdb.reverse/consecutive-reverse.exp:
1255 Replace uses of send_gdb / gdb_expect.
1256 * gdb.reverse/finish-precsave.exp:
1257 Replace uses of send_gdb / gdb_expect.
1258 * gdb.reverse/finish-reverse.exp:
1259 Replace uses of send_gdb / gdb_expect.
1260 * gdb.reverse/i386-precsave.exp:
1261 Replace uses of send_gdb / gdb_expect.
1262 * gdb.reverse/i386-reverse.exp:
1263 Replace uses of send_gdb / gdb_expect.
1264 * gdb.reverse/i386-sse-reverse.exp:
1265 Replace uses of send_gdb / gdb_expect.
1266 * gdb.reverse/i387-env-reverse.exp:
1267 Replace uses of send_gdb / gdb_expect.
1268 * gdb.reverse/i387-stack-reverse.exp:
1269 Replace uses of send_gdb / gdb_expect.
1270 * gdb.reverse/machinestate-precsave.exp:
1271 Replace uses of send_gdb / gdb_expect.
1272 * gdb.reverse/machinestate.exp:
1273 Replace uses of send_gdb / gdb_expect.
1274 * gdb.reverse/sigall-precsave.exp:
1275 Replace uses of send_gdb / gdb_expect.
1276 * gdb.reverse/sigall-reverse.exp:
1277 Replace uses of send_gdb / gdb_expect.
1278 * gdb.reverse/solib-precsave.exp:
1279 Replace uses of send_gdb / gdb_expect.
1280 * gdb.reverse/solib-reverse.exp:
1281 Replace uses of send_gdb / gdb_expect.
1282 * gdb.reverse/step-precsave.exp:
1283 Replace uses of send_gdb / gdb_expect.
1284 * gdb.reverse/step-reverse.exp:
1285 Replace uses of send_gdb / gdb_expect.
1286 * gdb.reverse/until-precsave.exp:
1287 Replace uses of send_gdb / gdb_expect.
1288 * gdb.reverse/until-reverse.exp:
1289 Replace uses of send_gdb / gdb_expect.
1290 * gdb.reverse/watch-precsave.exp:
1291 Replace uses of send_gdb / gdb_expect.
1292 * gdb.reverse/watch-reverse.exp:
1293 Replace uses of send_gdb / gdb_expect.
1294
12952010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1296
1297 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
1298 excessive newline.
1299
13002010-05-27 Michael Snyder <msnyder@vmware.com>
1301
1302 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
1303 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
1304 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
1305 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
1306 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
1307 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
1308 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
1309 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
1310 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
1311 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
1312 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
1313 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
1314 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
1315 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
1316 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
1317 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
1318 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
1319 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
1320 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
1321
13222010-05-26 Michael Snyder <msnyder@vmware.com>
1323
1324 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
1325 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
1326
1327 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
1328 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
1329 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
1330
1331 * gdb.reverse/consecutive-reverse.exp:
1332 Replace uses of send_gdb / gdb_expect.
1333 * gdb.reverse/consecutive-precsave.exp:
1334 Replace uses of send_gdb / gdb_expect.
1335
1336 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
1337 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
1338 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
1339 * gdb.mi/mi-ns-stale-regcache.exp:
1340 Replace uses of send_gdb / gdb_expect.
1341 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
1342 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
1343 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
1344 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
1345 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
1346 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
1347 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
1348 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
1349 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
1350
13512010-05-26 Michael Snyder <msnyder@vmware.com>
1352
1353 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
1354
1355 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
1356
1357 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
1358 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
1359 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
1360 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
1361 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
1362 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
1363 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
1364 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
1365 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
1366
13672010-05-25 Tom Tromey <tromey@redhat.com>
1368
1369 * gdb.base/macscp.exp: Add missing space after setup_kfail.
1370
13712010-05-25 Tom Tromey <tromey@redhat.com>
1372
1373 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
1374 argument order.
1375 * gdb.base/macscp.exp: Fix setup_kfail argument order.
1376 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
1377 order.
1378 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
1379 order.
1380 * gdb.base/call-sc.exp (setup_kfails): Remove.
1381 (setup_compiler_kfails): Remove.
1382 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
1383 argument order.
1384 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
1385 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
1386 (advancei): Fix setup_kfail argument order.
1387 * gdb.base/radix.exp: Fix setup_kfail argument order.
1388 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
1389 order.
1390 * gdb.base/structs.exp (setup_kfails): Remove.
1391 (setup_compiler_kfails): Fix setup_kfail argument order.
1392 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
1393 order.
1394 * gdb.java/jmain.exp: Fix setup_kfail argument order.
1395 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
1396 setup_kfail argument order.
1397 * gdb.cp/overload.exp: Fix setup_kfail argument order.
1398
13992010-05-25 Tom Tromey <tromey@redhat.com>
1400
1401 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
1402
14032010-05-25 Michael Snyder <msnyder@vmware.com>
1404
1405 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
1406 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
1407 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
1408 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
1409 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
1410 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
1411 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
1412 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
1413 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
1414 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
1415 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
1416 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
1417 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
1418 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
1419 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
1420 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
1421 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
1422 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
1423 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
1424 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
1425 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
1426 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
1427 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
1428 * gdb.base/default.exp: Replace send_gdb with gdb_test.
1429 * gdb.base/define.exp: Replace send_gdb with gdb_test.
1430 * gdb.base/display.exp: Replace send_gdb with gdb_test.
1431 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
1432 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
1433 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
1434 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
1435 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
1436 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
1437 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
1438 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
1439 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
1440 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
1441 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
1442 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
1443 * gdb.base/help.exp: Replace send_gdb with gdb_test.
1444 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
1445 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
1446 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
1447 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
1448 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
1449 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
1450 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
1451 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
1452 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
1453
14542010-05-25 Doug Evans <dje@google.com>
1455
1456 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
1457 gdb.string_to_argv.
1458
14592010-05-21 Tom Tromey <tromey@redhat.com>
1460
1461 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
1462 Call it.
1463 * gdb.dwarf2/pieces.S: Update.
1464 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
1465
14662010-05-21 Tom Tromey <tromey@redhat.com>
1467
1468 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
1469 Call it.
1470 * gdb.dwarf2/pieces.c (struct C): New.
1471 (f6): New function.
1472 * gdb.dwarf2/pieces.S: Replace.
1473
14742010-05-21 Tom Tromey <tromey@redhat.com>
1475
1476 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
1477 Call it.
1478
14792010-05-21 Tom Tromey <tromey@redhat.com>
1480
1481 * gdb.dwarf2.pieces.exp: New file.
1482 * gdb.dwarf2.pieces.S: New file.
1483 * gdb.dwarf2.pieces.c: New file.
1484
14852010-05-20 Pedro Alves <pedro@codesourcery.com>
1486 Joel Brobecker <brobecker@adacore.com>
1487
1488 * lib/gdb.exp (gdb_test_no_output): New function.
1489 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
1490 when testing commands that should produce no output.
1491
14922010-05-17 Joel Brobecker <brobecker@adacore.com>
1493
1494 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
1495 parameter that we want to watch being a constant.
1496
14972010-05-17 Joel Brobecker <brobecker@adacore.com>
1498
1499 * gdb.ada/cond_lang: New testcase.
1500
15012010-05-17 Joel Brobecker <brobecker@adacore.com>
1502
1503 * lib/gdb.exp (banned_variables): New variable/constant.
1504 (gdb_init): Add write trace on variables listed in banned_variables.
1505 (gdb_finish): Remove write traces on variables listed in
1506 banned_variables.
1507
15082010-05-17 Joel Brobecker <brobecker@adacore.com>
1509
1510 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
1511 * gdb.cp/koenig.exp: Likewise.
1512
15132010-05-14 Phil Muldoon <pmuldoon@redhat.com>
1514
1515 PR python/11482
1516
1517 * gdb.python/py-value.exp (test_value_hash): New function.
1518
15192010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
1520
1521 PR exp/11530.
1522 * gdb.base/gdb11530.c: New file.
1523 * gdb.base/gdb11530.exp: New file.
1524
15252010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1526
1527 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
1528 * gdb.dwarf2/dw2-modula2-self-type.S: New.
1529
15302010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
1531
1532 * gdb.cp/koenig.exp: New test.
1533 * gdb.cp/koenig.cc: New test program.
1534
15352010-05-05 Joel Brobecker <brobecker@adacore.com>
1536
1537 Remove the use of prms_id and bug_id throughout the testsuite.
1538
15392010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
1540
1541 PR exp/11349.
1542 * testsuite/gdb.cp/ref-types.exp: Add test to examine
1543 use a reference local variable.
1544
15452010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1546
1547 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
1548 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
1549 variable different_dir. Move debugfile into a full directory pathname
1550 under DIFFERENT_DIR.
1551 * lib/gdb.exp (separate_debug_filename): Remove.
1552 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
1553 variable debug_dir and mkdir of it. Update function comments.
1554
15552010-04-29 Pedro Alves <pedro@codesourcery.com>
1556
1557 PR gdb/11557
1558
1559 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
1560 files.
1561
15622010-04-29 Phil Muldoon <pmuldoon@redhat.com>
1563
1564 * gdb.python/py-param.exp: New File.
1565
15662010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
1567
1568 * gdb.base/default.exp: Fix "set language" test.
1569
15702010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
1571
1572 PR breakpoints/11531.
1573 * gdb.base/gdb11531.c: New file.
1574 * gdb.base/gdb11531.exp: New file.
1575
15762010-04-26 Tom Tromey <tromey@redhat.com>
1577
1578 * gdb.base/completion.exp: Add tests for completion and deprecated
1579 commands.
1580
15812010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1582
1583 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
1584 (print /x char_array): Escape curly brackets.
1585
15862010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1587
1588 Fix deadlock on looped list of loaded shared objects.
1589 * gdb.base/solib-corrupted.exp: New.
1590
15912010-04-23 Doug Evans <dje@google.com>
1592
1593 * gdb.python/py-section-script.c: New file.
1594 * gdb.python/py-section-script.exp: New file.
1595 * gdb.python/py-section-script.py: New file.
1596
15972010-04-20 Chris Moller <cmoller@redhat.com>
1598
1599 PR 10179
1600
1601 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
1602 * gdb.base/pr10179-a.c:
1603 * gdb.base/pr10179-b.c:
1604 * gdb.base/pr10179.exp: New files.
1605
16062010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1607
1608 Fix crashes on dangling display expressions.
1609 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
1610 is SEP.
1611 (lib_flags): Remove the "debug" keyword.
1612 (libsepdebug): New variable for iterating new loop.
1613 (save_pf_prefix): New variable wrapping the loop.
1614 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
1615 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
1616
16172010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1618
1619 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
1620
16212010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1622
1623 PR stabs/11479.
1624 * gdb.stabs/gdb11479.exp: New file.
1625 * gdb.stabs/gdb11479.c: New file.
1626
16272010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1628
1629 * gdb.base/charset.c (Strin16, String32): New variables.
1630 * gdb.base/charset.exp (gdb_test): Test correct display
1631 of 16 or 32 bit strings.
1632
16332010-04-21 Chris Moller <cmoller@redhat.com>
1634
1635 PR 9167
1636 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
1637 * gdb.cp/pr9167.cc: New file.
1638 * gdb.cp/pr9167.exp: New file.
1639
1640
16412010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
1642
1643 PR pascal/11492.
1644 * gdb.pascal/gdb11492.pas: New file.
1645 * gdb.pascal/gdb11492.exp: New file.
1646
16472010-04-20 Joel Brobecker <brobecker@adacore.com>
1648
1649 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
1650
16512010-04-20 Joel Brobecker <brobecker@adacore.com>
1652
1653 * gdb.ada/dyn_loc: New testcase.
1654
16552010-04-20 Chris Moller <cmoller@redhat.com>
1656
1657 PR 10867
1658
1659 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
1660 * gdb.cp/pr10687.cc: New file.
1661 * gdb.cp/pr10687.exp: New file.
1662
1663
16642010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1665 Sergio Durigan Junior <sergiodj@redhat.com>
1666
1667 * gdb.fortran/logical.exp: New testcase.
1668 * gdb.fortran/logical.f90: New file.
1669
16702010-04-19 Doug Evans <dje@google.com>
1671
1672 * gdb.base/help.exp (help source): Update expected output.
1673
16742010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1675
1676 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
1677 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
1678 gdb_exit and return.
1679 (executable): New variable.
1680 (binfile): Use it.
1681
16822010-04-19 Pedro Alves <pedro@codesourcery.com>
1683
1684 PR breakpoints/8554.
1685
1686 * gdb.trace/save-trace.exp: Adjust.
1687
16882010-04-17 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 PR corefiles/11511
1691 * gdb.arch/system-gcore.exp: New.
1692 * gdb.arch/gcore.c: Likewise.
1693
16942010-04-15 Doug Evans <dje@google.com>
1695
1696 * gdb.python/py-progspace.c: New file.
1697 * gdb.python/py-progspace.exp: New file.
1698
1699 * gdb.base/source.exp: Add tests for "source -s".
1700
17012010-04-14 Phil Muldoon <pmuldoon@redhat.com>
1702
1703 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
1704 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
1705 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
1706 * gdb.python/py-mi.exp: New test for to_string returning None.
1707
17082010-04-12 Phil Muldoon <pmuldoon@redhat.com>
1709
1710 * gdb.python/py-breakpoint.c: Make result global.
1711
17122010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1713
1714 Fix non-GNU make compatibility.
1715 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
1716
17172010-04-09 Phil Muldoon <pmuldoon@redhat.com>
1718
1719 * gdb.python/py-breakpoint.exp: New File.
1720 * gdb.python/py-breakpoint.C: Ditto.
1721
17222010-04-08 Stan Shebs <stan@codesourcery.com>
1723
1724 * gdb.trace/actions.exp: Clear default-collect.
1725 * gdb.trace/save-trace.exp: Clear default-collect.
1726
17272010-04-08 Phil Muldoon <pmuldoon@redhat.com>
1728
1729 * gdb.python/py-value: Add null string variable.
1730 (test_lazy_string): Test zero length, NULL address lazy
1731 strings.
1732
17332010-04-07 H.J. Lu <hongjiu.lu@intel.com>
1734
1735 * gdb.arch/i386-avx.c: New.
1736 * gdb.arch/i386-avx.exp: Likewise.
1737
1738 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
1739
17402010-04-06 Doug Evans <dje@google.com>
1741
1742 * gdb.base/source-test.gdb: New file.
1743 * gdb.base/source.exp: Test source -v.
1744
17452010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1746
1747 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
1748
17492010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
1750
1751 * gdb.stabs/aout.sed: Convert all backslash to double backslash
1752 within one line, unless it is followed by a double quote.
1753 * gdb.stabs/hppa.sed: Idem.
1754 * gdb.stabs/weird.def: Add char and String constants
1755 * gdb.stabs/weird.exp: Check for correct parsing of
1756 char and string constants.
1757 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
1758 in .stabs to .stabx substitution.
1759
17602010-04-05 Stan Shebs <stan@codesourcery.com>
1761
1762 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
1763 constant global.
1764 * gdb.trace/tfile.exp: Try to print them.
1765
17662010-04-04 Stan Shebs <stan@codesourcery.com>
1767
1768 * gdb.base/completion.exp: Update for new "info watchpoints".
1769 * gdb.base/default.exp: Ditto.
1770 * gdb.base/help.exp: Ditto.
1771 * gdb.base/watchpoint.exp: Ditto.
1772 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
1773
17742010-04-04 Stan Shebs <stan@codesourcery.com>
1775
1776 * gdb.trace/tfile.exp: Sharpen tfind test.
1777
17782010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1779
1780 * gdb.base/break-entry.exp: New.
1781
17822010-04-02 Hui Zhu <teawater@gmail.com>
1783 Michael Snyder <msnyder@vmware.com>
1784
1785 * gdb.reverse/i386-sse-reverse.exp: New file.
1786 * gdb.reverse/i386-sse-reverse.c: New file.
1787
17882010-04-02 Pedro Alves <pedro@codesourcery.com>
1789
1790 * gdb.trace/tfind.exp: Adjust expected disassembly output.
1791
17922010-04-01 Stan Shebs <stan@codesourcery.com>
1793
1794 * gdb.trace/actions.exp: Tweak expected output.
1795 * gdb.trace/while-stepping.exp: Tweak expected output.
1796
17972010-04-01 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
1800
18012010-04-01 Pedro Alves <pedro@codesourcery.com>
1802
1803 * gdb.base/commands.exp: Adjust.
1804 * gdb.cp/extern-c.exp: Adjust.
1805
18062010-04-01 Pedro Alves <pedro@codesourcery.com>
1807
1808 * gdb.trace/collection.c (local_test_func): Define a local struct,
1809 and instanciate it.
1810
18112010-04-01 Pedro Alves <pedro@codesourcery.com>
1812
1813 * gdb.trace/collection.exp (gdb_collect_args_test)
1814 (gdb_collect_argarray_test): XFAIL the tests that assume the
1815 argarray argument's elements are collected.
1816
18172010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1818
1819 * gdb.dwarf2/dw2-bad-parameter-type.exp,
1820 gdb.dwarf2/dw2-bad-parameter-type.S: New.
1821
18222010-03-31 Stan Shebs <stan@codesourcery.com>
1823
1824 * gdb.trace/save-trace.exp: Test save/restore of default-collect
1825 and tracepoint conditionals.
1826 (gdb_verify_tracepoints): Delete unused return.
1827
18282010-03-26 Keith Seitz <keiths@redhat.com>
1829
1830 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
1831 appear in the output before main.
1832 Remove KFAIL for gdb/2215 aka bz 9320.
1833
18342010-03-30 Doug Evans <dje@google.com>
1835
1836 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
1837 by dejagnu.
1838 * gdb.arch/amd64-dword.exp: Ditto.
1839
1840 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
1841 match.
1842 (break printf): Ditto.
1843
18442010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
1845
1846 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
1847 gcc < 4.4.
1848 * gdb.cp/shadow.exp: Ditto.
1849
18502010-03-29 Pedro Alves <pedro@codesourcery.com>
1851
1852 * gdb.trace/collection.exp (run_trace_experiment): Make sure
1853 "tstart" is silent.
1854
18552010-03-29 Pedro Alves <pedro@codesourcery.com>
1856
1857 * gdb.trace/collection.exp (executable): New.
1858 (binfile): Use it.
1859 (fpreg, spreg, pcreg): New.
1860 (test_register): Use gdb_test_multiple. Pass /x to print.
1861 (prepare_for_trace_test): New.
1862 (run_trace_experiment): Use "continue", not gdb_run_cmd.
1863 (gdb_collect_args_test, gdb_collect_argstruct_test)
1864 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
1865 prepare_for_trace_test.
1866 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
1867 fpreg, spreg and pcreg.
1868 (gdb_collect_expression_test, gdb_collect_globals_test): Use
1869 prepare_for_trace_test.
1870 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
1871 try to detect tracing support here. Don't set breakpoints at
1872 `begin' or `end' here.
1873 <global scope>: Use clean_restart. Run to main before checking
1874 for tracing support. Check for for tracing support here.
1875
18762010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1877
1878 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
1879 " as $displacement" to "seen displacement message".
1880
18812010-03-28 Pedro Alves <pedro@codesourcery.com>
1882
1883 * gdb.trace/while-dyn.exp (executable): New variable.
1884 (binfile): Use it.
1885 (test_while_stepping): New function. Move most tests here. Call
1886 it once for each of the while-stepping, stepping and ws aliases.
1887
18882010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1889
1890 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
1891 that do not provide the tagless_struct type name at all.
1892 (test_print_anon_union): Do not check value of uninitialized
1893 union member. Do not use cp_test_ptype_class, so we can accept
1894 "long" as well as "long int".
1895
18962010-03-26 Pedro Alves <pedro@codesourcery.com>
1897
1898 * gdb.trace/tfile.c (tohex, bin2hex): New.
1899 (write_error_trace_file): Hexify error description.
1900
19012010-03-25 Stan Shebs <stan@codesourcery.com>
1902
1903 * gdb.trace/tfile.c: Generate an additional trace file, improve
1904 portability.
1905 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
1906 files in a better way.
1907
19082010-03-25 Keith Seitz <keiths@redhat.com>
1909
1910 * gdb.java/jprint.exp: XFAIL printing of static class members
1911 because of GCC debuginfo problem.
1912
19132010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1914
1915 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
1916
19172010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1918
1919 * gdb.base/completion.exp: Allow long instead of long int.
1920 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
1921 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
1922 variable p.
1923 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
1924 * gdb.base/pointers.exp: Allow long instead of long int.
1925 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
1926 * gdb.base/step-line.exp: Allow a directory before the source file name.
1927
19282010-03-24 Tom Tromey <tromey@redhat.com>
1929
1930 PR breakpoints/9352:
1931 * gdb.base/default.exp: Update.
1932 * gdb.base/commands.exp: Update.
1933 * gdb.cp/extern-c.exp: Test setting commands on multiple
1934 breakpoints at once.
1935
19362010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1937
1938 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
1939 if gdb,nosignals.
1940 * gdb.base/watchpoints.c: Do not include unnecessary headers.
1941 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
1942 exited".
1943
19442010-03-24 Stan Shebs <stan@codesourcery.com>
1945
1946 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
1947
19482010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1949
1950 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
1951 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
1952 argument. Handle "short" and "long".
1953 (Top level): Pass overprototyped output for old_fptr and xptr.
1954
19552010-03-23 Pedro Alves <pedro@codesourcery.com>
1956
1957 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
1958 format strings and add casts to avoid compiler warnings.
1959
19602010-03-23 Vladimir Prus <vladimir@codesourcery.com>
1961
1962 * lib/trace-support.exp (gdb_trace_setactions):
1963 Don't expect whitespace after ">" prompt.
1964 * gdb.trace/actions.exp: Adjust for output changes.
1965 * gdb.trace/while-stepping.exp: Likewise.
1966
19672010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1968
1969 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
1970 and r157645).
1971
19722010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1973
1974 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
1975 New.
1976
19772010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
1978
1979 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
1980 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
1981
19822010-03-19 Stan Shebs <stan@codesourcery.com>
1983
1984 * gdb.trace/ax.exp: New file.
1985
19862010-03-19 Doug Evans <dje@google.com>
1987
1988 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
1989 output from gcc.
1990
1991 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
1992 named /usr/sbin/prelink<foo>.
1993
19942010-03-18 Stan Shebs <stan@codesourcery.com>
1995
1996 * gdb.trace/circ.exp: Test circular-trace-buffer.
1997 * gdb.trace/tfile.exp: Update tstatus test.
1998
19992010-03-18 Joel Brobecker <brobecker@adacore.com>
2000
2001 * gdb.dwarf2/dw2-anonymous-func.S: New file.
2002 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
2003
20042010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2005
2006 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
2007
20082010-03-18 Pedro Alves <pedro@codesourcery.com>
2009
2010 * gdb.base/default.exp: Adjust the expected output of the finish
2011 and until commands when the inferior is not being run.
2012
20132010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
2014
2015 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
2016 * gdb.cp/nsusing.exp: Ditto.
2017
20182010-03-15 Tom Tromey <tromey@redhat.com>
2019
2020 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
2021 * gdb.cp/userdef.cc (operator==): New function.
2022 (main): New locals mem1, mem2.
2023
20242010-03-15 Jie Zhang <jie@codesourcery.com>
2025
2026 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
2027 Declare and use new loadtimeout variable.
2028
20292010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
2030
2031 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
2032 Use gdb_load later.
2033
20342010-03-14 Pedro Alves <pedro@codesourcery.com>
2035
2036 * gdb.base/solib-disc.c (main): Make format of fprintf a string
2037 literal. Add missing endlines to prints to stderr.
2038
20392010-03-12 Tom Tromey <tromey@redhat.com>
2040
2041 PR c++/9708:
2042 * gdb.cp/m-static.exp: Add regression test.
2043 * gdb.cp/m-static.cc (method): New method.
2044 (main): Call it.
2045
20462010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
2047
2048 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
2049 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
2050
20512010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
2052
2053 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
2054
20552010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
2056
2057 * lib/gdb.exp (skip_stl_tests): New.
2058 (gdb_compile): Symbian needs -ldl.
2059 (shlib_target_file): New.
2060 (shlib_symbol_file): New.
2061 (gdb_load_shlibs): Use shlib_target_file.
2062 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
2063 * gdb.cp/exception.exp: Use skip_stl_tests.
2064 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
2065 * gdb.cp/try_catch.exp: Use skip_stl_tests.
2066 * gdb.cp/mb-templates.exp: Ditto.
2067 * gdb.base/commands.exp: Relax regexes.
2068 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
2069 shlib_target_file and shlib_symbol_file.
2070 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
2071 sections.
2072 * gdb.base/ending-run.exp: Accept E32Main for symbian.
2073 * gdb.base/solib-disc.exp: Use
2074 shlib_target_file and shlib_symbol_file.
2075 * gdb.base/unload.exp: Don't skip on symbian. Use
2076 shlib_target_file and shlib_symbol_file.
2077 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
2078
20792010-03-12 Pedro Alves <pedro@codesourcery.com>
2080
2081 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
2082 * gdb.trace/report.exp: Adjust for x86 and x86_64.
2083 Issue a tfind end before looking for a tracepoint frame.
2084 * gdb.trace/tfind.exp: Adjust tstatus output.
2085 Adjust disassembly output.
2086 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
2087
20882010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2089
2090 * gdb.base/break-interp.exp: Create new displacement parameter value
2091 for the test_ld calls.
2092 (reach): New parameter displacement, verify its content. New push of
2093 pf_prefix "reach-$func:". Import global expect_out.
2094 (test_core): New parameter displacement, verify its content. New push
2095 of pf_prefix "core:". New command "set verbose on". Import global
2096 expect_out.
2097 (test_attach): New parameter displacement, verify its content. New
2098 push of pf_prefix "attach:". New command "set verbose on". Import
2099 global expect_out.
2100 (test_ld): New parameter displacement, pass it to the reach, test_core
2101 and test_attach calls and verify its content in the "ld.so exit" test.
2102 * gdb.base/prelink.exp: Remove gdb_exit and final return.
2103 (prelink): Update expected text, use gdb_test.
2104
21052010-03-10 Doug Evans <dje@google.com>
2106
2107 * gdb.base/checkpoint.exp: Fix comment.
2108 Lengthen timeout while doing >600 checkpoints test.
2109 Rename duplicate "kill all one" test to keep test names unique.
2110
21112010-03-10 Pedro Alves <pedro@codesourcery.com>
2112
2113 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
2114
21152010-03-08 Keith Seitz <keiths@redhat.com>
2116
2117 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
2118 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
2119 (dm_type_long): New function.
2120 (dm_type_unsigned_short): New function.
2121 (dm_type_unsigned_long): New function.
2122 (myint): New typedef.
2123 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
2124 long, unsigned shor and long, operator char*, and typedef.
2125 (test_lookup_operator_functions): Add operator char* test.
2126 (test_paddr_operator_functions): Likewise.
2127 (test_paddr_overloaded_functions): Use probe values for
2128 short, long, and unsigned short and long.
2129 (test_paddr_hairy_functions): If the demangler probe detected
2130 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
2131 demangler.
2132 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
2133 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
2134 and "print null_pmf".
2135 Add test "ptype a.*pmf".
2136 * gdb.cp/overload.exp: Allow optional "int" to appear with
2137 "short" and "long".
2138 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
2139 long expect value for men_overload1arg.
2140 Allow "int" to appear with "short" and "long".
2141 When testing "info break", add argument for main (void).
2142 Also allow "int" to appear with "short" and "long".
2143 Ditto with "unsigned" and "long long".
2144 * gdb.java/jmain.exp: Do not enclose methods names in single
2145 quotes.
2146 * gdb.java/jmisc.exp: Likewise.
2147 * gdb.java/jprint.exp: Likewise.
2148 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
2149
2150 From Jan Kratochvil <jan.kratochvil@redhat.com>:
2151 * gdb.cp/exception.exp (backtrace after first throw)
2152 (backtrace after second throw): Allow a namespace before __cxa_throw.
2153 (backtrace after first catch, backtrace after second catch): Allow
2154 a namespace before __cxa_begin_catch.
2155
2156 * gdb.cp/cpexprs.exp: New file.
2157 * gdb.cp/cpexprs.cc: New file.
2158
2159 From Daniel Jacobowitz <dan@codesourcery.com>
2160 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
2161 to use string_to_regexp.
2162 (ctor, dtor): New functions. Use them to match constructor
2163 and destructor function types.
2164 (Top level): Use runto_main.
2165
21662010-03-05 Tom Tromey <tromey@redhat.com>
2167
2168 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
2169 gdb.target_charset.
2170 (pp_ns.to_string): Likewise.
2171
21722010-03-04 Keith Seitz <keiths@redhat.com>
2173
2174 * gdb.cp/overload.exp: Test that the filename portion of a linespec
2175 can be quoted. Test that both the filename and function/line
2176 portions can be quoted at the same time.
2177
21782010-03-04 Pedro Alves <pedro@codesourcery.com>
2179
2180 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
2181
21822010-03-03 Doug Evans <dje@google.com>
2183
2184 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
2185 libc contains libpthread.
2186
2187 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
2188 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
2189 of gdb_compile. Add another pattern to match android backtrace.
2190
21912010-03-03 Tom Tromey <tromey@redhat.com>
2192
2193 PR gdb/11345:
2194 * gdb.base/printcmds.exp (test_printf): Add test.
2195
21962010-03-02 H.J. Lu <hongjiu.lu@intel.com>
2197
2198 * gdb.arch/amd64-byte.exp: New.
2199 * gdb.arch/amd64-dword.exp: Likewise.
2200 * gdb.arch/amd64-pseudo.c: Likewise.
2201 * gdb.arch/amd64-word.exp: Likewise.
2202 * gdb.arch/i386-byte.exp: Likewise.
2203 * gdb.arch/i386-pseudo.c: Likewise.
2204 * gdb.arch/i386-word.exp: Likewise.
2205
22062010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
2207
2208 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
2209 types. Add structreg, bitfields, and flags registers.
2210 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
2211 registers.
2212
22132010-03-01 H.J. Lu <hongjiu.lu@intel.com>
2214
2215 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
2216 (load_description): Set architecture if defined.
2217
22182010-02-28 Phil Muldoon <pmuldoon@redhat.com>
2219
2220 * gdb.python/py-frame.exp: Add read_var block tests.
2221 * gdb.python/py-frame.c (block): New function.
2222
22232010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2224 Daniel Jacobowitz <dan@codesourcery.com>
2225
2226 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
2227
22282010-02-25 David S. Miller <davem@davemloft.net>
2229
2230 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
2231 fix logic for setting all_syscalls_numbers.
2232
22332010-02-24 Phil Muldoon <pmuldoon@redhat.com>
2234
2235 * Makefile.in: Add py-block and py-symbol.
2236 * gdb.python/py-symbol.exp: New File.
2237 * gdb.python/py-symtab.exp: New File.
2238 * gdb.python/py-block.exp: New File.
2239 * gdb.python/py-symbol.c: New File.
2240 * gdb.python/py-block.c: New File.
2241
22422010-02-24 Phil Muldoon <pmuldoon@redhat.com>
2243
2244 PR python/11314
2245 * lib/gdb.exp (skip_python_tests): New function.
2246 * gdb.python/py-cmd.exp: Use skip_python_tests.
2247 * gdb.python/py-frame.exp: Likewise.
2248 * gdb.python/py-function.exp: Likewise.
2249 * gdb.python/py-prettyprint.exp: Likewise.
2250 * gdb.python/py-template.exp: Likewise.
2251 * gdb.python/py-type.exp: Likewise.
2252 * gdb.python/py-value.exp: Likewise.
2253
22542010-02-22 Pedro Alves <pedro@codesourcery.com>
2255
2256 PR9605
2257
2258 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
2259
22602010-02-19 Tom Tromey <tromey@redhat.com>
2261
2262 PR c++/8693, PR c++/9496:
2263 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
2264 regression tests.
2265
22662010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2267
2268 Fix compatibility with m68k as.
2269 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
2270 Use only /* comments */.
2271
22722010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2273
2274 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
2275 * configure: Regenerate.
2276
22772010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
2278
2279 * gdb.python/py-type.exp: Check for Python support.
2280
22812010-02-17 Pedro Alves <pedro@codesourcery.com>
2282
2283 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
2284 `regsub' syntax available.
2285
22862010-02-17 Pedro Alves <pedro@codesourcery.com>
2287
2288 * gdb.base/shmain.c (main): Remove printf call.
2289 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
2290 * gdb.base/unload.c (main): Make format of fprintf a string
2291 literal. Add missing endlines to prints to stderr.
2292 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
2293
22942010-02-17 Tom Tromey <tromey@redhat.com>
2295
2296 * gdb.java/jprint.java (jprint.props): New field.
2297 * gdb.java/jprint.exp (set_lang_java): Add regression test.
2298
22992010-02-17 Pedro Alves <pedro@codesourcery.com>
2300
2301 * gdb.base/charset.exp: Don't assume new `regsub' syntax
2302 available.
2303
23042010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2305
2306 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
2307 creation to support remote host testing.
2308
23092010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2310
2311 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
2312 Recognize "command not found".
2313
23142010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2315
2316 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
2317 single-stepping.
2318
23192010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2320
2321 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
2322 if arguments are not supported.
2323
23242010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2325
2326 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
2327 be const or non-const.
2328
23292010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2330
2331 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
2332 mi_send_resuming_command to send -exec-continue.
2333
23342010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2335
2336 * gdb.base/list.exp (test_list_filename_and_function): Add test
2337 with single quotes.
2338 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
2339 matching.
2340 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
2341 Add KFAIL'd tests for PR gdb/11289.
2342
23432010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2344
2345 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2346
23472010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2348
2349 * gdb.base/comp-dir/subdir/dummy.txt: New file.
2350 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
2351 a temporary directory.
2352
23532010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2354
2355 * gdb.base/charset.exp: Use a single regular expression to match
2356 show host-charset and show target-charset output.
2357
23582010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2359
2360 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
2361 "Illegal process-id" expect string more exact.
2362 (attach to digits-starting nonsense is prohibited): New.
2363
23642010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2365
2366 * gdb.base/prelink.exp (set verbose on): New.
2367
23682010-02-12 Tomas Holmberg <th@virtutech.com>
2369
2370 * mi-reverse.exp: New file. Test for reverse option to the
2371 following MI commands: exec-continue, exec-finish, exec-next,
2372 exec-step, exec-next-instruction, exec-step-instruction.
2373
23742010-02-09 Joel Brobecker <brobecker@adacore.com>
2375
2376 * gdb.ada/ptype_tagged_param: New testcase.
2377
23782010-02-08 Tom Tromey <tromey@redhat.com>
2379
2380 PR c++/8017:
2381 * gdb.cp/overload.exp: Add tests.
2382 * gdb.cp/overload.cc (struct K): New.
2383 (namespace N): New.
2384 (main): Call new functions.
2385 (K::staticoverload): Define.
2386
23872010-02-08 Chris Moller <moller@mollerware.com>
2388
2389 PR gdb/10728
2390 * gdb.cp/pr10728-x.h: New file.
2391 * gdb.cp/pr10728-x.cc: New file.
2392 * gdb.cp/pr10728-y.cc: New file.
2393 * gdb.cp/pr10728.exp: New file.
2394 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
2395
23962010-02-08 Chris Moller <moller@mollerware.com>
2397
2398 PR gdb/9067
2399 * gdb.cp/pr9067.exp: New
2400 * gdb.cp/pr9067.cc: New
2401 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
2402
24032010-02-08 Joel Brobecker <brobecker@adacore.com>
2404
2405 * lib/gdb.exp (gdb_test_timeout): New global variable.
2406 Set it to timeout if not already set.
2407 (gdb_init): Reset the value of timeout to gdb_test_timeout.
2408
24092010-02-05 Doug Evans <dje@google.com>
2410
2411 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
2412 user.
2413
24142010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
2415
2416 PR c++/7935:
2417 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
2418
24192010-02-04 Tom Tromey <tromey@redhat.com>
2420
2421 * gdb.cp/virtbase.exp: Make test case names unique.
2422
24232010-02-02 Tom Tromey <tromey@redhat.com>
2424
2425 * gdb.cp/virtbase.exp: Add regression tests.
2426 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
2427 (main): Instantiate RHC.
2428
24292010-02-02 Tom Tromey <tromey@redhat.com>
2430
2431 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
2432 type-printing change.
2433
24342010-02-02 Tom Tromey <tromey@redhat.com>
2435
2436 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
2437 * gdb.cp/virtbase.cc: New file.
2438 * gdb.cp/virtbase.exp: New file.
2439 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
2440
24412010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2442
2443 PR libc/11214:
2444 * gdb.threads/current-lwp-dead.c: Include features.h.
2445 (HAS_NOMMU): New.
2446 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
2447
24482010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2449
2450 * gdb.base/symbol-without-target_section.exp,
2451 gdb.base/symbol-without-target_section.c: New.
2452
24532010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2454
2455 * gdb.base/bigcore.exp: Reset increased timeout.
2456 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
2457
24582010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2459
2460 * gdb.base/gcore.exp (capture_command_output): Use
2461 gdb_test_multiple.
2462
24632010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2464
2465 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
2466 * gdb.arch/thumb2-it.exp (test_it_break): New function.
2467 (Top level): Call it.
2468
24692010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2470
2471 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
2472
24732010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
2474
2475 * gdb.base/call-strs.exp, gdb.base/default.exp,
2476 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
2477 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
2478 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
2479 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
2480 gdb.base/watchpoint-solib.exp: Save and restore timeout.
2481 * gdb.base/ending-run.exp: Correct restore of timeout.
2482 * gdb.base/page.exp: Remove unnecessary timeout setting.
2483
24842010-01-29 Joel Brobecker <brobecker@adacore.com>
2485
2486 * gdb.ada/rec_return: New testcase.
2487
24882010-01-29 Joel Brobecker <brobecker@adacore.com>
2489
2490 * gdb.ada/call_pn: New testcase.
2491
24922010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
2493
2494 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
2495 (Top level): Use it to resume.
2496 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
2497 the Thumb mode displaced stepping error as unsupported.
2498
24992010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
2500
2501 * gdb.cp/nsusing.exp: Added more tests.
2502 * gdb.cp/nsrecurs.exp: Ditto.
2503 * gdb.cp/nsusing.cc: Added test functions.
2504 * gdb.cp/nsrecurs.cc: Ditto.
2505
25062010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2507
2508 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
2509 absolute directory pathnames in gdb.sum file.
2510
25112010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
2512
2513 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
2514 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
2515
25162010-01-26 Tom Tromey <tromey@redhat.com>
2517
2518 PR exp/7643:
2519 * gdb.base/printcmds.exp (test_print_string_constants): Remove
2520 setup_kfail.
2521
25222010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
2523
2524 * gdb.cp/nsrecurs.exp: New test.
2525 * gdb.cp/nsrecurs.cc: New test program.
2526 * gdb.cp/nsstress.exp: New test.
2527 * gdb.cp/nsstress.cc: New test program.
2528 * gdb.cp/nsdecl.exp: New test.
2529 * gdb.cp/nsdecl.cc: New test program.
2530
25312010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
2532
2533 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
2534 imported into file scope.
2535 Marked test as xfail.
2536 * gdb.cp/namespace-using.cc (marker5): New function.
2537 * gdb.cp/shadow.exp: New test.
2538 * gdb.cp/shadow.cc: New test program.
2539 * gdb.cp/nsimport.exp: New test.
2540 * gdb.cp/nsimport.cc: New test program.
2541
25422010-01-25 Tom Tromey <tromey@redhat.com>
2543
2544 PR gdb/11049:
2545 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
2546 with "set print null-stop on".
2547
25482010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2549
2550 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
2551 Adjust it for DISASSEMBLY_OMIT_FNAME.
2552
25532010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2554
2555 PR symtab/11199:
2556 * gdb.dwarf2/member-ptr-forwardref.exp,
2557 gdb.dwarf2/member-ptr-forwardref.S: New.
2558
25592010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2560
2561 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
2562 (thread1_func): Protect thread1_tid with thread1_tid_cond by
2563 thread1_tid_mutex. Remove gdbstop_mutex handling.
2564 (thread2_func): Protect thread2_tid with thread2_tid_cond by
2565 thread2_tid_mutex. Remove gdbstop_mutex handling.
2566 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
2567 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
2568 pthread_cond_wait conditionalizations by while loops.
2569
25702010-01-20 Tom Tromey <tromey@redhat.com>
2571
2572 PR backtrace/10770:
2573 * gdb.dwarf2/pr10770.exp: New file.
2574 * gdb.dwarf2/pr10770.c: New file.
2575 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
2576
25772010-01-20 Vladimir Prus <vladimir@codesourcery.com>
2578
2579 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
2580 that target was removed, and the test always runs native anyway.
2581
25822010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2583
2584 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
2585 gdb.base/watchpoint-cond-gone-stripped.c: New.
2586
25872010-01-19 Tom Tromey <tromey@redhat.com>
2588
2589 PR c++/8000:
2590 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
2591 existing tests.
2592 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
2593 (main): Use AAA::SomeEnum.
2594
25952010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2596
2597 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
2598 (test_ignore_count): Declare line_callme_body global.
2599 (run to breakpoint with ignore count): Use line_callme_body.
2600 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
2601 (set line_main_hello, set line_main_return): Reindent.
2602 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
2603 New.
2604 (continue to callee4): Use line_callee4_body.
2605 (check *stopped from CLI command): Use line_callee4_next.
2606 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
2607 (set line_main_hello, set line_main_return): Reindent.
2608 (set line_callee4_head, set line_callee4_body): New.
2609 (continue to callee4): Use line_callee4_body.
2610
26112010-01-18 Tom Tromey <tromey@redhat.com>
2612
2613 PR c++/9680:
2614 * gdb.cp/casts.cc: Add new classes and variables.
2615 * gdb.cp/casts.exp: Test new operators.
2616
26172010-01-18 Tom Tromey <tromey@redhat.com>
2618 Thiago Jung Bauermann <bauerman@br.ibm.com>
2619
2620 * gdb.python/source2.py: New file.
2621 * gdb.python/source1: New file.
2622 * gdb.python/python.exp: Test "source" command.
2623
26242010-01-15 Stan Shebs <stan@codesourcery.com>
2625
2626 * gdb.trace/tfile.c: New file.
2627 * gdb.trace/tfile.exp: New file.
2628
26292010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2630
2631 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
2632
26332010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2634
2635 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
2636
26372010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2638
2639 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
2640 (libfunc): New parameter action. Implement also selectable "sleep".
2641 * gdb.base/break-interp-main.c: Include assert.h.
2642 (libfunc): New parameter action.
2643 (main): New parameters argc and argv. Assert argc. Pass argv.
2644 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
2645 (test_attach): New proc.
2646 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
2647 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
2648
26492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2650
2651 * gdb.base/break-interp.exp (test_core): New proc.
2652 (test_ld): Call it.
2653
26542010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2655
2656 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
2657 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
2658 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
2659 and gdb_compile_shlib. Use new -Wl compiler options.
2660 (dl bt, main bt): New tests.
2661
26622010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2663
2664 Support PIEs with no symfile_objfile.
2665 * gdb.base/break-interp.exp: New argument at the test_ld calls.
2666 (test_ld): New parameter trynosym.
2667 (test_ld <$trynosym>): New block.
2668
26692010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2670
2671 * gdb.base/break-interp.exp: New file.
2672
26732010-01-13 Phil Muldoon <pmuldoon@redhat.com>
2674
2675 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
2676 * gdb.python/py-prettyprint.py (pp_ls): New printer.
2677 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
2678 test.
2679 * gdb.python/py-prettyprint.c: Define lazystring test structure.
2680 * gdb.python/py-mi.exp: Add lazy string test.
2681
26822010-01-13 Vladimir Prus <vladimir@codesourcery.com>
2683
2684 * lib/mi-support.exp (mi_check_thread_states): Handle
2685 core number in thread listing.
2686
26872010-01-12 Joel Brobecker <brobecker@adacore.com>
2688
2689 * gdb.base/maint.exp: Adjust the expected output for the
2690 "maint print type" test. Use gdb_test_multiple instead of
2691 gdb_sent/gdb_expect.
2692
26932010-01-11 Doug Evans <dje@google.com>
2694
2695 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
2696 from gdbserver_download. All callers updated.
2697
2698 * gdb.server/ext-run.exp: "info os processes" requires xml support.
2699
27002010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2701
2702 Implement binary numbers parsing.
2703 * gdb.base/printcmds.exp (test_integer_literals_accepted)
2704 (test_integer_literals_rejected): New binary tests.
2705
27062010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2707
2708 * gdb.cell/configure: Regenerate.
2709
27102010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2711
2712 * gdb.base/corefile.exp: Move the core finding block out and call it as
2713 core_find, new variable $corefile, replace corefile by $corefile and
2714 [file tail $corefile] for usage vs. test names resp.
2715 * lib/gdb.exp (core_find): Move it as a new function here. New
2716 parameter binfile and deletefiles. New variable $destcore. Pre-delete
2717 $destcore. Return "" on error.
2718
27192010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 Workaround PR binutils/10802.
2722 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
2723 (twice).
2724
27252010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2726
2727 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
2728
27292010-01-08 Joel Brobecker <brobecker@adacore.com>
2730
2731 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
2732 call, to avoid interruption.
2733
27342010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2735
2736 * gdb.stabs/weird.def (args93): New.
2737
27382010-01-07 Doug Evans <dje@google.com>
2739
2740 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
2741
27422010-01-07 Tom Tromey <tromey@redhat.com>
2743
2744 * gdb.base/source.exp: Use correct line number.
2745
27462010-01-05 Stan Shebs <stan@codesourcery.com>
2747
2748 * gdb.trace/tracecmd.exp: Test ftrace.
2749
27502010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2751
2752 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
2753
27542010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2755
2756 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
2757 "uint_for_mi_testing".
2758
27592010-01-01 Joel Brobecker <brobecker@adacore.com>
2760
2761 Test indented comment in file being sourced.
2762 * gdb.base/commands.exp: Test indented comment in file being sourced.
2763
27642010-01-01 Joel Brobecker <brobecker@adacore.com>
2765
2766 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
2767 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
2768 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
2769 notice.
2770
27712010-01-01 Joel Brobecker <brobecker@adacore.com>
2772
2773 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
2774 notice.
2775
27762010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2777
2778 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
2779 missing $after_stopped and comma (,) expectation.
2780
27812009-12-31 Stan Shebs <stan@codesourcery.com>
2782
2783 * gdb.trace/actions.exp: Test teval action.
2784
27852009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
2786
2787 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
2788 (top level): Call test_watchpoint_in_big_blob.
2789 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
2790 watchpoints.
2791 (func3): Write to buf.
2792
27932009-12-29 Stan Shebs <stan@codesourcery.com>
2794
2795 * gdb.trace/actions.exp: Test default-collect.
2796
27972009-12-28 Stan Shebs <stan@codesourcery.com>
2798
2799 * gdb.trace/tsv.exp: New file.
2800 * gdb.base/completion.exp: Update ambiguous info output.
2801
28022009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
2803
2804 * gdb.base/find.c (main): Reference search buffers.
2805 * gdb.base/included.c (main): Reference integer.
2806 * gdb.base/ptype.c (charfoo): Declare.
2807 (intfoo): Call charfoo.
2808 * gdb.base/scope0.c (useitp): New function.
2809 (usestatics): Use useitp.
2810 (useit): Add a type for val.
2811 * gdb.base/scope1.c (useit1): Take a pointer argument.
2812 (usestatics1): Update calls to useit1.
2813 * gdb.cp/call-c.cc: Declare foo.
2814 (main): Call foo.
2815 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
2816 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
2817 (main): Call C::ensureRefs and ensureOtherRefs.
2818 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
2819 variables.
2820 (ensureOtherRefs): New function.
2821 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
2822 * gdb.cp/templates.cc (main): Call t5i.value.
2823
28242009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2825
2826 Fix compatibility with G++-4.5.
2827 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
2828 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
2829 (uncaught return): Remove.
2830
28312009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2832 Phil Muldoon <pmuldoon@redhat.com>
2833
2834 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
2835 (bp_location13, bp_location14, bp_location17, bp_location18)
2836 (marker3_proto, marker4_proto): New variables.
2837 (breakpoint info): Update output.
2838 (run until breakpoint at marker3, run until breakpoint at marker4): New
2839 tests.
2840
28412009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2842
2843 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
2844 Replace the printf call of Y by provided "y-set-1" label. New block
2845 for the second shared library.
2846 * gdb.base/unload.exp: Compile also the second library, call
2847 gdb_load_shlibs also for it. Use now gdb_breakpoint.
2848 (single pending breakpoint info): Rename to ...
2849 (pending breakpoint info before run): ... this extended test.
2850 (libfile2, libname2, libsrcfile2, libsrc2)
2851 (lib_sl2): New variables.
2852 (exec_opts): Set also SHLIB_NAME2.
2853 (pending breakpoint info on first run at shrfunc1)
2854 (pending breakpoint info on second run at shrfunc1)
2855 (pending breakpoint info on second run at shrfunc2)
2856 (print y from libfile, print y from libfile2): New tests.
2857 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
2858 * gdb.base/unloadshr2.c: New.
2859
28602009-12-22 Hui Zhu <teawater@gmail.com>
2861
2862 * gdb.reverse/sigall-reverse.exp: Adjust.
2863
28642009-12-21 Vladimir Prus <vladimir@codesourcery.com>
2865
2866 PR gdb/10884
2867
2868 * gdb.mi/var-cmd.c (do_bitfield_tests): New
2869 (main): Call do_bitfield_tests.
2870 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
2871
28722009-12-20 Joel Brobecker <brobecker@adacore.com>
2873
2874 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
2875 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
2876 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
2877 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
2878 gdb.modula2/unbounded1.c: Update copyright header.
2879
28802009-12-10 Chris Moller <moller@mollerware.com>
2881
2882 PR gdb/9399
2883 * gdb.cp/virtfunc2.exp: New tests
2884 * gdb.cp/virtfunc2.cc: New tests
2885 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
2886
28872009-12-10 Oza Pawandeep (paawan1982@yahoo.com
2888
2889 * gdb.reverse/i387-env-reverse.c: New file.
2890 * gdb.reverse/i387-env-reverse.exp: New file.
2891 * gdb.reverse/i387-stack-reverse.c: New file.
2892 * gdb.reverse/i387-stack-reverse.exp: New file.
2893
28942009-12-08 Phil Muldoon <pmuldoon@redhat.com>
2895
2896 * gdb.python/py-type.exp (test_range): New test.
2897
28982009-12-03 Phil Muldoon <pmuldoon@redhat.com>
2899
2900 PR python/10805
2901
2902 * gdb.python/py-type.exp: New file.
2903 * gdb.python/py-type.c: New file.
2904 * Makefile.in: Add py-type.
2905
29062009-12-03 Tom Tromey <tromey@redhat.com>
2907
2908 * gdb.python/py-value.exp (test_parse_and_eval): New
2909 function.
2910
29112009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
2912
2913 PR gdb/11022
2914
2915 * gdb.base/pr11022.exp: New test.
2916 * gdb.base/pr11022.c: New test.
2917
29182009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2919
2920 Fix spurious false FAILs.
2921 * gdb.base/structs.c (chartest): New.
2922 (main): Fill-in chartest.
2923 * gdb.base/structs.exp (anychar_re, first): New.
2924 (start_structs_test): Import global anychar_re and first.
2925 New gdb_test call "set print elements 300; ${testfile}"
2926 (start_structs_test <$first>): New block.
2927 (any): Import global anychar_re. New variable ac. Use ${ac}.
2928
29292009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2930
2931 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2932
29332009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2934
2935 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
2936 Force $srcfile file.
2937 * gdb.base/foll-fork.c (callee): Comment out the printf call.
2938
29392009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2940
2941 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
2942 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2943 * gdb.threads/watchthreads-reorder.exp: Likewise.
2944
29452009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
2946
2947 PR gdb/8704
2948
2949 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
2950 "if", and "thread". Correct matching in the previous test.
2951
29522009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
2953
2954 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
2955
29562009-11-23 Michael Snyder <msnyder@vmware.com>
2957
2958 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
2959 * gdb.reverse-watch-precsave.exp: Ditto.
2960
29612009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
2962
2963 * gdb.asm/asm-source.exp: Adjust.
2964 * gdb.base/help.exp: Adjust.
2965
29662009-11-22 Pedro Alves <pedro@codesourcery.com>
2967
2968 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
2969 (do_syscall_tests_without_xml): Set data-directory to
2970 /the/path/to/nowhere.
2971
29722009-11-21 Pedro Alves <pedro@codesourcery.com>
2973
2974 * gdb.threads/local-watch-wrong-thread.c,
2975 gdb.threads/local-watch-wrong-thread.exp: New files.
2976
29772009-11-21 Pedro Alves <pedro@codesourcery.com>
2978
2979 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
2980 assume new `regsub' syntax available.
2981
29822009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2983
2984 * gdb.base/watchpoint-hw-hit-once.exp,
2985 gdb.base/watchpoint-hw-hit-once.c: New.
2986
29872009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2988
2989 * gdb.threads/watchthreads-reorder.exp,
2990 gdb.threads/watchthreads-reorder.c: New.
2991
29922009-11-17 Nathan Sidwell <nathan@codesourcery.com>
2993
2994 * gdb.xml/tdesc-regs.exp: Use for m68k.
2995
29962009-11-15 Pedro Alves <pedro@codesourcery.com>
2997
2998 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
2999
30002009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3001
3002 * lib/gdb.exp (current_target_name): New procedure.
3003 (gdb_wrapper_target): New variable.
3004 (gdb_wrapper_init): Set gdb_wrapper_target.
3005 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
3006 wrapper.
3007
30082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3009
3010 * gdb.base/remote.exp: Delete the slowest load test.
3011 Do not load with fixed packet sizes.
3012
30132009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3014
3015 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
3016
30172009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3018
3019 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
3020 srcfile when setting a breakpoint.
3021
30222009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
3023
3024 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
3025 macros.
3026
30272009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3028
3029 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
3030 to be in memory.
3031 * gdb.base/display.c (force_mem): New.
3032 (do_loops): Use it. Add breakpoint comments.
3033 (do_vars): Add a breakpoint comment.
3034 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
3035 line numbers.
3036
30372009-11-13 Nathan Froyd <froydnj@codesourcery.com>
3038
3039 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
3040 instead of a bare "run".
3041
30422009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3043
3044 * gdb.python/py-prettyprint.exp: Adjust.
3045
30462009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3047
3048 * lib/cell.exp (skip_cell_tests): Clean up test files before
3049 returning.
3050
30512009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3052
3053 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
3054 and the breakpoint menu. Do not call perror if a prompt is seen.
3055 Consume the following GDB prompt.
3056 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
3057 * gdb.cp/namespace.exp: Use gdb_test.
3058 * gdb.cp/templates.exp: Use gdb_test.
3059 (test_template_breakpoints): Use gdb_test_multiple.
3060
30612009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3062
3063 * gdb.base/break1.c (struct some_struct, values): Move earlier.
3064 (marker4): Reference values.
3065
30662009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3067
3068 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
3069 is missing.
3070
30712009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3072
3073 * gdb.base/break.c (need_malloc): New.
3074 * gdb.base/constvars.c (main): Reference crass and crisp.
3075 * gdb.base/gdb1821.c (main): Reference bar.
3076 * gdb.cp/gdb1355.cc (main): Reference s1.
3077 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
3078 (main): Call them.
3079 * gdb.cp/hang2.cc (dummy2): Define.
3080 * gdb.cp/hang3.cc (dummy3): Define.
3081 * gdb.cp/m-data.cc (main): Reference shadow.
3082
30832009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3084 Nathan Froyd <froydnj@codesourcery.com>
3085
3086 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
3087 remote host.
3088
30892009-11-12 Nathan Froyd <froydnj@codesourcery.com>
3090
3091 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
3092 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
3093 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3094 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3095 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3096 * gdb.dwarf2/dw2-producer.exp: Likewise.
3097 * gdb.dwarf2/mac-fileno.exp: Likewise.
3098 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
3099 py-prettyprint.py to the remote host.
3100 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
3101
31022009-11-11 Keith Seitz <keiths@redhat.com>
3103
3104 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
3105 use it instead of "Foo".
3106 * gdb.cp/classes.exp (do_tests): Add a test to access
3107 a method through a typedef'd class name.
3108
31092009-11-11 Nathan Froyd <froydnj@codesourcery.com>
3110
3111 * gdb.base/long_long.exp: Permit leading zeros on floating-point
3112 exponents.
3113 * gdb.base/pointers.exp: Likewise.
3114 * gdb.cp/ref-types.exp: Likewise.
3115
31162009-11-11 Keith Seitz <keiths@redhat.com>
3117
3118 * gdb.cp/cplusfuncs.cc (class foo): Add operators
3119 new[] and delete[].
3120 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
3121 "void".
3122 (probe_demangler): Remove all single-quoting of
3123 method and variable names.
3124 (info_func_regexp): Remove the word "void" from any
3125 occurrence of "(void)".
3126 (print_addr_2): Remove all single-quoting of
3127 method names.
3128 (print_addr_2_kfail): Likewise.
3129 (print_addr): Single-quote C function names before
3130 passing to print_addr_2.
3131 (test_paddr_operator_functions): Remove single-quoting
3132 for method names.
3133 Add tests for operator new[] and operator delete[].
3134
31352009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3136
3137 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
3138
31392009-11-09 Keith Seitz <keiths@redhat.com>
3140
3141 * gdb.cp/overload.exp: Add tests for resolving overloaded
3142 methods in expression parsing/evaluation.
3143
31442009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
3145
3146 * lib/gdb.exp (default_gdb_version): Use --version instead of
3147 --command.
3148
31492009-11-10 Nathan Sidwell <nathan@codesourcery.com>
3150
3151 * lib/gdb.exp (gdb_compile_test): New.
3152 (skip_ada_tests, skip_java_tests): New.
3153 (gdb_compile): Use gdb_compile_test for f77.
3154 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
3155 * lib/java.exp (compile_java_from_source): Remove runtests check,
3156 use gdb_compile_test to record result.
3157 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
3158 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
3159 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
3160 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
3161 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
3162 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
3163 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
3164 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
3165 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
3166 adjust gdb_compile invocations.
3167
31682009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3169
3170 * Makefile.in (abs_builddir): New.
3171 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
3172 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
3173 `$(abs_builddir)/site.exp'.
3174
31752009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
3176
3177 * config/m68k-emc.exp, lib/emc-support.exp,
3178 gdb.trace/gdb_c_test.c: Delete.
3179 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
3180 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
3181 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3182 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
3183 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3184 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
3185 casing for m68k-*-elf.
3186
31872009-11-03 Pedro Alves <pedro@codesourcery.com>
3188
3189 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
3190 * gdb.arch/i386-prologue.exp: Likewise.
3191 * gdb.arch/i386-unwind.exp: Likewise.
3192
31932009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3194
3195 * lib/gdb.exp (gdb_expect): Fix timeout typo.
3196
31972009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3198
3199 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
3200
32012009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3202
3203 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
3204
32052009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3206
3207 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
3208
32092009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3210
3211 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
3212 * gdb.base/sepdebug2.c: New file.
3213
32142009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
3215
3216 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
3217 the modified warnings for catch syscall. Verify if GDB was compiled
3218 with support for lib expat, and choose which tests to run depending
3219 on this.
3220
32212009-10-30 Vladimir Prus <vladimir@codesourcery.com>
3222
3223 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
3224 that composite commands are parsed OK. And also test
3225 that breakpoint commands do work.
3226
32272009-10-23 Michael Snyder <msnyder@vmware.com>
3228
3229 gdb.reverse/consecutive-precsave.exp: Change expect pattern
3230 to allow for new disassembly style.
3231
32322009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3233
3234 * gdb.asm/asm-source.exp: Adjust.
3235
32362009-10-22 Michael Snyder <msnyder@vmware.com>
3237
3238 * gdb.reverse/break-precsave.exp: New test.
3239 * gdb.reverse/consecutive-precsave.exp: Ditto.
3240 * gdb.reverse/finish-precsave.exp: Ditto.
3241 * gdb.reverse/i386-precsave.exp: Ditto.
3242 * gdb.reverse/machinestate-precsave.exp: Ditto.
3243 * gdb.reverse/sigall-precsave.exp: Ditto.
3244 * gdb.reverse/solilb-precsave.exp: Ditto.
3245 * gdb.reverse/step-precsave.exp: Ditto.
3246 * gdb.reverse/until-precsave.exp: Ditto.
3247 * gdb.reverse/watch-precsave.exp: Ditto.
3248
32492009-10-22 Michael Snyder <msnyder@vmware.com>
3250
3251 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
3252 for gdb_expect. Adjust one test's expect strings for the new
3253 format of disassemble.
3254 * gdb.reverse/finish-reverse.exp: Delete 'return'.
3255 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
3256 gdb_test_multiple.
3257 * gdb.reverse/step-reverse.exp: Delete 'return'.
3258 * gdb.reverse/until-reverse.exp: Delete blank lines.
3259 * gdb.reverse/watch-reverse.exp: Delete blank lines.
3260
32612009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3262
3263 * gdb.base/consecutive.exp: Adjust.
3264 * gdb.base/display.exp: Likewise.
3265 * gdb.base/pc-fp.exp: Likewise.
3266 * gdb.base/sigbpt.exp: Likewise.
3267
32682009-10-19 Michael Snyder <msnyder@vmware.com>
3269
3270 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
3271 * gdb.reverse/finish-reverse.c: Ditto.
3272 * gdb.reverse/sigall-reverse.c: Ditto.
3273 * gdb.reverse/solib-reverse.c: Ditto.
3274 * gdb.reverse/step-reverse.c: Ditto.
3275 * gdb.reverse/watch-reverse.c: Ditto.
3276
32772009-10-19 Pedro Alves <pedro@codesourcery.com>
3278 Stan Shebs <stan@codesourcery.com>
3279
3280 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
3281 * gdb.base/foll-exec.exp: Adjust to expect a process id before
3282 "Executing new program".
3283 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
3284 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
3285 left listed after having been killed.
3286 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
3287 * gdb.base/maint.exp: Adjust test.
3288
3289 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
3290 * gdb.multi/Makefile.in: New.
3291 * gdb.multi/base.exp: New.
3292 * gdb.multi/goodbye.c: New.
3293 * gdb.multi/hangout.c: New.
3294 * gdb.multi/hello.c: New.
3295 * gdb.multi/bkpt-multi-exec.c: New.
3296 * gdb.multi/bkpt-multi-exec.exp: New.
3297 * gdb.multi/crashme.c: New.
3298
32992009-10-13 Tristan Gingold <gingold@adacore.com>
3300
3301 * gdb.base/sepdebug.exp: Check debug info are found.
3302
33032009-10-08 Pedro Alves <pedro@codesourcery.com>
3304
3305 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
3306 bits.
3307
33082009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3309
3310 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
3311
33122009-10-07 Joel Brobecker <brobecker@adacore.com>
3313
3314 * gdb.base/watchpoints.c: Add copyright header. Reformat one
3315 of the comments.
3316
33172009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
3318
3319 * gdb.base/annota1.exp: Remove obsolete match_max increase.
3320 * gdb.base/annota3.exp: Idem.
3321 * gdb.base/maint.exp: Idem.
3322
33232009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3324
3325 * lib/gdb.exp (default_gdb_init): Set current value of match_max
3326 to default.
3327
33282009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3329
3330 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
3331 mingw and cygwin targets.
3332
33332009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3334 Pedro Alves <pedro@codesourcery.com>
3335
3336 * lib/gdb.exp (gdb_compile): Avoid adding
3337 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
3338
33392009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3340
3341 * gdb.base/shr1.c: Use %p in format string.
3342 * gdb.base/unload.c: Avoid warning in fprintf.
3343 * gdb.base/watchpoint-solib.c: Idem.
3344
33452009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3346
3347 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
3348 long type.
3349 (test_unlink): Correct printf string.
3350 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
3351 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
3352
33532009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3354
3355 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
3356 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
3357 * gdb.arch/ia64-breakpoint-shadow.S: New file.
3358
33592009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3360
3361 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
3362 * gdb.objc/nondebug.exp: Likewise.
3363
33642009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3365
3366 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
3367 target_info setting.
3368
3369 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
3370 that detect new threads during "info threads".
3371
33722009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3373
3374 * gdb.threads/manythreads.c (main): Increase thread stack size
3375 to 2*PTHREAD_STACK_MIN.
3376 * gdb.threads/multi-create.c (main): Likewise.
3377 (create_function): Likewise.
3378
33792009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3380
3381 * gdb.base/dump.exp: Pass difference of pointer types instead
3382 of integer types as offset to restore in intarr3.srec case.
3383
33842009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3385
3386 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
3387
33882009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3389
3390 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
3391
33922009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
3393
3394 New test for two watchpoints, with disabling of
3395 the first inserted.
3396 * testsuite/gdb.base/watchpoints.c: New file.
3397 * testsuite/gdb.base/watchpoints.exp: New file.
3398
33992009-09-25 Tom Tromey <tromey@redhat.com>
3400
3401 * gdb.base/charset.exp: Test utf-16 strings with Python.
3402
34032009-09-25 Tom Tromey <tromey@redhat.com>
3404
3405 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
3406 UCS-4.
3407 * gdb.base/charset.c (utf_32_string): Rename.
3408 (init_utf32): Rename.
3409 (main): Update.
3410
34112009-09-22 Tom Tromey <tromey@redhat.com>
3412
3413 * gdb.python/py-function.exp: Add regression tests.
3414
34152009-09-21 Keith Seitz <keiths@redhat.com>
3416
3417 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
3418 with invalid operator.
3419
34202009-09-21 Keith Seitz <keiths@redhat.com>
3421
3422 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
3423 and destructor using typedef name of class.
3424 * gdb.cp/classes.cc (class Base1): Add a destructor.
3425 (base1): New typedef.
3426 (use_methods): Instanitate an object of type base1.
3427 * gdb.cp/templates.exp (test_template_typedef): New procedure.
3428 (do_tests): Call test_template_typedef.
3429 * gdb.cp/templates.cc (Baz::~Baz): New method.
3430 (intBazOne): New typedef.
3431 (main): Instantiate intBazOne.
3432
34332009-09-21 Phil Muldoon <pmuldoon@redhat.com>
3434
3435 PR python/10633
3436
3437 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
3438 Function.
3439 (run_lang_tests): Add print elements test.
3440
34412009-09-21 Phil Muldoon <pmuldoon@redhat.com>
3442
3443 * gdb.python/py-value.exp (test_subscript_regression): New
3444 function. Test for invalid subscripts.
3445 * gdb.python/py-value.c (main): Add test array, and pointer to it.
3446 (ptr_ref): New function.
3447
34482009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3449
3450 * gdb.base/default.exp: Fix "show convenience".
3451
34522009-09-15 Tom Tromey <tromey@redhat.com>
3453
3454 * lib/mi-support.exp (mi_create_varobj): Update.
3455 (mi_create_floating_varobj): Likewise.
3456 (mi_create_dynamic_varobj): New proc.
3457 (mi_varobj_update): Update.
3458 (mi_varobj_update_with_type_change): Likewise.
3459 (mi_varobj_update_kv_helper): New proc.
3460 (mi_varobj_update_dynamic_helper): Rewrite.
3461 (mi_varobj_update_dynamic): New proc.
3462 (mi_list_varobj_children): Update.
3463 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
3464 * gdb.python/python-prettyprint.py (pp_outer): New class.
3465 (pp_nullstr): Likewise.
3466 (lookup_function): Register new printers.
3467 * gdb.python/python-prettyprint.c (struct substruct): New type.
3468 (struct outerstruct): Likewise.
3469 (substruct_test): New function.
3470 (struct nullstr): New type.
3471 (string_1, string_2): New globals.
3472 (main): Add new tests.
3473 * gdb.python/python-mi.exp: Added regression tests.
3474 * gdb.mi/mi2-var-display.exp: Update.
3475 * gdb.mi/mi2-var-cmd.exp: Update.
3476 * gdb.mi/mi2-var-child.exp: Update.
3477 * gdb.mi/mi2-var-block.exp: Update.
3478 * gdb.mi/mi-var-invalidate.exp: Update.
3479 * gdb.mi/mi-var-display.exp: Update.
3480 * gdb.mi/mi-var-cmd.exp: Update.
3481 * gdb.mi/mi-var-child.exp: Update.
3482 * gdb.mi/mi-var-block.exp: Update.
3483 * gdb.mi/mi-break.exp: Update.
3484 * gdb.mi/gdb701.exp: Update.
3485
34862009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
3487
3488 * Makefile.in: Inclusion of catch-syscall object.
3489 * gdb.base/catch-syscall.c: New file.
3490 * gdb.base/catch-syscall.exp: New file.
3491
34922009-09-12 Michael Snyder <msnyder@vmware.com>
3493
3494 * gdb.reverse/step-reverse.exp: Explicitly check for targets
3495 that can support reverse debuggnig.
3496
34972009-09-11 Tom Tromey <tromey@redhat.com>
3498
3499 * gdb.dwarf2/valop.S: New file.
3500 * gdb.dwarf2/valop.exp: New file.
3501
35022009-09-11 Mark Kettenis <kettenis@gnu.org>
3503
3504 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
3505
35062009-09-10 Doug Evans <dje@google.com>
3507
3508 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
3509 Add $gdb_prompt to second breakpoint regexp.
3510
35112009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
3512
3513 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
3514 names, add missing ones.
3515 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
3516 * gdb.python/py-frame.c: Rename from python-frame.c.
3517 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
3518 testfile name.
3519 * gdb.python/py-function.exp: Rename from python-function.exp.
3520 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
3521 testfile name.
3522 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
3523 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
3524 Adjust testfile name.
3525 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
3526 * gdb.python/py-template.cc: Rename from python-template.cc.
3527 * gdb.python/py-template.exp: Rename from python-template.exp.
3528 Adjust testfile name.
3529 * gdb.python/py-value.c: Rename from python-value.c.
3530 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
3531 testfile name.
3532
35332009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3534
3535 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
3536 $bpt2address.
3537 (Second breakpoint address is valid on ia64)
3538 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
3539
35402009-09-03 Joseph Myers <joseph@codesourcery.com>
3541
3542 * gdb.base/ending-run.exp: Restrict regular expression matching
3543 line number to require closing brace following.
3544
35452009-09-03 Doug Evans <dje@google.com>
3546
3547 * gdb.base/store.exp (check_set): Fix typo in expected value message.
3548
35492009-09-02 Tom Tromey <tromey@redhat.com>
3550
3551 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
3552
35532009-09-02 Tom Tromey <tromey@redhat.com>
3554
3555 * gdb.dwarf2/callframecfa.exp: New file.
3556 * gdb.dwarf2/callframecfa.S: New file.
3557
35582009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3559
3560 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
3561 gdb.base/solib-overlap-main.c: New.
3562
35632009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
3564
3565 PR gdb/10565
3566
3567 * gdb.base/bitfields.c (struct container, container): New.
3568 (main): Initialize it and call break5.
3569 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
3570
35712009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3572
3573 Support constant DW_AT_data_member_location by GCC PR debug/40659.
3574 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
3575
35762009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3577
3578 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
3579
35802009-08-26 Michael Snyder <msnyder@vmware.com>
3581
3582 * gdb.base/i386-reverse.c: New file.
3583 * gdb.base/i386-reverse.exp: New file.
3584 * gdb.base/Makefile.in: Add new files to be removed.
3585
35862009-08-26 Joseph Myers <joseph@codesourcery.com>
3587
3588 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
3589 environment-pwd for remote host.
3590 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
3591
35922009-08-24 Keith Seitz <keiths@redhat.com>
3593
3594 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
3595 Add two new C++ completer tests which limit the output to a
3596 given class.
3597
35982009-08-24 Michael Snyder <msnyder@vmware.com>
3599
3600 * gdb.base/del.exp: Fix typo in comment.
3601 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
3602
36032009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3604
3605 * configure: Regenerate.
3606 * gdb.hp/configure: Likewise.
3607 * gdb.hp/gdb.aCC/configure: Likewise.
3608 * gdb.hp/gdb.base-hp/configure: Likewise.
3609 * gdb.hp/gdb.compat/configure: Likewise.
3610 * gdb.hp/gdb.defects/configure: Likewise.
3611 * gdb.hp/gdb.objdbg/configure: Likewise.
3612 * gdb.stabs/configure: Likewise.
3613
36142009-08-19 Doug Evans <dje@google.com>
3615
3616 * gdb.base/gdbvars.c: New file.
3617 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
3618
36192009-08-14 Pedro Alves <pedro@codesourcery.com>
3620
3621 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
3622 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
3623
36242009-08-13 Pedro Alves <pedro@codesourcery.com>
3625
3626 * gdb.base/default.exp: Adjust "set language test": it's now an
3627 enum command. Larger help string moved to "help set language".
3628 * gdb.base/help.exp: Adjust "help set language" expected output,
3629 now lists all known languages.
3630
36312009-08-11 Nathan Froyd <froydnj@codesourcery.com>
3632
3633 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
3634 all frame arguments.
3635 * gdb.arch/altivec-regs.exp: Likewise.
3636
36372009-08-07 Tom Tromey <tromey@redhat.com>
3638
3639 * gdb.base/setshow.exp: Add tests for changes to set language, set
3640 check range, and set check type.
3641
36422009-08-03 Vladimir Prus <vladimir@codesourcery.com>
3643
3644 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
3645 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
3646 Call it.
3647
36482009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3649
3650 * configure.ac: Run gdb.cell tests when appropriate.
3651 * configure: Regenerate.
3652 * lib/cell.exp: New file.
3653 * gdb.cell: New directory.
3654 * gdb.cell/configure.ac: New file.
3655 * gdb.cell/configure: New file.
3656 * gdb.cell/Makefile.in: New file.
3657 * gdb.cell/arch.exp: New file.
3658 * gdb.cell/break.c: New file.
3659 * gdb.cell/break.exp: New file.
3660 * gdb.cell/break-spu.c: New file.
3661 * gdb.cell/bt.c: New file.
3662 * gdb.cell/bt2-spu.c: New file.
3663 * gdb.cell/bt-spu.c: New file.
3664 * gdb.cell/bt.exp: New file.
3665 * gdb.cell/coremaker.c: New file.
3666 * gdb.cell/coremaker-spu.c: New file.
3667 * gdb.cell/core.exp: New file.
3668 * gdb.cell/gcore.exp: New file.
3669 * gdb.cell/data.c: New file.
3670 * gdb.cell/data.exp: New file.
3671 * gdb.cell/data-spu.c: New file.
3672 * gdb.cell/ea-cache.exp: New file.
3673 * gdb.cell/ea-cache.c: New file.
3674 * gdb.cell/ea-cache-spu.c: New file.
3675 * gdb.cell/ea-standalone.c: New file.
3676 * gdb.cell/ea-standalone.exp: New file.
3677 * gdb.cell/ea-test.c: New file.
3678 * gdb.cell/ea-test.exp: New file.
3679 * gdb.cell/f-regs.exp: New file.
3680 * gdb.cell/mem-access.c: New file.
3681 * gdb.cell/mem-access.exp: New file.
3682 * gdb.cell/mem-access-spu.c: New file.
3683 * gdb.cell/ptype.exp: New file.
3684 * gdb.cell/registers.exp: New file.
3685 * gdb.cell/size.c: New file.
3686 * gdb.cell/sizeof.exp: New file.
3687 * gdb.cell/size-spu.c: New file.
3688 * gdb.cell/solib.exp: New file.
3689 * gdb.cell/solib-symbol.exp: New file.
3690
36912009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3692
3693 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
3694
36952009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3696
3697 * gdb.base/float.exp: Handle VFP registers.
3698
36992009-07-14 Michael Snyder <msnyder@vmware.com>
3700
3701 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
3702 to bring gdb to the beginning of the calling line.
3703
3704 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
3705 confusing the i386 epilogue unwinder.
3706
37072009-07-14 Stan Shebs <stan@codesourcery.com>
3708
3709 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
3710
37112009-07-14 Michael Snyder <msnyder@vmware.com>
3712
3713 * gdb.reverse/step-reverse.exp (stepi into function call):
3714 Call instruction may not be first instruction in the line.
3715 (reverse stepi from a function call): Used wrong line number.
3716
37172009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3718
3719 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
3720
37212009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3722
3723 Fix gdb.base/macscp.exp when using custom inputrc.
3724 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
3725 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
3726 env(TERM) set.
3727 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
3728 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
3729
37302009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3731
3732 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
3733 * gdb.base/annota1.exp (thread_test): Import global $testfile.
3734 Change the compilation target to match the testcase name.
3735 * gdb.base/sect-cmd.exp: Change the compilation target to match the
3736 testcase name.
3737 * a2-run.exp: Use for setup prepare_for_testing. Change the
3738 compilation target to match the testcase name.
3739 * gdb.base/commands.exp: Likewise.
3740 * gdb.base/finish.exp: Likewise.
3741 * gdb.base/float.exp: Likewise.
3742 * gdb.base/info-target.exp: Likewise.
3743 * gdb.base/relational.exp: Likewise.
3744 * gdb.base/term.exp: Likewise.
3745 * gdb.base/until.exp: Likewise.
3746 * gdb.base/volatile.exp: Likewise.
3747 * gdb.base/whatis-exp.exp: Likewise.
3748
37492009-07-11 Hui Zhu <teawater@gmail.com>
3750
3751 * gdb.base/help.exp (disassemble): Update expected help text.
3752
37532009-07-09 Tom Tromey <tromey@redhat.com>
3754
3755 * lib/gdb.exp: Handle TRANSCRIPT.
3756 (remote_spawn, remote_close, send_gdb): New procs.
3757
37582009-07-10 Phil Muldoon <pmuldoon@redhat.com>
3759
3760 * gdb.python/python-prettyprint.c: Add counted null string
3761 structure.
3762 * gdb.python/python-prettyprint.exp: Print null string. Test for
3763 embedded nulls.
3764 * gdb.python/python-prettyprint.py (pp_ns): New Function.
3765 * gdb.python/python-value.exp (test_value_in_inferior): Add
3766 variable length string fetch tests.
3767 * gdb.python/python-value.c (main): Add strings for string fetch tests.
3768
37692009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3770
3771 * gdb.base/dump.exp (inaccessible memory is reported): New test.
3772
37732009-07-07 Tom Tromey <tromey@redhat.com>
3774
3775 * gdb.base/call-rt-st.exp: Update for change to escape output.
3776 * gdb.base/callfuncs.exp: Likewise.
3777 * gdb.base/charset.exp: Likewise.
3778 * gdb.base/constvars.exp: Likewise.
3779 * gdb.base/long_long.exp: Likewise.
3780 * gdb.base/pointers.exp: Likewise.
3781 * gdb.base/printcmds.exp: Likewise.
3782 * gdb.base/setvar.exp: Likewise.
3783 * gdb.base/store.exp: Likewise.
3784 * gdb.cp/ref-types.exp: Likewise.
3785 * gdb.mi/mi-var-child.exp: Likewise.
3786 * gdb.mi/mi-var-display.exp: Likewise.
3787 * gdb.mi/mi2-var-display.exp: Likewise.
3788 * gdb.base/charset.exp: Test octal escape sequence length.
3789 Update for change to escape output.
3790
37912009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3792
3793 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
3794
37952009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
3796
3797 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
3798
37992009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3800
3801 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
3802 gdbserver increasing $portnum if "Can't bind address" has been seen.
3803
38042009-07-05 Pedro Alves <pedro@codesourcery.com>
3805
3806 * gdb.base/ending-run.exp: Add "step out of main" pattern for
3807 mingw32ce.
3808
38092009-07-05 Pedro Alves <pedro@codesourcery.com>
3810
3811 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
3812 VFP format.
3813
38142009-07-02 Pedro Alves <pedro@codesourcery.com>
3815
3816 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
3817 linux. Adjust to use "inferior", "info inferiors", "detach
3818 inferior" and "kill inferior" instead of "restart", "info fork",
3819 "detach fork" and "delete fork".
3820 * gdb.base/ending-run.exp: Spell out "info".
3821 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
3822 the "kill" command.
3823
38242009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3825
3826 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
3827 change to prefix TLS offset in hex with 0x.
3828
38292009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3830
3831 * gdb.base/default.exp: Update test case for "x" changes.
3832
38332009-07-01 Tristan Gingold <gingold@adacore.com>
3834
3835 * gdb.base/bigcore.exp: Make darwin untested.
3836
38372009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3838
3839 * gdb.base/completion.exp (directory completion): Create the directory.
3840 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
3841 escapeuniquesub.
3842 (directory completion 2): Expect now ${escapeuniquesub}.
3843 (Glob remaining of directory test): Remove one excessive newline.
3844 Expect the real output.
3845
38462009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3847
3848 Fix `make check//%' target after `make check' has been ran.
3849 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
3850 a mkdir call.
3851 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
3852 (%/.dir): Remove.
3853
38542009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3855
3856 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
3857 the expected result record.
3858
38592009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3860
3861 Remove racy FAILs relying just on the timeouts.
3862 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
3863 (annotation_level 2): Remove racy FAILs.
3864
38652009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
3866
3867 gdb/10275
3868 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
3869
38702009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
3871
3872 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
3873
38742009-06-30 Vladimir Prus <vladimir@codesourcery.com>
3875
3876 * gdb.mi/mi-stack.exp: Testing symbolic options
3877 to -stack-list-locals and -stack-list-arguments.
3878
38792009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3880
3881 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
3882
38832009-06-29 Tom Tromey <tromey@redhat.com>
3884
3885 * dg-extract-results.sh: New file.
3886 * Makefile.in (FORCE_PARALLEL): New variable.
3887 (CHECK_TARGET): New conditional variable.
3888 (check): Use CHECK_TARGET.
3889 (DO_RUNTEST): New variable.
3890 (check-single): New target.
3891 (TEST_DIRS): New variable.
3892 (TEST_TARGETS): Likewise.
3893 (check-parallel): New target.
3894 (check-gdb.%): New pattern.
3895 (BASE1_FILES): New variable.
3896 (BASE2_FILES): Likewise.
3897 (check-gdb.base%): New pattern.
3898 (%/.dir): New pattern.
3899 * configure: Rebuild.
3900 * aclocal.m4 (AM_CONDITIONAL): New defun.
3901 * configure.ac: Check whether user is using GNU make.
3902 (GMAKE): New conditional.
3903
39042009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
3905
3906 * gdb.cp/namespace-nested-import.cc: New test.
3907 * gdb.cp/namespace-nested-import.exp: New test.
3908
39092009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
3910
3911 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
3912 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
3913 * gdb.opt/Makefile.in (EXECUTABLES): Update.
3914 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
3915 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
3916 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
3917 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
3918 gdb.opt/inline-markers.c: New files.
3919 * lib/gdb.exp (skip_inline_frame_tests): New function.
3920 (skip_inline_var_tests): New function.
3921
39222009-06-27 Andreas Schwab <schwab@linux-m68k.org>
3923
3924 * gdb.cp/exception.exp: Don't require $hex before inner frame in
3925 backtrace.
3926
39272009-06-27 Michael Snyder <msnyder@vmware.com>
3928
3929 * gdb.reverse: New directory.
3930 * gdb.reverse/break-reverse.c: New test.
3931 * gdb.reverse/break-reverse.exp: New test.
3932 * gdb.reverse/consecutive-reverse.c: New test.
3933 * gdb.reverse/consecutive-reverse.exp: New test.
3934 * gdb.reverse/finish-reverse.c: New test.
3935 * gdb.reverse/finish-reverse.exp: New test.
3936 * gdb.reverse/machinestate.c: New test.
3937 * gdb.reverse/ms1.c: New test.
3938 * gdb.reverse/machinestate.exp: New test.
3939 * gdb.reverse/Makefile.in: New file.
3940 * gdb.reverse/shr2.c: New test.
3941 * gdb.reverse/solib-reverse.c: New test.
3942 * gdb.reverse/solib-reverse.exp: New test.
3943 * gdb.reverse/step-reverse.c: New test.
3944 * gdb.reverse/step-reverse.exp: New test.
3945 * gdb.reverse/until-reverse.c: New test.
3946 * gdb.reverse/ur1.c: New test.
3947 * gdb.reverse/until-reverse.exp: New test.
3948 * gdb.reverse/watch-reverse.c: New test.
3949 * gdb.reverse/watch-reverse.exp: New test.
3950 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
3951 * configure: Regenerate.
3952
39532009-06-26 Doug Evans <dje@google.com>
3954
3955 * gdb.base/psymtab.exp: Turn off pending breakpoints.
3956
39572009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
3958
3959 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
3960 windows problem for 'file delete $binfile'.
3961
39622009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
3963
3964 * gdb.cp/namespace-using.exp: New test.
3965 * gdb.cp/namespace-using.cc: New test.
3966
39672009-05-20 Joel Brobecker <brobecker@adacore.com>
3968
3969 * gdb.ada/variant_record_packed_array: New testcase.
3970
39712009-06-23 Tom Tromey <tromey@redhat.com>
3972
3973 * gdb.base/charset.exp (test_combination): Regression test.
3974 * gdb.base/charset.c (my_wchar_t): New typedef.
3975 (myvar): New global.
3976 (main): Set myvar.
3977
39782009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
3979
3980 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
3981 target.
3982
39832009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3984
3985 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
3986
39872009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3988
3989 * gdb.mi/gdb680.exp: Update test for error message.
3990
39912009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3992
3993 * gdb.base/annota1.exp: Allow multiple occurrences of the
3994 frames-invalid annotation.
3995 * gdb.cp/annota2.exp: Likewise.
3996
39972009-06-15 Phil Muldoon <pmuldoon@redhat.com>
3998
3999 * gdb.cp/gdb2495.cc: New file.
4000 * gdb.cp/gdb2495.exp: New file.
4001
40022009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4003
4004 Report error on GDB crash during runto.
4005 * lib/gdb.exp (runto <eof>): New.
4006
40072009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
4008
4009 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
4010 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
4011 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
4012 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
4013 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
4014 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
4015 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
4016 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
4017 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
4018 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
4019 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
4020 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
4021 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
4022 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
4023 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
4024 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
4025 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
4026 gdb.server/server-mon.exp, gdb.server/server-run.exp,
4027 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4028 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4029 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
4030 gdb.trace/passcount.exp, gdb.trace/report.exp,
4031 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
4032 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
4033 gdb.trace/while-stepping.exp: Use a unique name for the compiled
4034 executable.
4035
40362009-06-07 Pedro Alves <pedro@codesourcery.com>
4037
4038 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
4039 defined before referencing it.
4040
40412009-06-03 Doug Evans <dje@google.com>
4042
4043 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
4044 * gdb.arch/i386-see.c: Ditto.
4045
40462009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
4047
4048 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
4049 (check_macro): Return 1 if undefined.
4050 If first test fails, check if macro debug information is available,
4051 and report unsupported test if no macro information is found.
4052
40532009-05-29 Doug Evans <dje@google.com>
4054
4055 * gdb.threads/hand-call-in-threads.exp: New.
4056 * gdb.threads/hand-call-in-threads.c: New.
4057
40582009-05-29 Michael Snyder <msnyder@vmware.com>
4059
4060 * gdb.base/break-always.exp: Change "1" to "on".
4061 Add confirmation check.
4062
40632009-05-28 Pedro Alves <pedro@codesourcery.com>
4064
4065 * gdb.threads/threxit-hop-specific.c: New.
4066 * gdb.threads/threxit-hop-specific.exp: New.
4067 * gdb.threads/thread-execl.c: New.
4068 * gdb.threads/thread-execl.exp: New.
4069
40702009-05-27 Tom Tromey <tromey@redhat.com>
4071 Thiago Jung Bauermann <bauerman@br.ibm.com>
4072
4073 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
4074 (mi_child_regexp): Likewise.
4075 (mi_list_varobj_children_range): Likewise.
4076 (mi_get_features): Likewise.
4077 (mi_list_varobj_children): Rewrite.
4078 * gdb.python/python-mi.exp: New file.
4079
40802009-05-27 Tom Tromey <tromey@redhat.com>
4081 Thiago Jung Bauermann <bauerman@br.ibm.com>
4082 Phil Muldoon <pmuldoon@redhat.com>
4083 Paul Pluzhnikov <ppluzhnikov@google.com>
4084
4085 * gdb.python/python-prettyprint.exp: New file.
4086 * gdb.python/python-prettyprint.c: New file.
4087 * gdb.python/python-prettyprint.py: New file.
4088 * gdb.base/display.exp: print/r is now valid.
4089
40902009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
4091 Tom Tromey <tromey@redhat.com>
4092 Pedro Alves <pedro@codesourcery.com>
4093 Paul Pluzhnikov <ppluzhnikov@google.com>
4094
4095 * gdb.python/python-template.exp: New file.
4096 * gdb.python/python-template.cc: New file.
4097 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
4098 tests.
4099 * gdb.python/python-value.exp (py_objfile_tests): New proc.
4100 Call it.
4101 (test_value_after_death): New proc.
4102 * gdb.python/python-value.c (PTR): New typedef.
4103 (main): New variable 'x'.
4104
41052009-05-27 Tom Tromey <tromey@redhat.com>
4106
4107 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
4108 tests.
4109 * gdb.python/python-value.exp (py_objfile_tests): New proc.
4110 Call it.
4111
41122009-05-27 Pedro Alves <pedro@codesourcery.com>
4113
4114 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
4115
41162009-05-24 Pedro Alves <pedro@codesourcery.com>
4117
4118 * gdb.threads/fork-thread-pending.c: New.
4119 * gdb.threads/fork-thread-pending.exp: New.
4120
41212009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4122
4123 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
4124 * gdb.dwarf2/dw2-strp.S (a_string2): New.
4125
41262009-05-18 Jon Beniston <jon@beniston.com>
4127
4128 * gdb.asm/asm-source.exp: Add lm32 target.
4129
41302009-05-17 Pedro Alves <pedro@codesourcery.com>
4131
4132 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
4133 `gdb_get_line_number'. Call `callee' in both parent and child.
4134 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
4135 `gdb_get_line_number' instead of hardcoding line numbers.
4136 (catch_fork_unpatch_child): New procedure to test detaching
4137 breakpoints from child fork.
4138 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
4139 hardcoding line numbers.
4140 (do_fork_tests): Run `catch_fork_unpatch_child'.
4141
41422009-05-17 Vladimir Prus <vladimir@codesourcery.com>
4143
4144 * gdb.mi/mi-cmd-var.exp: Check that when varobj
4145 of structure type enters or leaves the scope, it
4146 is reported by -var-update.
4147
41482009-05-11 Doug Evans <dje@sebabeach.org>
4149
4150 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
4151 * gdb.threads/pending-step.c (main): Fix off-by-one error.
4152 * gdb.threads/schedlock.c (main): Fix off-by-one error.
4153
41542009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4155
4156 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
4157
41582009-04-30 Doug Evans <dje@google.com>
4159
4160 * gdb.threads/watchthreads2.exp: New testcase.
4161 * gdb.threads/watchthreads2.c: New testcase.
4162
41632009-04-29 Doug Evans <dje@google.com>
4164
4165 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
4166 * gdb.cp/mb-ctor.cc: Ditto.
4167 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
4168 * gdb.cp/mb-inline.h (multi_line_foo): New function.
4169 * gdb.cp/mb-inline1.cc: Call it.
4170 * gdb.cp/mb-inline2.cc: Ditto.
4171 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
4172 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
4173
41742009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4175
4176 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
4177 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
4178 Replace all uses of `decimal' by `nonzero'.
4179 (info macro FROM_COMMANDLINE): New test.
4180
41812009-04-27 Tom Tromey <tromey@redhat.com>
4182
4183 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
4184
41852009-04-27 Doug Evans <dje@google.com>
4186
4187 * gdb.threads/watchthreads.c (main): Initialize args before starting
4188 the threads. Plus formatting cleanup.
4189 * gdb.threads/watchthreads.exp: Avoid errant failures due to
4190 biased scheduling of one thread.
4191
41922009-04-27 Jerome Guitton <guitton@adacore.com>
4193
4194 * gdb.cp/templates.cc (GetMax): New template.
4195 (main): Declare two instances of GetMax.
4196 * gdb.cp/templates.exp: Add new test.
4197
41982009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4199
4200 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
4201
42022009-04-22 Joseph Myers <joseph@codesourcery.com>
4203
4204 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
4205
42062009-04-15 Tom Tromey <tromey@redhat.com>
4207
4208 * gdb.base/charset.exp: Add regression test.
4209
42102009-04-14 Joel Brobecker <brobecker@adacore.com>
4211
4212 * gdb.base/exe-lock.exp: New testcase.
4213
42142009-04-13 Tom Tromey <tromey@redhat.com>
4215
4216 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
4217 operator on Frame.
4218
42192009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4220
4221 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
4222 * gdb.server/ext-attach.exp: Likewise.
4223
42242009-04-03 Vladimir Prus <vladimir@codesourcery.com>
4225
4226 Eliminate some sleep usage.
4227
4228 * gdb.mi/basics.c (do_nothing): New.
4229 (main): Use do_nothing instead of printf, so that
4230 not to introduce race condition between output of
4231 inferiour and output of gdb. Do not use sleep as it
4232 is not generally available on embedded targets.
4233
42342009-04-02 Pedro Alves <pedro@codesourcery.com>
4235
4236 * gdb.server/ext-attach.exp: Expect an optional process id after
4237 "Detached from remote process".
4238
42392009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4240
4241 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
4242 gdb.dwarf2/dw2-unresolved.exp: New.
4243
42442009-04-02 Pedro Alves <pedro@codesourcery.com>
4245
4246 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
4247 mi_run_to_main.
4248
42492009-04-02 Pedro Alves <pedro@codesourcery.com>
4250
4251 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
4252 mi_run_to_main. Skip thread exit test on remote targets.
4253 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
4254 mi_run_to_main.
4255 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
4256 mi_run_to_main.
4257 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
4258 when expecting ^connected. Detect when the target doesn't support
4259 non-stop mode.
4260 (mi_run_cmd): Detect if non-stop mode was requested by isn't
4261 supported. Return -1 on error, 0 on success.
4262 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
4263 (mi_runto): Return mi_runto_helper's result explicitly.
4264
42652009-04-01 Pedro Alves <pedro@codesourcery.com>
4266
4267 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
4268
42692009-04-01 Tom Tromey <tromey@redhat.com>
4270
4271 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
4272 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
4273 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
4274 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
4275
42762009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
4277 Jan Kratochvil <jan.kratochvil@redhat.com>
4278
4279 PR gdb/931
4280 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
4281 output.
4282 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
4283 for gdb/931.
4284 * dw2-strp.S (DW_AT_language): Change to C++.
4285 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
4286
42872009-03-31 Joel Brobecker <brobecker@adacore.com>
4288
4289 * gdb.ada/tasks: New testcase.
4290
42912009-03-30 Stan Shebs <stan@codesourcery.com>
4292
4293 * gdb.trace/actions.exp: Update to match new info trace format.
4294 * gdb.trace/deltrace.exp: Ditto.
4295 * gdb.trace/infotrace.exp: Ditto.
4296 * gdb.trace/passcount.exp: Ditto.
4297 * gdb.trace/save-trace.exp: Ditto.
4298 * gdb.trace/while-stepping.exp: Ditto.
4299 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
4300
43012009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4302
4303 * gdb.python/python-frame.c: New file.
4304 * gdb.python/python-frame.exp: New file.
4305
43062009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
4307
4308 * gdb.python/python-value.exp: Add tests for the address
4309 attribute.
4310
43112009-03-29 Andreas Schwab <schwab@linux-m68k.org>
4312
4313 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
4314
43152009-03-26 Doug Evans <dje@google.com>
4316
4317 * gdb.mi/mi-nonstop-exit.exp: New file.
4318 * gdb.mi/non-stop-exit.c: New file.
4319
43202009-03-26 Tom Tromey <tromey@redhat.com>
4321
4322 Update for change to prologue skipping:
4323 * gdb.mi/mi2-simplerun.exp: Update.
4324 * gdb.mi/mi2-break.exp: Update.
4325 * gdb.mi/mi-simplerun.exp: Update.
4326 * gdb.mi/mi-break.exp: Update.
4327 * gdb.base/ending-run.exp: Update.
4328
43292009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
4330
4331 * gdb.python/python-value.exp (test_value_in_inferior): Test
4332 gdb.Value.is_optimized_out attribute.
4333
43342009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4335
4336 * gdb.dwarf2/dw2-noloc-main.c: New file.
4337 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
4338 (.text): Remove.
4339 (.data): New.
4340 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
4341 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
4342 (DW_TAG_subprogram func_cu1, noloc): Remove.
4343 (main): New.
4344 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
4345 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
4346 (file_symbols): New procedure.
4347
43482009-03-25 Tom Tromey <tromey@redhat.com>
4349
4350 * gdb.base/charset.exp (valid_target_charset): New proc.
4351 Use it to skip tests on invalid charsets.
4352
43532009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
4354
4355 * gdb.base/completion.exp: Add a test for directory completion.
4356
43572009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4358
4359 Fix a racy FAIL.
4360 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
4361 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
4362
43632009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
4364
4365 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
4366 * gdb.python/python-function.exp: Add test for function returning
4367 a GDB value.
4368
43692009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
4370
4371 * gdb.python/python-function.exp: New file.
4372
43732009-03-20 Tom Tromey <tromey@redhat.com>
4374
4375 * gdb.base/store.exp: Update for change to escape output.
4376 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
4377 to escape output.
4378 * gdb.base/pointers.exp: Update for change to escape output.
4379 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
4380 to escape output.
4381 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
4382 escape output.
4383 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
4384 to escape output.
4385 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
4386 escape output.
4387 * gdb.base/setvar.exp: Update for change to escape output.
4388 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
4389 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
4390 to escape output.
4391 (test_print_string_constants): Likewise.
4392 * gdb.base/charset.exp (valid_host_charset): Check size of
4393 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
4394 cases. Handle "auto"-related output.
4395 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
4396 (uvar, Uvar): New globals.
4397
43982009-03-19 Jerome Guitton <guitton@adacore.com>
4399
4400 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
4401 deltas.
4402 * gdb.ada/fixed_points.exp: Ditto.
4403
44042009-03-18 Pedro Alves <pedro@codesourcery.com>
4405
4406 * return-nodebug.c: Don't include stdio.h.
4407 (init): Delete.
4408 (func): Delete definition and provide extern declaration.
4409 (t): New.
4410 (main): Don't call printf. Call func and store its result in t.
4411 * return-nodebug1.c: New.
4412 * return-nodebug.exp: Don't expect stdio output. Instead, print
4413 the global variable t. Drop printf formatters and cast types from
4414 foreach loop. Don't use prepare_for_testing. Compile
4415 return-nodebug.c and return-nodebug1.c in separate steps. Don't
4416 define FORMAT or CAST.
4417
44182009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4419
4420 * gdb.base/solib-display.exp: Disable test for remote targers.
4421
44222009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4423
4424 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
4425
44262009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4427
4428 Fix a racy FAIL.
4429 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
4430 code from `follow parent, print pids'.
4431 (`follow child, print pids', `follow parent, print pids'): Call it.
4432 Replace `gdb_test "break..."' by gdb_breakpoint.
4433
44342009-03-13 Vladimir Prus <vladimir@codesourcery.com>
4435
4436 * gdb.mi/mi-cli.exp: Adjust for output difference in
4437 sync and async modes.
4438
44392009-03-12 Joel Brobecker <brobecker@adacore.com>
4440
4441 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
4442 that was checked in by mistake. Remove loading of ada.exp, since
4443 this is not necessary in this case.
4444
44452009-03-12 Joel Brobecker <brobecker@adacore.com>
4446
4447 * gdb.ada/ptype_arith_binop.exp: New testcase.
4448
44492009-03-12 Joel Brobecker <brobecker@adacore.com>
4450
4451 * gdb.ada/mod_from_name: New testcase.
4452
44532009-03-12 Joel Brobecker <brobecker@adacore.com>
4454
4455 * gdb.ada/tick_last_segv: New testcase.
4456
44572009-03-12 Vladimir Prus <vladimir@codesourcery.com>
4458
4459 * gdb.mi/mi-cli.exp: Remove debug print.
4460
44612009-03-12 Vladimir Prus <vladimir@codesourcery.com>
4462
4463 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
4464 include the token in ^running and frame info in *stopped.
4465
44662009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4467
4468 * solib-display.exp: New file.
4469 * solib-display-main.c: New file.
4470 * solib-display-lib.c: New file.
4471
44722009-03-05 Pedro Alves <pedro@codesourcery.com>
4473
4474 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
4475
44762009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4477
4478 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
4479 (list_and_check_macro): Use more specific test name.
4480 (next to definition): Make the test names unique.
4481
44822009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
4483
4484 * gdb.pascal/floats.exp: Accept approximate results everywhere.
4485
44862009-02-17 Vladimir Prus <vladimir@codesourcery.com>
4487
4488 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
4489 notifications.
4490 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
4491 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
4492 * lib/mi-support.exp (library_loaded_re): New.
4493 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
4494
44952009-02-17 Vladimir Prus <vladimir@codesourcery.com>
4496
4497 * gdb.gdb/observer.exp: Use test_notification observer, not
4498 normal_stop, everywhere.
4499 (test_normal_stop_notifications): Rename to...
4500 (test_notifications): ...this.
4501 (test_observer_normal_stop): Rename to...
4502 (test_observer): ...this.
4503
45042009-02-16 Doug Evans <dje@google.com>
4505
4506 * gdb.arch/amd64-disp-step.S (test_int3): New test.
4507 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
4508 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
4509 (test_prefixed_syscall,test_int3): New tests.
4510 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
4511 (test_prefixed_syscall,test_int3): New tests.
4512
45132009-02-14 Vladimir Prus <vladimir@codesourcery.com>
4514
4515 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
4516 (mi_expect_interrupt): Likewise.
4517 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
4518 response.
4519
45202009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
4521
4522 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
4523 * gdb.base/pc-fp.exp (get_valueofx): Remove.
4524 Replace calls to get_valueofx by get_hexadecimal_valueof.
4525
45262009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
4527
4528 * lib/gdb.exp (get_valueof): Accept anything as a return value.
4529 (get_integer_valueof): New procedure.
4530 (get_sizeof): Use new get_integer_value_of.
4531 * gdb.base/sizeof.exp: Replace all uses of get_valueof
4532 by get_integer_valueof.
4533
45342009-02-13 Tom Tromey <tromey@redhat.com>
4535
4536 * gdb.base/remote.exp (get_sizeof): Remove.
4537 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
4538 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
4539 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
4540 * lib/gdb.exp (get_valueof): Move from long_long.exp.
4541 (get_sizeof): Likewise.
4542
45432009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 PR fortran/9806
4546 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
4547
45482009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4549
4550 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
4551
45522009-02-06 Pedro Alves <pedro@codesourcery.com>
4553
4554 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
4555
45562009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
4557
4558 * gdb.python/python-cmd.exp: New file.
4559
45602009-02-06 Tristan Gingold <gingold@adacore.com>
4561
4562 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
4563
45642009-02-05 Tristan Gingold <gingold@adacore.com>
4565
4566 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
4567 pointer is dereferenced and use this signal name in regexp.
4568 * gdb.base/signull.exp: Ditto.
4569 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
4570 * gdb.base/signull.c (main): Ditto.
4571
45722009-02-04 Tom Tromey <tromey@redhat.com>
4573 Thiago Jung Bauermann <bauerman@br.ibm.com>
4574
4575 * gdb.python/python-value.exp: Use `gdb.history' instead of
4576 `gdb.value_from_history'.
4577 (test_value_numeric_ops): Add test for conversion of enum constant.
4578 * gdb.python/python-value.c (enum e): New type.
4579 (evalue): New global.
4580 (main): Use argv.
4581
45822009-02-04 Jerome Guitton <guitton@adacore.com>
4583
4584 * gdb.ada/uninitialized_vars: New test program.
4585 * gdb.ada/uninitialized_vars.exp: New testcase.
4586
45872009-02-02 Tom Tromey <tromey@redhat.com>
4588
4589 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
4590 * gdb.cp/pr2489.cc: Rename...
4591 * gdb.cp/pr9594.cc: ... to this.
4592
45932009-02-02 Tom Tromey <tromey@redhat.com>
4594
4595 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
4596 * gdb.cp/pr2489.cc: New file.
4597 * gdb.cp/cpcompletion.exp: New file.
4598
45992009-02-02 Tom Tromey <tromey@redhat.com>
4600
4601 PR exp/9059:
4602 * gdb.cp/call-c.exp: Add regression test.
4603 * gdb.cp/call-c.cc (FooHandle): New typedef.
4604 (main): New variable 'handle'.
4605
46062009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4607
4608 * lib/mi-support.exp (et_mi_thread_list)
4609 (check_mi_and_console_threads): Adjust for current thread in
4610 -thread-list-ids output.
4611
46122009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4613
4614 * gdb.mi/mi-break.exp (test_disabled_creation): New.
4615 Call it.
4616
46172009-01-28 Doug Evans <dje@google.com>
4618
4619 * gdb.arch/amd64-disp-step.S: New file.
4620 * gdb.arch/amd64-disp-step.exp: New file.
4621 * gdb.arch/i386-disp-step.S: New file.
4622 * gdb.arch/i386-disp-step.exp: New file.
4623
46242009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
4625
4626 * gdb.base/find.exp: Set newline variable
4627 using quotes instead of braces to fix cygwin failures.
4628
46292009-01-23 Pedro Alves <pedro@codesourcery.com>
4630
4631 * gdb.base/radix.exp: Add tests to ensure that that set
4632 input-radix 0 and set output-radix 0 are really rejected.
4633
46342009-01-23 Pedro Alves <pedro@codesourcery.com>
4635
4636 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
4637 copyright years.
4638
46392009-01-23 Pedro Alves <pedro@codesourcery.com>
4640
4641 PR gdb/9664:
4642 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
4643
46442009-01-22 Pedro Alves <pedro@codesourcery.com>
4645
4646 PR c++/9631:
4647 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
4648
46492009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
4650
4651 * gdb.server/file-transfer.exp: Use EXEEXT variable for
4652 binfile definition to fix Windows OS failure.
4653
46542009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
4655
4656 PR gdb/9346
4657 * gdb.base/interrupt.c (sigint_handler): New.
4658 (main): Install a SIGINT handler if SIGNALS is defined. Exit
4659 on error.
4660 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
4661 Test "signal SIGINT".
4662
46632009-01-19 Doug Evans <dje@google.com>
4664
4665 * gdb.base/break.exp: Update expected gdb output.
4666 * gdb.base/sepdebug.exp: Ditto.
4667 * gdb.mi/mi-syn-frame.exp: Ditto.
4668 * gdb.mi/mi2-syn-frame.exp: Ditto.
4669 * gdb.base/call-signal-resume.exp: New file.
4670 * gdb.base/call-signals.c: New file.
4671 * gdb.base/unwindonsignal.exp: New file.
4672 * gdb.base/unwindonsignal.c: New file.
4673 * gdb.threads/interrupted-hand-call.exp: New file.
4674 * gdb.threads/interrupted-hand-call.c: New file.
4675 * gdb.threads/thread-unwindonsignal.exp: New file.
4676
46772009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
4678
4679 * gdb.base/define.exp: Test defining and hooking prefix commands.
4680 * gdb.python/python.exp: Update test for "show user" output.
4681
46822009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4683
4684 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
4685 now the output exactly, using less wildcards. Expect also the output
4686 of gfortran-4.3. Update for the f-valprint.c modification from
4687 2008-04-22.
4688 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
4689 Remove gdb_test test names where matching the command.
4690
46912009-01-01 Pedro Alves <pedro@codesourcery.com>
4692
4693 PR breakpoints/9681:
4694 * gdb.base/watchpoint.exp: Add regression test.
4695
46962008-12-31 Pedro Alves <pedro@codesourcery.com>
4697
4698 * gdb.threads/attach-into-signal.exp: Don't use
4699 gdb_suppress_entire_file.
4700 * gdb.threads/attach-stopped.exp: Ditto.
4701 * gdb.threads/attachstop-mt.exp: Ditto.
4702
47032008-12-31 Pedro Alves <pedro@codesourcery.com>
4704
4705 PR gdb/8812:
4706 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
4707
47082008-12-29 Pedro Alves <pedro@codesourcery.com>
4709
4710 PR gdb/7536:
4711 * gdb.base/radix.exp: Add tests to ensure invalid input radices
4712 and unsupported output radices are really rejected.
4713
47142008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4715
4716 * gdb.cp/punctuator.exp: Backslash the '$' signs.
4717
47182008-12-22 Tom Tromey <tromey@redhat.com>
4719
4720 * gdb.cp/punctuator.exp: New file.
4721
47222008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4723
4724 * gdb.base/completion.exp (Completing non-existing component): New test.
4725
47262008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4727
4728 Fix for PR gdb/8648.
4729 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
4730 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
4731 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
4732 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
4733
47342008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4735
4736 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
4737
47382008-12-16 Christophe Lyon <christophe.lyon@st.com>
4739
4740 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
4741 compiler actually generate code at the expected line number.
4742
47432008-12-15 Jie Zhang <jie.zhang@analog.com>
4744
4745 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
4746
47472008-12-12 Tom Tromey <tromey@redhat.com>
4748
4749 * gdb.base/commands.exp (redefine_hook_test): New proc.
4750 Call it.
4751
47522008-12-11 Tom Tromey <tromey@redhat.com>
4753
4754 * gdb.base/macscp.exp: New regression test.
4755
47562008-12-11 Tom Tromey <tromey@redhat.com>
4757
4758 * gdb.base/macscp.exp: Print "address.addr".
4759 * gdb.base/macscp1.c (struct outer): New struct.
4760 (address): New global.
4761
47622008-12-09 Tom Tromey <tromey@redhat.com>
4763
4764 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
4765 Call it.
4766
47672008-12-04 Doug Evans <dje@google.com>
4768
4769 * gdb.server/ext-run.exp: Relax regexp for init program.
4770
47712008-12-03 Tristan Gingold <gingold@adacore.com>
4772
4773 * gdb.base/macscp.exp: Generate an object file during compilation
4774 to work around Darwin dsymutil limitations.
4775
47762008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4777
4778 Test resolving external references to TLS variables.
4779 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
4780 FILE2_THREAD_LOCAL.
4781 (testfile2, srcfile2): New variables.
4782 * gdb.threads/tls.c (file2_thread_local)
4783 (function_referencing_file2_thread_local): New.
4784 * gdb.threads/tls2.c: New file.
4785
47862008-11-28 Joel Brobecker <brobecker@adacore.com>
4787
4788 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
4789 rather than integer, as integer might not be big enough when
4790 on 64bit targets.
4791
47922008-11-27 Jerome Guitton <guitton@adacore.com>
4793
4794 * gdb.cp/formatted-ref.exp: Add equality test.
4795 * gdb.ada/formatted_ref.exp: Ditto.
4796
47972008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4798
4799 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
4800 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
4801
48022008-11-20 Andreas Schwab <schwab@suse.de>
4803
4804 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
4805 matching syscall entry point.
4806 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4807 (tcatch_vfork_then_child_follow): Likewise. Finish through
4808 vfork even if we stopped at the syscall trampoline.
4809
48102008-11-20 Doug Evans <dje@google.com>
4811
4812 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
4813
48142008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
4815
4816 * gdb.arch/ppc-dfp.exp: New file.
4817 * gdb.arch/ppc-dfp.c: New file.
4818
48192008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4820
4821 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
4822
48232008-11-17 Doug Evans <dje@google.com>
4824
4825 * gdb.mi/mi-syn-frame.exp: Update expected output.
4826 * gdb.mi/mi2-syn-frame.exp: Update expected output.
4827
48282008-11-17 Vladimir Prus <vladimir@codesourcery.com>
4829
4830 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
4831 "thread N" results in =thread-selected.
4832 * lib/mi-support (mi_run_cmd, mi_expect_stop)
4833 (mi_send_resuming_command_raw): Be prepared for
4834 =thread-selected.
4835
48362008-11-17 Vladimir Prus <vladimir@codesourcery.com>
4837
4838 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
4839 * lib/mi-support.exp: Likewise.
4840
48412008-11-16 Joel Brobecker <brobecker@adacore.com>
4842
4843 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
4844 commands from the expected output for "help catch".
4845
48462008-11-15 Joel Brobecker <brobecker@adacore.com>
4847
4848 * gdb.ada/int_deref.exp: New testcase.
4849
48502008-11-14 Nick Roberts <nickrob@snap.net.nz>
4851
4852 * gdb.mi/gdb2549.exp: New file.
4853
48542008-11-11 Doug Evans <dje@google.com>
4855
4856 * gdb.base/callexit.exp: New file.
4857 * gdb.base/callexit.c: New file.
4858
48592008-11-10 Doug Evans <dje@google.com>
4860
4861 * lib/gdb.exp (GDBFLAGS): Move -nx ...
4862 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
4863 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
4864 (default_gdb_start,default_gdb_exit): Ditto.
4865 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
4866 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
4867 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
4868 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
4869 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
4870 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
4871
48722008-11-03 Andreas Schwab <schwab@suse.de>
4873
4874 * gdb.base/hashline2.exp: Fix typo.
4875 * gdb.base/hashline3.exp: Likewise.
4876
48772008-10-30 Tom Tromey <tromey@redhat.com>
4878
4879 * gdb.base/pointers.exp: Add test.
4880 * gdb.base/pointers.c (k, S): New typedefs.
4881 (instance): New global.
4882
48832008-10-30 Andreas Schwab <schwab@suse.de>
4884
4885 * gdb.base/args.exp: Add tests for newlines.
4886
48872008-10-30 Joel Brobecker <brobecker@adacore.com>
4888
4889 gdb.base/foll-exec.exp: Update the expected output of a couple
4890 of "info breakpoints" tests.
4891
48922008-10-28 Tom Tromey <tromey@redhat.com>
4893
4894 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
4895
48962008-10-24 Pedro Alves <pedro@codesourcery.com>
4897
4898 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
4899 gdb_start_cmd.
4900 Use runto_main before any test that requires execution.
4901
49022008-10-23 Pedro Alves <pedro@codesourcery.com>
4903
4904 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
4905 instead of SIGINT.
4906
49072008-10-22 Joel Brobecker <brobecker@adacore.com>
4908
4909 * gdb.base/completion.exp: Update expected output following
4910 the addition of the "info tasks" command.
4911
49122008-10-22 Tom Tromey <tromey@redhat.com>
4913
4914 * gdb.base/exprs.exp (test_expr): Add test for string
4915 concatenation.
4916
49172008-10-19 Pedro Alves <pedro@codesourcery.com>
4918
4919 * configure.ac: Output gdb.python/Makefile.
4920 * configure: Regenerate.
4921 * gdb.python/Makefile.in: New.
4922
49232008-10-16 Joel Brobecker <brobecker@adacore.com>
4924
4925 * gdb.base/foll-fork.exp: Adjust the expected output to match
4926 the new description for fork/vfork catchpoints in the "info
4927 breakpoints" output.
4928
49292008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4930
4931 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
4932
49332008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
4934
4935 * gdb.python/python-value.c: New file.
4936 * gdb.python/python-value.exp: New file.
4937
49382008-10-15 Pedro Alves <pedro@codesourcery.com>
4939
4940 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
4941
49422008-10-15 Denis Pilat <denis.pilat@st.com>
4943
4944 * gdb.cp/mb-ctor.exp: Fix a typo.
4945
49462008-10-09 Tom Tromey <tromey@redhat.com>
4947
4948 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
4949 'fprintf' and 'stderr'.
4950
49512008-10-07 Joel Brobecker <brobecker@adacore.com>
4952
4953 * gdb.ada/ref_tick_size.exp: New testcase.
4954
49552008-10-06 Doug Evans <dje@google.com>
4956
4957 * gdb.dwarf2/dw2-cu-size.exp: New file.
4958 * gdb.dwarf2/dw2-cu-size.S: New file.
4959
4960 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
4961 .Ltype_int for clarity.
4962
49632008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4964
4965 PR gdb/2384:
4966 * gdb.cp/gdb2384.exp: Extended to test more cases.
4967 * gdb.cp/gdb2384.cc: Likewise.
4968 * gdb.cp/gdb2384-base.h: Likewise.
4969 * gdb.cp/gdb2384-base.cc: Likewise.
4970
49712008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4972
4973 * gdb.base/maint.exp (maint print type): Remove printing
4974 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
4975
49762008-09-30 Tom Tromey <tromey@redhat.com>
4977
4978 * gdb.base/macscp.exp: Add completion tests.
4979 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
4980 (TWENTY_THREE): Likewise.
4981 (FORTY_EIGHT): Likewise.
4982
49832008-09-30 Tom Tromey <tromey@redhat.com>
4984
4985 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
4986 everywhere.
4987 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
4988
49892008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4990
4991 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
4992 testcase is derived from. Fix racy dependency on an expected PID
4993 number. No longer support the testcase on Linux kernel 2.4.x.
4994
49952008-09-27 Tom Tromey <tromey@redhat.com>
4996
4997 * gdb.base/macscp.exp: Add tests for stringification, splicing,
4998 and varargs.
4999
50002008-09-22 Pedro Alves <pedro@codesourcery.com>
5001
5002 * lib/mi-support.exp (mi_expect_interrupt): New.
5003 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
5004 from gdb.mi/mi-nonstop.exp.
5005 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
5006 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
5007 lib/mi-support.exp.
5008 Use mi_check_thread_states throughout. Avoid ".*" and do not
5009 require an anchor after -exec-run.
5010
50112008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
5012
5013 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
5014 stop is pending. Avoid ".*" when two stops are pending.
5015 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
5016 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
5017 newlines in fullnames.
5018 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
5019 (mi_expect_stop): Update comments. Only anchor in sync mode.
5020 Do not match newlines.
5021 (mi_send_resuming_command_raw): Always return status.
5022 (mi_get_stop_line): Do not match more than one line by accident.
5023 Only anchor in sync mode.
5024 (mi_run_inline_test): If -exec-next fails, give up.
5025
50262008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5027
5028 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
5029 on SPU.
5030
50312008-09-10 Joel Brobecker <brobecker@adacore.com>
5032
5033 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
5034
50352008-09-10 Joel Brobecker <brobecker@adacore.com>
5036
5037 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
5038 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
5039 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
5040 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
5041 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
5042 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
5043 gdb.ada/interface.exp, gdb.ada/null_array.exp,
5044 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
5045 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
5046 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
5047 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
5048 Include the "= " sequence in the expected output of print tests.
5049
50502008-09-10 Joel Brobecker <brobecker@adacore.com>
5051
5052 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
5053 description for boolean types.
5054
50552008-09-09 Pedro Alves <pedro@codesourcery.com>
5056
5057 * gdb.base/hook-stop-continue.c: New.
5058 * gdb.base/hook-stop-continue.exp: New.
5059
50602008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
5061
5062 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
5063
50642008-09-08 Jerome Guitton <guitton@adacore.com>
5065
5066 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
5067 (stack_check_probe_2, stack_check_probe_loop_1)
5068 (stack_check_probe_loop_2): New functions.
5069 (main): Add call to these new functions.
5070 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
5071 functions, check that the breakpoint is inserted at the appropriate
5072 location.
5073 (insert_breakpoint): Slightly refine this procedure so that it can
5074 be called several times in the test.
5075
50762008-09-08 Jerome Guitton <guitton@adacore.com>
5077
5078 * gdb.base/stack-checking.c: New file.
5079 * gdb.base/stack-checking.exp: New file.
5080
50812008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
5082
5083 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
5084 * gdb.arch/altivec-regs.exp: Likewise.
5085 * gdb.arch/vsx-regs.exp: Likewise.
5086
50872008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
5088
5089 * gdb.arch/ppc-fp.exp: New file.
5090 * gdb.arch/ppc-fp.c: New file.
5091
50922008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5093
5094 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
5095 lest gcc-4.3.1 optimizes the whole thing away.
5096
50972008-09-04 Michael Snyder <msnyder@vmware.com>
5098
5099 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
5100 as "at" (for non-debug functions such as _start).
5101
51022008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5103
5104 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
5105 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
5106 software watchpoints.
5107 * gdb.base/watch_thread_num.exp: Likewise.
5108
51092008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
5110
5111 * gdb.arch/i386-bp_permanent.exp: New test.
5112
51132008-08-24 Tom Tromey <tromey@redhat.com>
5114
5115 * gdb.base/maint.exp: Update "maint print type".
5116
51172008-08-21 Vladimir Prus <vladimir@codesourcery.com>
5118
5119 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
5120 support. Adjust the order of "*running" notifications.
5121 * gdb.mi/non-stop.c: Don't cast from int to void* and
5122 back.
5123
51242008-08-20 Mark Kettenis <kettenis@gnu.org>
5125
5126 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
5127 expect to find it in the "info frame" output.
5128
51292008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
5130
5131 * gdb.base/interp.exp: Always consume both prompts.
5132
51332008-08-20 Pedro Alves <pedro@codesourcery.com>
5134
5135 * gdb.base/pending.exp: Test pending breakpoints without symbols
5136 loaded.
5137
51382008-08-19 Vladimir Prus <vladimir@codesourcery.com>
5139
5140 * lib/mi-support.exp (mi_expect_stop): Produce
5141 more details on failures.
5142 * gdb.mi/mi-nonstop.exp: New.
5143 * gdb.mi/non-stop.c: New.
5144
51452008-08-19 Vladimir Prus <vladimir@codesourcery.com>
5146
5147 * gdb.mi/mi-async.exp: Use 'set target-async'.
5148 * lib/mi-support.exp: Use 'set/show target-async'.
5149
51502008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
5151
5152 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
5153
51542008-08-17 Tom Tromey <tromey@redhat.com>
5155
5156 * gdb.base/help.exp (help catch): Rewrite.
5157
51582008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5159
5160 * gdb.base/define.exp: Test indented command documentation.
5161 * gdb.python/python.exp: Test indented multi-line command.
5162
51632008-08-15 Luis Machado <luisgpm@br.ibm.com>
5164
5165 * testsuite/gdb.arch/vsx-regs.c: New source file.
5166 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
5167 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
5168
51692008-08-14 Tom Tromey <tromey@redhat.com>
5170
5171 * gdb.base/macscp.exp: Add regression test for "macro define" or
5172 "macro undef" with no arguments.
5173
51742008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5175
5176 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
5177
51782008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5179
5180 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
5181
51822008-08-06 Tom Tromey <tromey@redhat.com>
5183
5184 * gdb.python/python.exp: New file.
5185
51862008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5187
5188 Fix for PR gdb/1543.
5189 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
5190 $LOCATION.
5191 (location): New variable.
5192 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
5193 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
5194 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
5195 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
5196 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
5197 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
5198 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
5199 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
5200 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
5201 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
5202 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
5203 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
5204 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
5205 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
5206 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5207 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
5208 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
5209 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
5210 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
5211 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5212 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
5213 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
5214 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
5215 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
5216 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
5217 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
5218 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
5219 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
5220 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
5221 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
5222 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
5223 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
5224 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
5225 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
5226 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
5227 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
5228 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
5229 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5230 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
5231 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
5232 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
5233 gdb.base/type-opaque.exp, gdb.base/until.exp,
5234 gdb.base/value-double-free.c, gdb.base/varargs.exp,
5235 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
5236 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
5237 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5238 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
5239 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
5240 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5241 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5242 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
5243 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
5244 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
5245 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
5246 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
5247 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
5248 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
5249 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
5250 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5251 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
5252 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
5253 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
5254 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
5255 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
5256 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
5257 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
5258 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
5259 gdb.pascal/types.exp, gdb.stabs/weird.exp,
5260 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
5261 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
5262 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
5263 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
5264 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
5265 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
5266 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5267 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5268 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5269 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5270 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5271 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5272 lib/mi-support.exp, lib/trace-support.exp: Remove reference
5273 to bug-gdb@prep.ai.mit.edu .
5274
52752008-07-31 Vladimir Prus <vladimir@codesourcery.com>
5276
5277 * lib/mi-support.exp (mi_load_shlibs): New.
5278 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
5279
52802008-07-30 Vladimir Prus <vladimir@codesourcery.com>
5281
5282 * lib/mi-support.exp (get_mi_thread_list)
5283 (check_mi_and_console_threads): New, moved from ...
5284 * gdb.mi/mi-pthread.exp: ...here.
5285 * gdb.mi/gdb669.exp (get_mi_thread_list)
5286 (check_mi_and_console_threads): Delete.
5287 * gdb.mi/mi2-pthread.exp: Likewise.
5288
52892008-07-28 Tom Tromey <tromey@redhat.com>
5290
5291 * Makefile.in (just-check): Remove. Move body to...
5292 (check): ... here.
5293
52942008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5295
5296 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
5297 Add a test for duplicated SIGINTs.
5298
52992008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5300
5301 * gdb.threads/schedlock.exp (get_args): Update to work for any
5302 value of NUM.
5303 (Top level): Report the number of threads that did not resume.
5304
53052008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5306
5307 * gdb.dwarf2/dw2-compressed.S: Also define __start.
5308
53092008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5310
5311 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
5312 non-MI prompt.
5313
53142008-07-26 Tom Tromey <tromey@redhat.com>
5315
5316 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
5317 (function_struct, function_struct_ptr): New globals.
5318 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
5319 function pointer in a struct.
5320
53212008-07-26 Tom Tromey <tromey@redhat.com>
5322
5323 * gdb.base/macscp.exp: Add test for macro lexing bug.
5324
53252008-07-18 Tom Tromey <tromey@redhat.com>
5326
5327 * gdb.base/macscp.exp: Add macro tests.
5328
53292008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5330
5331 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
5332
53332008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5334
5335 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
5336
53372008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
5338
5339 * gdb.cp/class2.exp: fix for failure on spu-elf
5340
53412008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5342
5343 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
5344
53452008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5346
5347 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
5348
53492008-07-12 Vladimir Prus <vladimir@codesourcery.com>
5350
5351 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
5352
53532008-07-11 Kevin Buettner <kevinb@redhat.com>
5354
5355 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
5356 of regexp to account for changes made to GDB in the printing of
5357 byte vectors.
5358
53592008-07-11 Tom Tromey <tromey@redhat.com>
5360
5361 * gdb.base/completion.exp: Add 'help' completion test.
5362
53632008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5364
5365 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
5366
53672008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5368
5369 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
5370
53712008-07-09 Pedro Alves <pedro@codesourcery.com>
5372
5373 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
5374
53752008-07-09 Pedro Alves <pedro@codesourcery.com>
5376
5377 * gdb.base/fullname.exp: Restore pwd if compiling failed.
5378
53792008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5380
5381 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
5382
53832008-06-28 Vladimir Prus <vladimir@codesourcery.com>
5384
5385 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
5386 previous commit. Add a comment.
5387
53882008-06-28 Pedro Alves <pedro@codesourcery.com>
5389
5390 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
5391
53922008-06-28 Vladimir Prus <vladimir@codesourcery.com>
5393
5394 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
5395
53962008-06-27 Pedro Alves <pedro@codesourcery.com>
5397
5398 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
5399 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
5400 compiling an executable, link in an object that forces unbuffered
5401 output.
5402 * lib/set_unbuffered_mode.c: New file.
5403
54042008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5405
5406 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
5407
54082008-06-25 Vladimir Prus <vladimir@codesourcery.com>
5409
5410 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
5411 mi_expect_stop.
5412 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
5413 Demand that *running is output.
5414 (detect_async): Perform checking every time.
5415 (mi_send_resuming_command): Extract everything into...
5416 (mi_send_resuming_command_raw): ...this.
5417 (mi_expect_stop): Don't accept any output before *stopped.
5418
54192008-06-13 Vladimir Prus <vladimir@codesourcery.com>
5420
5421 Robustify mi-simplerun.
5422 * gdb.mi/basics.c (main): Add a call to sleep.
5423 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
5424 * gdb.mi/mi2-cli.exp: Likewise.
5425 * gdb.mi/mi-break.exp: Likewise.
5426
54272008-06-11 Vladimir Prus <vladimir@codesourcery.com>
5428
5429 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
5430
54312008-06-10 Vladimir Prus <vladimir@codesourcery.com>
5432
5433 * gdb.mi/mi-console.exp: Adjust.
5434 * gdb.mi/mi-syn-frame.exp: Adjust.
5435 * gdb.mi/mi2-console.exp: Adjust.
5436 * gdb.mi/mi2-syn-frame.exp: Adjust.
5437 * lib/mi-support.exp (mi_run_cmd): Adjust.
5438 (mi_send_resuming_command): Adjust.
5439
54402008-06-10 Vladimir Prus <vladimir@codesourcery.com>
5441
5442 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
5443 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
5444 testing of stopped.
5445 * gdb.mi/mi2-syn-frame.exp: Likewise.
5446 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
5447 (async, detect_async): New.
5448 (mi_expect_stop, mi_continue_to_line): Adjust expectation
5449 depending on if we're running in sync or async mode.
5450
54512008-06-09 Tom Tromey <tromey@redhat.com>
5452
5453 * gdb.base/completion.exp: New tests for field name completion
5454 with spaces, and field name completion with '->'.
5455
54562008-06-06 Tom Tromey <tromey@redhat.com>
5457
5458 * gdb.base/break1.c (struct some_struct): New struct.
5459 (values): New global.
5460 * gdb.base/completion.exp: Add field name completion test.
5461
54622008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5463
5464 * gdb.cp/call-c.exp: Test for incorrect handling of reference
5465 to pointer.
5466 * gdb.cp/call-c.cc: Likewise.
5467
54682008-06-06 Nick Roberts <nickrob@snap.net.nz>
5469
5470 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
5471 annotation.
5472
54732008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5474 Pedro Alves <pedro@codesourcery.com>
5475
5476 * gdb.threads/execl.c, gdb.threads/execl1.c,
5477 gdb.threads/execl.exp: New tests.
5478
54792008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
5480 Daniel Jacobowitz <dan@codesourcery.com>
5481
5482 * gdb.cp/exception.exp: Activate test, make it work with pending
5483 catchpoints.
5484
54852008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5486
5487 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
5488
54892008-05-28 Vladimir Prus <vladimir@codesourcery.com>
5490
5491 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
5492 now printed.
5493 * gdb.mi/mi2-var-cmd.exp: Likewise.
5494
54952008-05-27 Andreas Schwab <schwab@suse.de>
5496
5497 * gdb.base/frame-args.exp: Handle arguments that are optimized
5498 out.
5499
55002008-05-26 Luis Machado <luisgpm@br.ibm.com>
5501
5502 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
5503 quiet for ppc32 and group options into a single variable.
5504
55052008-05-23 Joel Brobecker <brobecker@adacore.com>
5506
5507 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
5508 of zero-size elements.
5509 * gdb.ada/null_array.exp: Test printing this new array.
5510
55112008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5512
5513 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
5514
55152008-05-21 Joel Brobecker <brobecker@adacore.com>
5516
5517 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
5518 of the "finish" command.
5519
55202008-05-21 Nick Roberts <nickrob@snap.net.nz>
5521
5522 * gdb.base/annota1.exp: Test for new annotation.
5523
55242008-05-16 Pedro Alves <pedro@codesourcery.com>
5525
5526 * gdb.base/fixsection.exp: New file.
5527 * gdb.base/fixsection0.c: New file.
5528 * gdb.base/fixsection1.c: New file.
5529
55302008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5531
5532 * gdb.base/annota1.exp: Accept printf@... in place of printf.
5533 * gdb.base/annota3.exp: Likewise.
5534
55352008-05-13 Nathan Froyd <froydnj@codesourcery.com>
5536
5537 * gdb.base/watch_thread_num.exp: Don't run tests that require
5538 watchpoints if the target doesn't support them.
5539
55402008-05-12 Doug Evans <dje@google.com>
5541
5542 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
5543
55442008-05-09 Joel Brobecker <brobecker@adacore.com>
5545
5546 * gdb.ada/assign_1.exp: New testcase.
5547
55482008-05-09 Doug Evans <dje@google.com>
5549
5550 * gdb.base/find.exp: New file.
5551 * gdb.base/find.c: New file.
5552
55532008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
5554
5555 * gdb.base/commands.exp (watchpoint_command_test): Handle
5556 gdb,no_hardware_watchpoints.
5557 * gdb.base/float.exp: Allow ARM targets without floating point.
5558 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
5559
55602008-05-06 Jerome Guitton <guitton@adacore.com>
5561 Joel Brobecker <brobecker@adacore.com>
5562
5563 * gdb.ada/lang_switch: New test program.
5564 * gdb.ada/lang_switch.exp: New testcase.
5565
55662008-05-05 Doug Evans <dje@google.com>
5567
5568 * gdb.base/help.exp (disassemble): Update expected help text.
5569
55702008-05-04 Pedro Alves <pedro@codesourcery.com>
5571
5572 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
5573
55742008-05-04 Pedro Alves <pedro@codesourcery.com>
5575
5576 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
5577 different times.
5578
55792008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5580
5581 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
5582 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
5583 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
5584 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
5585
55862008-05-04 Vladimir Prus <vladimir@codesourcery.com>
5587
5588 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
5589 notification to appear.
5590
55912008-05-04 Daniel Jacobowitz <dan@debian.org>
5592
5593 * gdb.base/fullname.c: New file.
5594 * gdb.base/fullname.exp: New file.
5595 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
5596
55972008-05-03 Pedro Alves <pedro@codesourcery.com>
5598
5599 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
5600 expressions with macros.
5601
56022008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5603
5604 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
5605
56062008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
5607
5608 * gdb.base/completion.exp: Handle lack of other symbols beginning
5609 with "a".
5610
5611 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
5612
56132008-05-02 Jim Blandy <jimb@codesourcery.com>
5614
5615 * gdb.asm/asmsrc1.s: Add scratch space.
5616
56172008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5618 Daniel Jacobowitz <dan@codesourcery.com>
5619
5620 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
5621 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
5622 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
5623
56242007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
5625
5626 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
5627
56282008-05-01 Joel Brobecker <brobecker@adacore.com>
5629
5630 * gdb.base/info-target.exp: New testcase.
5631
56322008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
5633
5634 * gdb.cp/hang.exp: Use .cc instead of .C.
5635 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
5636 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
5637
56382008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
5639
5640 * gdb.base/gdb1250.exp: Remove perror.
5641 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
5642
56432008-04-30 Pedro Alves <pedro@codesourcery.com>
5644
5645 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
5646 .2byte.
5647
56482008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
5649
5650 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
5651 (maybe_kfail): New.
5652
56532008-04-25 Pedro Alves <pedro@codesourcery.com>
5654
5655 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
5656
56572008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5658
5659 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
5660 * gdb.mi/mi2-syn-frame.exp: Likewise.
5661 * lib/mi-support.exp: Likewise.
5662
56632008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5664
5665 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
5666 to specify regexp for the location to stop at.
5667 * gdb.base/break-always.c: New.
5668 * gdb.base/break-always.exp: New.
5669
56702008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5671
5672 * lib/mi-support.exp (mi_runto_helper): Adjust
5673 for the original-location field.
5674 (mi_create_breakpoint, mi_list_breakpoints): New.
5675 * gdb.mi/mi-break.exp: Adjust.
5676 * gdb.mi/mi2-break.exp: Adjust.
5677 * gdb.mi/mi-pending.exp: Adjust.
5678 * gdb.mi/mi-simplerun.exp: Adjust.
5679 * gdb.mi/mi2-simplerun.exp: Adjust.
5680 * gdb.mi/mi-syn-frame.exp: Adjust.
5681 * gdb.mi/mi2-syn-frame.exp: Adjust.
5682 * gdb.mi/mi-until.exp: Adjust.
5683 * gdb.mi/mi2-until.exp: Adjust.
5684 * gdb.mi/mi-var-display.exp: Adjust.
5685 * gdb.mi/mi2-var-display.exp: Adjust.
5686 * gdb.mi/mi-watch.exp: Adjust.
5687 * gdb.mi/mi2-watch.exp: Adjust.
5688
56892008-04-23 Paolo Bonzini <bonzini@gnu.org>
5690
5691 * aclocal.m4: Add override.m4.
5692 * configure: Regenerate.
5693
56942008-04-19 Vladimir Prus <vladimir@codesourcery.com>
5695
5696 * gdb.mi/var-cmd.c (do_at_tests): Verify that
5697 '-var-update --all-values' reports new value even the type
5698 of a variable object has changed.
5699
57002008-04-18 Craig Silverstein <csilvers@google.com>
5701
5702 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
5703 files.
5704
57052008-04-18 Joel Brobecker <brobecker@adacore.com>
5706
5707 * gdb.ada/atomic_enum: New test program.
5708 * gdb.ada/atomic_enum.exp: New testcase.
5709
57102008-04-17 Doug Evans <dje@google.com>
5711
5712 * gdb.opt/Makefile.in: Fix whitespace.
5713
57142008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
5715
5716 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
5717
57182008-04-17 Doug Evans <dje@google.com>
5719
5720 * gdb.base/hashline1.exp: New testcase.
5721 * gdb.base/hashline2.exp: New testcase.
5722 * gdb.base/hashline2.exp: New testcase.
5723
57242008-04-17 Pedro Alves <pedro@codesourcery.com>
5725
5726 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
5727
57282008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
5729
5730 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
5731 temporary breakpoint to match "Temporary breakpoint".
5732 * gdb.base/break.exp (delete_breakpoints): Likewise.
5733 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
5734 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
5735 * gdb.base/display.exp: Likewise.
5736 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
5737 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
5738 * gdb.base/restore.exp (restore_tests): Likewise.
5739 * gdb.base/sepdebug.exp: Likewise.
5740 * gdb.base/watchpoint.exp: Likewise.
5741 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
5742 * gdb.mi/mi-pending.exp: Likewise.
5743 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
5744 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
5745 * gdb.mi/mi-var-cmd.exp: Likewise.
5746 * gdb.mi/mi-var-display.exp: Likewise.
5747 * gdb.mi/mi2-cli.exp: Likewise.
5748 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
5749 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
5750 * gdb.mi/mi2-var-display.exp: Likewise.
5751 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
5752 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
5753 new "disp" field.
5754 (mi_expect_stop): Move after_reason argument to be really after
5755 reason. This is to support fix for PR2424.
5756
57572008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5758
5759 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
5760
57612008-04-13 Vladimir Prus <vladimir@codesourcery.com>
5762
5763 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
5764 field. Add more floating varobj tests.
5765 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
5766 field.
5767 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
5768 (main): Call do_at_tests.
5769 * lib/mi-support.exp (mi_create_floating_varobj)
5770 (mi_varobj_update_with_type_change): New.
5771
57722008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
5773
5774 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
5775 option of -var-evaluate-expression.
5776 * gdb.mi/mi2-var-display.exp: Likewise.
5777
57782008-04-07 Vladimir Prus <vladimir@codesourcery.com>
5779
5780 Introduce test setup helpers.
5781 * lib/gdb.exp (build_executable, clean_restart)
5782 (prepare_for_testing): New.
5783 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
5784 * gdb.base/return.exp: Likewise.
5785 * gdb.base/ending-run.exp: Likewise.
5786
57872008-04-07 Nick Roberts <nickrob@snap.net.nz>
5788
5789 * gdb.mi/mi-async.exp: New test for asynchronous Machine
5790 Interface (MI) responses.
5791
57922008-04-06 Vladimir Prus <vladimir@codesourcery.com>
5793
5794 * gdb.cp/breakpoint.cc: New code to test conditions involving
5795 member variables.
5796 * gdb.cp/breakpoint.exp: Test condition involving member
5797 variables.
5798
57992008-04-05 Vladimir Prus <vladimir@codesourcery.com>
5800
5801 * lib/mi-support.exp (mi_expect_stop): New.
5802 (mi_run_cmd): Change the
5803 token. Use mi_send_resuming_command, use
5804 mi_expect_stop.
5805 (mi_execute_to_helper): Rename to mi_execute_to.
5806 (mi_send_resuming_command): Add more error patterns.
5807 (mi_wait_for_stop): Renamed to...
5808 (mi_get_stop_line): ...this.
5809 (mi_run_inline_test): Adjust.
5810
5811 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
5812 * gdb.mi/mi-console.exp: Likewise.
5813 * gdb.mi/mi-pending.exp: Likewise.
5814 * gdb.mi/mi-simplerun.exp: Likewise.
5815 * gdb.mi/mi-stack.exp: Likewise.
5816 * gdb.mi/mi-stepi.exp: Likewise.
5817 * gdb.mi/mi-syn-frame.exp: Add comment.
5818 * gdb.mi/mi-until.exp: Likewise.
5819 * gdb.mi/mi-var-display.exp: Likewise.
5820 * gdb.mi/mi-watch.exp: Likewise.
5821 * gdb.mi/mi2-cli.exp: Likewise.
5822 * gdb.mi/mi2-console.exp: Likewise.
5823 * gdb.mi/mi2-simplerun.exp: Likewise.
5824 * gdb.mi/mi2-stack.exp: Likewise.
5825 * gdb.mi/mi2-stepi.exp: Likewise.
5826 * gdb.mi/mi2-until.exp: Likewise.
5827 * gdb.mi/mi2-var-display.exp: Likewise.
5828 * gdb.mi/mi2-watch.exp: Likewise.
5829
58302008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5831
5832 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
5833
5834 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
5835
58362008-04-04 Pedro Alves <pedro@codesourcery.com>
5837
5838 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
5839 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
5840 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
5841 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
5842 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
5843 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
5844 expect an mi error duplicated in stderr.
5845
58462008-04-03 Joel Brobecker <brobecker@adacore.com>
5847
5848 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
5849 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
5850 Add a couple of tests that verify the behavior when the new setting
5851 is set to "cancel" and "all".
5852 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
5853 "ask" before we start the testing.
5854
58552008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
5856
5857 * gdb.cp/casts.cc: Add class reference variables.
5858 * gdb.cp/casts.exp: New test cases for up/down casting references.
5859
58602008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
5861
5862 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
5863 instead of beginning to make an extra test pass.
5864 * gdb.mi/mi2-var-display.exp: Likewise.
5865
58662008-03-31 Maciej W. Rozycki <macro@mips.com>
5867
5868 * gdb.base/break.exp: Mark failures as such. Fix formatting.
5869
58702008-03-31 Markus Deuling <deuling@de.ibm.com>
5871 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5872
5873 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
5874 value. Add xfail for older kernels.
5875
58762008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
5877
5878 Bring mi-support in line with gdb.exp.
5879 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
5880 (mi_gdb_start): New function.
5881
58822008-03-28 Maciej W. Rozycki <macro@mips.com>
5883
5884 * gdb.mi/mi-var-cmd.exp: Fix a typo.
5885
58862008-03-26 Vladimir Prus <vladimir@codesourcery.com>
5887
5888 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
5889 * gdb.mi/mi2-var-display.exp: Likewise.
5890
58912008-03-26 Vladimir Prus <vladimir@codesourcery.com>
5892
5893 * lib/mi-support.exp (mi_create_varobj_checked): New.
5894 (mi_list_varobj_children): Allow to check for a
5895 value.
5896 (mi_list_array_varobj_children): New.
5897
5898 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
5899 and mi_list_varobj_children, as opposed to hardcoding
5900 expected strings.
5901 * gdb.mi/gdb701.exp: Likewise.
5902 * gdb.mi/gdb792.exp: Likewise.
5903 * gdb.mi/mi-var-block.exp: Likewise.
5904 * gdb.mi/mi-var-cmd.exp: Likewise.
5905 * gdb.mi/mi-var-invalidate.exp: Likewise.
5906 * gdb.mi/mi2-var-block.exp: Likewise.
5907 * gdb.mi/mi2-var-child.exp: Likewise.
5908 * gdb.mi/mi2-var-cmd.exp: Likewise.
5909 * gdb.mi/mi2-var-display.exp: Likewise.
5910
59112008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5912
5913 Fix random false FAILs on i386.
5914 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
5915
59162008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
5917
5918 PR gdb/544
5919 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
5920
59212008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
5922
5923 PR gdb/544
5924 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
5925
59262008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5927
5928 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
5929 fixed PR gdb/544.
5930
59312008-03-21 Pedro Alves <pedro@codesourcery.com>
5932
5933 * gdb.threads/fork-child-threads.exp: Test next over fork.
5934
59352008-03-21 Chris Demetriou <cgd@google.com>
5936
5937 * gdb.base/break.exp (rbreak junk): New test for rbreak
5938 "Junk at end of arguments" issue.
5939
59402008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5941
5942 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
5943 *& to work on created array elements.
5944 (Top level): Test print $pc with a file. Test string operations
5945 without a target.
5946 * gdb.base/ptype.exp: Do not expect *& to work on created array
5947 elements.
5948
59492008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5950
5951 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5952 gdb.threads/staticthreads.exp: Update exit query.
5953
59542008-03-07 Sandra Loosemore <sandra@codesourcery.com>
5955
5956 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
5957
59582008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
5959
5960 * gdb.base/watchpoint.c (global_ptr, func4): New.
5961 (main): Call func4.
5962 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
5963 (test_inaccessible_watchpoint): New.
5964
59652008-02-29 Maciej W. Rozycki <macro@mips.com>
5966
5967 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
5968 select the largest.
5969
59702008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
5971
5972 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
5973 frames-invalid annotations.
5974
59752008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
5976
5977 * gdb.base/assign.exp: avoid same output for different tests.
5978
59792008-02-27 Doug Evans <dje@google.com>
5980
5981 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
5982 for bug 1738.
5983 (breakpoint_to_handler_entry): Ditto.
5984
59852008-02-27 Joel Brobecker <brobecker@adacore.com>
5986
5987 * gdb.base/ending-run.exp: Use the first line of code inside
5988 function body to test breakpoints.
5989 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
5990 location where the breakpoint is inserted when using the line
5991 where a function is declared. Fix typo in the description of
5992 one of the tests.
5993 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
5994
59952008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
5996
5997 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
5998 tests.
5999
60002008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6001
6002 * gdb.base/args.exp: avoid same output for tests
6003 with single quotes.
6004
60052008-02-26 Vladimir Prus <vladimir@codesourcery.com>
6006
6007 * gdb.base/annota1.exp: Adjust for 'info break'
6008 format changes.
6009 * gdb.base/annota3.exp: Likewise.
6010 * gdb.base/break.exp: Likewise.
6011 * gdb.base/condbreak.exp: Likewise.
6012 * gdb.base/pending.exp: Likewise.
6013 * gdb.base/sepdebug.exp: Likewise.
6014 * gdb.base/unload.exp: Likewise.
6015 * gdb.cp/ovldbreak.exp: Likewise.
6016 * gdb.mi/mi-pending.exp: Likewise.
6017
60182008-02-07 Doug Evans <dje@google.com>
6019
6020 * gdb.cp/mb-inline.exp: New.
6021 * gdb.cp/mb-inline.h: New.
6022 * gdb.cp/mb-inline1.cc: New.
6023 * gdb.cp/mb-inline2.cc: New.
6024
60252008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
6026
6027 * gdb.pascal/floats.pas: New test program.
6028 * gdb.pascal/floats.exp: New testcase.
6029
60302008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6031
6032 * gdb.base/callfuncs.c (t_float_many_args): New function.
6033 (t_double_many_args): New function.
6034 * gdb.base/callfuncs.exp: Add tests for exceeding float
6035 and double parameters passed through the stack.
6036
60372008-02-05 Joel Brobecker <brobecker@adacore.com>
6038
6039 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
6040 gdb.ada/complete/foo.adb: New files.
6041 * gdb.ada/complete.exp: New testcase.
6042
60432008-02-03 Doug Evans <dje@google.com>
6044
6045 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
6046
6047 * gdb.cp/gdb2384.exp: New file.
6048 * gdb.cp/gdb2384.cc: New file.
6049 * gdb.cp/gdb2384-base.h: New file.
6050 * gdb.cp/gdb2384-base.cc: New file.
6051
60522008-02-02 Doug Evans <dje@google.com>
6053
6054 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
6055
60562007-02-01 Joel Brobecker <brobecker@adacore.com>
6057
6058 * gdb.ada/sym_print_name: New test program.
6059 * gdb.ada/sym_print_name.exp: New testcase.
6060
60612007-02-01 Joel Brobecker <brobecker@adacore.com>
6062
6063 * gdb.ada/nested/hello.adb: New file.
6064 * gdb.ada/nested.exp: New testcase.
6065 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
6066
60672008-02-01 Vladimir Prus <vladimir@codesourcery.com>
6068
6069 * gdb.mi/basic.c (return_1): New function.
6070 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
6071 don't cause future evaluations of function to report
6072 creation of internal breakpoints.
6073
60742008-02-01 Vladimir Prus <vladimir@codesourcery.com>
6075
6076 * gdb.mi/mi-break.exp (test_error): New.
6077 Call it.
6078
60792008-01-31 Luis Machado <luisgpm@br.ibm.com>
6080
6081 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
6082 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
6083
60842008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
6085
6086 * gdb.pascal/integers.pas: New test program.
6087 * gdb.pascal/integers.exp: New testcase.
6088
60892008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
6090
6091 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
6092
60932008-01-30 Luis Machado <luisgpm@br.ibm.com>
6094
6095 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
6096 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
6097
60982008-01-30 Paul Hilfinger <hilfinger@adacore.com>
6099
6100 * gdb.ada/formatted_ref: New test program.
6101 * gdb.ada/formatted_ref.exp: New testcase.
6102
6103 * gdb.cp/formatted-ref.cc: New file.
6104 * gdb.cp/formatted-ref.exp: New testcase.
6105
61062008-01-30 Joel Brobecker <brobecker@adacore.com>
6107
6108 * gdb.base/ptype.exp: Add testing of "ptype $pc".
6109
61102008-01-30 Nick Roberts <nickrob@snap.net.nz>
6111
6112 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
6113 (test_file_list_exec_source_file): Update to new macro-info field.
6114
61152008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
6116
6117 * gdb.ada/exprs: New test program.
6118 * gdb.ada/exprs.exp: New testcase.
6119
61202008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6121
6122 * dfp-test.c (DELTA, DELTA_B): New definitions.
6123 (double_val1, double_val2, double_val3, double_val4, double_val5,
6124 double_val6, double_val7, double_val8, double_val9, double_val10,
6125 double_val11, double_val12, double_val13, double_val14, dec32_val1,
6126 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
6127 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
6128 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
6129 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
6130 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
6131 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
6132 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
6133 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
6134 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
6135 dec128_val16): New global variables.
6136 (decimal_dec128_align): New function.
6137 (decimal_mixed): Likewise.
6138 (decimal_many_args_dec32): Likewise.
6139 (decimal_many_args_dec64): Likewise.
6140 (decimal_many_args_dec128): Likewise.
6141 (decimal_many_args_mixed): Likewise.
6142 * dfp-test.exp: Add tests calling new inferior functions.
6143
61442008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6145
6146 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
6147 gdb.server/ext-run.exp: New files.
6148 * lib/gdbserver-support.exp (gdbserver_download): New.
6149 (gdbserver_start): New. Update gdbserver expected
6150 output.
6151 (gdbserver_spawn): Use them.
6152 (gdbserver_start_extended): New.
6153
61542008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6155
6156 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
6157 Run on GNU/Linux.
6158 (do_exec_tests): Check for systems which do not support catchpoints.
6159 Do not match START.
6160 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
6161 Run on GNU/Linux. Enable verbose output.
6162 (check_fork_catchpoints): New.
6163 (explicit_fork_child_follow, catch_fork_child_follow)
6164 (tcatch_fork_parent_follow): Update expected messages.
6165 (do_fork_tests): Use check_fork_catchpoints.
6166 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
6167 Run on GNU/Linux. Enable verbose output.
6168 (check_vfork_catchpoints): New.
6169 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
6170 expected messages.
6171 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
6172
61732008-01-29 Jim Blandy <jimb@red-bean.com>
6174
6175 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
6176 host' errors.
6177 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
6178
61792008-01-29 Jim Blandy <jimb@red-bean.com>
6180
6181 * gdb.threads/sigthread.c: Use barriers to ensure that
6182 child_thread and child_thread_two are always initialized before we
6183 start to use them.
6184
61852008-01-29 Vladimir Prus <vladimir@codesourcery.com>
6186
6187 * gdb.base/watchpoint-solib.exp: New.
6188 * gdb.base/watchpoint-solib.c: New.
6189 * gdb.base/watchpoint-solib-shr.c: New.
6190
61912008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
6192
6193 * gdb.base/gdb1056.exp: Add unsigned integer test.
6194
61952008-01-28 Doug Evans <dje@google.com>
6196
6197 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
6198
61992008-01-27 Jim Blandy <jimb@codesourcery.com>
6200
6201 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
6202
6203 * gdb.base/expand-psymtabs.exp: Doc fix.
6204
62052008-01-26 Mark Kettenis <kettenis@gnu.org>
6206
6207 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
6208
62092008-01-24 Nick Roberts <nickrob@snap.net.nz>
6210
6211 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
6212 -var-set-format.
6213
62142008-01-23 Chris Demetriou <cgd@google.com>
6215
6216 * gdb.threads/thread_events.c: New testcase source file.
6217 * gdb.threads/thread_events.exp: New testcase expect file.
6218
62192008-01-23 Nick Roberts <nickrob@snap.net.nz>
6220
6221 * lib/gdb.exp: Add the variable octal.
6222
6223 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
6224 -var-set-format.
6225
62262008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
6227 Vladimir Prus <vladimir@codesourcery.com>
6228
6229 * gdb.base/float.exp: Allow missing floating point for m68k and
6230 PowerPC.
6231
62322008-01-22 Vladimir Prus <vladimir@codesourcery.com>
6233
6234 * gdb.mi/basics.c: Setup for testing breakpoints
6235 ignore count.
6236 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
6237 * gdb.mi/mi-cli.exp: Adjust.
6238 * gdb.mi/mi2-cli.exp: Adjust.
6239
62402008-01-17 Pedro Alves <pedro@codesourcery.com>
6241
6242 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
6243 and 'dummy_ptr' integer pointer. Initialize struct_declarations
6244 with dummy_ptr's address.
6245 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
6246 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
6247 all targets.
6248 * gdb.mi/mi2-var-child.exp: Likewise.
6249
62502008-01-09 Joel Brobecker <brobecker@adacore.com>
6251
6252 * gdb.ada/null_array: New test program.
6253 * gdb.ada/null_array.exp: New testcase.
6254
62552008-01-09 Luis Machado <luisgpm@br.ibm.com>
6256
6257 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
6258 with required float modifiers.
6259
62602008-01-08 Joel Brobecker <brobecker@adacore.com>
6261
6262 * gdb.ada/funcall_param: New test program.
6263 * gdb.ada/funcall_param.exp: New testcase.
6264
62652008-01-08 Joel Brobecker <brobecker@adacore.com>
6266
6267 * gdb.ada/arrayparam: New test program.
6268 * gdb.ada/arrayparam.exp: New testcase.
6269
62702008-01-08 Joel Brobecker <brobecker@adacore.com>
6271
6272 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
6273 landed. Should also fix random failures in the test following it.
6274
62752008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6276
6277 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
6278 for expressions with decimal float values.
6279 (test_dfp_conversions): New function to test casts to and from
6280 decimal float types.
6281 Call test_dfp_conversions.
6282 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
6283 elements.
6284 (main): Initialize ds.float4 and ds.double8 elements.
6285 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
6286 string to new error message.
6287 (d64_set_tests): Likewise.
6288 (d128_set_tests): Likewise.
6289 Add tests for expressions with decimal float variables. Add tests for
6290 conversions to and from decimal float types.
6291
62922008-01-05 Joel Brobecker <brobecker@adacore.com>
6293
6294 * gdb.ada/packed_tagged/comp_bug.adb: New file.
6295 * gdb.ada/packed_tagged.exp: New testcase.
6296
62972008-01-04 Joel Brobecker <brobecker@adacore.com>
6298
6299 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
6300 gdb.ada/homonym/homonym_main.adb: New files.
6301 * gdb.ada/homonym.exp: New testcase.
6302
63032008-01-04 Joel Brobecker <brobecker@adacore.com>
6304
6305 * gdb.ada/packed_array.exp: Add testing of references to
6306 a packed array.
6307
63082008-01-04 Joel Brobecker <brobecker@adacore.com>
6309
6310 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
6311 New files.
6312 * gdb.ada/type_coercion.exp: New testcase.
6313
63142008-01-04 Joel Brobecker <brobecker@adacore.com>
6315
6316 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
6317 gdb.ada/tagged/foo.adb: New file.
6318 * gdb.ada/tagged.exp: New testcase.
6319
63202008-01-04 Joel Brobecker <brobecker@adacore.com>
6321
6322 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
6323 gdb.ada/ptype_field/foo.adb: New files.
6324 * gdb.ada/ptype_field.exp: New testcase.
6325
63262008-01-03 Joel Brobecker <brobecker@adacore.com>
6327
6328 * gdb.ada/print_pc.exp: New testcase.
6329
63302008-01-03 Joel Brobecker <brobecker@adacore.com>
6331
6332 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
6333 gdb.ada/taft_type/p.adb: New files.
6334 * gdb.ada/taft_type.exp: New testcase.
6335
63362008-01-03 Joel Brobecker <brobecker@adacore.com>
6337
6338 * gdb.ada/array_bounds/bar.adb: New file.
6339 * gdb.ada/array_bounds.exp: New testcase.
6340
63412008-01-03 Joel Brobecker <brobecker@adacore.com>
6342
6343 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
6344 gdb.ada/arrayptr/foo.adb: New files.
6345 * gdb.ada/arrayptr.exp: New testcase.
6346
63472008-01-03 Joel Brobecker <brobecker@adacore.com>
6348
6349 * gdb.base/set-lang-auto.exp: New testcase.
6350
63512008-01-03 Joel Brobecker <brobecker@adacore.com>
6352
6353 * gdb.ada/fun_addr/foo.adb: New file.
6354 * gdb.ada/fun_addr.exp: New testcase.
6355
63562008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6357
6358 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
6359 New files
6360
63612008-01-02 Joel Brobecker <brobecker@adacore.com>
6362
6363 * array_subscript_addr/p.adb: New file.
6364 * array_subscript_addr.exp: New testcase.
6365
63662008-01-02 Joel Brobecker <brobecker@adacore.com>
6367
6368 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
6369 New files.
6370 * gdb.ada/str_cmp_ref.exp: New testcase.
6371
63722008-01-01 Joel Brobecker <brobecker@adacore.com>
6373
6374 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
6375 gdb.ada/fun_in_declare/foo.adb: New files.
6376 * gdb.ada/fun_in_declare.exp: New testcase.
6377
63782008-01-01 Joel Brobecker <brobecker@adacore.com>
6379
6380 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
6381 gdb.ada/ref_param/pck.ads: New files.
6382 * gdb.ada/ref_param.exp: New testcase.
6383
63842008-01-01 Joel Brobecker <brobecker@adacore.com>
6385
6386 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
6387 gdb.ada/interface/foo.adb: New files.
6388 * gdb.ada/interface.exp: New testcase.
6389
63902007-12-31 Jim Blandy <jimb@codesourcery.com>
6391
6392 * gdb.base/multi-forks.exp: Consume all output from child
6393 processes before proceeding to next test.
6394
63952007-12-29 Jim Blandy <jimb@codesourcery.com>
6396
6397 * configure: Regenerated.
6398
63992007-12-27 Joel Brobecker <brobecker@adacore.com>
6400
6401 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
6402 gdb.ada/fixed_cmp/fixed.adb: New files.
6403 * gdb.ada/fixed_cmp.exp: New testcase.
6404
64052007-12-27 Joel Brobecker <brobecker@adacore.com>
6406
6407 * gdb.ada/boolean_expr.exp: New testcase.
6408
64092007-12-26 Jim Blandy <jimb@codesourcery.com>
6410
6411 * gdb.base/multi-forks.exp: Doc fix.
6412
64132007-12-26 Joel Brobecker <brobecker@adacore.com>
6414
6415 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
6416 * gdb.ada/char_param.exp: Do not compile our test program with
6417 -gnata, this is unnecessary.
6418 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
6419
64202007-12-24 Joel Brobecker <brobecker@adacore.com>
6421
6422 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
6423 gdb.ada/print_chars/foo.adb: New files.
6424 * gdb.ada/print_chars.exp: New testcase.
6425
64262007-12-24 Joel Brobecker <brobecker@adacore.com>
6427
6428 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
6429 gdb.ada/char_param/foo.adb: New files.
6430 * gdb.ada/char_param.exp: New testcase.
6431
64322007-12-22 Jim Blandy <jimb@codesourcery.com>
6433
6434 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
6435 hard-coding source line numbers into the test.
6436 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
6437 gdb_get_line_number to find.
6438
64392007-12-22 Joel Brobecker <brobecker@adacore.com>
6440
6441 * gdb.base/ptype.c (highest): New struct type.
6442 (the_highest): New variable of that type.
6443 (main): Add dummy assignment to a field of variable the_highest.
6444 * gdb.base/ptype.exp: Test type printing of our new variable.
6445
64462007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
6447
6448 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
6449 and record first explicitly generated thread number.
6450 Use that thread number for thread specific watchpoint test.
6451 Add iteration number to repetitive tests.
6452
64532007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6454 Jim Blandy <jimb@codesourcery.com>
6455
6456 * gdb.base/expand-psymtabs.c: New testcase
6457 source file.
6458 * gdb.base/expand-psymtabs.exp: New testcase
6459 expect file.
6460
64612007-12-17 Luis Machado <luisgpm@br.ibm.com>
6462
6463 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
6464 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
6465
64662007-12-17 Joel Brobecker <brobecker@adacore.com>
6467
6468 * gdb.ada/frame_args/foo.adb: New file.
6469 * gdb.ada/frame_args/pck.ads: New file.
6470 * gdb.ada/frame_args/pck.adb: New file.
6471 * gdb.ada/frame_args.exp: New testcase.
6472
64732007-12-17 Joel Brobecker <brobecker@adacore.com>
6474
6475 * gdb.base/frame-args.c: New file.
6476 * gdb.base/frame-args.exp: New testcase.
6477
64782007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
6479 Joseph Myers <joseph@codesourcery.com>
6480
6481 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
6482
64832007-12-14 Vladimir Prus <vladimir@codesourcery.com>
6484
6485 * gdb.mi/mi-pending.exp: New.
6486 * gdb.mi/mi-pending.c: New.
6487 * gdb.mi/mi-pendshr.c: New.
6488
64892007-12-06 Jim Blandy <jimb@codesourcery.com>
6490
6491 * gdb.base/default.exp: Update expected output for 'info catch'.
6492
64932007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6494
6495 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
6496 must be set to binary.
6497
64982007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
6499
6500 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
6501
65022007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
6503
6504 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
6505 gdb.mi/mi-file-transfer.exp: New.
6506
65072007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6508
6509 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
6510
65112007-11-22 Maciej W. Rozycki <macro@mips.com>
6512
6513 * gdb.trace/backtrace.exp: Fix a typo.
6514 * gdb.trace/circ.exp: Likewise.
6515 * gdb.trace/collection.exp: Likewise.
6516 * gdb.trace/limits.exp: Likewise.
6517 * gdb.trace/report.exp: Likewise.
6518 * gdb.trace/tfind.exp: Likewise.
6519 * gdb.trace/while-dyn.exp: Likewise.
6520
65212007-11-21 Nick Roberts <nickrob@snap.net.nz>
6522
6523 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
6524 objects of pointers that can't be dereferenced are now
6525 "noneditable".
6526
65272007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6528
6529 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
6530 (target_cpu): Remove.
6531
65322007-10-15 Vladimir Prus <vladimir@codesourcery.com>
6533
6534 * gdb.base/ending-run.exp: Expect the list of cleared
6535 breakpoint to come in natural order, not the reversed one.
6536
65372007-11-07 Vladimir Prus <vladimir@codesourcery.com>
6538
6539 * gdb.mi/mi-var-child.c (do_child_deletion): New.
6540 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
6541
65422007-11-05 Luis Machado <luisgpm@br.ibm.com>
6543
6544 * gdb.base/printcmds.exp: New function
6545 test_printf_with_dfp.
6546
65472007-11-02 Doug Evans <dje@google.com>
6548
6549 * gdb.disasm/t01_mov.s: Remove carriage returns.
6550 * gdb.disasm/t02_mova.s: Ditto.
6551 * gdb.disasm/t03_add.s: Ditto.
6552 * gdb.disasm/t04_sub.s: Ditto.
6553 * gdb.disasm/t05_cmp.s: Ditto.
6554 * gdb.disasm/t06_ari2.s: Ditto.
6555 * gdb.disasm/t07_ari3.s: Ditto.
6556 * gdb.disasm/t08_or.s: Ditto.
6557 * gdb.disasm/t09_xor.s: Ditto.
6558 * gdb.disasm/t10_and.s: Ditto.
6559 * gdb.disasm/t11_logs.s: Ditto.
6560 * gdb.disasm/t12_bit.s: Ditto.
6561 * gdb.disasm/t13_otr.s: Ditto.
6562
65632007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6564
6565 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
6566
65672007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6568
6569 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
6570 provide DFP support.
6571
65722007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
6573
6574 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
6575 Test "set powerpc vector-abi". Skip auto-detection tests for old
6576 toolchains.
6577
65782007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
6579
6580 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
6581 with [string compare].
6582
65832007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
6584
6585 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
6586 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
6587
65882007-10-25 Luis Machado <luisgpm@br.ibm.com>
6589
6590 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
6591 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
6592 * gdb.opt/Makefile.in: New makefile.
6593 * Makefile.in: Create new directory "gdb.opt".
6594 * configure.ac: Add "gdb.opt" directory.
6595 * configure: Regenerated.
6596
65972007-10-25 Doug Evans <dje@google.com>
6598
6599 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
6600 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
6601
66022007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
6603 Thiago Jung Bauermann <bauerman@br.ibm.com>
6604
6605 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
6606 Floating Point expressions.
6607 * gdb.base/dfp-test.exp: new file adding tests for Decimal
6608 Floating Point variables.
6609 * gdb.base/dfp-test.c: new file containing program with Decimal
6610 Floating variables, used by gdb.base/dfp-test.exp.
6611
66122007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
6613
6614 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
6615
66162007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6617
6618 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
6619 compiling test case with GCC.
6620 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
6621
66222007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6623
6624 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
6625 format changes.
6626
66272007-10-18 Michael Snyder <msnyder@specifix.com>
6628
6629 * gdb.base/dbx.exp: Add missing "-re " operator.
6630
66312007-10-16 Gaius Mulley <gaius@glam.ac.uk>
6632
6633 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
6634 * configure.ac: Removed trailing spaces after backslash.
6635 * gdb.modula2: New directory.
6636 * gdb.modula2/Makefile.in: New file.
6637 * gdb.modula2/unbounded-array.exp: New file.
6638 * gdb.modula2/unbounded1.c: New file.
6639
66402007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
6641
6642 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
6643
66442007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
6645
6646 * gdb.base/sigstep.c (main): Add checks for
6647 return values for setitimer call.
6648 Call setitimer again with itimer = ITIMER_REAL
6649 if first call to setitimer fails.
6650
66512007-10-11 Kazu Hirata <kazu@codesourcery.com>
6652
6653 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
6654 of $timeout.
6655
66562007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
6657
6658 * gdb.server/server-run.exp: Test for dynamic linker symbols.
6659
66602007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
6661
6662 * lib/gdb.exp (gdb_run_cmd): Move comment outside
6663 of gdb_expect call, to avoid interruption.
6664
66652007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
6666
6667 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
6668 (v_unsigned_long_long, v_long_long_array)
6669 (v_signed_long_long_array, v_unsigned_long_long_array)
6670 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
6671 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
6672 [!NO_LONG_LONG]: New.
6673 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
6674 v_long_long_member.
6675
6676 (v_long_long_func, v_signed_long_long_func)
6677 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
6678 (main) [!NO_LONG_LONG]: Initialize long long variants.
6679
6680 * gdb.base/whatis.exp: If board file requests no_long_long, build
6681 test with NO_LONG_LONG defined. Test long long, signed long long,
6682 and unsigned long long variants but only if board file doesn't
6683 disable it.
6684
66852007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
6686 Daniel Jacobowitz <dan@codesourcery.com>
6687
6688 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
6689 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
6690 * configure: Regenerated.
6691 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
6692 gdb.pascal/types.exp, lib/pascal.exp: New files.
6693
66942007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
6695
6696 * gdb.cp/classes.exp (do_tests): Always step to the line after the
6697 call.
6698 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
6699 to return to the call.
6700 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
6701 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
6702 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
6703 * gdb.mi/mi-until.exp (test_until): Likewise.
6704 * gdb.mi/mi2-until.exp (test_until): Likewise.
6705
67062007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
6707
6708 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
6709 two-char array.
6710 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
6711
67122007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
6713
6714 * gdb.threads/watchthreads.c (thread_function): Sleep between
6715 iterations.
6716 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
6717 at once for S/390. Generate matching fails and passes.
6718
67192007-09-27 Vladimir Prus <vladimir@codesourcery.com>
6720
6721 * gdb.mi/var-cmd.c (do_children_tests): Initialize
6722 the 'struct_declarations' variable to zeros.
6723
67242007-09-24 Vladimir Prus <vladimir@codesourcery.com>
6725
6726 * gdb.cp/mb-ctor.cc: New.
6727 * gdb.cp/mb-ctor.exp: New.
6728 * gdb.cp/mb-templates.cc: New.
6729 * gdb.cp/mb-templates.exp: New.
6730
67312007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
6732
6733 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
6734
67352007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
6736
6737 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
6738 targets.
6739 * configure: Regenerate.
6740
67412007-09-23 Vladimir Prus <vladimir@codesourcery.com>
6742
6743 * gdb.base/annota1.exp: Adjust for 'info break'
6744 format changes.
6745 * gdb.base/annota3.exp: Likewise.
6746 * gdb.base/break.exp: Likewise.
6747 * gdb.base/condbreak.exp: Likewise.
6748 * gdb.base/pending.exp: Likewise.
6749 * gdb.base/sepdebug.exp: Likewise.
6750 * gdb.base/unload.exp: Likewise.
6751 * gdb.base/ovldbreak.exp: Likewise.
6752
67532007-09-22 Vladimir Prus <vladimir@codesourcery.com>
6754
6755 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
6756 messages.
6757 * gdb.base/chng-syms.exp: Likewise.
6758 * gdb.base/unload.exp: Likewise.
6759
67602007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
6761
6762 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
6763
67642007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
6765
6766 * schedlock.c (NUM): Change to 1.
6767 (main): Use args[0] for the main thread.
6768 * schedlock.exp: Only expect two threads. Only issue one pass or fail
6769 regardless of the number of threads.
6770
67712007-09-14 Maciej W. Rozycki <macro@mips.com>
6772
6773 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
6774 type down.
6775 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6776 test.
6777 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
6778 watchpoint type down.
6779 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6780 test.
6781
67822007-09-14 Maciej W. Rozycki <macro@mips.com>
6783
6784 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
6785 Move all the tests here and run them twice, once using software
6786 watchpoints and once using hardware watchpoints.
6787 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
6788
67892007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
6790
6791 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
6792 test.
6793
67942007-09-10 Mark Kettenis <kettenis@gnu.org>
6795
6796 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
6797 build-id.
6798
6799 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
6800 know about $ORIGIN. Calculate output dir from $dest instead of
6801 using ${objdir}/{$subdir}.
6802
68032007-09-09 Mark Kettenis <kettenis@gnu.org>
6804
6805 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
6806 gcore, before continuing with the test.
6807
68082007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
6809
6810 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
6811 * gdb.mi/mi-watch.exp: Likewise.
6812
68132007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6814 Jim Blandy <jimb@codesourcery.com>
6815
6816 * gdb.arch/i386-sse.exp: Do not expect character constants.
6817 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
6818 * gdb.base/display.exp: Allow print/s.
6819 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
6820 and unsigned char array changes.
6821
68222007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6823
6824 * gdb.base/display.exp: Add tests for printf %p.
6825
68262007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
6827
6828 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
6829 the dll name to unicode.
6830
68312007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6832
6833 * gdb.base/default.exp (show version): Update the version text.
6834 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
6835
68362007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6837
6838 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
6839 New files.
6840
68412007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6842
6843 * lib/gdb.exp (build_id_debug_filename_get): New function.
6844 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
6845 Remove the generate DEBUG file for the future testcase runs.
6846 New testcase for the NT_GNU_BUILD_ID retrieval.
6847 Move the final testing step to ...
6848 (test_different_dir): ... a new function.
6849 New parameter XFAIL to XFAIL all the tests performed.
6850 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
6851 New parameter TYPE to PF_PREFIX all the tests performed.
6852
68532007-08-31 Vladimir Prus <vladimir@codesourcery.com>
6854
6855 * gdb.mi/mi-var-cp.cc (path_expression): New
6856 function.
6857 * gdb.mi/mi-var-cp.exp: Run path exression tests.
6858
68592007-08-27 Markus Deuling <deuling@de.ibm.com>
6860
6861 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
6862 to fit into SPU Local Store memory.
6863
68642007-08-23 Joel Brobecker <brobecker@adacore.com>
6865
6866 * gdb.base/default.exp: Adjust the expected output of "info
6867 warranty" after the switch to GPLv3.
6868
68692007-08-23 Joel Brobecker <brobecker@adacore.com>
6870
6871 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
6872 to 30000 (from 20000).
6873
68742007-08-23 Joel Brobecker <brobecker@adacore.com>
6875
6876 Switch the license of all .exp files to GPLv3.
6877 Switch the license of all .f and .f90 files to GPLv3.
6878 Switch the license of all .s and .S files to GPLv3.
6879
68802007-08-23 Joel Brobecker <brobecker@adacore.com>
6881
6882 * configure.ac: Switch license to GPLv3.
6883
68842007-08-23 Joel Brobecker <brobecker@adacore.com>
6885
6886 Switch the licensing to GPLv3 for all .ads and .adb files.
6887
68882007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
6889
6890 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
6891 and t_int_double.
6892 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
6893
68942007-08-17 Joel Brobecker <brobecker@adacore.com>
6895
6896 * gdb.base/step-line.c: Switch license to GPL version 3, and
6897 update copyright year.
6898 * gdb.base/step-line.inp: Likewise.
6899
69002007-08-17 Joel Brobecker <brobecker@adacore.com>
6901
6902 * gdb.base/gdb1555.exp: Make expected output immune to formatting
6903 changes inside gdb1555.c.
6904 * gdb.base/pending.exp: Likewise.
6905
69062007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
6907
6908 * config/default.exp: New file.
6909
69102007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
6911
6912 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
6913 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
6914
69152007-07-30 Maciej W. Rozycki <macro@mips.com>
6916
6917 * gdb.base/dump.exp: Force the correct endianness for binary
6918 formats not carrying this information.
6919
69202007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6921
6922 * gdb.threads/staticthreads.exp: Match .*sem_post.
6923
69242007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6925
6926 * gdb.base/readline.exp (operate_and_get_next): Match the final
6927 prompt.
6928
69292007-07-23 Kevin Buettner <kevinb@redhat.com>
6930
6931 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
6932 to restarting SID.
6933
69342007-07-18 Kevin Buettner <kevinb@redhat.com>
6935
6936 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
6937 prior to `gdb_start'.
6938
69392007-07-18 Kevin Buettner <kevinb@redhat.com>
6940
6941 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
6942 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
6943 Remove call to gdb_unload.
6944
69452007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
6946 Daniel Jacobowitz <dan@codesourcery.com>
6947
6948 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
6949 for __WIN32__.
6950 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
6951 * gdb.base/unload.exp: Use shared library test routines.
6952
69532007-07-03 Markus Deuling <deuling@de.ibm.com>
6954
6955 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
6956 * gdb.base/solib-symbol-lib.c: Likewise.
6957 * gdb.base/solib-symbol-main.c: Likewise.
6958
69592007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
6960
6961 * config/gdbserver.exp (gdb_reconnect): New.
6962 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
6963 gdb.base/solib-disc.exp: New files.
6964 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
6965 remote debugging".
6966 (gdb_compile): Add shlib_load flag.
6967 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
6968 port.
6969 (gdbserver_reconnect): New.
6970
69712007-07-01 Nick Roberts <nickrob@snap.net.nz>
6972 Daniel Jacobowitz <dan@codesourcery.com>
6973
6974 * gdb.base/annota3.exp: Test for if construct.
6975
69762007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
6977
6978 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
6979
69802007-06-21 Chris Dearman <chris@mips.com>
6981 Maciej W. Rozycki <macro@mips.com>
6982
6983 * gdb.base/display.exp: Allow a newline after display/i.
6984 * gdb.base/pc-fp.exp: Likewise.
6985 * gdb.base/sigbpt.exp: Likewise.
6986
69872007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
6988
6989 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
6990 required features to be included.
6991
69922007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
6993
6994 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
6995 in info threads output.
6996
69972007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6998 Markus Deuling <deuling@de.ibm.com>
6999
7000 * gdb.arch/spu-info.exp: New testcase.
7001 * gdb.arch/spu-info.c: New file.
7002
70032007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
7004
7005 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
7006 tpcs_offset. Restore lr after the call.
7007 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
7008
70092007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
7010
7011 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
7012 (gdbserver_run): Kill any running gdbserver.
7013 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
7014
70152007-05-17 Maciej W. Rozycki <macro@mips.com>
7016
7017 * gdb.base/sigbpt.exp: Preset segv_addr.
7018
70192007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
7020
7021 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
7022 (gdb_compile_shlib): Likewise.
7023 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
7024 (default_gdb_init): Clear cleanfiles.
7025 (gdb_finish): Delete recorded cleanfiles.
7026 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
7027
7028 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
7029 Do not use isnative.
7030 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
7031 gdb.base/so-impl-ld.exp: Likewise.
7032 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
7033 * gdb.base/unload.exp: Likewise. Do not pass empty option to
7034 gdb_compile.
7035
70362007-05-15 Vladimir Prus <vladimir@codesourcery.com>
7037
7038 * config/unknown.exp: Remove.
7039
70402007-05-15 Markus Deuling <deuling@de.ibm.com>
7041
7042 * gdb.base/info-proc.exp: Check is_remote.
7043
70442007-05-14 Markus Deuling <deuling@de.ibm.com>
7045
7046 * gdb.base/gcore.exp: Initialize variable core_supported.
7047
70482007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7049
7050 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
7051
70522007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7053
7054 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
7055 * gdb.threads/print-threads.exp (test_all_threads): Allow
7056 negative and hexadecimal thread IDs.
7057
70582007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7059
7060 * gdb.java/jprint.java (public): Avoid invalid call to static
7061 method.
7062
70632007-05-14 Denis Pilat <denis.pilat@st.com>
7064
7065 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
7066 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
7067 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
7068 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
7069 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
7070
70712007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7072
7073 * gdb.base/overlays.exp: Add support for targets with only code
7074 overlay support, not data overlay. Support spu-*-* target in
7075 this mode.
7076 * gdb.base/ovlymgr.c: Provide stubs for spu target.
7077 * gdb.base/spu.ld: New file.
7078
70792007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
7080
7081 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
7082
70832007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
7084
7085 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
7086
70872007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
7088
7089 * gdb.java/jmain.exp: Handle demangled names with and without method
7090 signatures.
7091
70922007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
7093
7094 * gdb.mi/mi-syn-frame.c (main, foo, bar)
7095 (have_a_very_merry_interrupt): Remove calls to puts.
7096 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
7097 inferior output.
7098 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
7099 test names.
7100
71012007-04-29 Markus Deuling <deuling@de.ibm.com>
7102 Daniel Jacobowitz <dan@codesourcery.com>
7103
7104 * gdb.base/auxv.exp (core_works): Also check is_remote.
7105 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
7106
71072007-04-25 Vladimir Prus <vladimir@codesourcery.com>
7108
7109 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
7110 message, not the undefined 'module' variable.
7111 * gdb.base/siginfo.exp: Likewise.
7112 * gdb.base/sigstep.exp: Likewise.
7113 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
7114 serialport.
7115 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
7116
71172007-04-25 Corinna Vinschen <vinschen@redhat.com>
7118
7119 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
7120 target sim fails. Return 0 otherwise.
7121 (gdb_load): Return prematurely if gdb_target_sim fails.
7122
71232007-04-16 Denis Pilat <denis.pilat@st.com>
7124
7125 * gdb.base/setshow.exp: Reset height after having set it to 100.
7126
71272007-04-16 Denis Pilat <denis.pilat@st.com>
7128
7129 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
7130
71312007-04-16 Denis Pilat <denis.pilat@st.com>
7132
7133 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
7134
71352007-04-14 Vladimir Prus <vladimir@codesourcery.com>
7136
7137 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
7138 tests. Run the frozen varobjs test.
7139 * gdb.mi/var-cmd.c (do_frozen_tests): New.
7140 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
7141
71422007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7143
7144 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
7145 gdb.base/type-opaque.exp: New files.
7146
71472007-04-01 Vladimir Prus <vladimir@codesourcery.com>
7148
7149 * gdb.mi/mi-var-child.c
7150 (do_children_tests): User char[2] instead of
7151 char so that automatic printing of pointers to char
7152 don't give unpredicable result.
7153 * gdb.mi/var-cmd.c (do_locals_test): Initialize
7154 local variables.
7155 * gdb.mi/mi-var-child.exp: Step to right line
7156 of do_children_tests.
7157 * gdb.mi/mi2-var-child.exp: Likewise.
7158 * gdb.mi/mi-var-cmd.exp: Step to right line of
7159 do_locals_tests.
7160 (do_children_tests): User char[2] instead of
7161 char so that automatic printing of pointers to char
7162 don't give unpredicable result.
7163 * gdb.mi/mi2-var-cmd.exp: Likewise.
7164 * lib/mi-support.exp (mi_continue_to_line):
7165 Pass test name to mi_wait_for_stop.
7166
71672007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7168
7169 * gdb.asm/asm-source.exp: Remove d10v case.
7170 * lib/gdb.exp (skip_cplus_tests): Likewise.
7171 * gdb.asm/d10v.inc: Deleted.
7172
71732007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7174
7175 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
7176
71772007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7178
7179 * config/netware.exp: Delete file.
7180
71812007-03-29 Joel Brobecker <brobecker@adacore.com>
7182
7183 * gdb.dwarf2/dw2-noloc.S: New file.
7184 * gdb.dwarf2/dw2-noloc.exp: New file.
7185
71862007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
7187
7188 * gdb.cp/method2.cc: New test.
7189 * gdb.cp/method2.exp: New test.
7190 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
7191
71922007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
7193
7194 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
7195
71962007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
7197
7198 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
7199
72002007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
7201
7202 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
7203 (gdb_load): Delete, replace with...
7204 (gdb_reload): ...this.
7205 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
7206 * gdb.server/server-mon.exp: Likewise.
7207 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
7208 (gdb_start_cmd): New.
7209 (gdb_file_cmd): Save the last loaded file.
7210 (gdb_reload): New.
7211 (gdb_gnu_strip_debug): Use transform.
7212 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
7213 support here. Use new $last_loaded_file. Check mtime.
7214 (gdb_target_cmd): Handle ObjC failure case.
7215 (infer_host_exec): Delete.
7216 (gdbserver_load): Rename to...
7217 (gdbserver_run): ...this. Simplify.
7218 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
7219 (mi_gdb_load): Move most contents to a new function...
7220 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
7221 (mi_run_cmd): Use mi_gdb_target_load.
7222 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
7223 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
7224 Use gdb_run_cmd.
7225 * gdb.base/charsign.exp: Remove incorrect comment.
7226 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
7227 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
7228 gdb.base/start.exp: Use gdb_start_cmd.
7229
72302007-03-23 Nigel Stephens <nigel@mips.com>
7231 Maciej W. Rozycki <macro@mips.com>
7232
7233 * gdb.base/sigbpt.exp: Fix the message when skipping test.
7234 * gdb.base/signull.exp: Similarly.
7235
72362007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7237
7238 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
7239 messages available to test cases (like chng-sym.exp).
7240
72412007-03-14 Andreas Schwab <schwab@suse.de>
7242
7243 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7244 format changes.
7245
72462007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
7247
7248 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
7249 (optimized_1): New.
7250 (main): Call optimized_1.
7251 (gdb2029): Correct typos. Call gdb2029_marker.
7252 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
7253 for gdb2029.
7254
72552007-03-12 Mark Kettenis <kettenis@gnu.org>
7256
7257 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
7258 as tabs. Remove redundant test pattern.
7259
72602007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7261
7262 * gdb.base/long_long.exp: Accept optional symbol name in <...>
7263 for /a format output.
7264
72652007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
7266
7267 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
7268 collect output incrementally.
7269
72702007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7271
7272 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
7273 for -var-create lpcharacter test.
7274 * gdb.mi/mi2-var-cmd.exp: Likewise.
7275
72762007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7277
7278 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
7279 pass on targets where address zero is readable.
7280
72812007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7282
7283 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
7284 just a single architecture.
7285
72862007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7287
7288 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
7289 (fetch_all_registers): New function, uses gdb_test_multiple and
7290 exp_continue to fetch inferior output line-by-line.
7291 Replace all uses of do_get_all_registers by fetch_all_registers.
7292
72932007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7294
7295 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
7296 in target_info.
7297
72982007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7299
7300 * gdb.threads/manythreads.exp: Use $message string for
7301 consistancy; add a default (timeout) case.
7302
73032007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7304
7305 * gdb.base/watchpoint.exp: Fix truncated comment.
7306
73072007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7308
7309 * Makefile.in: Remove spurious single-quotes from sed command.
7310
73112007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7312
7313 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
7314 func.
7315 * gdb.mi/mi2-var-cmd.exp: Likewise.
7316
73172007-02-27 Joel Brobecker <brobecker@adacore.com>
7318
7319 * gdb.dwarf2/dw2-producer.S: New file.
7320 * gdb.dwarf2/dw2-producer.exp: New testcase.
7321
73222007-02-27 Nick Roberts <nickrob@snap.net.nz>
7323
7324 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
7325 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
7326 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
7327 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
7328 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
7329 Revert tests to use mi_gdb_test and include value field in output
7330 of -var-create.
7331
73322007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7333
7334 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
7335
73362007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7337
7338 * gdb.base/maint.exp: Remove full paths from test names.
7339 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
7340 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
7341
73422007-02-27 Joel Brobecker <brobecker@adacore.com>
7343
7344 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
7345
73462007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7347
7348 * gdb.server/server-mon.exp: New test.
7349
73502007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7351
7352 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
7353
73542007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7355
7356 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
7357 register capitalization.
7358
73592007-02-13 Denis Pilat <denis.pilat@st.com>
7360
7361 * gdb.mi/mi-var-invalidate.exp: New file.
7362
73632007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7364
7365 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
7366
73672007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7368
7369 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
7370
73712007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7372
7373 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
7374 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
7375
73762007-02-08 Nick Roberts <nickrob@snap.net.nz>
7377
7378 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
7379 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
7380 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
7381 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
7382 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
7383 * gdb.mi/gdb792.exp, lib/mi-support.exp:
7384 Update tests to include value field in output of -var-create.
7385
73862007-02-08 Andreas Schwab <schwab@suse.de>
7387
7388 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
7389
73902007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
7391
7392 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
7393 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
7394
73952007-02-02 Denis Pilat <denis.pilat@st.com>
7396
7397 * gdb.threads/threadapply.exp: check that frame is not changed by
7398 the thread apply all command.
7399
74002007-01-31 Andreas Schwab <schwab@suse.de>
7401
7402 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7403
7404 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
7405 in the dwarf sections.
7406 * gdb.dwarf2/mac-fileno.S: Likewise.
7407
7408 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
7409 bspstore register on ia64.
7410
74112007-01-29 Andreas Schwab <schwab@suse.de>
7412
7413 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
7414 "frame-begin" annotation.
7415
7416 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
7417 number of "frames-invalid" annotations.
7418
74192007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7420
7421 * gdb.base/commands.exp: Call if_commands_test.
7422 (gdb_test_no_prompt, if_commands_test): New.
7423
74242007-01-28 Mark Kettenis <kettenis@gnu.org>
7425
7426 * gdb.threads/sigthread.c (NSIGS): Make bigger.
7427
74282007-01-27 Andreas Schwab <schwab@suse.de>
7429
7430 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
7431 .short/.int/.quad in the dwarf sections.
7432 * gdb.dwarf2/dw2-intercu.S: Likewise.
7433 * gdb.dwarf2/dw2-intermix.S: Likewise.
7434
74352007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7436
7437 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
7438 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
7439 array.
7440 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
7441 * gdb.base/setvar.exp: Likewise.
7442
74432007-01-26 Andreas Schwab <schwab@suse.de>
7444
7445 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
7446 test.
7447
7448 * gdb.base/multi-forks.exp ("restart $i"): Also match
7449 __kernel_syscall_via_break.
7450
74512007-01-24 Vladimir Prus <vladimir@codesourcery.com>
7452
7453 * lib/mi-support.exp (mi_delete_varobj): New.
7454 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
7455 testcase.
7456 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
7457 (main): Call the above.
7458 (reference_update_test, base_in_reference_test)
7459 (reference_to_pointer): Delete the created varobjs.
7460
74612007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
7462
7463 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
7464 * configure: Regenerated.
7465 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
7466 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
7467 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
7468 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
7469 * lib/gdb.exp (gdb_skip_xml_test): New function.
7470
74712007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
7472
7473 * gdb.base/sigrepeat.exp: Correct error message.
7474
74752007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7476 Daniel Jacobowitz <dan@codesourcery.com>
7477
7478 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
7479 gdb.arch/i386-gnu-cfi-asm.S: New files.
7480
74812007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7482
7483 * lib/gdb.exp: Abort on missing `site.exp'.
7484
74852007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7486 Daniel Jacobowitz <dan@codesourcery.com>
7487
7488 * gdb.base/included.c, gdb.base/included.exp,
7489 gdb.base/included.h: New files.
7490
74912007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7492
7493 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
7494 (maximize_rlimit): Reduce limits on 64-bit systems.
7495
74962007-01-19 Mark Kettenis <kettenis@gnu.org>
7497
7498 From Marcus Deuling <deuling@de.ibm.com>:
7499 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
7500 every case.
7501
75022007-01-13 Nick Roberts <nickrob@snap.net.nz>
7503
7504 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
7505 (test_path_specification): Use objdir instead of srcdir to always
7506 get an absolute filename.
7507
75082007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
7509
7510 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
7511
75122007-01-11 Vladimir Prus <vladimir@codesourcery.com>
7513
7514 * gdb.mi/mi-var-cp.cc (reference_update_tests):
7515 Make sure the variable we're using is in scope.
7516 (reference_to_pointer): Likewise.
7517
75182007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7519
7520 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
7521 has no debug information.
7522
75232007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7524
7525 * gdb.base/annota1.exp: Remove extra send_gdb.
7526
75272007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7528
7529 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
7530
75312007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
7534
75352007-01-08 Nick Roberts <nickrob@snap.net.nz>
7536 Daniel Jacobowitz <dan@codesourcery.com>
7537
7538 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
7539 lcharacter or linteger change. Correct duplicated test name.
7540 * gdb.mi/mi2-var-cmd.exp: Likewise.
7541
75422007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7543
7544 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
7545
75462007-01-05 Joel Brobecker <brobecker@adacore.com>
7547
7548 * gdb.base/nofield.c: New file.
7549 * gdb.base/nofield.exp: New testcase.
7550
75512007-01-05 Nick Roberts <nickrob@snap.net.nz>
7552
7553 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
7554
7555 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
7556 test.
7557
75582007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7559
7560 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
7561
75622007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7563
7564 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
7565 when continuing.
7566
75672007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7568
7569 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
7570 Expect ".exe" extension.
7571
75722007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7573
7574 * gdb.base/charset.exp: Add explicit filename to break.
7575 * gdb.base/dbx.exp: Add explicit filename to breaks.
7576
75772007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7578
7579 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
7580 * gdb.mi/mi2-file.exp: Likewise.
7581
75822007-01-04 Vladimir Prus <vladimir@codesourcery.com>
7583
7584 Implement specification of MI tests as comments
7585 in C and C++ sources.
7586 * lib/mi-support.exp (mi_autotest_data): New variable.
7587 (mi_autotest_source): New variable.
7588 (count_newlines, mi_prepare_inline_tests)
7589 (mi_get_inline_test, mi_continue_to_line)
7590 (mi_run_inline_test, mi_tbreak)
7591 (mi_send_resuming_command, mi_wait_for_stop): New functions.
7592 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
7593 Run inline tests.
7594 * gdb.mi/mi-var-cp.cc: Define tests here.
7595
75962007-01-04 Vladimir Prus <vladimir@codesourcery.com>
7597
7598 Simplify usage of mi_continue_to.
7599 * lib/mi-support.exp (mi_runto_helper): Renamed
7600 from mi_runto, added new parameter 'run_or_continue'.
7601 (mi_runto): Use mi_runto_helper.
7602 (mi_continue_to): Accept just function name as parameter.
7603 Use mi_runto_helper.
7604 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
7605 * gdb.mi/mi2-var-cmd.exp: Likewise.
7606
76072006-01-04 Joel Brobecker <brobecker@adacore.com>
7608
7609 Make this testcase a bit more realistic. The current code
7610 is too simplistic, and allows the compiler to optimize out
7611 some of the entities we need for this testcase.
7612 * gdb.ada/null_record/bar.ads (Void_Star): New type.
7613 (Do_Nothing): Add extra parameter.
7614 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
7615 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
7616 by using a variable of type Void_Star.
7617
76182006-01-04 Joel Brobecker <brobecker@adacore.com>
7619
7620 * gdb.ada/catch_ex/foo.adb: New file.
7621 * gdb.ada/catch_ex.exp: New testcase.
7622
76232007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
7624
7625 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
7626 pass --image-base to linker.
7627
76282007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7629 Daniel Jacobowitz <dan@codesourcery.com>
7630
7631 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
7632 secondary prompts.
7633
76342007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7635
7636 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
7637 output. Test the types of members and member pointers.
7638 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
7639 gdb/2092.
7640 * gdb.cp/member-ptr.exp: Search for a comment instead of a
7641 statement. Enable for GCC. Update expected output for some tests
7642 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
7643 layout.
7644 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
7645 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
7646 (Diamond::vget_base): New.
7647 (main): Add new tests.
7648 * gdb.cp/printmethod.exp: Update expected output for member functions.
7649 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
7650 print pEe->D::vg().
7651
76522007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7653
7654 * gdb.threads/tls.exp: Allow stops in sem_post.
7655
76562006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
7657
7658 * gdb.base/annota1.exp: Allow .*printf in backtraces.
7659 * gdb.base/annota3.exp: Likewise.
7660 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
7661 again (instead of timing out).
7662 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
7663 GCC bug 26475.
7664 * gdb.java/jmisc.exp: Adjust to work with method signatures including
7665 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
7666 test from jmisc1.exp.
7667 * gdb.java/jmisc1.exp: Delete.
7668 * gdb.java/jprint.exp: Adjust to work with method signatures including
7669 return types.
7670 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
7671 * gdb.threads/linux-dp.exp: Don't be confused by program output.
7672 * lib/java.exp (compile_java_from_source): Pass the correct type
7673 to target_compile.
7674
76752006-12-31 Joel Brobecker <brobecker@adacore.com>
7676
7677 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
7678 (stack_align_edx): New function.
7679 (stack_align_eax): New function.
7680 (main): Add calls to stack_align_edx and stack_align_eax.
7681 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
7682 Add testing for the cases where the register used during a stack
7683 realignment is edx. Same for eax.
7684
76852006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
7686
7687 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
7688 and generic PE targets.
7689
76902006-12-29 Joel Brobecker <brobecker@adacore.com>
7691
7692 * gdb.ada/array_return.exp: Update copyright date list.
7693
76942006-12-27 Joel Brobecker <brobecker@adacore.com>
7695
7696 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
7697 (Create_Small_Float_Vector): New function.
7698 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
7699 function body.
7700 * gdb.ada/array_return/p.adb: Use new type and function from
7701 package Pck.
7702 * gdb.ada/array_return.exp: Add a test verifying that GDB is
7703 able to print the value returned by a function returning an
7704 array of float.
7705
77062006-12-20 Joel Brobecker <brobecker@adacore.com>
7707
7708 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
7709 The associated tests should be PASSing.
7710
77112006-12-08 Vladimir Prus <vladimir@codesourcery.com>
7712
7713 Test for base in references.
7714 * gdb.mi/mi-var-cp.cc: Add test code.
7715 * gdb.mi/mi-var-cp.exp: Test for bases in references.
7716 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
7717 * gdb.mi/mi2-watch.exp: Likewise.
7718 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
7719 (mi_list_varobj_children): New function.
7720
77212006-12-08 Vladimir Prus <vladimir@codesourcery.com>
7722
7723 * lib/mi-support.exp
7724 (mi_runto): Accept "()" after function name.
7725 (mi_create_varobj): New function.
7726 (mi_varobj_update): New function.
7727 (mi_Check_varobj_value): New function.
7728 * gdb.mi/mi-var-cp.exp: New file.
7729 * gdb.mi/mi-var-cp.cc: New file.
7730
77312006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
7732
7733 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
7734 gdb.base/weaklib2.c: New files.
7735
77362006-11-29 Nathan Sidwell <nathan@codesourcery.com>
7737
7738 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
7739 info. Adjust test names.
7740
7741 * gdb.base/break.c (main): Move position of malloc.
7742 * gdb.base/break.exp: Revert mistaken checkin.
7743
77442006-11-28 Vladimir Prus <vladimir@codesourcery.com>
7745
7746 * gdb.mi/mi-var-cmd.exp: Check -var-update after
7747 assignement of arrays and function pointers.
7748 * gdb.mi/var-cmd.c: Add declaration necessary for above
7749 tests.
7750
77512006-11-27 Nathan Sidwell <nathan@codesourcery.com>
7752
7753 * gdb.base/break.c (main): Call malloc.
7754
7755 * gdb.threads/linux-dp.exp: Read thread table before and after
7756 creating each philosopher and verify it.
7757
77582006-11-27 Nathan Sidwell <nathan@codesourcery.com>
7759 Paul Brook <paul@codesourcery.com>
7760 Daniel Jacobowitz <dan@codesourcery.com>
7761
7762 * gdb.base/ending-run.exp: Flatten expect script stepping out of
7763 main to remove duplication. Add start function of the form
7764 '_*start[1-9]*'. Add RVDS start function.
7765
77662006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
7767
7768 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
7769
77702006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7771
7772 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
7773 * gdb.asm/spu.inc: New file.
7774 * gdb.base/term.exp: Disable if [target_info exists noargs].
7775 * gdb.gdb/complaints.exp: Disable if ![isnative].
7776 * gdb.gdb/selftest.exp: Likewise.
7777 * gdb.gdb/observer.exp: Likewise.
7778 * gdb.gdb/xfullpath.exp: Likewise.
7779 * gdb.base/attach.exp: Disable on SPU target.
7780 * gdb.cp/bs145503.exp: Likewise.
7781 * gdb.cp/exception.exp: Likewise.
7782 * gdb.cp/userdef.exp: Likewise.
7783
77842006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
7785
7786 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
7787
77882006-11-10 Vladimir Prus <vladimir@codesourcery.com>
7789
7790 * gdb.base/completion.exp: Fix completion tests for
7791 'info' and 'info '.
7792 * gdb.base/help.exp (help_test_raw, test_class_help)
7793 (test_prefix_command_help): Move...
7794 * lib/gdb.exp: Here.
7795 * gdb.base/main.exp: Adjust.
7796 * gdb.cp/maint.exp: Adjust.
7797 * gdb.trace/tracecmd.exp: Use test_help_class.
7798
77992006-11-09 Vladimir Prus <vladimir@codesourcery.com>
7800
7801 * gdb.stabs/weird.exp (print_weird_var): Use
7802 gdb_test_multiple instead of gdb_expect.
7803
78042006-11-09 Vladimir Prus <vladimir@codesourcery.com>
7805
7806 * gdb.base/help.exp (help_test_raw): New.
7807 (test_class_help): New.
7808 (test_prefix_command_help): New.
7809 Adjust testcases.
7810
78112006-11-09 Christophe Lyon <christophe.lyon@st.com>
7812
7813 * gdb.base/constvars.c (main): Write to crass and crips, so that
7814 they are allocated by the compiler.
7815
78162006-10-27 Andreas Schwab <schwab@suse.de>
7817
7818 * gdb.base/multi-forks.exp: Use "detach fork" instead of
7819 "detach-fork".
7820
78212006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
7822
7823 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
7824 of patterns.
7825
78262006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
7827
7828 * gdb.base/sepdebug.exp: Remove debug format test.
7829 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
7830 Handle no-symtab.
7831 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
7832
78332006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
7834
7835 * gdb.threads/manythreads.c (thread_function, main): Don't cast
7836 int to pointer or pointer to int.
7837 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
7838
78392006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
7840
7841 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
7842
78432006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7844
7845 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
7846
78472006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7848
7849 PR c++/2116
7850 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
7851
78522006-10-06 Joel Brobecker <brobecker@adacore.com>
7853
7854 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
7855 the corresponding bug has been fixed in GDB (PR/2018).
7856
78572006-10-06 Joel Brobecker <brobecker@adacore.com>
7858
7859 * gdb.base/subst.exp: New testcase.
7860
78612006-10-06 Joel Brobecker <brobecker@adacore.com>
7862
7863 * gdb.ada/array_return/pck.ads: Add copyright notice.
7864 * gdb.ada/array_return/pck.adb: Likewise.
7865 * gdb.ada/array_return/p.adb: Likewise.
7866 * gdb.ada/exec_changed/first.adb: Likewise.
7867 * gdb.ada/exec_changed/second.adb: Likewise.
7868
78692006-10-06 Joel Brobecker <brobecker@adacore.com>
7870
7871 * gdb.ada/watch_arg/watch.adb: New file.
7872 * gdb.ada/watch_arg.exp: New testcase.
7873
78742006-10-02 Vladimir Prus <vladimir@codesourcery.com>
7875
7876 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
7877 via string_to_regexp.
7878 * gdb.mi/mi2-basics.exp: Likewise.
7879
78802006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7881
7882 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
7883 Remove unused / obsolete files.
7884
78852006-09-19 Nick Roberts <nickrob@snap.net.nz>
7886
7887 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
7888
78892006-09-17 Vladimir Prus <vladimir@codesourcery.com>
7890
7891 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
7892 HIGH_FRAME argument to -stack-list-arguments can be larger than
7893 the number of frames.
7894
78952006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
7896
7897 * gdb.base/args.c (main): Add breakpoint marker.
7898 * gdb.base/args.exp: Use args_test for tests. Add new tests which
7899 really test empty arguments.
7900 (args_load): Delete.
7901 (args_test): New.
7902
79032006-09-13 Nick Roberts <nickrob@snap.net.nz>
7904
7905 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
7906 check for one file.
7907
79082006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
7909
7910 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
7911 HIGH_FRAME argument to -stack-list-locals can be larger than
7912 the number of frames.
7913
79142006-08-18 Fred Fish <fnf@specifix.com>
7915
7916 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
7917 '$' in front of skip_vmx_tests_saved when setting that.
7918
79192006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
7920
7921 * gdb.base/trace-commands.exp: New file.
7922
79232006-08-10 Joel Brobecker <brobecker@adacore.com>
7924 Daniel Jacobowitz <dan@codesourcery.com>
7925
7926 * gdb.base/step-bt.exp: Make hexadecimal address optional in
7927 expected output of the backtrace commands.
7928
79292006-08-09 Joel Brobecker <brobecker@adacore.com>
7930
7931 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
7932 untested followed by return combination.
7933 * gdb.arch/altivec-regs.exp: Likewise.
7934 * gdb.arch/e500-abi.exp: Likewise.
7935 * gdb.arch/e500-regs.exp: Likewise.
7936 * gdb.arch/gdb1291.exp: Likewise.
7937 * gdb.arch/gdb1431.exp: Likewise.
7938 * gdb.arch/gdb1558.exp: Likewise.
7939 * gdb.arch/i386-prologue.exp: Likewise.
7940 * gdb.arch/i386-unwind.exp: Likewise.
7941 * gdb.asm/asm-source.exp: Likewise.
7942 * gdb.base/a2-run.exp: Likewise.
7943 * gdb.base/advance.exp: Likewise.
7944 * gdb.base/all-bin.exp: Likewise.
7945 * gdb.base/annota1.exp: Likewise.
7946 * gdb.base/annota3.exp: Likewise.
7947 * gdb.base/args.exp: Likewise.
7948 * gdb.base/arithmet.exp: Likewise.
7949 * gdb.base/assign.exp: Likewise.
7950 * gdb.base/async.exp: Likewise.
7951 * gdb.base/attach.exp: Likewise.
7952 * gdb.base/bang.exp: Likewise.
7953 * gdb.base/bigcore.exp: Likewise.
7954 * gdb.base/bitfields.exp: Likewise.
7955 * gdb.base/bitfields2.exp: Likewise.
7956 * gdb.base/break.exp: Likewise.
7957 * gdb.base/call-sc.exp: Likewise.
7958 * gdb.base/call-strs.exp: Likewise.
7959 * gdb.base/callfuncs.exp: Likewise.
7960 * gdb.base/checkpoint.exp: Likewise.
7961 * gdb.base/chng-syms.exp: Likewise.
7962 * gdb.base/code-expr.exp: Likewise.
7963 * gdb.base/commands.exp: Likewise.
7964 * gdb.base/completion.exp: Likewise.
7965 * gdb.base/cond-expr.exp: Likewise.
7966 * gdb.base/condbreak.exp: Likewise.
7967 * gdb.base/consecutive.exp: Likewise.
7968 * gdb.base/constvars.exp: Likewise.
7969 * gdb.base/corefile.exp: Likewise.
7970 * gdb.base/cvexpr.exp: Likewise.
7971 * gdb.base/dbx.exp: Likewise.
7972 * gdb.base/define.exp: Likewise.
7973 * gdb.base/detach.exp: Likewise.
7974 * gdb.base/display.exp: Likewise.
7975 * gdb.base/dump.exp: Likewise.
7976 * gdb.base/ena-dis-br.exp: Likewise.
7977 * gdb.base/ending-run.exp: Likewise.
7978 * gdb.base/environ.exp: Likewise.
7979 * gdb.base/eval-skip.exp: Likewise.
7980 * gdb.base/exprs.exp: Likewise.
7981 * gdb.base/fileio.exp: Likewise.
7982 * gdb.base/finish.exp: Likewise.
7983 * gdb.base/float.exp: Likewise.
7984 * gdb.base/foll-exec.exp: Likewise.
7985 * gdb.base/foll-fork.exp: Likewise.
7986 * gdb.base/foll-vfork.exp: Likewise.
7987 * gdb.base/freebpcmd.exp: Likewise.
7988 * gdb.base/funcargs.exp: Likewise.
7989 * gdb.base/gcore.exp: Likewise.
7990 * gdb.base/gdb1090.exp: Likewise.
7991 * gdb.base/gdb1250.exp: Likewise.
7992 * gdb.base/huge.exp: Likewise.
7993 * gdb.base/info-proc.exp: Likewise.
7994 * gdb.base/interrupt.exp: Likewise.
7995 * gdb.base/jump.exp: Likewise.
7996 * gdb.base/langs.exp: Likewise.
7997 * gdb.base/lineinc.exp: Likewise.
7998 * gdb.base/list.exp: Likewise.
7999 * gdb.base/logical.exp: Likewise.
8000 * gdb.base/long_long.exp: Likewise.
8001 * gdb.base/macscp.exp: Likewise.
8002 * gdb.base/maint.exp: Likewise.
8003 * gdb.base/mips_pro.exp: Likewise.
8004 * gdb.base/miscexprs.exp: Likewise.
8005 * gdb.base/multi-forks.exp: Likewise.
8006 * gdb.base/opaque.exp: Likewise.
8007 * gdb.base/overlays.exp: Likewise.
8008 * gdb.base/pc-fp.exp: Likewise.
8009 * gdb.base/pointers.exp: Likewise.
8010 * gdb.base/printcmds.exp: Likewise.
8011 * gdb.base/psymtab.exp: Likewise.
8012 * gdb.base/ptype.exp: Likewise.
8013 * gdb.base/recurse.exp: Likewise.
8014 * gdb.base/relational.exp: Likewise.
8015 * gdb.base/relocate.exp: Likewise.
8016 * gdb.base/remote.exp: Likewise.
8017 * gdb.base/reread.exp: Likewise.
8018 * gdb.base/restore.exp: Likewise.
8019 * gdb.base/return.exp: Likewise.
8020 * gdb.base/return2.exp: Likewise.
8021 * gdb.base/scope.exp: Likewise.
8022 * gdb.base/sect-cmd.exp: Likewise.
8023 * gdb.base/sep.exp: Likewise.
8024 * gdb.base/sepdebug.exp: Likewise.
8025 * gdb.base/setshow.exp: Likewise.
8026 * gdb.base/setvar.exp: Likewise.
8027 * gdb.base/sigall.exp: Likewise.
8028 * gdb.base/sigbpt.exp: Likewise.
8029 * gdb.base/signals.exp: Likewise.
8030 * gdb.base/signull.exp: Likewise.
8031 * gdb.base/sizeof.exp: Likewise.
8032 * gdb.base/solib.exp: Likewise.
8033 * gdb.base/step-line.exp: Likewise.
8034 * gdb.base/step-test.exp: Likewise.
8035 * gdb.base/structs.exp: Likewise.
8036 * gdb.base/structs2.exp: Likewise.
8037 * gdb.base/term.exp: Likewise.
8038 * gdb.base/twice.exp: Likewise.
8039 * gdb.base/until.exp: Likewise.
8040 * gdb.base/varargs.exp: Likewise.
8041 * gdb.base/volatile.exp: Likewise.
8042 * gdb.base/watchpoint.exp: Likewise.
8043 * gdb.base/whatis-exp.exp: Likewise.
8044 * gdb.base/whatis.exp: Likewise.
8045 * gdb.cp/ambiguous.exp: Likewise.
8046 * gdb.cp/annota2.exp: Likewise.
8047 * gdb.cp/annota3.exp: Likewise.
8048 * gdb.cp/bool.exp: Likewise.
8049 * gdb.cp/breakpoint.exp: Likewise.
8050 * gdb.cp/casts.exp: Likewise.
8051 * gdb.cp/class2.exp: Likewise.
8052 * gdb.cp/classes.exp: Likewise.
8053 * gdb.cp/cplusfuncs.exp: Likewise.
8054 * gdb.cp/ctti.exp: Likewise.
8055 * gdb.cp/derivation.exp: Likewise.
8056 * gdb.cp/exception.exp: Likewise.
8057 * gdb.cp/gdb1355.exp: Likewise.
8058 * gdb.cp/hang.exp: Likewise.
8059 * gdb.cp/inherit.exp: Likewise.
8060 * gdb.cp/local.exp: Likewise.
8061 * gdb.cp/m-data.exp: Likewise.
8062 * gdb.cp/m-static.exp: Likewise.
8063 * gdb.cp/member-ptr.exp: Likewise.
8064 * gdb.cp/method.exp: Likewise.
8065 * gdb.cp/misc.exp: Likewise.
8066 * gdb.cp/namespace.exp: Likewise.
8067 * gdb.cp/overload.exp: Likewise.
8068 * gdb.cp/ovldbreak.exp: Likewise.
8069 * gdb.cp/pr-1023.exp: Likewise.
8070 * gdb.cp/pr-1210.exp: Likewise.
8071 * gdb.cp/pr-574.exp: Likewise.
8072 * gdb.cp/printmethod.exp: Likewise.
8073 * gdb.cp/psmang.exp: Likewise.
8074 * gdb.cp/ref-params.exp: Likewise.
8075 * gdb.cp/ref-types.exp: Likewise.
8076 * gdb.cp/rtti.exp: Likewise.
8077 * gdb.cp/templates.exp: Likewise.
8078 * gdb.cp/try_catch.exp: Likewise.
8079 * gdb.cp/userdef.exp: Likewise.
8080 * gdb.cp/virtfunc.exp: Likewise.
8081 * gdb.disasm/am33.exp: Likewise.
8082 * gdb.disasm/h8300s.exp: Likewise.
8083 * gdb.disasm/mn10300.exp: Likewise.
8084 * gdb.disasm/sh3.exp: Likewise.
8085 * gdb.disasm/t01_mov.exp: Likewise.
8086 * gdb.disasm/t02_mova.exp: Likewise.
8087 * gdb.disasm/t03_add.exp: Likewise.
8088 * gdb.disasm/t04_sub.exp: Likewise.
8089 * gdb.disasm/t05_cmp.exp: Likewise.
8090 * gdb.disasm/t06_ari2.exp: Likewise.
8091 * gdb.disasm/t07_ari3.exp: Likewise.
8092 * gdb.disasm/t08_or.exp: Likewise.
8093 * gdb.disasm/t09_xor.exp: Likewise.
8094 * gdb.disasm/t10_and.exp: Likewise.
8095 * gdb.disasm/t11_logs.exp: Likewise.
8096 * gdb.disasm/t12_bit.exp: Likewise.
8097 * gdb.disasm/t13_otr.exp: Likewise.
8098 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
8099 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
8100 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8101 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
8102 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
8103 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
8104 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
8105 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
8106 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
8107 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
8108 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
8109 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
8110 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
8111 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
8112 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
8113 * gdb.mi/gdb701.exp: Likewise.
8114 * gdb.mi/gdb792.exp: Likewise.
8115 * gdb.mi/mi-basics.exp: Likewise.
8116 * gdb.mi/mi-break.exp: Likewise.
8117 * gdb.mi/mi-cli.exp: Likewise.
8118 * gdb.mi/mi-console.exp: Likewise.
8119 * gdb.mi/mi-disassemble.exp: Likewise.
8120 * gdb.mi/mi-eval.exp: Likewise.
8121 * gdb.mi/mi-file.exp: Likewise.
8122 * gdb.mi/mi-read-memory.exp: Likewise.
8123 * gdb.mi/mi-regs.exp: Likewise.
8124 * gdb.mi/mi-return.exp: Likewise.
8125 * gdb.mi/mi-simplerun.exp: Likewise.
8126 * gdb.mi/mi-stack.exp: Likewise.
8127 * gdb.mi/mi-stepi.exp: Likewise.
8128 * gdb.mi/mi-syn-frame.exp: Likewise.
8129 * gdb.mi/mi-until.exp: Likewise.
8130 * gdb.mi/mi-var-block.exp: Likewise.
8131 * gdb.mi/mi-var-child.exp: Likewise.
8132 * gdb.mi/mi-var-cmd.exp: Likewise.
8133 * gdb.mi/mi-var-display.exp: Likewise.
8134 * gdb.mi/mi-watch.exp: Likewise.
8135 * gdb.mi/mi2-basics.exp: Likewise.
8136 * gdb.mi/mi2-break.exp: Likewise.
8137 * gdb.mi/mi2-cli.exp: Likewise.
8138 * gdb.mi/mi2-console.exp: Likewise.
8139 * gdb.mi/mi2-disassemble.exp: Likewise.
8140 * gdb.mi/mi2-eval.exp: Likewise.
8141 * gdb.mi/mi2-file.exp: Likewise.
8142 * gdb.mi/mi2-read-memory.exp: Likewise.
8143 * gdb.mi/mi2-regs.exp: Likewise.
8144 * gdb.mi/mi2-return.exp: Likewise.
8145 * gdb.mi/mi2-simplerun.exp: Likewise.
8146 * gdb.mi/mi2-stack.exp: Likewise.
8147 * gdb.mi/mi2-stepi.exp: Likewise.
8148 * gdb.mi/mi2-syn-frame.exp: Likewise.
8149 * gdb.mi/mi2-until.exp: Likewise.
8150 * gdb.mi/mi2-var-block.exp: Likewise.
8151 * gdb.mi/mi2-var-child.exp: Likewise.
8152 * gdb.mi/mi2-var-cmd.exp: Likewise.
8153 * gdb.mi/mi2-var-display.exp: Likewise.
8154 * gdb.mi/mi2-watch.exp: Likewise.
8155 * gdb.stabs/exclfwd.exp: Likewise.
8156 * gdb.stabs/weird.exp: Likewise.
8157 * gdb.threads/gcore-thread.exp: Likewise.
8158 * gdb.trace/actions.exp: Likewise.
8159 * gdb.trace/backtrace.exp: Likewise.
8160 * gdb.trace/circ.exp: Likewise.
8161 * gdb.trace/collection.exp: Likewise.
8162 * gdb.trace/deltrace.exp: Likewise.
8163 * gdb.trace/infotrace.exp: Likewise.
8164 * gdb.trace/limits.exp: Likewise.
8165 * gdb.trace/packetlen.exp: Likewise.
8166 * gdb.trace/passc-dyn.exp: Likewise.
8167 * gdb.trace/passcount.exp: Likewise.
8168 * gdb.trace/report.exp: Likewise.
8169 * gdb.trace/save-trace.exp: Likewise.
8170 * gdb.trace/tfind.exp: Likewise.
8171 * gdb.trace/tracecmd.exp: Likewise.
8172 * gdb.trace/while-dyn.exp: Likewise.
8173 * gdb.trace/while-stepping.exp: Likewise.
8174
81752006-08-08 Joel Brobecker <brobecker@adacore.com>
8176
8177 * gdb.base/step-bt.c: New file.
8178 * gdb.base/step-bt.exp: New testcase.
8179
81802006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
8181
8182 * config/monitor.exp (gdb_load): Remove support for obsolete
8183 download-write-size.
8184 * gdb.base/remote.exp: Likewise. Update all callers of
8185 gdb_timed_load.
8186
81872006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
8188
8189 * cursal.exp: Pass binfile to gdb_load.
8190
81912006-08-01 Nathan Sidwell <nathan@codesourcery.com>
8192
8193 * gdb.base/cursal.exp: Add "" to gdb_load call.
8194
81952006-07-29 Mark Kettenis <kettenis@gnu.org>
8196
8197 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
8198 NetBSD/ELF targets.
8199
82002006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
8201
8202 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
8203 operator*.
8204
82052006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
8206
8207 * gdb.base/completion.exp: Update for change in "file" behavior.
8208 * gdb.stabs/weird.exp: Likewise.
8209 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
8210 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
8211
82122006-07-24 Nathan Sidwell <nathan@codesourcery.com>
8213
8214 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
8215 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
8216
82172006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
8218
8219 * gdb.base/default.exp: Update source command error message.
8220 * gdb.base/help.exp: Update 'help source' message.
8221
82222006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
8223
8224 * gdb.cp/bs15503.exp: Update comment for no longer crashing
8225 test.
8226
82272006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
8228
8229 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
8230
82312006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8232
8233 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
8234
82352006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8236
8237 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
8238
82392006-07-17 Mark Kettenis <kettenis@gnu.org>
8240
8241 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
8242 *-*-openbsd* from targets for wich we expect ARM FPA floating
8243 point format.
8244
82452006-07-17 Nick Roberts <nickrob@snap.net.nz>
8246
8247 * gdb.cp/annota3.exp: Expect frame-begin annotation.
8248
82492006-07-17 Mark Kettenis <kettenis@gnu.org>
8250
8251 * gdb.base/annota3.exp: Expect frame-begin annotation.
8252
82532006-07-14 Joel Brobecker <brobecker@adacore.com>
8254
8255 * gdb.base/help.exp: Adjust "help unset" test to accept
8256 any list of unset commands.
8257
82582006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
8259 Daniel Jacobowitz <dan@codesourcery.com>
8260
8261 * gdb.cp/ref-params.exp: New test.
8262 * gdb.cp/ref-params.cc: New source file.
8263 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
8264
82652006-07-08 Mark Kettenis <kettenis@gnu.org>
8266
8267 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
8268 spaces/tabs in regular expressions since they might not be there.
8269
82702006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
8271
8272 * gdb.base/ifelse.exp: New file.
8273
82742006-07-04 Nathan Sidwell <nathan@codesourcery.com>
8275
8276 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
8277 line.
8278 * gdb.base/huge.exp: Loop over compilation to find a size that
8279 is acceptable.
8280 * gdb.base/remote.exp: Correct expected strings.
8281 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
8282
82832006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8284
8285 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
8286
82872006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8288
8289 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
8290 native.
8291
82922006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8293
8294 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
8295 enable stabs testing.
8296
82972006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8298
8299 * gdb.base/auxv.exp: Intercept undefined command messages before
8300 gdb_test_multiple does.
8301
83022006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8303
8304 * Makefile.in (host_alias): Remove.
8305 (target_alias): Use @target_noncanonical@.
8306 (site.exp): Don't set host_alias.
8307 * aclocal.m4: Remove contents. Include acx.m4.
8308 * configure: Regenerated.
8309 * configure.ac: Use ACX_NONCANONICAL_TARGET.
8310
83112006-06-13 Nathan Sidwell <nathan@codesourcery.com>
8312
8313 * lib/gdb.exp (gdb_load_cmd): New.
8314
8315 * gdb.base/fileio.c: Add system(NULL) test.
8316 * gdb.base/fileio.exp: Check it.
8317
8318 * gdb.base/break.c: Add 10a breakpoint at }
8319 * gdb.base/break.exp: Add test for breakpoint at }
8320 * gdb.cp/anon-union.cc: Add code at end of function.
8321 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
8322 * gdb.mi/var-cmd.c: Add code at end of function.
8323 * gdb.mi/mi-var-display.exp: Adjust end of next.
8324 * gdb.mi/mi2-var-display.exp: Likewise.
8325 * gdb.base/fileio.c: Add stop function and insert calls at
8326 stopping places.
8327 * gdb.base/fileio.exp: Breakpoint stop function and remove
8328 explicit line number references.
8329
83302006-05-19 Joel Brobecker <brobecker@adacore.com>
8331
8332 * gdb.base/del.exp (test_delete_alias): New function.
8333 Now check that both "del" and "d" work as aliases for "delete".
8334
83352006-05-18 Fred Fish <fnf@specifix.com>
8336
8337 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
8338 required. Check for spurious output after program exits normally.
8339
83402006-05-17 Fred Fish <fnf@specifix.com>
8341
8342 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
8343 gdb_load, so it works in the simulator.
8344
83452006-05-11 Fred Fish <fnf@specifix.com>
8346
8347 * gdb.base/bang.exp: Ignore unexpected output between the
8348 "program exited normally" and the gdb prompt, as many other
8349 tests do.
8350
83512006-05-07 Mark Kettenis <kettenis@gnu.org>
8352
8353 * gdb.base/help.exp: Make "delete checkpoint" part option for
8354 "help d" and "help delete" tests.
8355
83562006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8357
8358 * gdb.mi/mi-basics.exp: Add missing serial number to
8359 expected output in some mi_gdb_test statements.
8360 * gdb.mi/mi2-basics.exp: Likewise.
8361
83622006-05-05 Joel Brobecker <brobecker@adacore.com>
8363
8364 * gdb.base/del.c: New file.
8365 * gdb.base/del.exp: New testcase.
8366
83672006-05-05 David S. Miller <davem@sunset.davemloft.net>
8368
8369 * gdb.base/break.exp: Do not assume a breakpoint on
8370 main will actually be in $srcfile when optimizing.
8371 * gdb.base/savedregs.exp: Do not require that the dummy
8372 frame location match up to a symbol and source file location.
8373 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
8374 will get printed without a mi_cmd_data_list_register_values prefix.
8375 (*-data-list-register-*): Correct regular expressions to expect the new
8376 pseudo d? floating point registers.
8377 * gdb.mi/mi2-regs.exp: Likewise.
8378
83792006-05-05 Christophe Lyon <christophe.lyon@st.com>
8380
8381 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
8382 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
8383 is allocated by the compiler.
8384 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
8385 anons, e, anone to force their allocation by the compiler.
8386
83872006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
8388
8389 * gdb.base/help.exp: Update expected text for help d and
8390 help delete.
8391
83922006-05-02 Mark Kettenis <kettenis@gnu.org>
8393
8394 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
8395 NetBSD/ELF targets.
8396
83972006-04-30 Mark Kettenis <kettenis@gnu.org>
8398
8399 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
8400 single-step breakpoint fails; make this a KFAIL on
8401 sparc*-*-openbsd*.
8402 * gdb.base/siginfo.exp: Likewise.
8403 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8404
84052006-04-26 Michael Snyder <msnyder@redhat.com>
8406
8407 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
8408 which may have to consume output from other forks.
8409 Add tests to make sure that "delete fork" succeeded.
8410
84112006-04-20 Michael Snyder <msnyder@redhat.com>
8412
8413 * 2006-03-22 Jim Blandy <jimb@redhat.com>
8414 Add support for the Renesas M32C and M16C.
8415
8416 * gdb.asm/asm-source.exp: Add m32c target.
8417 * gdb.asm/m32c.inc: Support for m32c target.
8418
84192006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
8420
8421 * gdb.base/commands.exp (recursive_source_test): New test.
8422
84232006-04-04 David S. Miller <davem@sunset.davemloft.net>
8424
8425 * gdb.base/float.exp: Add pattern for sparc targets.
8426
84272006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8428
8429 * gdb.base/commands.exp (stray_arg0_test): New test.
8430
84312006-03-30 Paul Brook <paul@codesourcery.com>
8432
8433 * gdb.mi/mi-until.exp: kfail broken until command.
8434 * gdb.mi/mi2-until.exp: Ditto.
8435
84362006-03-27 Nick Roberts <nickrob@snap.net.nz>
8437
8438 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
8439
84402006-03-08 Alexandre Oliva <aoliva@redhat.com>
8441
8442 * gdb.base/prelink.exp: Anchor tested-for regular expression
8443 on gdb prompt.
8444
84452006-03-07 Paul Brook <paul@codesourcery.com>
8446
8447 * gdb.base/assign.exp: Correct fail message.
8448
84492006-03-07 Paul Brook <paul@codesourcery.com>
8450
8451 * lib/compiler.c: Extract armcc version number.
8452 * lib/compiler.cc: Ditto.
8453
84542006-03-07 Paul Brook <paul@codesourcery.com>
8455
8456 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
8457 additional_flags=-w.
8458 * gdb.arch/altivec-regs.exp: Ditto.
8459 * gdb.arch/e500-abi.exp: Ditto.
8460 * gdb.arch/e500-regs.exp: Ditto.
8461 * gdb.base/all-bin.exp: Ditto.
8462 * gdb.base/annota1.exp: Ditto.
8463 * gdb.base/annota3.exp: Ditto.
8464 * gdb.base/args.exp: Ditto.
8465 * gdb.base/arithmet.exp: Ditto.
8466 * gdb.base/assign.exp: Ditto.
8467 * gdb.base/async.exp: Ditto.
8468 * gdb.base/bang.exp: Ditto.
8469 * gdb.base/break.exp: Ditto.
8470 * gdb.base/call-rt-st.exp: Ditto.
8471 * gdb.base/completion.exp: Ditto.
8472 * gdb.base/cond-expr.exp: Ditto.
8473 * gdb.base/condbreak.exp: Ditto.
8474 * gdb.base/consecutive.exp: Ditto.
8475 * gdb.base/define.exp: Ditto.
8476 * gdb.base/display.exp: Ditto.
8477 * gdb.base/ena-dis-br.exp: Ditto.
8478 * gdb.base/environ.exp: Ditto.
8479 * gdb.base/eval-skip.exp: Ditto.
8480 * gdb.base/info-proc.exp: Ditto.
8481 * gdb.base/jump.exp: Ditto.
8482 * gdb.base/logical.exp: Ditto.
8483 * gdb.base/long_long.exp: Ditto.
8484 * gdb.base/maint.exp: Ditto.
8485 * gdb.base/miscexprs.exp: Ditto.
8486 * gdb.base/pc-fp.exp: Ditto.
8487 * gdb.base/pointers.exp: Ditto.
8488 * gdb.base/relational.exp: Ditto.
8489 * gdb.base/reread.exp: Ditto.
8490 * gdb.base/sect-cmd.exp: Ditto.
8491 * gdb.base/sep.exp: Ditto.
8492 * gdb.base/sepdebug.exp: Ditto.
8493 * gdb.base/until.exp: Ditto.
8494 * gdb.base/whatis-exp.exp: Ditto.
8495 * gdb.cp/annota2.exp: Ditto.
8496 * gdb.cp/annota3.exp: Ditto.
8497 * gdb.trace/actions.exp: Ditto.
8498 * gdb.trace/backtrace.exp: Ditto.
8499 * gdb.trace/circ.exp: Ditto.
8500 * gdb.trace/collection.exp: Ditto.
8501 * gdb.trace/deltrace.exp: Ditto.
8502 * gdb.trace/infotrace.exp: Ditto.
8503 * gdb.trace/limits.exp: Ditto.
8504 * gdb.trace/packetlen.exp: Ditto.
8505 * gdb.trace/passc-dyn.exp: Ditto.
8506 * gdb.trace/passcount.exp: Ditto.
8507 * gdb.trace/report.exp: Ditto.
8508 * gdb.trace/save-trace.exp: Ditto.
8509 * gdb.trace/tfind.exp: Ditto.
8510 * gdb.trace/tracecmd.exp: Ditto.
8511 * gdb.trace/while-dyn.exp: Ditto.
8512 * gdb.trace/while-stepping.exp: Ditto.
8513 * lib/gdb.exp: Ditto.
8514 (gdb_compile): Handle nowarning option.
8515
85162006-03-07 Alexandre Oliva <aoliva@redhat.com>
8517
8518 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
8519 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
8520 Rename executable to prelinkt. Don't re-prelink if we didn't
8521 get a core file. Test prelink -u exit status to tell whether
8522 prelinking failed. Use gdb_test_multiple.
8523
85242006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
8525
8526 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
8527 (do_tests): Call it.
8528
85292006-02-28 Alexandre Oliva <aoliva@redhat.com>
8530
8531 * gdb.base/prelink.exp: New test.
8532 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
8533
85342006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
8535
8536 * gdb.fortran/derived-type.f90: New file.
8537 * gdb.fortran/derived-type.exp: New testcase.
8538
85392006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
8540
8541 * gdb.base/default.exp: Allow ';' as a directory separator.
8542
85432006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
8544
8545 * gdb.base/help.exp (help add-symbol-file): Update.
8546
85472006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
8548
8549 * gdb.base/help.exp (help load): Update expected results.
8550
85512006-02-19 Fred Fish <fnf@specifix.com>
8552
8553 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
8554 specifix hex value as part of results.
8555 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
8556
85572006-02-16 Fred Fish <fnf@specifix.com>
8558
8559 * gdb.base/whatis.c: Define variables using typedefs char_addr,
8560 ushort_addr, and slong_addr, so the typedefs are not optimized
8561 away.
8562 * gdb.base/whatis.exp: Add tests using type name for struct type,
8563 union type, enum type, and typedef.
8564
85652006-02-13 Mark Kettenis <kettenis@gnu.org>
8566
8567 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
8568
85692006-02-13 Jim Blandy <jimb@redhat.com>
8570
8571 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
8572 case where it takes two "next" commands to skip past the init
8573 call.
8574
85752006-02-12 Fred Fish <fnf@specifix.com>
8576
8577 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
8578 to handle cases where it takes two "next" commands to skip
8579 past the init call.
8580
85812006-02-07 Joel Brobecker <brobecker@adacore.com>
8582
8583 * gdb.ada/array_return.exp: Mark the last test as expected to fail
8584 on hppa32 targets.
8585
85862006-02-06 Vladimir Prus <ghost@cs.msu.su>
8587
8588 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
8589 field.
8590
85912006-01-29 Mark Kettenis <kettenis@gnu.org>
8592
8593 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
8594
85952006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8596
8597 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
8598 files.
8599
86002006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8601
8602 * gdb.cp/maint.exp: Set complaints to a positive value.
8603
86042006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
8605
8606 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
8607 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
8608 function name.
8609
86102006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
8611
8612 * gdb.base/checkpoint.c: Update copyright notice. Include
8613 <stdlib.h>.
8614
86152006-01-04 Jim Blandy <jimb@redhat.com>
8616
8617 * gdb.asm/asm-source.exp: Independently provide default values for
8618 asm-flags and debug-flags. Use 'string equal' to do the
8619 comparison, not the implicit expr's '==' operator. Remove
8620 now-unneeded assignments to asm-flags. In h8300 case, place
8621 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
8622
86232006-01-04 Michael Snyder <msnyder@redhat.com>
8624
8625 * gdb.base/checkpoint.c: New file.
8626 * gdb.base/checkpoint.exp: New file.
8627 * gdb.base/multi-fork.c: New file.
8628 * gdb.base/multi-fork.exp: New file.
8629 * gdb.base/pi.txt: New file (data for checkpoint.c test).
8630
86312006-01-04 Fred Fish <fnf@specifix.com>
8632
8633 * gdb.base/ptype.c (foo): Add typedef.
8634 (intfoo): Add function.
8635 * gdb.base/ptype1.c: New file.
8636 * gdb.base/ptype.exp: Handle compilation and linking with two
8637 source files. Test that proper type for "foo" is found based
8638 on source context rather than first match found in symtabs.
8639
86402005-12-28 Mark Kettenis <kettenis@gnu.org>
8641
8642 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
8643 * gdb.asm/openbsd.inc: Indent commands.
8644
86452005-12-26 Mark Kettenis <kettenis@gnu.org>
8646
8647 * gdb.base/freebpcmd.exp: Increase timeout.
8648
8649 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
8650
86512005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
8652
8653 * gdb.base/default.exp: Update check for "show version".
8654
86552005-12-09 Randolph Chung <tausq@debian.org>
8656
8657 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
8658 * gdb.asm/pa64.inc: New file.
8659
86602005-12-09 Randolph Chung <tausq@debian.org>
8661
8662 * gdb.asm/common.inc: Indent commands.
8663 * gdb.asm/asmsrc1.s: Likewise.
8664 * gdb.asm/asmsrc2.s: Likewise.
8665
86662005-12-09 Randolph Chung <tausq@debian.org>
8667
8668 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
8669 (get_addr_of_sym): Remove duplicate print.
8670 (gen_core): xfail hppa*-*-hpux*, update expected output.
8671 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
8672 * gdb.arch/pa64-nullify.s: New file.
8673
86742005-12-09 Randolph Chung <tausq@debian.org>
8675
8676 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
8677
86782005-12-07 Christophe Lyon <christophe.lyon@st.com>
8679
8680 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
8681 code generation for these functions.
8682 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
8683 error message.
8684
86852005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
8686
8687 * gdb.base/help.exp (help b, help br, help bre, help brea)
8688 (help break): Update the expected message.
8689
86902005-11-11 Stephane Carrez <stcarrez@nerim.fr>
8691
8692 * gdb.asm/m68hc11.inc: Setup the data section.
8693 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
8694 script for this test.
8695 (m6812-*-*): Likewise.
8696
86972005-11-09 Randolph Chung <tausq@debian.org>
8698
8699 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
8700
87012005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
8702
8703 * gdb.base/break.exp: Fix a comment typo.
8704
87052005-11-03 Jim Blandy <jimb@redhat.com>
8706
8707 Checked in by Elena Zannoni <ezannoni@redhat.com>
8708
8709 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
8710
87112005-11-02 Corinna Vinschen <vinschen@redhat.com>
8712
8713 * gdb.arch/gdb1558.c: Include stdio.h.
8714
87152005-10-31 Mark Kettenis <kettenis@gnu.org>
8716
8717 * gdb.asm/asm-source.exp: Use -e instead of --entry.
8718
87192005-10-31 Mark Kettenis <kettenis@gnu.org>
8720
8721 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
8722
87232005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
8724
8725 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8726 vscr" tests to better match output.
8727
87282005-10-12 Jim Blandy <jimb@redhat.com>
8729
8730 * gdb.base/structs.exp (any): New function.
8731 (test_struct_returns): Don't make any assumptions at all about
8732 what value the function returns when GDB can't set the return
8733 value.
8734
87352005-10-09 Joel Brobecker <brobecker@adacore.com>
8736
8737 * gdb.ada/arrayidx/p.adb: New file.
8738 * gdb.ada/arrayidx.exp: New testcase
8739
87402005-10-09 Joel Brobecker <brobecker@adacore.com>
8741
8742 * gdb.ada/array_return/pck.ads: New file.
8743 * gdb.ada/array_return/pck.adb: New file.
8744 * gdb.ada/array_return/p.adb: New file.
8745 * gdb.ada/array_return.exp: New testcase.
8746
87472005-10-03 Joel Brobecker <brobecker@adacore.com>
8748
8749 * gdb.base/arrayidx.c: New file.
8750 * gdb.base/arrayidx.exp: New testcase.
8751
87522005-09-29 Nick Roberts <nickrob@snap.net.nz>
8753
8754 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
8755 frames-invalid and breakpoints-invalid are no longer generated
8756 with level 3 so don't expect them in the output.
8757
87582005-09-27 Bob Rossi <bob@brasko.net>
8759
8760 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
8761 from test. Escape the | in mi_gdb_test call.
8762 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
8763 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
8764 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
8765 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
8766 expected regex's in mi_gdb_test calls.
8767 * lib/mi-support.exp: Remove arbitrary .* from tests.
8768 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
8769 Fully anchor GDB/MI expected results in mi_gdb_test.
8770 * lib/gdb.exp (string_to_regexp): Escape the ] character.
8771 * gdb.base/sizeof.exp: Remove escape character. Correct test.
8772
87732005-09-26 Paul Brook <paul@codesourcery.com>
8774
8775 * long_long.exp: Exclude eabi targets from arm FPA float format test.
8776
87772005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
8778
8779 * bfp-test.c: New file.
8780 * bfp-test.exp: New testcase.
8781
87822005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
8783
8784 * gdb.fortran/subarray.exp: New testcase to test the evaluation
8785 of subarray and substring variable.
8786 * gdb.fortran/subarray.f: New source file for the test of subarray
8787 and substring variable evaluation.
8788 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
8789 of string constant.
8790
87912005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
8792
8793 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
8794 copyright dates.
8795
87962005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
8797
8798 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
8799 powerpc altivec' test with an almost identical 'info vector' test.
8800
88012005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
8802
8803 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8804 vscr" tests to match output.
8805
88062005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
8807
8808 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
8809 output.
8810
88112005-09-11 Bob Rossi <bob@brasko.net>
8812
8813 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
8814 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
8815 commands that return an MI output command and an asyncronous MI output
8816 command.
8817 * gdb.mi/mi-console.exp: Ditto.
8818
88192005-09-11 Bob Rossi <bob@brasko.net>
8820
8821 * gdb.mi/mi-var-child.c: Include <string.h>.
8822
88232005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
8824
8825 * killed.exp: Correct gdb_expect syntax.
8826
88272005-08-09 Corinna Vinschen <vinschen@redhat.com>
8828
8829 * lib/mi-support.exp (mi_gdb_load): Fix typo.
8830
88312005-08-02 Bob Rossi <bob@brasko.net>
8832
8833 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
8834 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
8835 Change tests to inferior-tty-set/show.
8836 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
8837 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
8838 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
8839 inferior. Use mi_gdb_test to get GDB and Inferior output.
8840 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
8841 descriptor.
8842 (mi_inferior_tty_name): Add inferior PTY file name.
8843 (mi_gdb_start): Add INFERIOR_PTY parameter.
8844 (mi_gdb_test): Add IPATTERN parameter.
8845
88462005-08-02 Bob Rossi <bob@brasko.net>
8847
8848 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
8849 parameter to mi_gdb_test.
8850 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
8851
88522005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8853
8854 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
8855 struct_declarations.
8856 * gdb.mi/mi-var-child.exp: Step over the initialization of
8857 struct_declarations.
8858
88592005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8860
8861 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
8862 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
8863 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
8864 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
8865 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
8866 file.
8867
88682005-07-27 Nick Roberts <nickrob@snap.net.nz>
8869
8870 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
8871 (do_children_tests): Assign values to the extra elements.
8872
8873 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
8874 them for tests for "-var-update --no-values" and
8875 "-var-update --all-values".
8876 Add test for "-var-list-children --simple-values".
8877
8878 * gdb.mi/basics.c (callee4): Add integer array D[3]...
8879
8880 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
8881 "-stack-list-locals --simple-values" Improve doc strings and
8882 comments.
8883
88842005-07-18 Mark Kettenis <kettenis@gnu.org>
8885
8886 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
8887 *-*-openbsd*.
8888 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
8889
8890 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
8891 sigaltsatck'.
8892
88932005-07-14 Bob Rossi <bob@brasko.net>
8894
8895 * gdb.base/default.exp (tty): Changed output of command.
8896 * gdb.base/help.exp (help tty): Ditto.
8897
88982005-07-12 Mark Kettenis <kettenis@gnu.org>
8899
8900 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
8901
89022005-07-10 Mark Kettenis <kettenis@gnu.org>
8903
8904 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
8905 -stack-select-frame without arguments.
8906 (test_stack_frame_listing): Add test for newly implemented command
8907 -stack-info-frame.
8908
89092005-07-06 Bob Rossi <bob@brasko.net>
8910
8911 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
8912 command.
8913 (Copyright): Update copyright.
8914
89152005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
8916
8917 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
8918 tests to evaluate exponentiation expression.
8919
89202005-06-29 Andreas Schwab <schwab@suse.de>
8921
8922 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
8923 main to avoid warnings.
8924
8925 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
8926
89272005-06-20 Nick Roberts <nickrob@snap.net.nz>
8928
8929 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
8930 -stack-select-frame without arguments.
8931 (test_stack_frame_listing): Add test for newly implemented command
8932 -stack-info-frame.
8933
89342005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
8935
8936 * gdb.fortran/array-element.f: New file.
8937 * gdb.fortran/array-element.exp: New testcase.
8938
89392005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8940
8941 * gdb.base/bigcore.exp: Correct checks for systems which can
8942 not dump a large core file.
8943
89442005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8945
8946 * gdb.base/relocate.c: Add a copyright notice.
8947 (dummy): Remove.
8948 * gdb.base/relocate.exp: Test printing the values of variables
8949 from a relocatable file.
8950
89512005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8952
8953 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
8954 excess MI output after an error.
8955
89562005-05-29 Joel Brobecker <brobecker@adacore.com>
8957
8958 * gdb.arch/alpha-step.c: New file.
8959 * gdb.arch/alpha-step.exp: New testcase.
8960
89612005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
8962 Dennis Brueni <dennis@slickedit.com>
8963
8964 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
8965 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
8966 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
8967 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
8968 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8969 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
8970 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
8971
89722005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
8973 Wu Zhou <woodzltc@cn.ibm.com>
8974
8975 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
8976 IBM's xlc compiler.
8977 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
8978 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
8979
89802005-05-13 Jim Blandy <jimb@redhat.com>
8981
8982 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
8983 calling gdb_suppress_entire_file.
8984 * gdb.base/charset.exp: Same.
8985 * gdb.base/call-rt-st.exp: Same.
8986
89872005-05-05 Bob Rossi <bob_rossi@cox.net>
8988
8989 * lib/gdb.exp (fullname_syntax): Added global regex.
8990 (fullname_syntax_POSIX): Ditto.
8991 (fullname_syntax_UNC): Ditto.
8992 (fullname_syntax_DOS_CASE): Ditto.
8993 (fullname_syntax_DOS): Ditto.
8994 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
8995 fullname_syntax variable to scope and use it.
8996 (test_file_list_exec_source_files): Ditto.
8997 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
8998
89992005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
9000
9001 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
9002
90032004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
9004
9005 * lib/gdb.exp (skip_altivec_tests): New function, based on
9006 check_vmx_hw_available from the GCC testsuite.
9007 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
9008 * lib/gdb.arch/altivec-regs.exp: Likewise.
9009
90102005-05-02 Jim Blandy <jimb@redhat.com>
9011
9012 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
9013 calling gdb_suppress_entire_file.
9014
90152005-04-30 Randolph Chung <tausq@debian.org>
9016
9017 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
9018 Slightly relax "sem_post" name checking.
9019
90202005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9021
9022 * gdb.base/unload.exp: Use new shared library infrastructure.
9023
90242005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9025
9026 * gdb.base/so-impl-ld.exp: Use new shared library
9027 infrastructure.
9028
90292005-04-29 Corinna Vinschen <vinschen@redhat.com>
9030
9031 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
9032 * gdb.asm/h8300.inc: New file.
9033
90342005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9035
9036 * gdb.base/shlib-call.exp: Change to use new shared library
9037 infrastructure.
9038
90392005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9040
9041 * gdb.base/pending.exp: Change to use new shared library
9042 infrastructure.
9043
90442005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9045
9046 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
9047 use test_compiler_info instead of gcc_compiled, and update copyright.
9048
90492005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
9050
9051 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
9052 shared objects being adjusted and update copyright years.
9053
90542005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
9055
9056 * ChangeLog: Correct some 2003-01-13 dates.
9057 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
9058 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
9059 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
9060 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
9061 gdb.trace/tfind.exp: Update copyright years.
9062
90632005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
9064 Daniel Jacobowitz <dan@codesourcery.com>
9065
9066 * lib/gdb.exp (gdb_compile): Handle shlib=.
9067 (gdb_compile_shlib): New function.
9068
90692005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
9070
9071 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9072
90732005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
9074
9075 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
9076 gdb.server.
9077 * configure.ac: Likewise.
9078 * configure: Regenerated.
9079 * gdb.gdbserver/Makefile.in: Moved to...
9080 * gdb.server/Makefile.in: ... here.
9081 * gdb.gdbserver/server.c: Moved to...
9082 * gdb.server/server.c: ... here.
9083 * gdb.gdbserver/server-run.exp: Moved to...
9084 * gdb.server/server-run.exp: ... here.
9085
90862005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
9087
9088 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
9089 * configure.ac: Create gdb.gdbserver/Makefile.
9090 * configure: Regenerated.
9091 * lib/gdbserver-support.exp: New file, derived from
9092 config/gdbserver.exp.
9093 * config/gdbserver.exp: Use gdbserver-support.exp.
9094 * gdb.gdbserver/Makefile.in: New file.
9095 * gdb.gdbserver/server.c: New file.
9096 * gdb.gdbserver/server-run.exp: New file.
9097
90982005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
9099
9100 * lib/gdb.exp (test_compiler_info): Return compiler_info
9101 if no arguments are given.
9102
91032005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
9104
9105 * gdb.arch/altivec-abi.exp: Check for compiler and set
9106 use altivec' flag accordingly.
9107 * gdb.arch/altivec-regs.exp: Likewise.
9108
91092005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
9110
9111 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
9112
91132005-03-27 Andreas Schwab <schwab@suse.de>
9114
9115 * gdb.base/bigcore.c (main): Add missing mode argument in open
9116 call.
9117
91182005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
9119
9120 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
9121 downloads.
9122 * config/gdbserver.exp (gdb_load): Likewise.
9123
91242005-03-14 Paul Brook <paul@codesourcery.com>
9125
9126 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
9127 targets.
9128
91292005-03-09 Joel Brobecker <brobecker@adacore.com>
9130
9131 * gdb.dwarf2/dup-psym.S: New file.
9132 * gdb.dwarf2/dup-psym.exp: New testcase.
9133
91342005-03-09 Joel Brobecker <brobecker@adacore.com>
9135
9136 * gdb.ada/exec_changed/first.adb: New file.
9137 * gdb.ada/exec_changed/second.adb: New file.
9138 * gdb.ada/exec_changed.exp: New testcase.
9139
91402005-03-08 Nathan Sidwell <nathan@codesourcery.com>
9141
9142 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
9143 (A2): New class.
9144 (main): Test operator+.
9145 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
9146 breakpoint test.
9147
9148 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
9149 * gdb.base/signull.exp: Disable if gdb,nosignals.
9150 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
9151 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
9152 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
9153 * gdb.mi/mi2-console.exp: Likewise.
9154 * gdb.trace/collection.exp (run_trace_experiment): Consume the
9155 continue output at start.
9156 (gdb_collect_locals_test): Robustify regexp.
9157 * gdb.trace/passc-dyn.exp: Fix comment typo.
9158 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
9159
91602005-03-08 Corinna Vinschen <vinschen@redhat.com>
9161
9162 * gdb.asm/asm-source.exp: Add iq2000 case.
9163 * gdb.asm/iq2000.inc: New file.
9164
91652005-03-07 Manoj Iyer <manjo@austin.ibm.com>
9166
9167 * gdb.base/command.exp: Change hardcoded value to regular expression.
9168 * gdb.base/float.exp: Add powerpc to the list of targets checked.
9169
91702005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
9171
9172 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
9173 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
9174 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
9175 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
9176 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
9177
91782005-03-05 Mark Kettenis <kettenis@gnu.org>
9179
9180 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
9181 changes.
9182
91832004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
9184
9185 * lib/compiler.c: Add test for IBM's xlc compiler.
9186 * lib/compiler.cc: Likewise.
9187
91882004-02-24 Joel Brobecker <brobecker@adacore.com>
9189
9190 * gdb.ada/fixed_points.exp: Create compilation object directory
9191 before running the test.
9192 * gdb.ada/null_record.exp: Likewise.
9193 * gdb.ada/packed_array.exp: Likewise.
9194 * gdb.ada/start.exp: Likewise.
9195
91962005-02-15 Joel Brobecker <brobecker@adacore.com>
9197
9198 * gdb.ada/packed_array/pa.adb: New file.
9199 * gdb.ada/packed_array.exp: New testcase.
9200
92012005-02-10 Mark Kettenis <kettenis@gnu.org>
9202
9203 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
9204 files.
9205
9206 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
9207 on *-*-openbsd*. Correctly match whitespace in regukar
9208 expressions.
9209
92102005-02-10 Daniel Jacobowitz <dan@debian.org>
9211
9212 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
9213 PR exp/1821
9214 * gdb.base/gdb1821.c: New test file.
9215 * gdb.base/gdb1821.exp: New test file.
9216
92172005-02-09 Joel Brobecker <brobecker@adacore.com>
9218
9219 * gdb.base/start.c: New file.
9220 * gdb.base/start.exp: New testcase.
9221
92222005-02-09 Joel Brobecker <brobecker@adacore.com>
9223
9224 * gdb.ada/start/dummy.adb: New file.
9225 * gdb.ada/start.exp: New testcase.
9226
92272005-02-09 Corinna Vinschen <vinschen@redhat.com>
9228
9229 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
9230 for printing symbols and statistics.
9231 Add test for using relative pathnames in "maint print msymbols" test.
9232 Mark "maint info sections DATA" XFAIL on Cygwin.
9233 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
9234 tests.
9235
92362005-02-09 Andreas Schwab <schwab@suse.de>
9237
9238 Committed by Andrew Cagney <cagney@gnu.org>
9239 * gdb.base/remotetimeout.exp: New file.
9240
92412005-02-07 Mark Kettenis <kettenis@gnu.org>
9242
9243 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
9244
92452005-02-03 Joel Brobecker <brobecker@adacore.com>
9246
9247 * gdb.ada/gnat_ada.gpr: New file.
9248 * gdb.ada/gnat_ada.gin: Delete, no longer used.
9249 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
9250 * configure.ac: No longer generate gnat_ada.gpr.
9251 * configure: Regenerate.
9252 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
9253 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
9254 * gdb.ada/null_record/bar.ads: Likewise.
9255 * gdb.ada/null_record/bar.adb: Likewise.
9256 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
9257 * gdb.ada/null_record.exp (testdir): New variable.
9258 (testfile): executable is now in testdir subdirectory.
9259 (srcfile): Use full path to the main compilation unit.
9260 * gdb.ada/fixed_points.exp: Same changes as above.
9261
92622005-02-03 Nick Roberts <nickrob@snap.net.nz>
9263
9264 * gdb.base/interp.exp: New test.
9265
92662005-01-24 Andrew Cagney <cagney@gnu.org>
9267
9268 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
9269
92702005-01-19 Andrew Cagney <cagney@gnu.org>
9271
9272 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
9273 configure.ac not configure.in.
9274
9275 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
9276 of powerpc*-*-*.
9277 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
9278 * gdb.base/list.exp (test_list_function)
9279 (test_list_filename_and_function): Ditto.
9280 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
9281
92822005-01-16 Andrew Cagney <cagney@gnu.org>
9283
9284 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
9285
9286 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
9287
92882005-01-14 Andrew Cagney <cagney@gnu.org>
9289
9290 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
9291 * gdb.mi/mi2-var-cmd.exp: Ditto.
9292
92932005-01-10 Corinna Vinschen <vinschen@redhat.com>
9294
9295 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
9296
92972005-01-07 Andrew Cagney <cagney@gnu.org>
9298
9299 * configure.ac: Rename configure.in, require autoconf 2.59.
9300 * configure: Re-generate.
9301 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
9302 * gdb.stabs/configure: Re-generate.
9303 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
9304 * gdb.hp/configure: Re-generate.
9305 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
9306 autoconf 2.59.
9307 * gdb.hp/gdb.objdbg/configure: Re-generate.
9308 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
9309 autoconf 2.59.
9310 * gdb.hp/gdb.defects/configure: Re-generate.
9311 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
9312 autoconf 2.59.
9313 * gdb.hp/gdb.compat/configure: Re-generate.
9314 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
9315 autoconf 2.59.
9316 * gdb.hp/gdb.base-hp/configure: Re-generate.
9317 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
9318 autoconf 2.59.
9319 * gdb.hp/gdb.aCC/configure: Re-generate.
9320
93212004-12-15 Jim Blandy <jimb@redhat.com>
9322
9323 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
9324 under NPTL when there is debugging info available for libpthread.
9325
93262004-12-13 Jerome Guitton <guitton@gnat.com>
9327
9328 * gdb.ada/fixed_points.c: New file.
9329 * gdb.ada/fixed_points.exp: New file.
9330
93312004-12-03 Randolph Chung <tausq@debian.org>
9332
9333 * gdb.arch/pa-nullify.exp: New file.
9334 * gdb.arch/pa-nullify.s: New file.
9335
93362004-11-30 Randolph Chung <tausq@debian.org>
9337
9338 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
9339 instead of "tbug". Fix regexp to work properly with gdb_test.
9340
93412004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
9342
9343 * gdb.base/bitfields2.exp: New test.
9344 * gdb.base/bitfields2.c: New file.
9345
93462004-11-28 Richard Earnshaw <rearnsha@arm.com>
9347
9348 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
9349
93502004-11-16 Randolph Chung <tausq@debian.org>
9351
9352 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
9353
93542004-11-14 Daniel Jacobowitz <dan@debian.org>
9355
9356 * gdb.threads/threadapply.exp: Correct "macro details" test.
9357
93582004-11-11 Jeff Johnston <jjohnstn@redhat.com>
9359
9360 * gdb.threads/threadapply.exp: New test.
9361 * gdb.threads/threadapply.c: New file.
9362
93632004-11-07 Mark Kettenis <kettenis@gnu.org>
9364
9365 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
9366 frames.
9367
93682004-11-05 Felix Lee <felix+log1@specifixinc.com>
9369
9370 * gdb.base/cursal.exp: New file.
9371 * gdb.base/cursal.c: New file.
9372
93732004-11-03 Andrew Cagney <cagney@gnu.org>
9374
9375 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
9376
93772004-10-30 Mark Kettenis <kettenis@gnu.org>
9378
9379 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
9380 NetBSD/ELF targets.
9381
93822004-10-29 Joel Brobecker <brobecker@gnat.com>
9383
9384 * gdb.threads/bp_in_thread.c: New file, copied from
9385 pthread_cond_wait.c.
9386 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
9387 file, rather than reusing the .c file from another testcase.
9388
93892004-10-20 Joel Brobecker <brobecker@gnat.com>
9390
9391 * gdb.ada/null_record.exp: Check where we stopped after
9392 sending the start command, instead of where the associated
9393 temporary breakpoint was inserted.
9394
93952004-10-14 Andrew Cagney <cagney@gnu.org>
9396
9397 * gdb.mi/gdb701.c (main): Return 0.
9398
93992004-10-13 Daniel Jacobowitz <dan@debian.org>
9400
9401 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
9402
94032004-10-12 Jeff Johnston <jjohnstn@redhat.com>
9404
9405 * gdb.threads/schedlock.c: Add comment markers to use to find
9406 line numbers.
9407 * gdb.threads/schedlock.exp: Adjust regex to handle the new
9408 comments.
9409 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
9410 breakpoint lines.
9411
94122004-10-12 Daniel Jacobowitz <dan@debian.org>
9413
9414 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
9415
94162004-10-12 Daniel Jacobowitz <dan@debian.org>
9417
9418 * configure.in: Add gdb.dwarf2.
9419 * configure: Regenerated.
9420 * Makefile.in: Add gdb.dwarf2.
9421 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
9422 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
9423 gdb.dwarf2/file1.txt: New files.
9424
94252004-10-11 Orjan Friberg <orjanf@axis.com>
9426
9427 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
9428 of "run", since the latter doesn't work with remote targets. Adjust
9429 the breakpoint numbering accordingly.
9430 * gdb.threads/pthread_cond_wait.exp: Ditto.
9431
94322004-10-08 Michael Chastain <mec.gnu@mindspring.com>
9433
9434 * gdb.base/overlays.exp: Update copyright years.
9435
94362004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
9437
9438 * gdb.base/overlays.exp: Disable if target is Linux.
9439
94402004-10-06 Felix Lee <felix+log1@specifixinc.com>
9441
9442 * config/gdbserver.exp (gdb_load): Use right filename on remote.
9443
94442004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
9445
9446 * gdb.asm/asm-source.exp: Add m32r-linux target.
9447 * gdb.asm/m32r-linux.inc: New file.
9448
94492004-09-24 Andrew Cagney <cagney@redhat.com>
9450 David Anderson <anderson@redhat.com>
9451
9452 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
9453 command fails, assume things will work.
9454 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
9455 (_GNU_SOURCE): Define.
9456 (print_unsigned, print_hex): Change parameter to "long long".
9457 (print_byte_count): New function, use to print byte counts.
9458 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
9459 O_LARGEFILE.
9460 (main): Compute an upper bound on a corefile in max_core_size.
9461 Limit memory chunk size to max_core_size. Limit total memory
9462 allocated to max_core_size.
9463
94642004-09-23 Andrew Cagney <cagney@gnu.org>
9465
9466 * gdb.base/bigcore.exp: Replace the code that creates a corefile
9467 from a separate process with code that creates a corefile by
9468 making the inferior dump core.
9469
94702004-09-23 Mark Kettenis <kettenis@gnu.org>
9471
9472 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
9473 block.
9474
94752004-09-23 Michael Chastain <mec.gnu@mindspring.com>
9476
9477 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
9478 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
9479 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
9480 Likewise.
9481
94822004-09-20 Jeff Johnston <jjohnstn@redhat.com>
9483
9484 * gdb.java/jprint.exp: New test case for java inferior call.
9485 * gdb.java/jprint.java: Ditto.
9486
94872004-09-15 Joel Brobecker <brobecker@gnat.com>
9488
9489 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
9490
94912004-09-14 Michael Chastain <mec.gnu@mindspring.com>
9492
9493 * gdb.threads/killed.c: Include <stdlib.h>.
9494 * gdb.threads/pthreads.c: Likewise.
9495
94962004-09-14 Michael Chastain <mec.gnu@mindspring.com>
9497
9498 * gdb.threads/killed.c: Add copyright notice.
9499
95002004-09-10 Jason Molenda (jmolenda@apple.com)
9501
9502 * gdb.base/define.exp: Two new tests to verify zero space chars
9503 after 'if' and 'while' commands in a user-defined command is correctly
9504 parsed.
9505
95062004-09-08 Andrew Cagney <cagney@gnu.org>
9507
9508 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
9509 delivery test with duplicate at end of file.
9510
95112004-09-06 Mark Kettenis <kettenis@jive.nl>
9512
9513 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
9514
95152004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9516
9517 * config/hppro.exp: Removed.
9518
95192004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9520
9521 * config/sparclet.exp: Removed.
9522
95232004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9524
9525 * config/udi.exp: Removed.
9526
95272004-09-02 Michael Chastain <mec.gnu@mindspring.com>
9528
9529 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
9530 of "exp_continue".
9531 (advancei): Likewise.
9532
95332004-09-01 Jeff Johnston <jjohnstn@redhat.com>
9534
9535 * gdb.base/unload.exp: Fix so messages aren't duplicated.
9536
95372004-09-01 Manoj Iyer <manjo@austin.ibm.com>
9538
9539 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
9540 to check for nodebug in executable.
9541 * gdb.gdb/observer.exp (setup_test): Likewise.
9542 * gdb.gdb/selftest.exp (test_with_self): Likewise.
9543 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
9544
95452004-09-01 Andrew Cagney <cagney@gnu.org>
9546
9547 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9548 files.
9549
95502004-09-01 Jeff Johnston <jjohnstn@redhat.com>
9551
9552 * gdb.base/unload.exp: Fix expected warning message to match
9553 latest format.
9554
95552004-09-01 Corinna Vinschen <vinschen@redhat.com>
9556
9557 * gdb.base/call-rt-st.exp: Fix typos.
9558
95592004-08-31 Manoj Iyer <manjo@austin.ibm.com>
9560
9561 * gdb.threads/thread_check.exp: New testcase.
9562 * gdb.threads/thread_check.c: New testcase.
9563
95642004-08-31 Andrew Cagney <cagney@gnu.org>
9565
9566 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
9567 (skip_to_handler_entry): New procedures. Test stepping into a
9568 handler when the breakpoint is at the handler's entry point.
9569
95702004-08-30 Andrew Cagney <cagney@gnu.org>
9571
9572 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
9573 gdb/1757.
9574
95752004-08-27 Michael Chastain <mec.gnu@mindspring.com>
9576
9577 With code from Manoj Iyer <manjo@austin.ibm.com>:
9578 * lib/gdb.exp (gdb_file_cmd): Return more information in the
9579 return value. Add an arm for "no debugging symbols found".
9580 Change a stray "error" to "perror".
9581 (gdb_run_cmd): Adapt to new return value.
9582 * gdb.base/remote.exp: Adapt to new return value.
9583 * gdb.gdb/complaints.exp: Likewise.
9584 * gdb.gdb/observer.exp: Likewise.
9585 * gdb.gdb/selftest.exp: Likewise.
9586 * gdb.gdb/xfullpath.exp: Likewise.
9587
95882004-08-27 Joel Brobecker <brobecker@gnat.com>
9589
9590 * gdb.threads/bp_in_thread.exp: New testcase.
9591
95922004-08-27 Michael Chastain <mec.gnu@mindspring.com>
9593
9594 Fix PR testsuite/1735.
9595 * gdb.threads/schedlock.c (thread_function): Add a cast
9596 to suppress a gcc warning.
9597 * gdb.threads/thread-specific.c (thread_function): Likewise.
9598
95992004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9600
9601 * gdb.base/unload.c: Include <stdlib.h>.
9602
96032004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9604
9605 From Paul Gilliam <pgilliam@us.ibm.com>:
9606 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
9607 synchronized after the "return".
9608
96092004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9610
9611 * gdb.mi/basics.c: Include <stdio.h>.
9612 * gdb.mi/pthreads.c: Include <stdlib.h>.
9613 * gdb.mi/var-cmd.c: Include <stdlib.h>.
9614
96152004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9616
9617 * gdb.threads/schedlock.c: Add copyright notice.
9618
96192004-08-25 Andrew Cagney <cagney@gnu.org>
9620
9621 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
9622 (skip_over_handler, breakpoint_over_hander): New test procedures.
9623 (advance, advancei): Add a proper prefix, do not use
9624 rerun_to_main.
9625 * gdb.base/sigstep.c (main): Change to use an infinite loop.
9626
96272004-08-24 Michael Chastain <mec.gnu@mindspring.com>
9628
9629 * gdb.mi/basics.c: Add copyright notice.
9630 * gdb.mi/var-cmd.c: Add copyright notice.
9631
96322004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9633
9634 * lib/gdb.exp: Remove signed_keyword_not_used.
9635 * lib/compiler.c: Likewise.
9636 * lib/compiler.cc: Likewise.
9637
96382004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9639
9640 * gdb.base/whatis.c: Remove conditional disabling of "signed".
9641 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
9642
96432004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9644
9645 * gdb.base/whatis.c: Add copyright notice.
9646
96472004-08-20 Mark Kettenis <kettenis@gnu.org>
9648
9649 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
9650 it to skip the breakpoints encoded in the inline assembly.
9651
96522004-08-20 Michael Chastain <mec.gnu@mindspring.com>
9653
9654 * Makefile.in: Add gdb.fortran.
9655
96562004-08-20 Michael Chastain <mec.gnu@mindspring.com>
9657
9658 * gdb.base/call-sc.exp (test_scalar_returns):
9659 Fix cut-and-paste glitch in "Make fun return now".
9660
96612004-08-17 Michael Chastain <mec.gnu@mindspring.com>
9662
9663 * configure.in: Add gdb.fortran.
9664 * configure: Regenerate.
9665 * gdb.fortran/Makefile.in: New file.
9666 * lib/gdb.exp (skip_fortran_tests): New procedure.
9667
96682004-08-17 Michael Chastain <mec.gnu@mindspring.com>
9669
9670 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
9671 reference to bug-gnu@prep.ai.mit.edu.
9672 * gdb.mi/mi-var-child.exp: Likewise.
9673 * gdb.mi/mi-var-cmd.exp: Likewise.
9674 * gdb.mi/mi-var-display.exp: Likewise.
9675 * gdb.mi/mi2-var-block.exp: Likewise.
9676 * gdb.mi/mi2-var-child.exp: Likewise.
9677 * gdb.mi/mi2-var-cmd.exp: Likewise.
9678 * gdb.mi/mi2-var-display.exp: Likewise.
9679
96802004-08-15 Mark Kettenis <kettenis@gnu.org>
9681
9682 * gdb.base/unload.c (main): Make local variable msg const.
9683
96842004-08-15 Michael Chastain <mec.gnu@mindspring.com>
9685
9686 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
9687 to bug-gnu@prep.ai.mit.edu.
9688 * gdb.mi/mi-disassemble.exp: Likewise.
9689 * gdb.mi/mi-eval.exp: Likewise.
9690 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
9691 default line number.
9692 * gdb.mi/mi-return.exp: Likewise.
9693 * gdb.mi/mi-simplerun.exp: Likewise.
9694 * gdb.mi/mi-stack.exp: Likewise.
9695 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
9696 number with explicit range test.
9697 * gdb.mi/mi-watch.exp: Likewise.
9698 * gdb.mi/mi2-break.exp: Likewise.
9699 * gdb.mi/mi2-cli.exp: Likewise.
9700 * gdb.mi/mi2-disassemble.exp: Likewise.
9701 * gdb.mi/mi2-eval.exp: Likewise.
9702 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
9703 default line number.
9704 * gdb.mi/mi2-return.exp: Likewise.
9705 * gdb.mi/mi2-simplerun.exp: Likewise.
9706 * gdb.mi/mi2-stack.exp: Likewise.
9707 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
9708 number with explicit range test.
9709 * gdb.mi/mi2-watch.exp: Likewise.
9710
97112004-08-15 Michael Chastain <mec.gnu@mindspring.com>
9712
9713 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
9714 * gdb.cp/m-static.exp: Likewise.
9715 * gdb.cp/rtti.exp: Likewise.
9716
97172004-08-14 Mark Kettenis <kettenis@gnu.org>
9718
9719 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
9720
97212004-08-14 Eli Zaretskii <eliz@gnu.org>
9722
9723 * ChangeLog: Prefix Local Variables with semi-colons and indent
9724 the reference to older ChangeLog files, to fix fontification in
9725 Emacs.
9726
97272004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9728
9729 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
9730 * gdb.mi/mi2-break.exp: Likewise.
9731
97322004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9733
9734 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
9735
97362004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9737
9738 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
9739
97402004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9741
9742 * gdb.cp/classes.exp: Remove unused declarations. Just let
9743 test names default instead of providing special names. Remove
9744 extraneous demangler test.
9745
97462004-08-12 Jeff Johnston <jjohnstn@redhat.com>
9747
9748 * gdb.base/unload.exp: New test for breakpoints in dynamically
9749 loaded libraries.
9750 * gdb.base/unload.c: Ditto.
9751 * gdb.base/unloadshr.c: Ditto.
9752
97532004-08-12 Michael Chastain <mec.gnu@mindspring.com>
9754
9755 * gdb.cp/classes.exp (test_ptype_class_objects): Call
9756 cp_test_ptype_class.
9757 (test_enums): Likewise.
9758
97592004-08-10 Andrew Cagney <cagney@gnu.org>
9760
9761 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9762 files.
9763
97642004-08-10 Andrew Cagney <cagney@gnu.org>
9765
9766 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
9767 init_malloc call.
9768
97692004-08-10 Michael Chastain <mec.gnu@mindspring.com>
9770
9771 * ChangeLog: Add copyright notice. The notice is copied
9772 from emacs 21.3 top level ChangeLog.
9773
97742004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9775
9776 * lib/cp-support.exp: New file.
9777 * lib/cp-support.exp (cp_test_type_class): New function.
9778 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
9779 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
9780 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
9781 cp_test_ptype_class.
9782
97832004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9784
9785 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
9786 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9787 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
9788 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
9789 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
9790 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
9791 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
9792 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
9793 gdb.mi/mi2-watch.exp: Update copyright years.
9794
97952004-08-09 Mark Kettenis <kettenis@gnu.org>
9796
9797 * gdb.base/sigaltstack.exp: Provide proper anchoring.
9798
97992004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9800
9801 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
9802 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
9803 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
9804 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9805 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
9806 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
9807 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
9808 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9809 gdb.mi/mi-watch.exp: Update copyright years.
9810
98112004-08-08 Daniel Jacobowitz <dan@debian.org>
9812
9813 PR gdb/1738
9814 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
9815 from a breakpoint with a pending signal.
9816
98172004-08-08 Daniel Jacobowitz <dan@debian.org>
9818
9819 PR gdb/1736
9820 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
9821 * gdb.base/sigaltstack.exp (finish_test): Consume output until
9822 the prompt.
9823 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
9824
98252004-08-08 Daniel Jacobowitz <dan@debian.org>
9826
9827 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
9828
98292004-08-08 Daniel Jacobowitz <dan@debian.org>
9830
9831 PR gdb/1736
9832 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
9833 for i?86-*-linux*.
9834
98352004-08-08 Daniel Jacobowitz <dan@debian.org>
9836
9837 * gdb.arch/i386-prologue.exp: Compile without debug information.
9838
98392004-08-08 Michael Chastain <mec.gnu@mindspring.com>
9840
9841 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
9842 rather than asking gdb to search.
9843
98442004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9845
9846 * gdb.base/gcore.c: Include <string.h>.
9847
98482004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9849
9850 * gdb.base/gcore.c: Add copyright notice.
9851
98522004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9853
9854 * gdb.base/freebpcmd.c: Include <stdio.h>.
9855 * gdb.base/long_long.c: Include <string.h>.
9856 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
9857 * gdb.base/siginfo.c: Include <string.h>.
9858 * gdb.base/sigstep.c: Include <string.h>.
9859
98602004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9861
9862 * gdb.base/complex.c: Include <stdlib.h>.
9863
98642004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9865
9866 * gdb.base/complex.c: Add copyright notice.
9867
98682004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9869
9870 * gdb.base/charset.c: Include <stdlib.h>.
9871
98722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9873
9874 * gdb.base/auxv.c: Include <stdlib.h>.
9875
98762004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9877
9878 * gdb.base/auxv.c: Add copyright notice.
9879
98802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9881
9882 * gdb.base/coremaker.c: Add copyright notice.
9883 * gdb.base/coremaker2.c: Add copyright notice.
9884
98852004-08-04 Andrew Cagney <cagney@gnu.org>
9886
9887 * gdb.base/store.exp: Update copyright.
9888 (check_set, up_set, check_struct, up_struct): Add a prefix to test
9889 names, do not import gdb_prompt.
9890
98912004-08-01 Andrew Cagney <cagney@gnu.org>
9892
9893 Fix PR testsuite/1729.
9894 * gdb.base/dump.exp: Add test name to callers of capture_value, do
9895 not use capture_value with value 4.
9896 (capture_value): Add optional test name parameter.
9897 (test_reload_saved_value, test_restore_saved_value): Use $msg as
9898 the prefix, pass to capture_value.
9899
99002004-08-01 Mark Kettenis <kettenis@gnu.org>
9901
9902 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
9903 * gdb.arch/i386-prologue.c (standard): New prototype and function.
9904 (main): Call new function.
9905
99062004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9907
9908 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
9909
99102004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9911
9912 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
9913
99142004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9915
9916 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9917 Accept more values of vtbl pointer. Remove some messages
9918 about "obsolete gcc or gdb".
9919
99202004-07-30 Michael Chastain <mec.gnu@mindspring.com>
9921
9922 * gdb.cp/classes.exp: Accept more varieties of ptype output.
9923
99242004-07-30 Michael Chastain <mec.gnu@mindspring.com>
9925
9926 * gdb.base/asm-source.exp: Properly convert target board
9927 debug flags from gcc format to binutils format.
9928
99292004-07-28 Mark Kettenis <kettenis@gnu.org>
9930
9931 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
9932 gdb1718". PR backtrace/1718 partially fixed.
9933
99342004-07-27 Jeff Johnston <jjohnstn@redhat.com>
9935
9936 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
9937
99382004-07-26 Nick Clifton <nickc@redhat.com>
9939
9940 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
9941 good default value for a specific architecture is available then
9942 set it to that value. Otherwise default to the -gstabs switch.
9943 Remove the -g... switches from the asm-flags variable. Allow the
9944 target board info to override the value if it wants to. Pass the
9945 switch on the assembler command line.
9946
99472004-07-23 Mark Kettenis <kettenis@gnu.org>
9948
9949 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
9950 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
9951 (main): Call new function.
9952
99532004-07-22 Michael Chastain <mec.gnu@mindspring.com>
9954
9955 Test for PR exp/1715.
9956 * gdb.base/radix.exp: Refactor common procedures. Make all
9957 test names unique. Change XFAIL to KFAIL.
9958
99592004-07-20 Michael Chastain <mec.gnu@mindspring.com>
9960
9961 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
9962 * gdb.ada/gnat_ada.gin: ... to here.
9963 * configure.in: Use gnat_ada.gin.
9964 * configure: Regenerate.
9965
99662004-07-20 Andrew Cagney <cagney@gnu.org>
9967
9968 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
9969 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
9970 XFAILs. Clean up test messages and comments. Check backtraces.
9971 Delete re-sync code.
9972
99732004-07-19 Michael Chastain <mec.gnu@mindspring.com>
9974
9975 Fix PR cli/740.
9976 * gdb.base/annota1.exp: Honor gdb,nosignals.
9977 * gdb.base/annota3.exp: Likewise.
9978
99792004-07-19 Michael Chastain <mec.gnu@mindspring.com>
9980
9981 * lib/java.exp: Update copyright notice.
9982
99832004-07-19 Andrew Cagney <cagney@gnu.org>
9984
9985 * gdb.base/selftest.exp: Copy file from here ...
9986 * gdb.gdb/selftest.exp: ... to here.
9987
99882004-07-16 Andrew Cagney <cagney@redhat.com>
9989
9990 * lib/insight-support.exp: Delete file.
9991 * lib/java.exp (java_init): Fix copyright.
9992
99932004-07-16 Andrew Cagney <cagney@gnu.org>
9994
9995 * gdb.base/restore.c: Append "prologue" to comments marking the a
9996 function's prologue.
9997 * gdb.base/restore.exp: Update copyright, re-indent.
9998 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
9999 callerN" prefix where needed. Update patterns that match a
10000 function's prologue.
10001
100022004-07-16 Michael Chastain <mec.gnu@mindspring.com>
10003
10004 * gdb.base/restore.c: Add copyright notice.
10005
100062004-07-16 Andrew Cagney <cagney@gnu.org>
10007
10008 * gdb.base/logical.exp: Update copyright.
10009 (evaluate): New procedure. Use to re-implement tests using
10010 several tables.
10011
100122004-07-14 Martin Hunt <hunt@redhat.com>
10013
10014 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
10015 which fixes some problems where init.tcl was not found.
10016
100172004-07-13 Andrew Cagney <cagney@gnu.org>
10018
10019 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
10020 (check_sizeof, check_valueof): Do not include the output in the
10021 test name. Use gdb_test.
10022 (get_valueof): Use gdb_test_multiple.
10023
10024 * gdb.base/step-test.exp: Update copyright. Use
10025 gdb_test_multiple. Ensure that test names do not include
10026 architecture dependent output.
10027
10028 * gdb.gdb/observer.exp: Update copyright.
10029 (setup_test): Use gdb_test_multiple.
10030 (attach_first_observer, attach_second_observer)
10031 (attach_third_observer, detach_first_observer)
10032 (detach_second_observer, detach_third_observer)
10033 (reset_counters, check_counters): Make $message a prefix.
10034 (test_normal_stop_notifications): Add "args" parameter - a list of
10035 init functions to be called. Make $message a prefix,
10036 (test_observer_normal_stop): Change the message prefixes so that
10037 they are unique, pass the attach / detach procedures to
10038 test_normal_stop_notifications.
10039
10040 * gdb.base/signull.exp (test_segv): Prefix all tests with
10041 "${name}". Clean up test messages.
10042
10043 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
10044
10045 * gdb.base/ena-dis-br.exp: Update copyright.
10046 (break_at): New function. Replace send_gdb with gdb_test,
10047 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
10048 ignore count, not stopped at bpt", with KFAIL.
10049
100502004-07-13 Corinna Vinschen <vinschen@redhat.com>
10051
10052 * gdb.base/attach.exp: Remove cleanupfile handling.
10053
100542004-07-12 Andrew Cagney <cagney@gnu.org>
10055
10056 * gdb.base/annota1.exp: Cleanup corefile test name.
10057 * gdb.base/annota3.exp: Ditto.
10058
100592004-07-12 Andrew Cagney <cagney@gnu.org>
10060
10061 * gdb.base/signals.exp: Clean up copyright, re-indent.
10062
10063 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
10064 gdb_test and gdb_test_multiple.
10065
100662004-07-08 Jeff Johnston <jjohnstn@redhat.com>
10067
10068 * gdb.java/jmain.exp: Fix expected line number for main to
10069 break at. Set XFAIL for break at main test since gcj does not
10070 provide line number info for first statement in main.
10071
100722004-07-08 Andrew Cagney <cagney@gnu.org>
10073
10074 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
10075
10076 * gdb.base/sigbpt.exp: Make the common part of each test name a
10077 prefix instead of suffix.
10078
100792004-07-07 Bob Rossi <bob_rossi@cox.net>
10080
10081 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
10082 test from test_tbreak_creation_and_listing to
10083 test_file_list_exec_source_file
10084 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
10085 Changed name of test from test_tbreak_creation_and_listing to
10086 test_file_list_exec_source_file
10087
100882004-07-07 Jeff Johnston <jjohnstn@redhat.com>
10089
10090 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
10091 the jmisc() constructor instead of <init>.
10092 * gdb.java/jmisc1.exp: Ditto.
10093
100942004-07-07 Andrew Cagney <cagney@gnu.org>
10095
10096 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
10097 corrupting the PC.
10098
100992004-07-06 Michael Chastain <mec.gnu@mindspring.com>
10100
10101 * gdb.cp/templates.exp: Accept whitespace change in demangler
10102 output.
10103
101042004-07-06 Andrew Cagney <cagney@gnu.org>
10105
10106 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
10107
101082004-07-02 Michael Chastain <mec.gnu@mindspring.com>
10109
10110 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
10111 * lib/compiler.cc: Likewise.
10112
101132004-06-30 Michael Chastain <mec.gnu@mindspring.com>
10114
10115 * lib/compiler.cc: Work around string preprocessing problem
10116 with old hp c++ compiler.
10117 * lib/compiler.c: Likewise.
10118
101192004-06-29 Corinna Vinschen <vinschen@redhat.com>
10120
10121 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
10122 directives to conditionalize symbol prefixing.
10123 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
10124 additional_flags handling. Add underscore prefix for Cygwin.
10125 * gdb.arch/i386-unwind.c: Use preprocessor directives to
10126 conditionalize symbol prefixing.
10127 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
10128 additional_flags handling. Add underscore prefix for Cygwin.
10129
101302004-06-29 Corinna Vinschen <vinschen@redhat.com>
10131
10132 * gdb.base/bigcore.exp: Skip test on Cygwin.
10133
101342004-06-28 Michael Chastain <mec.gnu@mindspring.com>
10135
10136 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
10137 formats for "info register". Use gdb_test_multiple. Fix
10138 the "invalid register" test.
10139
101402004-06-28 Corinna Vinschen <vinschen@redhat.com>
10141
10142 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
10143 PID for Cygwin. Add Cygwin specific strings to check for in some
10144 tests.
10145 (do_attach_tests): Add a test for user interaction when attaching
10146 to a process with no matching symbol table already loaded.
10147
101482004-06-26 Andrew Cagney <cagney@gnu.org>
10149
10150 Test PR java/1567 and PR java/1565.
10151 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
10152 * gdb.java/jmisc2.exp: Delete file.
10153
101542004-06-26 Michael Chastain <mec.gnu@mindspring.com>
10155
10156 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
10157
101582004-06-25 Corinna Vinschen <vinschen@redhat.com>
10159
10160 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
10161 attach process.
10162
101632004-06-23 Michael Chastain <mec.gnu@mindspring.com>
10164
10165 * gdb.cp/pr-1553.exp: Remove.
10166
101672004-06-22 Michael Chastain <mec.gnu@mindspring.com>
10168
10169 * gdb.cp/pr-1553.cc: Remove.
10170 * gdb.cp/pr-1553.exp: Disable this test.
10171
101722004-06-20 Jim Blandy <jimb@redhat.com>
10173
10174 Fix PR testsuite/1680.
10175 * gdb.arch/i386-sse.exp: Properly quote curly braces in
10176 regular expressions.
10177
101782004-06-19 Michael Chastain <mec.gnu@mindspring.com>
10179
10180 Fix PR testsuite/1679.
10181 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
10182 Issue an UNSUPPORTED result instead.
10183
101842004-06-18 Jim Blandy <jimb@redhat.com>
10185
10186 * gdb.base/charset.exp: Only send a control-C if we see a new
10187 prompt and incomplete command.
10188
101892004-06-18 Michael Chastain <mec.gnu@mindspring.com>
10190
10191 * gdb.cp/pr-574.cc: Add copyright notice.
10192
101932004-06-17 Jim Blandy <jimb@redhat.com>
10194
10195 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
10196 cases where the regexp has no groups; this grabs random text from
10197 the previous test suite, whatever that was.
10198
101992004-06-17 Michael Chastain <mec.gnu@mindspring.com>
10200
10201 * gdb.cp/printmethod.cc: Add copyright notice.
10202
102032004-06-16 Michael Chastain <mec.gnu@mindspring.com>
10204
10205 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
10206
102072004-06-16 Andrew Cagney <cagney@gnu.org>
10208
10209 * gdb.base/signull.c: Update copyright. Include <string.h>.
10210 (bowler): Replace data_pointer with data_read
10211 and data_write cases. Add code_descriptor case.
10212 (zero, desc): New array and pointer.
10213 (data, code): Change to simple pointers.
10214 * gdb.base/signull.exp: Fix probe pattern matching a function
10215 descriptor SIGSEGV. Replace data_pointer with data_read and
10216 data_write tests.
10217
102182004-06-16 Andrew Cagney <cagney@gnu.org>
10219
10220 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
10221
102222004-06-15 Michael Chastain <mec.gnu@mindspring.com>
10223
10224 * gdb.base/long_long.c: Add copyright notice.
10225
102262004-06-15 Michael Chastain <mec.gnu@mindspring.com>
10227
10228 * gdb.base/long_long.exp: Remove reference to
10229 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
10230 to gdb_breakpoint and gdb_continue_to_breakpoint.
10231
102322004-06-14 Jim Blandy <jimb@redhat.com>
10233
10234 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
10235 endian case.
10236
102372004-06-14 Andrew Cagney <cagney@gnu.org>
10238
10239 * gdb.base/gcore.exp (capture_command_output): Delete the always
10240 passing tests containing inferior values.
10241 * gdb.base/ending-run.exp: Do not include the breakpoint address
10242 in the test message. Update copyright.
10243 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
10244 size in the test name, use gdb_test_multiple. Update copyright.
10245
102462004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10247
10248 * gdb.cp/ref-types.cc: Add copyright notice.
10249
102502004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10251
10252 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
10253 hp_aCC_compiler.
10254 * lib/compiler.cc: Likewise.
10255 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
10256 'set' commands. Log diagnostics for other lines. Set
10257 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
10258
102592004-06-13 Michael Chastain <mec.gnu@mindspring.com>
10260
10261 * gdb.cp/try_catch.cc: Add copyright notice.
10262
102632004-06-12 Michael Chastain <mec.gnu@mindspring.com>
10264
10265 * gdb.cp/userdef.cc: Add copyright notice.
10266
102672004-06-11 Michael Chastain <mec.gnu@mindspring.com>
10268
10269 * gdb.cp/virtfunc.cc: Add copyright notice.
10270
102712004-06-11 Randolph Chung <tausq@debian.org>
10272
10273 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
10274 problem.
10275
102762004-06-10 Andrew Cagney <cagney@gnu.org>
10277
10278 * lib/compiler.cc, lib/compiler.c: Append either
10279 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
10280 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
10281 instead of gcc-3-3.
10282
102832004-06-09 Andrew Cagney <cagney@gnu.org>
10284
10285 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
10286 gdb/1455, bug is specific to "long long" and "double".
10287
10288 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
10289 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
10290 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
10291 fixed.
10292
102932004-06-09 Andrew Cagney <cagney@gnu.org>
10294
10295 * gdb.base/structs.exp (test_struct_returns): Replace
10296 "return_value_unknown" and "finish_value_unknown" by
10297 "return_value_known" and "finish_value_known". Instead of
10298 "return_value_unknown" iff "finish_value_unknown", check
10299 "return_value_known" implies "finish_value_known".
10300
103012004-06-08 Martin Hunt <hunt@redhat.com>
10302
10303 * gdb.base/float.exp: Add pattern for mips targets.
10304
103052004-06-08 Randolph Chung <tausq@debian.org>
10306
10307 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
10308 message for unknown architectures more clear.
10309
103102004-06-08 Joel Brobecker <brobecker@gnat.com>
10311
10312 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
10313 start the execution of the program.
10314
103152004-06-07 Jim Blandy <jimb@redhat.com>
10316
10317 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
10318 * gdb.arch/i386-cpuid.h: New helper file.
10319
103202004-06-07 Randolph Chung <tausq@debian.org>
10321
10322 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
10323 has started.
10324
103252004-06-04 Roland McGrath <roland@redhat.com>
10326
10327 Fix PR gdb/1647.
10328 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
10329 differently to be robust to output buffering differences.
10330
103312004-06-04 Michael Chastain <mec.gnu@mindspring.com>
10332
10333 * gdb.threads/pthreads.exp: Update copyright years.
10334 (check_control_c): Change asynchronous 'after' to synchronous.
10335
103362004-06-04 Roland McGrath <roland@redhat.com>
10337
10338 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
10339 next gdb prompt.
10340
103412004-06-02 Michael Chastain <mec.gnu@mindspring.com>
10342
10343 Fix PR gdb/1636.
10344 * gdb.threads/manythreads.exp: Change asynchronous 'after'
10345 calls to synchronous.
10346
103472004-05-26 Jim Blandy <jimb@redhat.com>
10348
10349 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
10350
103512004-05-24 Randolph Chung <tausq@debian.org>
10352
10353 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
10354 * gdb.asm/pa.inc: New file.
10355
103562004-05-22 Mark Kettenis <kettenis@gnu.org>
10357
10358 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
10359
103602004-05-21 Joel Brobecker <brobecker@gnat.com>
10361 Daniel Jacobowitz <drow@mvista.com>
10362
10363 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
10364 GDB prompt.
10365
103662004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10367
10368 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
10369 setjmp/longjmp. Use sigaction instead of signal.
10370
103712004-05-19 J. Brobecker <brobecker@gnat.com>
10372 Michael Snyder <msnyder@redhat.com>
10373
10374 * gdb.threads/pthread_cond_wait.c: New file.
10375 * gdb.threads/pthread_cond_wait.exp: New testcase.
10376
103772004-05-13 Andrew Cagney <cagney@redhat.com>
10378
10379 * gdb.base/signull.exp, gdb.base/signull.c: New files.
10380 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
10381
103822004-05-11 Andrew Cagney <cagney@redhat.com>
10383
10384 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
10385 fixed but revealed gdb/1639.
10386
103872004-05-10 Andrew Cagney <cagney@redhat.com>
10388
10389 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
10390 func1" and "next to 2nd alarm", kernel bug avoided.
10391
103922004-05-10 Daniel Jacobowitz <dan@debian.org>
10393
10394 PR external/1568
10395 * gdb.base/bigcore.exp: Check the size of the dumped core file.
10396 XFAIL if it is smaller than bytes_allocated.
10397 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
10398 (main): Make chunks_allocated unsigned. Correct comment.
10399
104002004-05-07 Joel Brobecker <brobecker@gnat.com>
10401
10402 * gdb.arch/powerpc-aix-prologue.c: New file.
10403 * gdb.arch/powerpc-aix-prologue.exp: New file.
10404
104052004-05-07 Jim Blandy <jimb@redhat.com>
10406
10407 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
10408 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
10409
104102004-05-06 Joel Brobecker <brobecker@gnat.com>
10411
10412 * gdb.base/sep.exp: No longer setup_kfail when the program was
10413 built with dwarf2.
10414
104152004-05-05 Jim Ingham <jingham@apple.com>
10416
10417 * gdb.base/pending.exp: Make sure pending breakpoints
10418 preserve the ignore count.
10419
104202004-04-27 Jerome Guitton <guitton@gnat.com>
10421
10422 * i386-prologue.exp: Add testcase for jump instruction as first
10423 instruction of the real code.
10424 * i386-prologue.c (jump_at_beginning): New function.
10425
104262004-04-28 Mark Kettenis <kettenis@gnu.org>
10427
10428 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
10429 x86_64-*-*.
10430
104312004-04-28 Mark Kettenis <kettenis@gnu.org>
10432
10433 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
10434 i*86-*-*.
10435
104362004-04-25 Mark Kettenis <kettenis@gnu.org>
10437
10438 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
10439 expression that checks the return type.
10440
104412004-04-23 Andrew Cagney <cagney@redhat.com>
10442
10443 * gdb.base/call-sc.exp: New test of scalar call/return values.
10444 * gdb.base/call-sc.c: Ditto.
10445
104462004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10447
10448 * gdb.threads/manythreads.c: Reduce thread stack size.
10449
104502004-04-23 Jeff Johnston <jjohnstn@redhat.com>
10451
10452 * gdb.threads/manythreads.c: Add copyright notice.
10453
104542004-04-23 Andrew Cagney <cagney@redhat.com>
10455
10456 * gdb.base/siginfo.exp: Better handle step out of signal.
10457 * gdb.base/sigstep.exp: Ditto.
10458
104592004-04-22 Jeff Johnston <jjohnstn@redhat.com>
10460 Daniel Jacobowitz <drow@mvista.com>
10461
10462 * gdb.threads/manythreads.c: New testcase.
10463 * gdb.threads/manythreads.exp: Ditto.
10464
104652004-04-22 Jim Blandy <jimb@redhat.com>
10466
10467 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
10468 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
10469
104702004-04-21 Michael Chastain <mec.gnu@mindspring.com>
10471
10472 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
10473
104742004-04-21 Andrew Cagney <cagney@redhat.com>
10475
10476 * gdb.base/sigstep.c: New file.
10477 * gdb.base/sigstep.exp: New file.
10478
104792004-04-16 Joel Brobecker <brobecker@gnat.com>
10480
10481 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
10482 call to observer_notify_normal_stop.
10483
104842004-04-15 Andrew Cagney <cagney@redhat.com>
10485
10486 * gdb.base/siginfo.c: New file.
10487 * gdb.base/siginfo.exp: New file.
10488
104892004-04-12 J. Brobecker <brobecker@gnat.com>
10490
10491 * gdb.base/sep.exp: Fix typo in comment.
10492
104932004-04-12 J. Brobecker <brobecker@gnat.com>
10494
10495 * gdb.base/sep.c: New file.
10496 * gdb.base/sep-proc.c: New file.
10497 * gdb.base/sep.exp: New testcase.
10498
104992004-04-09 Mark Kettenis <kettenis@gnu.org>
10500
10501 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
10502 support.
10503
105042004-04-05 Andrew Cagney <cagney@redhat.com>
10505
10506 * gdb.base/sigaltstack.c: New file.
10507 * gdb.base/sigaltstack.exp: New file.
10508
105092004-04-04 Joel Brobecker <brobecker@gnat.com>
10510
10511 * gdb.base/foll-fork.exp: Update the expected output for
10512 "help set follow-fork-mode", to match a change that was made
10513 to the help of this variable on 2004-01-13.
10514
105152004-04-01 Joel Brobecker <brobecker@gnat.com>
10516
10517 * lib/ada.exp: Add copyright notice.
10518 * bar.ads: Likewise.
10519 * bar.adb: Likewise.
10520 * null_record.adb: Likewise.
10521 * null_record.exp: Likewise.
10522 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
10523
105242004-04-01 Joel Brobecker <brobecker@gnat.com>
10525
10526 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
10527 * configure: Regenerate.
10528
105292004-04-01 Joel Brobecker <brobecker@gnat.com>
10530
10531 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
10532 to build the application. Remove the message printed when in
10533 verbose mode, redundant with the UNSUPPORTED message above.
10534
105352004-03-31 Joel Brobecker <brobecker@gnat.com>
10536
10537 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
10538 * gdb.ada (null_record.exp): New testcase.
10539
105402004-03-31 Joel Brobecker <brobecker@gnat.com>
10541
10542 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
10543
105442004-03-31 Joel Brobecker <brobecker@gnat.com>
10545
10546 * gdb.ada: New subdirectory.
10547 * gdb.ada/Makefile.in: New file.
10548 * gdb.ada/gnat_ada.gpr.in: New file.
10549
105502004-03-31 Joel Brobecker <brobecker@gnat.com>
10551
10552 * lib/ada.exp: New file.
10553
105542004-03-24 Daniel Jacobowitz <drow@mvista.com>
10555
10556 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
10557 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
10558
105592004-03-22 Andrew Cagney <cagney@redhat.com>
10560
10561 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
10562 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
10563 Problem identified by Ulrich Weigand.
10564
105652004-03-17 David Carlton <carlton@kealia.com>
10566
10567 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
10568 PR c++/826.
10569
105702004-03-16 Roland McGrath <roland@redhat.com>
10571
10572 * gdb.base/auxv.exp: New file.
10573 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
10574
105752004-03-12 David Carlton <carlton@kealia.com>
10576
10577 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
10578 * gdb.cp/pr-1553.cc: Ditto.
10579 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
10580 pass branch.
10581
105822004-03-12 Michael Chastain <mec.gnu@mindspring.com>
10583
10584 * gdb.cp/templates.exp: Accept more template types.
10585
105862004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10587
10588 From Corinna Vinschen with modifications.
10589 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
10590 local variable obj_with_enum.
10591 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
10592 results with obj_with_enum.
10593
105942004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10595
10596 * gdb.cp/classes.cc: New file, copied from misc.cc.
10597 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
10598
105992004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10600
10601 * gdb.cp/misc.cc: Add copyright notice.
10602
106032004-03-05 David Carlton <carlton@kealia.com>
10604
10605 * gdb.cp/rtti.exp: Add 'print *obj3' test.
10606 * gdb.cp/rtti.h: Update copyright.
10607 (namespace n2::n3): New.
10608 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
10609 (n2::n3::func3): New.
10610 (main): Call n2::n3::func3.
10611 * gdb.cp/rtti2.cc: Update copyright.
10612 (n2::create3): New.
10613
106142004-03-04 Mark Kettenis <kettenis@gnu.org>
10615
10616 * gdb.asm/openbsd.inc: Fix typo.
10617
106182004-03-03 Fred Fish <fnf@redhat.com>
10619
10620 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
10621 "val" instead of unused "size". Update copyright year.
10622
106232004-02-29 Daniel Jacobowitz <drow@mvista.com>
10624
10625 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
10626 to use unsigned char.
10627 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
10628 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
10629
106302004-02-29 Daniel Jacobowitz <drow@mvista.com>
10631
10632 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
10633 line of output.
10634
106352004-02-28 Daniel Jacobowitz <drow@mvista.com>
10636
10637 * gdb.base/relocate.c (dummy): Initialize.
10638
106392004-02-28 Daniel Jacobowitz <drow@mvista.com>
10640
10641 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
10642 a breakpoint at exit.
10643
106442004-02-27 Fred Fish <fnf@redhat.com>
10645
10646 * gdb.base/chng-syms.exp: Add expect condition to match failing
10647 case that isn't a timeout.
10648
106492004-02-27 Andrew Cagney <cagney@redhat.com>
10650
10651 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
10652 support.
10653
106542004-02-26 Fred Fish <fnf@redhat.com>
10655
10656 * gdb.arch/gdb1431.c: Remove.
10657 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
10658 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
10659 of "until" incorrectly.
10660
106612004-02-26 J. Brobecker <brobecker@gnat.com>
10662
10663 * gdb.cp/class2.cc (empty): New class.
10664 (refer): New function.
10665 (main): Declare an object of type empty and use it.
10666 * gdb.cp/class2.exp: Print the value of an object of type empty.
10667
106682004-02-26 Jeff Johnston <jjohnstn@redhat.com>
10669
10670 * gdb.base/langs.exp: Update query string to match the
10671 new nquery format used for pending breakpoints.
10672
106732004-02-26 Andrew Cagney <cagney@redhat.com>
10674
10675 Fix PR i18n/1570.
10676 * gdb.base/charset.c: Update copyright notice.
10677 (main, init_string): Remove the escape character '\e' tests.
10678 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
10679 * gdb.base/charset.exp (valid_host_charset): Ditto.
10680 * gdb.base/setvar.exp: Ditto.
10681
106822004-02-24 Andrew Cagney <cagney@redhat.com>
10683
10684 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
10685 mmapped data in core file" PASS and FAIL messages consistent.
10686
10687 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
10688 setting a breakpoint. Work around PR java/1565.
10689
106902004-02-23 Jeff Johnston <jjohnstn@redhat.com>
10691
10692 * lib/gdb.exp (gdb_breakpoint): Update query string to match
10693 new nquery format.
10694 * gdb.base/pending.exp: Ditto.
10695
106962004-02-22 Mark Kettenis <kettenis@gnu.org>
10697
10698 * configure.in: Run stabs tests on *BSD.
10699 * configure: Regenerated.
10700
107012004-02-21 Mark Kettenis <kettenis@gnu.org>
10702
10703 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
10704
107052004-02-20 Fred Fish <fnf@redhat.com>
10706
10707 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
10708 blank in test for "returns short", for consistency with other
10709 "returns xxx" tests. Update copyright year.
10710
107112004-02-19 Fred Fish <fnf@redhat.com>
10712
10713 New testcase for PR breakpoint/1558.
10714 * gdb.arch/gdb1558.exp: New file.
10715 * gdb.arch/gdb1558.c: New file.
10716
107172004-02-19 Elena Zannoni <ezannoni@redhat.com>
10718
10719 * gdb.base/nodebug.exp: Fix typo.
10720
107212004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10722
10723 Committed by Jim Blandy <jimb@redhat.com>.
10724
10725 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
10726
10727 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
10728
10729 * gdb.base/float.exp: Support s390*-*-* targets.
10730
107312004-02-17 Adam Fedor <fedor@gnu.org>
10732
10733 * gdb.base/gdb1555.exp: New file.
10734 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
10735
107362004-02-17 Elena Zannoni <ezannoni@redhat.com>
10737
10738 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
10739
107402004-02-16 Fred Fish <fnf@redhat.com>
10741
10742 * gdb.arch/gdb1291.c: Remove
10743 * gdb.arch/gdb1291.s: New test input file.
10744 * gdb.arch/gdb1291.exp: Expand test to check case that should not
10745 fail. Test for correct result, known incorrect result, other
10746 failures and timeouts.
10747
107482004-02-16 Andrew Cagney <cagney@redhat.com>
10749
10750 * gdb.base/bigcore.exp: New file.
10751 * gdb.base/bigcore.c: New file.
10752
107532004-02-13 Andrew Cagney <cagney@redhat.com>
10754
10755 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
10756 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
10757 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
10758 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
10759 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
10760 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
10761 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
10762 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
10763 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
10764 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
10765
107662004-02-11 Jeff Johnston <jjohnstn@redhat.com>
10767
10768 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
10769 executed is an alloc instruction.
10770
107712004-02-11 David Carlton <carlton@kealia.com>
10772
10773 * gdb.cp/breakpoint.exp: New.
10774 * gdb.cp/breakpoint.cc: New.
10775
107762004-02-11 Michael Chastain <mec.gnu@mindspring.com>
10777
10778 Partial fix for PR gdb/1543.
10779 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
10780 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
10781 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
10782 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
10783 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
10784 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
10785 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
10786 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
10787 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
10788 to bug-gdb@prep.ai.mit.edu .
10789 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
10790 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
10791 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
10792 Likewise.
10793
107942004-02-10 Andrew Cagney <cagney@redhat.com>
10795
10796 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
10797 using gdb_internal_error_resync.
10798
107992004-02-09 Daniel Jacobowitz <drow@mvista.com>
10800
10801 * gdb.threads/thread-specific.exp: Stop early if no threads are
10802 found.
10803
108042004-02-09 Michael Chastain <mec.gnu@mindspring.com>
10805
10806 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
10807
108082004-02-08 Daniel Jacobowitz <drow@mvista.com>
10809
10810 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
10811 breakpoints.
10812
108132004-02-07 Daniel Jacobowitz <drow@mvista.com>
10814
10815 * config/sim.exp (gdb_load): Handle $arg == "".
10816 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
10817 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
10818
108192004-02-07 Elena Zannoni <ezannoni@redhat.com>
10820
10821 * gdb.base/maint.exp: Update test to reflect
10822 obstack changes.
10823
108242004-02-04 Jeff Johnston <jjohnstn@redhat.com>
10825
10826 * gdb.base/pendshr.c (pendfunc): New function that calls
10827 pendfunc1.
10828 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
10829
108302004-02-04 Fred Fish <fnf@redhat.com>
10831
10832 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
10833 function symbols and update copyright years.
10834 * gdb.arch/gdb1291.c: Ditto.
10835
108362004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10837
10838 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
10839
108402004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10841
10842 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
10843
108442004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10845
10846 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
10847
108482004-02-02 Fred Fish <fnf@redhat.com>
10849
10850 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
10851 remote targets. Update copyright years.
10852
108532004-02-02 Jeff Johnston <jjohnstn@redhat.com>
10854
10855 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
10856 support.
10857 * gdb.base/langs.exp: Fix test which attempts to create
10858 breakpoint on non-existent function to handle new pending
10859 support.
10860 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
10861 a breakpoint.
10862 * gdb.base/pending.exp: New test.
10863 * gdb.base/pending.c: New file.
10864 * gdb.base/pendshr.c: Ditto.
10865
108662004-02-02 David Carlton <carlton@kealia.com>
10867
10868 * gdb.cp/overload.exp: Add overloadNamespace tests.
10869 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
10870 (overloadNamespace, XXX): New.
10871 (main): Call XXX::marker2.
10872
108732004-02-01 Fred Fish <fnf@redhat.com>
10874
10875 * gdb.base/dump.exp: Use runto_main instead of "runto main".
10876 * gdb.base/finish.exp: Ditto.
10877 * gdb.base/gcore.exp: Ditto.
10878 * gdb.base/huge.exp: Ditto.
10879 * gdb.base/info-proc.exp: Ditto.
10880 * gdb.base/return2.exp: Ditto.
10881 * gdb.threads/gcore-thread.exp: Ditto.
10882
108832004-02-01 Daniel Jacobowitz <drow@mvista.com>
10884
10885 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
10886
108872004-02-01 Mark Kettenis <kettenis@gnu.org>
10888
10889 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
10890 that opening the file succeeds on OpenBSD.
10891
108922004-02-01 Daniel Jacobowitz <drow@mvista.com>
10893
10894 * gdb.threads/thread-specific.c: New file.
10895 * gdb.threads/threads-specific.exp: New test script.
10896 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
10897 to expect_out.
10898
108992004-02-01 Mark Kettenis <kettenis@gnu.org>
10900
10901 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
10902 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
10903 only on the "print_small_structs from print_long_arg_list" test.
10904
109052004-02-01 Daniel Jacobowitz <drow@mvista.com>
10906
10907 * gdb.base/completion.exp: Kill a stray backslash.
10908
10909 From Jim Ingham <jingham@apple.com>:
10910 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
10911 agrees with the result from sending a tab.
10912
109132004-01-31 Daniel Jacobowitz <drow@mvista.com>
10914
10915 * gdb.base/chng-syms.exp: Remove stray newline.
10916
109172004-01-31 Mark Kettenis <kettenis@gnu.org>
10918
10919 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
10920 *-*-openbsd*.
10921 * gdb.asm/openbsd.inc: New file.
10922
109232004-01-30 Mark Kettenis <kettenis@gnu.org>
10924
10925 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
10926 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
10927 *-*solaris2*. Remove commented out default settings for
10928 asm-flags. Replace gdb_compile with target_link.
10929
109302004-01-29 Michael Chastain <mec.gnu@mindspring.com>
10931
10932 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
10933 for all tests. Remove old hp-ux and cygnus xfail cases.
10934
109352004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
10936
10937 * gdb.base/chng-syms.exp: New file.
10938 * gdb.base/chng-syms.c: New file.
10939
109402004-01-24 Michael Chastain <mec.gnu@mindspring.com>
10941
10942 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
10943 Provide arms for current output in all my configurations.
10944
109452004-01-24 Michael Chastain <mec.gnu@mindspring.com>
10946
10947 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
10948 * lib/compiler.cc: Likewise.
10949 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
10950 get the right preprocessor. Eval the output directly. Remove
10951 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
10952 hp_f77_compiler and hp_f90_compiler completely.
10953 (gdb_preprocess): Delete.
10954 (get_compiler): Delete.
10955
109562004-01-24 Mark Kettenis <kettenis@gnu.org>
10957
10958 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
10959 <string.h>.
10960
109612004-01-24 Nick Roberts <nick@nick.uklinux.net>
10962
10963 * gdb.mi/mi-stack.exp: Update copyright.
10964
109652004-01-23 David Carlton <carlton@kealia.com>
10966
10967 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
10968 test for cp_lookup_transparent_type.
10969 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
10970 call them.
10971
109722004-01-23 Daniel Jacobowitz <drow@mvista.com>
10973
10974 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
10975 after -var-update.
10976
109772004-01-23 David Carlton <carlton@kealia.com>
10978
10979 * gdb.cp/namespace.cc (C::ensureRefs): New.
10980 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
10981
109822004-01-20 Nick Roberts <nick@nick.uklinux.net>
10983
10984 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
10985 case "-stack-list-locals 2".
10986 * gdb.mi/mi-var-child.exp: Test for case
10987 "-var-list-children --all-values NAME".
10988
109892004-01-18 Michael Chastain <mec.gnu@mindspring.com>
10990
10991 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
10992
109932004-01-18 Mark Kettenis <kettenis@gnu.org>
10994
10995 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
10996 used with gdb_test_multiple.
10997
10998 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
10999 read at address 0. This fixes PR testsuite/1504.
11000
110012004-01-18 Daniel Jacobowitz <drow@mvista.com>
11002
11003 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
11004 Remove downloading, guessing the host executable, the calls to
11005 gdb_file_cmd and gdb_target_cmd, and "load" support.
11006 (infer_host_exec): New function broken out from gdb_load.
11007 (gdb_load): New wrapper for gdbserver_gdb_load.
11008 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
11009 gdb_target_cmd. Use -target-select.
11010 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
11011 Download binaries to the host. Clear last_mi_remote_file when
11012 we load a new binary.
11013 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
11014 call gdbserver_gdb_load and mi_gdb_target_cmd.
11015
110162004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11017
11018 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
11019 type patterns.
11020
110212004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11022
11023 * gdb.cp/templates.exp: Fix typo in test name of
11024 "print Foo<volatile char*>::foo".
11025
110262004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11027
11028 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
11029
110302004-01-16 Ben Elliston <bje@wasabisystems.com>
11031
11032 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
11033 (clean mostlyclean): Remove empty rm.
11034
110352004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11036
11037 * gdb.base/setvar.exp: Add copyright years.
11038
110392004-01-14 David Carlton <carlton@bactrian.org>
11040
11041 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
11042 PR c++/1511 and update coment.
11043 * gdb.cp/templates.exp: Update patterns to match current output.
11044 If changes involve something other than whitespace, KFAIL
11045 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
11046
110472004-01-14 David Carlton <carlton@kealia.com>
11048
11049 * gdb.cp/namespace.exp: Add tests involving classes defined within
11050 namespaces.
11051 * gdb.cp/namespace.cc (C::CClass): New.
11052 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
11053
110542004-01-14 Elena Zannoni <ezannoni@redhat.com>
11055
11056 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
11057 what debug info we have. Print a better message if something goes
11058 wrong while producing the separate debug info file.
11059
110602004-01-14 Michael Chastain <mec.gnu@mindspring.com>
11061
11062 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
11063
110642004-01-14 Michael Chastain <mec.gnu@mindspring.com>
11065
11066 * gdb.base/callfuncs.c: Add copyright notice.
11067
110682004-01-13 Michael Chastain <mec.gnu@mindspring.com>
11069
11070 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
11071 inheritance. PR gdb/1498, PR gcc/13539.
11072
110732004-01-13 Elena Zannoni <ezannoni@redhat.com>
11074
11075 * gdb.threads/gcore-thread.exp: Prefix name of binary with
11076 test specific name.
11077 * gdb.mi/gdb669.exp: Ditto.
11078 * gdb.mi/mi-pthreads.exp: Ditto.
11079 * gdb.mi/mi1-pthreads.exp: Ditto.
11080 * gdb.mi/mi2-pthreads.exp: Ditto.
11081
110822004-01-12 Michael Chastain <mec.gnu@mindspring.com>
11083
11084 * gdb.cp/member-ptr.cc: Add copyright notice.
11085
110862004-01-12 Michael Chastain <mec.gnu@mindspring.com>
11087
11088 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
11089 some patterns for recent versions of gcc and hpacc. Delete
11090 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
11091 Delete tests that access a NULL pointer-to-member-data. This
11092 script is still disabled for gcc.
11093
110942004-01-12 Elena Zannoni <ezannoni@redhat.com>
11095
11096 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
11097 escaped correctly.
11098
110992004-01-12 Elena Zannoni <ezannoni@redhat.com>
11100
11101 * gdb.base/sepdebug.exp: New file.
11102 * gdb.base/sepdebug.c: New file.
11103 * lib/gdb.exp (separate_debug_filename): New procedure.
11104 (gdb_gnu_strip_debug): New procedure.
11105
111062004-01-12 Andrew Cagney <cagney@redhat.com>
11107
11108 * gdb.mi/ChangeLog: Delete file. Renamed to ...
11109 * gdb.mi/ChangeLog-1999-2003: New file.
11110
111112004-01-12 Andrew Cagney <cagney@redhat.com>
11112
11113 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
11114 "Renaming a directory to a non-empty directory returns ENOTEMPTY
11115 or EEXIST", treat EBUSY as an XFAIL.
11116
111172004-01-11 Michael Chastain <mec.gnu@mindspring.com>
11118
11119 * gdb.base/scope.exp: Remove obsolete setup_xfail for
11120 hp_cc_compiler.
11121
111222004-01-10 Michael Chastain <mec.gnu@mindspring.com>
11123
11124 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
11125 decorations.
11126
111272004-01-10 Michael Chastain <mec.gnu@mindspring.com>
11128
11129 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
11130 and "(aCC)" decorations. Remove obsolete doco about old
11131 test results.
11132
111332004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11134
11135 * gdb.cp/exception.exp: Fix typo in doco.
11136
111372004-01-09 Mark Kettenis <kettenis@gnu.org>
11138
11139 * gdb.base/gdb1476.exp: Fix typo.
11140
111412004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11142
11143 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
11144 file.
11145
111462004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11147
11148 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
11149 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
11150 Use gdb_compile. Remove restriction on gcc. Add some patterns
11151 for recent version of gdb. Delete second half, which was a copy
11152 of the first half with different build flags. This test is
11153 still disabled because it is still not ready for production.
11154
111552004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11156
11157 * gdb.cp/exception.cc: Add copyright notice.
11158 * gdb.cp/exception.exp: Add a notice that this file is broken
11159 because of line number changes caused by addition of copyright
11160 notice.
11161
111622004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11163
11164 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
11165 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
11166
111672004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11168
11169 * gdb.cp/classes.exp: Accept gnu abi 2.
11170 * gdb.cp/derivation.exp: Likewise.
11171 * gdb.cp/overload.exp: Likewise.
11172 * gdb.cp/virtfunc.exp: Likewise.
11173
111742004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11175
11176 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
11177 semicolon after end of function.
11178
111792004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11180
11181 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
11182 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
11183 boilerplate code for compiling and running the program under
11184 test. Add some string method tests.
11185
111862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11187
11188 * gdb.cp/bs15503.cc: Add copyright notice.
11189 * gdb.cp/bs15503.exp: Adjust line number.
11190
111912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11192
11193 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
11194 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
11195
111962004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11197
11198 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
11199 hp_cc_compiler.
11200
112012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11202
11203 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
11204 * gdb.cp/ctti.exp: Use the marker instead of "next".
11205 With gcc, run further before bailing.
11206
112072004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11208
11209 * gdb.cp/cttiadd.cc: Add copyright notice.
11210 * gdb.cp/cttiadd1.cc: Likewise.
11211 * gdb.cp/cttiadd2.cc: Likewise.
11212 * gdb.cp/cttiadd3.cc: Likewise.
11213
112142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11215
11216 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
11217 Use gdb_test, gdb_test_multiple. Use floating-point values that
11218 have exact representations in IEEE-ish formats.
11219
112202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11221
11222 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
11223 compilers. Delete duplicate call to get_compiler_info.
11224 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
11225 * gdb.base/volatile.exp: Likewise.
11226
112272004-01-07 Mark Kettenis <kettenis@gnu.org>
11228
11229 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
11230 memory at address 0.
11231
112322004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11233
11234 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
11235 to test for hp-ux assembler. Fix copyright years.
11236
112372004-01-07 Andrew Cagney <cagney@redhat.com>
11238
11239 * gdb.base/fileio.c (strerrno): Add "EBUSY".
11240
112412004-01-07 Andrew Cagney <cagney@redhat.com>
11242
11243 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
11244 when creating the read-only file. From analysis by Roland McGrath
11245 and Elena Zannoni.
11246
112472004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11248
11249 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
11250
112512004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11252
11253 * gdb.base/cvexpr.c: Be type-safe with function pointers and
11254 data pointers.
11255
112562004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11257
11258 * gdb.cp/m-static.exp: Compile one source file at a time.
11259 Delete unused call to get_compiler_info.
11260
112612004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11262
11263 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
11264 * gdb.base/call-rt-st.exp: Likewise.
11265 * gdb.base/nodebug.exp: Likewise.
11266 * gdb.base/volatile.exp: Likewise.
11267 * gdb.cp/ref-types.exp: Likewise.
11268 * gdb.cp/templates.exp: Likewise.
11269
112702004-01-05 Mark Kettenis <kettenis@gnu.org>
11271
11272 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
11273
112742004-01-05 Michael Chastain <mec.gnu@mindspring.com>
11275
11276 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
11277 hppa*-hp-hpux*.
11278
112792004-01-04 Mark Kettenis <kettenis@gnu.org>
11280
11281 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11282 x86_64-*-*.
11283
11284 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11285 sparc64-*-* and sparc*-solaris2*.
11286
112872004-01-04 Mark Kettenis <kettenis@gnu.org>
11288
11289 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
11290 return ${tests}" test. The ${tests} already mentions the
11291 filename.
11292
112932004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11294
11295 * gdb.cp/local.exp: Accept gcc abi 2.
11296
112972004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11298
11299 * gdb.cp/templates.exp: Accept gcc abi 2.
11300
113012004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11302
11303 * lib/compiler.cc: Remove supports_template_debugging.
11304 * gdb.cp/templates.exp: Do not test supports_template_debugging.
11305
113062004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11307
11308 * gdb.cp/namespace.exp: Accept gcc abi 2.
11309
113102004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11311
11312 * gdb.cp/method.exp: Accept gcc abi 2.
11313
113142004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11315
11316 * gdb.cp/classes.exp: Generate identical results as old version.
11317 * gdb.cp/derivation.exp: Likewise.
11318 * gdb.cp/overload.exp: Likewise.
11319 * gdb.cp/virtfunc.exp: Likewise.
11320
113212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11322
11323 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
11324 mysterious bug with sourceware version of expect.
11325
113262004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11327
11328 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
11329 current versions of gcc, including gcc abi 2. Remove gratuitous
11330 restart of test program. Use gdb_test_multiple and gdb_test for
11331 all tests. Add patterns to xfail missing "const" in "const char *"
11332 and kfail PR gdb/1155.
11333
113342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11335
11336 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
11337 current versions of gcc, including gcc abi 2. Remove gratuitous
11338 restart of test program. Use gdb_test_multiple and gdb_test for
11339 all tests. Add patterns to kfail PR gdb/1498.
11340
113412003-12-31 Michael Chastain <mec.gnu@mindspring.com>
11342
11343 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
11344 current versions of gcc, including gcc abi 2. Use "breakpoint"
11345 and "continue" instead of restarting the target program. Use
11346 gdb_test_multiple and gdb_test for all tests.
11347
113482004-01-01 Mark Kettenis <kettenis@gnu.org>
11349
11350 * gdb.asm/asm-source.exp: Update copyright year. Link statically
11351 for *-*-solaris2*.
11352
113532003-12-31 Michael Chastain <mec.gnu@mindspring.com>
11354
11355 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
11356 current versions of gcc, including gcc abi 2. Use "breakpoint"
11357 and "continue" instead of restarting the target program several
11358 times. Use gdb_test_multiple and gdb_test for all tests.
11359
113602003-12-18 Michael Chastain <mec.gnu@mindspring.com>
11361
11362 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
11363 source files.
11364
113652003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11366
11367 * gdb.base/environ.exp: Handle compiling test case from multiple
11368 source files.
11369
113702003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11371
11372 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
11373
113742003-12-17 Jim Blandy <jimb@redhat.com>
11375
11376 * gdb.base/freebpcmd.c: Add copyright notice.
11377
11378 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
11379
113802003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11381
11382 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
11383
113842003-12-13 Jim Blandy <jimb@redhat.com>
11385
11386 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
11387
113882003-12-12 Kevin Buettner <kevinb@redhat.com>
11389
11390 * gdb.asm/frv.inc: New file.
11391 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
11392
113932003-12-09 Fred Fish <fnf@redhat.com>
11394
11395 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
11396 functions to break1.c and leave prototypes behind. Add more
11397 "set breakpoint NN here" comments.
11398 * gdb.base/break1.c: New file.
11399
11400 * gdb.base/break.exp: Handle compiling test case from multiple
11401 source files and change source file references as needed.
11402 * gdb.base/completion.exp: Ditto.
11403 * gdb.base/condbreak.exp: Ditto.
11404 * gdb.base/define.exp: Ditto.
11405 * gdb.base/ena-dis-br.exp: Ditto.
11406 * gdb.base/info-proc.exp: Ditto.
11407 * gdb.base/maint.exp: Ditto.
11408 * gdb.base/until.exp: Ditto.
11409
11410 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
11411 hardcoded line numbers.
11412 * gdb.base/define.exp: Ditto.
11413 * gdb.base/ena-dis-br.exp: Ditto.
11414 * gdb.base/maint.exp: Ditto.
11415 * gdb.base/until.exp: Ditto.
11416
11417 * gdb.base/completion.exp: Use "break1" for completion tests since
11418 "break" is no longer a unique prefix.
11419
114202003-12-06 Andrew Cagney <cagney@redhat.com>
11421
11422 * gdb.base/structs.exp (test_struct_returns): When applicable, set
11423 "return_value_unimplemented". When an unimplemented struct return
11424 architecture, report incorrect values as a KFAIL
11425
114262003-12-05 Michael Chastain <mec.gnu@mindspring.com>
11427
11428 * gdb.cp/rtti.exp: Accept new wording of warning from
11429 cp_lookup_rtti_type.
11430
114312003-12-05 Michael Chastain <mec.gnu@mindspring.com>
11432
11433 Partial fix for PR testsuite/1456.
11434 * gdb.base/scope.exp (test_at_main): Replace references to
11435 gcc_compiled with calls to test_compiler_info.
11436 (test_at_foo): Likewise.
11437 (test_at_bar): Likewise.
11438
114392003-12-04 Michael Chastain <mec.gnu@mindspring.com>
11440
11441 Partial fix for PR testsuite/1456.
11442 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
11443 to test_compiler_info.
11444
114452003-12-03 Michael Chastain <mec.gnu@mindspring.com>
11446
11447 * gdb.base/so-impl-ld.exp: Update copyright notice.
11448
114492003-12-02 Michael Chastain <mec.gnu@mindspring.com>
11450
11451 Partial fix for PR testsuite/1456.
11452 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
11453 to test_compiler_info.
11454
114552003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11456
11457 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
11458 from current versions of gdb. Clean up regular expressions.
11459 Delete redundant timeout case.
11460
114612003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11462
11463 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
11464 from current versions of gdb. Clean up regular expressions.
11465 Delete redundant timeout case.
11466
114672003-12-01 Michael Chastain <mec.gnu@mindspring.com>
11468
11469 Partial fix for PR testsuite/1456.
11470 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
11471 gcc_compiled with call to test_compiler_info.
11472
114732003-11-30 Michael Chastain <mec.gnu@mindspring.com>
11474
11475 Partial fix for PR testsuite/1456.
11476 * gdb.base/list.exp (test_list_function): Delete unused declaration
11477 of gcc_compiled.
11478
114792003-11-29 Michael Chastain <mec.gnu@mindspring.com>
11480
11481 Partial fix for PR testsuite/1456.
11482 * gdb.base/complex.exp: Replace reference to gcc_compiled with
11483 call to test_compiler_info.
11484
114852003-11-29 Mark Kettenis <kettenis@gnu.org>
11486
11487 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
11488 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
11489 it to create the appropriate note.inc.
11490 * gdb.asm/asmsrc1.s: Include "note.inc".
11491 * gdb.asm/netbsd.inc: New file.
11492 * gdb.asm/empty.inc: New file.
11493
114942003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11495
11496 Partial fix for PR testsuite/1456.
11497 * gdb.base/constvars.exp: Replace references to gcc_compiled with
11498 calls to test_compiler_info.
11499
115002003-11-27 Michael Chastain <mec.gnu@mindspring.com>
11501
11502 Partial fix for PR testsuite/1456.
11503 * gdb.base/volatile.exp: Replace references to gcc_compiled with
11504 calls to test_compiler_info.
11505
115062003-11-27 Mark Kettenis <kettenis@gnu.org>
11507
11508 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
11509 pattern for the KFAILs.
11510
115112003-11-25 Adam Fedor <fedor@gnu.org>
11512
11513 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
11514 * gdb.objc/objcdecode.m: New file.
11515
115162003-11-25 Adam Fedor <fedor@gnu.org>
11517
11518 * gdb.objc/nondebug.exp: Test for PR objc/1236.
11519 * gdb.objc/nondebug.m: New file.
11520
115212003-11-26 Ben Elliston <bje@wasabisystems.com>
11522
11523 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
11524 NetBSD as it does on FreeBSD. Modelled on a similar change by
11525 Mark Kettenis on 2003-05-30.
11526 (link-flags): Set to "--entry _start" regardless of target.
11527 Special linker flags are to be appended to $link-flags.
11528 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
11529
115302003-11-25 Michael Chastain <mec.gnu@mindspring.com>
11531
11532 * gdb.cp/method.exp: Accept output of new demangler.
11533
115342003-11-25 Michael Chastain <mec.gnu@mindspring.com>
11535
11536 * gdb/class2.exp: New file.
11537 * gdb/class2.cc: New file.
11538
115392003-11-25 Michael Chastain <mec.gnu@mindspring.com>
11540
11541 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
11542 of new demangler.
11543
115442003-11-23 Mark Kettenis <kettenis@gnu.org>
11545
11546 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
11547 of gdb_test "run".
11548
115492003-11-23 Mark Kettenis <kettenis@gnu.org>
11550
11551 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
11552 "continue" into "run".
11553
115542003-11-23 Michael Chastain <mec.gnu@mindspring.com>
11555
11556 Partial fix for PR testsuite/1456.
11557 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
11558 call to test_compiler_info.
11559 * gdb.cp/ctti.exp: Likewise.
11560 * gdb.cp/derivation.exp: Likewise.
11561 * gdb.cp/member-ptr.exp: Likewise.
11562 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
11563 reference to gcc_compiled.
11564
115652003-11-23 Michael Chastain <mec.gnu@mindspring.com>
11566
11567 Fix PR testsuite/1463.
11568 * gdb.base/structs.exp (start_structs_test): Call
11569 get_debug_format before using the debug format.
11570
115712003-11-22 Andrew Cagney <cagney@redhat.com>
11572
11573 * lib/gdb.exp (gdb_test_multiple): Add simple example.
11574 * gdb.base/structs.exp: Use gdb_test_multiple.
11575
115762003-11-20 Andrew Cagney <cagney@redhat.com>
11577
11578 * gdb.base/structs.exp: Handle and recover from internal errors.
11579 Replace "foo${n}" with "foo<n>" in test messages.
11580
11581 * gdb.base/structs.exp: Update copyright. Rewrite.
11582 * gdb.base/structs.c: Update copyright. Rewrite.
11583
11584 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
11585 resync count exceeded.
11586
11587 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
11588 from the internal error.
11589 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
11590 Original from Jim Blandy.
11591 (gdb_test_multiple): Use gdb_internal_error_resync.
11592
115932003-11-19 Andrew Cagney <cagney@redhat.com>
11594
11595 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
11596 KFAIL.
11597
115982003-11-17 Mark Kettenis <kettenis@gnu.org>
11599
11600 New testcase for PR backtrace/1435.
11601 * gdb.arch/i386-unwind.exp: New file.
11602 * gdb.arch/i386-unwind.c: New file.
11603
116042003-11-17 Andrew Cagney <cagney@redhat.com>
11605
11606 * lib/gdb.exp (compiler_info): New global.
11607 (test_compiler_info): New function.
11608 (get_compiler_info): Set compiler_info.
11609 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
11610 "compiler_info" to gcc-<major>-<minor>.
11611
116122003-11-15 Michael Chastain <mec.gnu@mindspring.com>
11613
11614 * gdb.trace/configure: Remove.
11615
116162003-11-13 Elena Zannoni <ezannoni@redhat.com>
11617
11618 * gdb.base/break.c: Add comments to aid finding line numbers for
11619 breakpoints.
11620 * gdb.base/break.exp: Remove all references to explicit line
11621 numbers.
11622
116232003-11-11 Nick Clifton <nickc@redhat.com>
11624
11625 * gdb.base/shreloc.exp: Do not run for targets which do not
11626 support shared objects.
11627
116282003-11-10 Corinna Vinschen <vinschen@redhat.com>
11629
11630 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
11631 Don't run tests if nofileio flag is given.
11632
116332003-11-07 Elena Zannoni <ezannoni@redhat.com>
11634
11635 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
11636 as well as 'Watchpoint'.
11637
116382003-11-06 Elena Zannoni <ezannoni@redhat.com>
11639
11640 Reported by Jim Ingham <jingham@apple.com>:
11641 * gdb.base/annota1.exp: Match at least one occurrence of the
11642 signal handler annotation.
11643
116442003-11-06 Elena Zannoni <ezannoni@redhat.com>
11645
11646 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
11647 as well as 'Watchpoint'.
11648
116492003-11-05 Michael Chastain <mec@shout.net>
11650
11651 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
11652
116532003-11-03 Kris Warkentin <kewarken@qnx.com>
11654
11655 * gdb.arch/gdb1291.c: New test file.
11656 * gdb.arch/gdb1291.exp: New test script.
11657 * gdb.arch/gdb1431.c: New test file.
11658 * gdb.arch/gdb1431.exp: New test script.
11659
116602003-10-22 Michael Chastain <mec@shout.net>
11661
11662 * gdb.mi/pthreads.c: Add copyright notice.
11663
116642003-10-22 Michael Chastain <mec@shout.net>
11665
11666 * gdb.threads/pthreads.c: Add copyright notice.
11667
116682003-10-20 Michael Chastain <mec@shout.net>
11669
11670 * gdb.base/gdb1056.exp: New test script.
11671
116722003-10-13 Daniel Jacobowitz <drow@mvista.com>
11673
11674 * gdb.threads/killed.exp: Use gdb_run_cmd.
11675
116762003-10-13 Daniel Jacobowitz <drow@mvista.com>
11677
11678 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
11679 create a core file.
11680 * gdb.threads/gcore-thread.exp: Likewise.
11681
116822003-10-13 Corinna Vinschen <vinschen@redhat.com>
11683
11684 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
11685 type, based on char type.
11686 (struct bit_flags_short_t): New bitfield type, based on short type.
11687 (init_bit_flags_char): New fuction.
11688 (init_bit_flags_short): Ditto.
11689 (print_bit_flags_char): Ditto.
11690 (print_bit_flags_short): Ditto.
11691 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
11692
116932003-10-11 Michael Chastain <mec@shout.net>
11694
11695 * gdb.base/call-rt-st.exp: Update copyright year.
11696
116972003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
11698
11699 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
11700 * gdb.disasm/sh3.s: Ditto.
11701
117022003-10-07 Daniel Jacobowitz <drow@mvista.com>
11703
11704 * gdb.threads/switch-threads.exp: New test.
11705 * gdb.threads/switch-threads.c: New source file.
11706
117072003-10-07 Corinna Vinschen <vinschen@redhat.com>
11708
11709 * gdb.base/ending-run.exp: Add sh specific case.
11710
117112003-10-06 Andrew Cagney <cagney@redhat.com>
11712
11713 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
11714 * gdb.disasm/mn10200.exp: Delete obsolete file.
11715
117162003-09-29 Daniel Jacobowitz <drow@mvista.com>
11717
11718 * ChangeLog: Correct an entry command.exp -> commands.exp.
11719 * gdb.base/commands.exp (bp_deleted_in_command_test)
11720 (temporary_breakpoint_commands): Check noargs.
11721
117222003-09-25 David Carlton <carlton@kealia.com>
11723
11724 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
11725 of some print tests, where appropriate. Add tests for C::D::cd,
11726 E::ce, F::cXfX, G::XgX.
11727 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
11728
117292003-09-25 Richard Earnshaw <rearnsha@arm.com>
11730
11731 * lib/java.exp (java_init): Import target_alias before using it.
11732
117332003-09-25 David Carlton <carlton@kealia.com>
11734
11735 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
11736
117372003-09-23 Elena Zannoni <ezannoni@redhat.com>
11738
11739 * gdb.base/selftest.exp: Accomodate more instruction reordering
11740 weirdness.
11741
117422003-09-17 Michael Chastain <mec@shout.net>
11743
11744 * gdb.cp/gdb1355.exp: New file.
11745 * gdb.cp/gdb1355.c: New file.
11746
117472003-09-15 Corinna Vinschen <vinschen@redhat.com>
11748
11749 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
11750 * gdb.asm/sh.inc: New file.
11751
117522003-09-11 David Carlton <carlton@kealia.com>
11753
11754 * gdb.cp/namespace.exp: Add tests for namespace types.
11755 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
11756 (test_namespace): New.
11757
117582003-09-11 Elena Zannoni <ezannoni@redhat.com>
11759
11760 * gdb.base/relocate.exp: Handle new gdb output at startup.
11761 * gdb.stabs/weird.exp: Ditto.
11762
117632003-09-08 Michael Chastain <mec@shout.net>
11764
11765 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
11766
117672003-09-07 Michael Chastain <mec@shout.net>
11768
11769 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
11770 'parse error'.
11771
117722003-09-07 Mark Kettenis <m.kettenis@osp.nl>
11773
11774 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
11775
117762003-08-30 Michael Chastain <mec@shout.net>
11777
11778 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
11779 * gdb.gdb/observer.exp: Ditto.
11780 * gdb.gdb/xfullpath.exp: Ditto.
11781
117822003-08-29 Mark Kettenis <kettenis@gnu.org>
11783
11784 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
11785 *-*-*bsd*.
11786
117872003-08-28 Jeff Johnston <jjohnstn@redhat.com>
11788
11789 * gdb.base/dump.exp: Skip for ia64.
11790
117912003-08-25 Jeff Johnston <jjohnstn@redhat.com>
11792
11793 * gdb.asm/asm-source.exp: Add ia64 support.
11794 * gdb.asm/ia64.inc: New file.
11795
117962003-08-22 Michael Chastain <mec@shout.net>
11797
11798 * gdb.cp: New directory.
11799 * gdb.cp/*: Copy from gdb.c++/*.
11800 * gdb.c++/*: Remove.
11801 * Makefile.in: Change gdb.c++ to gdb.cp.
11802 * configure.in: Ditto.
11803 * configure: Regnerate.
11804
118052003-08-18 Mark Kettenis <kettenis@gnu.org>
11806
11807 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
11808 * gdb.arch/i386-prologue.c (gdb1338): Add function.
11809
118102003-08-17 Daniel Jacobowitz <drow@mvista.com>
11811
11812 * mi-var-display.exp (-var-list-children weird): Accept function
11813 pointers with argument types.
11814 * mi1-var-display.exp (-var-list-children weird): Likewise.
11815 * mi2-var-display.exp (-var-list-children weird): Likewise.
11816
118172003-08-17 Daniel Jacobowitz <drow@mvista.com>
11818
11819 * gdb.base/annota3.exp: Add missing newline.
11820
118212003-08-06 Michael Chastain <mec@shout.net>
11822
11823 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
11824
118252003-08-12 Michael Snyder <msnyder@redhat.com>
11826
11827 * gdb.base/float.exp: Add test for SH.
11828
118292003-08-10 Mark Kettenis <kettenis@gnu.org>
11830
11831 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
11832
118332003-08-07 Elena Zannoni <ezannoni@redhat.com>
11834
11835 * gdb.base/completion.exp: Remove reduntant completion test
11836 on filename.
11837
118382003-08-07 Elena Zannoni <ezannoni@redhat.com>
11839
11840 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
11841 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
11842 gdb.trace/save-trace.exp: Make sure that full pathnames are
11843 escaped correctly.
11844
118452003-08-07 Elena Zannoni <ezannoni@redhat.com>
11846
11847 * configure.in: Don't generate config.h from config.hin.
11848 * configure: Regenerate.
11849 * config.hin: Remove file.
11850 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
11851 * gdb.threads/pthreads.c: Ditto.
11852
118532003-08-07 Daniel Jacobowitz <drow@mvista.com>
11854
11855 From Kei Sakamoto <sakamoto.kei@renesas.com>:
11856 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
11857 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
11858 Replace ld24 with seth/add3.
11859
118602003-08-02 Andrew Cagney <cagney@redhat.com>
11861
11862 * gdb.base/annota3.exp: New file.
11863 * gdb.base/annota3.c: New file.
11864 * gdb.c++/annota3.exp: New file.
11865 * gdb.c++/annota3.cc: New file.
11866
118672003-07-29 Michael Chastain <mec@shout.net>
11868
11869 * gdb.threads/tls.c (spin): Check errno only if sem_wait
11870 actually failed.
11871 (do_pass): Likewise.
11872 * gdb.threads/tls.exp: Always initialize no_of_threads.
11873
118742003-07-27 Daniel Jacobowitz <drow@mvista.com>
11875
11876 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
11877 pattern.
11878 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
11879 * gdb.threads/tls.exp: Recognize one case of the host library not
11880 supporting TLS.
11881
118822003-07-27 Andrew Cagney <cagney@redhat.com>
11883
11884 * gdb.base/fileio.exp: Use SH when running commands using
11885 remote_exec.
11886
118872003-07-24 Daniel Jacobowitz <drow@mvista.com>
11888
11889 From Kei Sakamoto <sakamoto.kei@renesas.com>:
11890 * gdb.base/relocate.c (dummy): New padding array.
11891
118922003-07-22 Michael Snyder <msnyder@redhat.com>
11893
11894 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
11895
11896 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
11897 patterns to be more general, accepting old and new output.
11898 Some output chars (such as '+') also must be quoted.
11899 Some addresses are displayed numerically instead of
11900 symbolically.
11901
119022003-07-23 Michael Snyder <msnyder@redhat.com>
11903
11904 * gdb.base/return2.exp: Don't test long-long return.
11905
11906 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
11907 * gdb.disasm/t01_mov.exp: Ditto.
11908 * gdb.disasm/t02_mova.s: Ditto.
11909 * gdb.disasm/t02_mova.exp: Ditto.
11910 * gdb.disasm/t03_add.s: Ditto.
11911 * gdb.disasm/t03_add.exp: Ditto.
11912 * gdb.disasm/t04_sub.s: Ditto.
11913 * gdb.disasm/t04_sub.exp: Ditto.
11914 * gdb.disasm/t05_cmp.s: Ditto.
11915 * gdb.disasm/t05_cmp.exp: Ditto.
11916 * gdb.disasm/t06_ari2.s: Ditto.
11917 * gdb.disasm/t06_ari2.exp: Ditto.
11918 * gdb.disasm/t07_ari3.s: Ditto.
11919 * gdb.disasm/t07_ari3.exp: Ditto.
11920 * gdb.disasm/t08_or.s: Ditto.
11921 * gdb.disasm/t08_or.exp: Ditto.
11922 * gdb.disasm/t09_xor.s: Ditto.
11923 * gdb.disasm/t09_xor.exp: Ditto.
11924 * gdb.disasm/t10_and.s: Ditto.
11925 * gdb.disasm/t10_and.exp: Ditto.
11926 * gdb.disasm/t11_logs.s: Ditto.
11927 * gdb.disasm/t11_logs.exp: Ditto.
11928 * gdb.disasm/t12_bit.s: Ditto.
11929 * gdb.disasm/t12_bit.exp: Ditto.
11930 * gdb.disasm/t13_otr.s: Ditto.
11931 * gdb.disasm/t13_otr.exp: Ditto.
11932
119332003-07-22 Elena Zannoni <ezannoni@redhat.com>
11934
11935 * gdb.threads/tls.exp :Add kfail for 'info address' case.
11936
119372003-07-22 Elena Zannoni <ezannoni@redhat.com>
11938
11939 * gdb.threads/tls.c : New file.
11940 * gdb.threads/tls.exp : New file.
11941 * gdb.threads/tls-main.c : New file.
11942 * gdb.threads/tls-shared.c : New file.
11943 * gdb.threads/tls-shared.exp : New file.
11944
119452003-07-22 Andreas Schwab <schwab@suse.de>
11946
11947 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
11948
119492003-07-20 Andreas Schwab <schwab@suse.de>
11950
11951 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
11952 due to insn reordering.
11953
119542003-07-15 Andrew Cagney <cagney@redhat.com>
11955
11956 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
11957
119582003-07-15 Michael Chastain <mec@shout.net>
11959
11960 * gdb.base/gdb1250.exp: New file.
11961 * gdb.base/gdb1250.c: New file.
11962
119632003-07-09 Michal Ludvig <mludvig@suse.cz>
11964
11965 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
11966 expansion of size_t to 'unsigned long', not only to 'unsigned'.
11967
119682003-07-09 Elena Zannoni <ezannoni@redhat.com>
11969
11970 * gdb.threads/tls.c: New file.
11971 * gdb.threads/tls.exp: New file.
11972 * gdb.threads/tls-main.c: New file.
11973 * gdb.threads/tls-shared.c: New file.
11974 * gdb.threads/tls-shared.exp: New file.
11975
119762003-07-09 Elena Zannoni <ezannoni@redhat.com>
11977
11978 * gdb.base/annota1.exp: Make sure that we properly escape the
11979 full path of the source file. Xfail more permissive patterns,
11980 due to a compiler debug info problem.
11981
119822003-07-07 Andreas Schwab <schwab@suse.de>
11983
11984 * gdb.asm/m68k.inc: New file.
11985 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
11986
11987 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
11988 arguments"): Also match negative number.
11989
11990 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
11991
119922003-07-03 Daniel Jacobowitz <drow@mvista.com>
11993
11994 * gdb.base/store.c (charest): New typedef.
11995 (add_char): Rename to add_charest, update.
11996 (wack_char): Rename to wack_charest, update types. Return l + r
11997 to keep r live across the call.
11998 (wack_short, wack_int, wack_long, wack_longest, wack_float)
11999 (wack_double, wack_doublest): Return l + r to keep r live across
12000 the call.
12001 * gdb.base/store.exp: Accomodate store.c changes.
12002
120032003-06-30 David Carlton <carlton@kealia.com>
12004
12005 * gdb.c++/maint.exp (test_invalid_name): New.
12006 (test_first_component): Add tests for invalid names.
12007
120082003-06-29 Michael Chastain <mec@shout.net>
12009
12010 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
12011 output of '<VTT for class>' for virtual base classes.
12012
120132003-06-29 Daniel Jacobowitz <drow@mvista.com>
12014
12015 * gdb.base/completion.exp: Tab-complete "complet" instead of
12016 "compl".
12017 * gdb.base/complex.exp, gdb.base/complex.c: New files.
12018
120192003-06-29 Daniel Jacobowitz <drow@mvista.com>
12020
12021 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
12022 * gdb.base/volatile.exp: Likewise.
12023
120242003-06-29 Daniel Jacobowitz <drow@mvista.com>
12025
12026 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
12027 gdb/1265.
12028
120292003-06-28 Michael Chastain <mec@shout.net>
12030 Daniel Jacobowitz <drow@mvista.com>
12031
12032 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
12033 initial line count of 'captured_main' from 26 to 32.
12034 (test_with_self): Allow xmalloc call to be interleaved with the
12035 preceding two lines.
12036
120372003-06-24 Joel Brobecker <brobecker@gnat.com>
12038
12039 * gdb.base/bang.exp: New testcase.
12040
120412003-06-23 Joel Brobecker <brobecker@gnat.com>
12042
12043 * gdb.base/langs.exp: Add some tests for the "minimal" language
12044 support.
12045
120462003-06-23 Elena Zannoni <ezannoni@redhat.com>
12047
12048 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
12049 the testcase.
12050
120512003-06-22 Daniel Jacobowitz <drow@mvista.com>
12052
12053 * gdb.base/relocate.exp: Test add-symbol-file with a variable
12054 offset.
12055
120562003-06-22 Daniel Jacobowitz <drow@mvista.com>
12057
12058 * gdb.c++/pr-1210.cc: New file.
12059 * gdb.c++/pr-1210.exp: New file.
12060
120612003-06-21 Daniel Jacobowitz <drow@mvista.com>
12062
12063 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
12064 000-exec-continue.
12065
120662003-06-15 Mark Kettenis <kettenis@gnu.org>
12067
12068 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
12069 on *-*-*bsd* instead of *-*-freebsd*.
12070
120712003-06-14 Andrew Cagney <cagney@redhat.com>
12072
12073 * gdb.base/store.exp: Test longest and doublest. Test all
12074 parameters. Weaken return statement match.
12075 * gdb.base/store.c: Add longest and doublest - aka long long and
12076 long double functions. Put all parameters into local register
12077 variables. Use negative values.
12078
120792003-06-14 Andrew Cagney <cagney@redhat.com>
12080
12081 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
12082 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
12083 exit status.
12084 * gdb.base/fileio.exp: Disable target when nointerrupts and
12085 noinferiorio, instead of limiting it to remote. Use remote_exec
12086 instead of system.
12087
120882003-06-12 Jeff Johnston <jjohnstn@redhat.com>
12089
12090 * gdb.base/float.exp: Add ia64 support.
12091
120922003-06-12 Corinna Vinschen <vinschen@redhat.com>
12093
12094 * gdb.base/fileio.exp: Run only on remote targets.
12095
120962003-06-10 Corinna Vinschen <vinschen@redhat.com>
12097
12098 * gdb.base/fileio.c: New file, testing File-I/O.
12099 * gdb.base/fileio.exp: Ditto.
12100
121012003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
12102
12103 * gdb.base/shreloc.exp: New file, check symbol values obtained from
12104 shared objects after relocation at load time (gdb PR/1132).
12105 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
12106 as above, part of the shared object relocation test.
12107
121082003-06-08 Mark Kettenis <kettenis@gnu.org>
12109
12110 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
12111 fully filled history list.
12112 * gdb.base/gdb_history: New file.
12113
12114 * gdb.base/signals.exp: XFAIL "continue to func1" on
12115 i*86-*-freebsd*.
12116
12117 * gdb.base/attach.exp: When trying to attach to a nonexistent
12118 process, make it possible to specify the PID based on the target,
12119 and do so for *-*-freebsd*.
12120
121212003-06-02 Richard Henderson <rth@redhat.com>
12122
12123 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
12124
121252003-06-02 Richard Henderson <rth@redhat.com>
12126
12127 * gdb.base/selftest.exp: Next over lim_at_start initialization.
12128
121292003-06-02 Richard Henderson <rth@redhat.com>
12130
12131 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
12132
121332003-06-01 Daniel Jacobowitz <drow@mvista.com>
12134
12135 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
12136 of globalvar.
12137
121382003-06-01 Mark Kettenis <kettenis@gnu.org>
12139
12140 * gdb.asm/asm-source.exp: Check for memory read errors in
12141 disassembler test on *BSD too.
12142
121432003-06-01 Richard Henderson <rth@redhat.com>
12144
12145 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
12146 for .frame.
12147 (gdbasm_call): Lose ldgp.
12148 (gdbasm_startup): Add frame information.
12149 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
12150
121512003-05-31 Mark Kettenis <kettenis@gnu.org>
12152
12153 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
12154 i?86-*-*.
12155
121562003-05-30 Mark Kettenis <kettenis@gnu.org>
12157
12158 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12159 FreeBSD.
12160
121612003-05-29 Richard Henderson <rth@redhat.com>
12162
12163 * gdb.asm/alpha.inc: New file.
12164 * gdb.asm/asm-source.exp: Use it.
12165
121662003-05-29 Jim Blandy <jimb@redhat.com>
12167
12168 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
12169 'core.PID'.
12170
121712003-05-22 Jim Blandy <jimb@redhat.com>
12172
12173 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
12174 backtrace.
12175
121762003-05-20 David Carlton <carlton@math.stanford.edu>
12177
12178 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
12179 this time.
12180
121812003-05-19 David Carlton <carlton@bactrian.org>
12182
12183 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
12184 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
12185
121862003-05-19 David Carlton <carlton@bactrian.org>
12187
12188 * gdb.c++/namespace.exp: Add namespace scope and anonymous
12189 namespace tests.
12190 Bump copyright date.
12191 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
12192 (main): Call C::D::marker2.
12193 * gdb.c++/namespace1.cc: New file.
12194
121952003-05-14 Jeff Johnston <jjohnstn@redhat.com>
12196
12197 Roland McGrath <roland@redhat.com>
12198 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
12199 there is no manager thread.
12200
122012003-05-08 Jeff Johnston <jjohnstn@redhat.com>
12202
12203 * gdb.threads/schedlock.exp: Remove assumption that all threads
12204 will run in a particular small time slice. Also ensure we break
12205 in one of the child threads rather than the main thread.
12206
122072003-05-07 Jim Blandy <jimb@redhat.com>
12208
12209 Add support for assembly source testing on the s390x.
12210 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
12211 architecture.
12212 * gdb.asm/s390x.inc: New file.
12213
12214 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
12215 succession of 'if' statements.
12216
122172003-05-05 Andrew Cagney <cagney@redhat.com>
12218
12219 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
12220
122212003-05-05 Andrew Cagney <cagney@redhat.com>
12222
12223 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
12224 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
12225
122262003-05-02 Elena Zannoni <ezannoni@redhat.com>
12227
12228 * gdb.base/charset.exp: Update based on new behavior of set/show
12229 charset commands.
12230
122312003-05-01 Andrew Cagney <cagney@redhat.com>
12232
12233 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
12234 variable do not give memory errors.
12235
122362003-04-30 Adam Fedor <fedor@gnu.org>
12237
12238 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
12239 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
12240 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
12241 gdb.objc/basicclass.m: : New files
12242
12243 * lib/gdb.exp (gdb_compile_objc): New procedure.
12244
122452003-04-27 Daniel Jacobowitz <drow@mvista.com>
12246
12247 * gdb.base/signals.exp: Make backtrace tests more specific.
12248
122492003-04-23 David Carlton <carlton@bactrian.org>
12250
12251 * gdb.c++/maint.exp (test_first_component): Add tests for
12252 'operator' in more locations.
12253
122542003-04-16 Kevin Buettner <kevinb@redhat.com>
12255
12256 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
12257
122582003-04-16 Elena Zannoni <ezannoni@redhat.com>
12259
12260 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
12261 func marke' instead. Update test name.
12262
122632003-04-15 David Carlton <carlton@math.stanford.edu>
12264
12265 * gdb.c++/maint.exp: New file.
12266
122672003-04-14 Elena Zannoni <ezannoni@redhat.com>
12268
12269 * gdb.threads/schedlock.c: Change type of thread function argument
12270 to long, to avoid warnings on 64-bit platforms.
12271
122722003-04-14 Elena Zannoni <ezannoni@redhat.com>
12273
12274 * gdb.base/attach.exp: Add new message from ptrace in case of
12275 attaching to nonexistent process.
12276
122772003-04-11 Jim Blandy <jimb@redhat.com>
12278
12279 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12280 gdb.c++/userdef.cc: Place comments on the lines to which the
12281 marker function might return.
12282 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12283 gdb.c++/userdef.exp: Look for those comments to check that we've
12284 returned to the right place, instead of checking line numbers.
12285
122862003-04-11 Elena Zannoni <ezannoni@redhat.com>
12287
12288 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
12289 match on sourcefile name, instead of directory name.
12290
122912003-04-10 Elena Zannoni <ezannoni@redhat.com>
12292
12293 * gdb.base/completion.exp: Use string_to_regexp to match the
12294 working directory name.
12295
122962003-04-09 Jim Blandy <jimb@redhat.com>
12297
12298 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12299 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
12300 after an inferior function call, report the failure, but allow the
12301 test to continue.
12302
123032003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12304
12305 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12306 with -DPROTOTYPES.
12307
123082003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12309
12310 * gdb.base/break.exp: Revert last patch.
12311
123122003-04-04 Stephane Carrez <stcarrez@nerim.fr>
12313
12314 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12315 with -DPROTOTYPES.
12316
123172003-04-02 Andrew Cagney <cagney@redhat.com>
12318
12319 * gdb.base/callfuncs.exp: Make "print add" messages unique.
12320 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
12321 matching directories by the name breakpoint.
12322 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
12323 Make "continue to marker1" consistent.
12324 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
12325 message consistent.
12326 * lib/gdb.exp: Put "the program is no longer running", and "the
12327 program exited" in parenthesis.
12328 * lib/mi-support.exp: Ditto.
12329
123302003-04-02 Bob Rossi <bob_rossi@cox.net>
12331
12332 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
12333
123342003-03-29 Andrew Cagney <cagney@redhat.com>
12335
12336 * gdb.base/sizeof.c (main): Print the value of '\377'.
12337 * gdb.base/sizeof.exp: Check the sign of '\377'.
12338
123392003-03-27 Michael Chastain <mec@shout.net>
12340
12341 * gdb.base/gdb1090.exp: New file.
12342 * gdb.base/gdb1090.cc: New file.
12343
123442003-03-27 J. Brobecker <brobecker@gnat.com>
12345
12346 * gdb.gdb/observer.exp: New regression test.
12347
123482003-03-27 Michael Chastain <mec@shout.net>
12349
12350 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
12351 * gdb.base/ptype.exp: Likewise.
12352
123532003-03-27 Corinna Vinschen <vinschen@redhat.com>
12354
12355 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
12356
123572003-03-26 Michael Chastain <mec@shout.net>
12358
12359 * gdb.base/ptype.exp: Actually use some typedef'd types.
12360
123612003-03-21 Stephane Carrez <stcarrez@nerim.fr>
12362
12363 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
12364 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
12365
123662003-03-20 Corinna Vinschen <vinschen@redhat.com>
12367
12368 * gdb.base/default.exp: Fix regular expression.
12369
123702003-03-20 Corinna Vinschen <vinschen@redhat.com>
12371
12372 * gdb.base/args.exp: Fix regular expression.
12373
123742003-03-20 Corinna Vinschen <vinschen@redhat.com>
12375
12376 * gdb.base/help.exp: Allow Win32 child process.
12377
123782003-03-20 Corinna Vinschen <vinschen@redhat.com>
12379
12380 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
12381 when stepping out of main().
12382
123832003-03-20 Corinna Vinschen <vinschen@redhat.com>
12384
12385 * gdb.base/default.exp: Check for win32 specific message when calling
12386 "run" without executable.
12387
123882003-03-20 Corinna Vinschen <vinschen@redhat.com>
12389
12390 * gdb.base/args.exp: Expect .exe in output.
12391
123922003-03-20 Corinna Vinschen <vinschen@redhat.com>
12393
12394 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
12395 Cygwin native.
12396
123972003-03-17 Andrew Cagney <cagney@redhat.com>
12398
12399 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
12400 vector registes.
12401 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
12402 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
12403
124042003-03-17 David Carlton <carlton@math.stanford.edu>
12405
12406 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
12407 test, for PR breakpoints/38.
12408 Call test_watchpoint_and_breakpoint.
12409 * gdb.base/watchpoint.c (func3): New function.
12410 (main): Call func3.
12411
124122003-03-04 David Carlton <carlton@math.stanford.edu>
12413
12414 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
12415 Garply<Garply<char> >:: garply".
12416 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
12417 with respect to PR c++/1111; note also PR c++/1113.
12418 (test_template_breakpoints): KFAIL "constructor breakpoint" with
12419 respect to PR c++/1062.
12420 KFAIL "destructor breakpoint" with respect to PR c++/1112.
12421
124222003-03-03 David Carlton <carlton@math.stanford.edu>
12423
12424 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
12425 with respect to PR c++/57.
12426 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
12427 c++/826.
12428 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
12429 respect to PR c++/57.
12430
124312003-03-03 David Carlton <carlton@math.stanford.edu>
12432
12433 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
12434 respect to PR c++/33 into FAILs.
12435
124362003-03-03 Michael Chastain <mec@shout.net>
12437
12438 * configure.in: Update copyright years.
12439
124402003-03-03 Michael Chastain <mec@shout.net>
12441
12442 * Makefile.in: Update copyright years.
12443
124442003-02-28 David Carlton <carlton@math.stanford.edu>
12445
12446 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
12447 print class instead of struct and/or superfluous protection
12448 specifiers, as long as the resulting output is equivalent to the
12449 source code.
12450 Delete FIXME from end of messages on tests that don't need
12451 fixing.
12452
124532003-02-28 David Carlton <carlton@math.stanford.edu>
12454
12455 * gdb.c++/templates.exp (do_tests): Allow const in the two
12456 Foo<volatile char *>::foo tests.
12457
124582003-02-27 Michael Snyder <msnyder@redhat.com>
12459
12460 * gdb.base/restore.c (main): Return zero, so exit code
12461 will be consistant.
12462
124632003-02-26 David Carlton <carlton@math.stanford.edu>
12464
12465 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
12466 char *>::foo" test with respect to PR c++/33. Create a new test
12467 which is identical to that one except that it doesn't put the
12468 space between the "char" and the "*"; KFAIL it, too.
12469
124702003-02-26 David Carlton <carlton@math.stanford.edu>
12471
12472 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
12473 template types into either PASSes or KFAILs (corresponding to PR
12474 c++/57). Tweak indentation. Update copyright.
12475
124762003-02-23 Stephane Carrez <stcarrez@nerim.fr>
12477
12478 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
12479
124802003-02-13 Michael Chastain <mec@shout.net>
12481
12482 * gdb.base/exprs.exp: Remove i960 remnants.
12483 * gdb.base/funcargs.exp: Likewise.
12484 * gdb.base/list.exp: Likewise.
12485 * gdb.base/ptype.exp: Likewise.
12486
124872003-02-14 David Carlton <carlton@math.stanford.edu>
12488
12489 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
12490 pEe->D::vg()" from XFAIL to KFAIL.
12491
124922003-02-13 Jason Molenda (jmolenda@apple.com)
12493
12494 * gdb.base/maint.exp: Update maint print statistics regexp to include
12495 new entries.
12496
124972003-02-13 Michael Chastain <mec@shout.net>
12498
12499 * gdb.c++/inherit.exp: Remove call to get_debug_format.
12500
125012003-02-12 Michael Chastain <mec@shout.net>
12502
12503 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
12504 * gdb.c++/inherit.exp: Likewise.
12505 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
12506 * gdb.c++/templates.exp: Likewise.
12507 * gdb.c++/virtfunc.exp: Likewise.
12508
125092003-02-06 Jason Molenda (jason-cl@molenda.com)
12510
12511 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
12512 why the code is written that way.
12513
125142003-02-05 Michael Chastain <mec@shout.net>
12515
12516 * gdb.base/dump.exp: Add missing copyright line.
12517
125182003-02-05 Jason Molenda (jason-cl@molenda.com)
12519
12520 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
12521 at the beginning so the breakpoint doesn't get set on the loop.
12522
125232003-02-05 Michael Chastain <mec@shout.net>
12524
12525 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
12526 output for configurations with gcc 2.95.3.
12527
125282003-02-05 Keith Seitz <keiths@redhat.com>
12529 Andrew Cagney <ac131313@redhat.com>
12530
12531 * gdb.mi/mi-cli.exp: New file.
12532
125332003-02-04 Michael Chastain <mec@shout.net>
12534
12535 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
12536 Call perror and then continue.
12537
125382003-02-03 Michael Chastain <mec@shout.net>
12539
12540 * gdb.c++/pr-1023.cc: New file.
12541 * gdb.c++/pr-1023.exp: New file.
12542
125432003-02-05 Jim Blandy <jimb@redhat.com>
12544
12545 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
12546 it's local to foobar. Check for it there, and check that it's not
12547 present in main.
12548 * gdb.c++/local.cc (marker2): New function.
12549 (foobar): Call marker1.
12550 (main): Call marker2 instead of marker1.
12551
125522003-02-04 Andrew Cagney <ac131313@redhat.com>
12553
12554 * gdb.disasm/mn10200.exp: Obsolete file.
12555 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
12556 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
12557 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
12558
125592003-02-04 David Carlton <carlton@math.stanford.edu>
12560
12561 * gdb.c++/overload.exp: Test intToChar(1).
12562 * gdb.c++/overload.cc (intToChar): New.
12563 (main): Call intToChar.
12564
125652003-02-03 David Carlton <carlton@math.stanford.edu>
12566
12567 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
12568 'might_kfail' arg.
12569 KFAIL some of the continue_to_bp_overloaded calls, according to
12570 PR c++/1025.
12571
125722003-02-01 Michael Chastain <mec@shout.net>
12573
12574 * gdb.base/advance.c (marker1): New marker function.
12575 * gdb.base/advance.exp: When the 'advance' command lands on the
12576 return breakpoint, it can legitimately stop on either the
12577 current line or the next line. Accommodate both outcomes.
12578 * gdb.base/until.exp: Likewise.
12579
125802003-02-02 Andrew Cagney <ac131313@redhat.com>
12581
12582 2002-11-10 Jason Molenda (jason-cl@molenda.com):
12583 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
12584 now a list, not a tuple.
12585 * gdb.mi/mi-var-display.exp: Ditto.
12586 * gdb.mi/gdb792.exp: Ditto.
12587
125882003-02-01 Andrew Cagney <ac131313@redhat.com>
12589
12590 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
12591 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
12592 stack backtraces.
12593 * gdb.mi/mi-syn-frame.c: Part of same.
12594
125952003-02-01 Mark Kettenis <kettenis@gnu.org>
12596
12597 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12598 gdb.mi/mi1-pthreads.exp: Return instead of calling
12599 gdb_suppress_entire_file.
12600
126012003-02-01 Mark Salter <msalter@redhat.com>
12602
12603 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
12604
126052003-01-31 Mark Salter <msalter@redhat.com>
12606
12607 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
12608 Support empty arg.
12609
126102003-01-30 Michael Chastain <mec@shout.net>
12611
12612 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
12613 This was a workaround for a UTF-8 bug in readline 4.3. The bug
12614 has been fixed in gdb/readline on 2003-01-09.
12615
126162003-01-29 Michael Snyder <msnyder@redhat.com>
12617
12618 * gdb.base/maint.exp: Allow for leading underscore in symbol.
12619 * gdb.base/display.exp: Allow for leading underscore in symbol.
12620 * gdb.base/args.exp: Skip if target does not support args passing.
12621
126222003-01-22 Daniel Jacobowitz <drow@mvista.com>
12623
12624 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
12625 gdb_test. Accept a list of expect arguments as the third
12626 parameter.
12627 (gdb_test): Use it.
12628
126292003-01-20 Elena Zannoni <ezannoni@redhat.com>
12630
12631 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
12632 allow for different test tree configurations. Update some
12633 tescases accordingly.
12634 * gdb.arch/altivec-regs.exp: Ditto.
12635 * gdb.asm/asm-source.exp: Ditto.
12636 * gdb.base/advance.exp: Ditto.
12637 * gdb.base/display.exp: Ditto.
12638 * gdb.base/long_long.exp: Ditto.
12639 * gdb.base/mips_pro.exp: Ditto.
12640 * gdb.base/overlays.exp: Ditto.
12641 * gdb.base/relocate.exp: Ditto.
12642 * gdb.base/setshow.exp: Ditto.
12643 * gdb.base/step-line.exp: Ditto.
12644 * gdb.base/step-test.exp: Ditto.
12645 * gdb.base/until.exp: Ditto.
12646 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
12647
126482003-01-17 David Carlton <carlton@math.stanford.edu>
12649
12650 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
12651 corresponding to PR c++/945.
12652 Update copyright.
12653
126542003-01-17 David Carlton <carlton@math.stanford.edu>
12655
12656 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
12657 corresponding to PR c++/68.
12658
126592003-01-17 David Carlton <carlton@math.stanford.edu>
12660
12661 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
12662 (test_paddr_hairy_functions): Call print_addr_2_kfail for
12663 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
12664
126652003-01-15 Elena Zannoni <ezannoni@redhat.com>
12666
12667 * gdb.base/break.exp: Fix change of default location, because of
12668 removal of until tests.
12669 * gdb.base/help.exp: Update test for new 'until' help message.
12670 Add test for help on 'advance'.
12671 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
12672
126732003-01-15 Mark Kettenis <kettenis@gnu.org>
12674
12675 * gdb.base/default.exp: Adapt "info float" test for recent changes
12676 to that command. Add test for "info vector".
12677 * gdb.base/float.exp: New file. Add test for "info float" that
12678 resembles the old test in gdb.base/default.exp.
12679
126802003-01-15 David Carlton <carlton@math.stanford.edu>
12681
12682 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
12683
126842003-01-15 Elena Zannoni <ezannoni@redhat.com>
12685
12686 * gdb.base/break.exp: Move the tests of until command from here...
12687 * gdb.base/until.exp: ... to here. New file. Add other tests.
12688 * gdb.base/advance.c: New file.
12689 * gdb.base/advance.exp: New file.
12690
126912003-01-14 Elena Zannoni <ezannoni@redhat.com>
12692
12693 * gdb.base/args.c: New file.
12694 * gdb.base/args.exp: New file.
12695
126962003-01-14 Daniel Jacobowitz <drow@mvista.com>
12697
12698 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
12699
127002003-01-14 Daniel Jacobowitz <drow@mvista.com>
12701
12702 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
12703
127042003-01-14 Daniel Jacobowitz <drow@mvista.com>
12705
12706 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
12707 dates.
12708
127092003-01-13 Daniel Jacobowitz <drow@mvista.com>
12710
12711 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
12712
127132003-01-13 Daniel Jacobowitz <drow@mvista.com>
12714
12715 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
12716 (ptype &*"foo").
12717 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
12718
127192003-01-13 Daniel Jacobowitz <drow@mvista.com>
12720
12721 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
12722 * gdb.mi/mi1-console.exp: Likewise.
12723
127242003-01-13 Daniel Jacobowitz <drow@mvista.com>
12725
12726 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
12727 * gdb.mi/mi1-console.exp: Likewise.
12728
127292003-01-13 Daniel Jacobowitz <drow@mvista.com>
12730
12731 * gdb.c++/overload.exp: Remove some fixed XFAILs.
12732
127332003-01-09 Daniel Jacobowitz <drow@mvista.com>
12734
12735 * gdb.base/detach.exp: New test.
12736
127372003-01-09 Daniel Jacobowitz <drow@mvista.com>
12738
12739 * Makefile.in (ALL_SUBDIRS): New variable.
12740 (subdirs, clean, distclean): Use it.
12741 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
12742 regenerating Makefile, since it is generated from the top level.
12743 * gdb.asm/Makefile.in: Likewise.
12744 * gdb.base/Makefile.in: Likewise.
12745 * gdb.c++/Makefile.in: Likewise.
12746 * gdb.disasm/Makefile.in: Likewise.
12747 * gdb.java/Makefile.in: Likewise.
12748 * gdb.mi/Makefile.in: Likewise.
12749 * gdb.threads/Makefile.in: Likewise.
12750 * gdb.trace/Makefile.in: Likewise.
12751
127522003-01-09 David Carlton <carlton@math.stanford.edu>
12753
12754 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
12755 Add copyright year 2003.
12756
127572003-01-06 Michael Chastain <mec@shout.net>
12758
12759 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
12760 When selecting a thread, 'line' and 'file' are optional.
12761 * gdb.mi/mi1-pthreads.exp: Likewise.
12762
127632003-01-06 Andreas Schwab <schwab@suse.de>
12764
12765 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
12766 failures.
12767
127682003-01-04 Daniel Jacobowitz <drow@mvista.com>
12769
12770 Fix PR gdb/844
12771 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
12772 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
12773
12774 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
12775 instead of calling gdb_suppress_entire_file.
12776 * gdb.threads/print-threads.exp: Likewise.
12777 * gdb.threads/schedlock.exp: Likewise.
12778
12779 * gdb.threads/killed.exp: Return instead of calling
12780 gdb_suppress_entire_file.
12781 * gdb.threads/linux-dp.exp: Likewise.
12782 * gdb.threads/pthreads.exp: Likewise.
12783
127842003-01-04 Daniel Jacobowitz <drow@mvista.com>
12785
12786 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
12787 stabs.
12788 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
12789 * gdb.base/whatis.exp: Always allow (void) after function names.
12790
127912003-01-04 Daniel Jacobowitz <drow@mvista.com>
12792
12793 * gdb.c++/casts.exp: Correct regexp.
12794
127952003-01-04 Mark Kettenis <kettenis@gnu.org>
12796
12797 * configure.in: Call AC_CONFIG_HEADER. Don't call
12798 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
12799 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
12800 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
12801 aforementioned directories in the AC_OUPUT call.
12802 * config.hin: New file.
12803 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12804 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
12805 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
12806 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
12807 pass -I$objdir instead of -I$objdir/$subdir in compilation.
12808 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
12809 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
12810 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
12811 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
12812 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
12813 gdb.threads/configure.in, gdb.threads/configure,
12814 gdb.threads/config.in, gdb.trace/configure.in,
12815 gdb.trace/configure: Removed.
12816
128172003-01-03 Michael Chastain <mec@shout.net>
12818
12819 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
12820 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
12821
128222003-01-03 Daniel Jacobowitz <drow@mvista.com>
12823
12824 * gdb.base/store.exp: Fix regular expressions.
12825
128262002-12-28 Mark Kettenis <kettenis@gnu.org>
12827
12828 * configure.in: Rewrite.
12829 * configure: Regenerated.
12830
128312003-01-03 David Carlton <carlton@math.stanford.edu>
12832
12833 * gdb.base/psymtab.exp: New file.
12834 * gdb.base/psymtab1.c: Ditto.
12835 * gdb.base/psymtab2.c: Ditto.
12836
128372002-12-23 Adam Fedor <fedor@gnu.org>
12838
12839 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
12840
128412002-12-23 David Carlton <carlton@math.stanford.edu>
12842
12843 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
12844 and current_directory initialization.
12845
128462002-12-22 Jim Blandy <jimb@redhat.com>
12847
12848 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
12849 rather than as part of the output file name.
12850
12851 * gdb.base/attach.exp: There's no need to copy the test program to
12852 /tmp; that was only ever necessary on HP/UX, and this test is
12853 entirely disabled there anyway.
12854
128552002-12-21 Jim Blandy <jimb@redhat.com>
12856
12857 * gdb.c++/psmang.exp: Doc fix.
12858
12859 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
12860 test.
12861
128622002-12-20 David Carlton <carlton@math.stanford.edu>
12863
12864 * gdb.c++/annota2.exp: KFAIL annotate-quit.
12865
128662002-12-18 Michael Chastain <mec@shout.net>
12867
12868 * gdb.c++/annota2.exp: Add copyright year 2002.
12869
128702002-12-17 David Carlton <carlton@math.stanford.edu>
12871
12872 * gdb.c++/try_catch.cc: Add marker comments.
12873 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
12874 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
12875 * gdb.c++/m-static.cc: Ditto.
12876 * gdb.c++/m-static1.cc: Ditto.
12877 * gdb.c++/try_catch.cc: Ditto.
12878
128792002-12-16 Jeff Johnston <jjohnstn@redhat.com>
12880
12881 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
12882 to see whether we are using the new -environment-directory
12883 command which resets via -r or the old version of the command
12884 which may prompt the user. Part of fix for gdb/741.
12885
128862002-12-13 Andrew Cagney <ac131313@redhat.com>
12887
12888 * gdb.fortran/types.exp: Update obsolete comment.
12889 * gdb.fortran/exprs.exp: Ditto.
12890 * lib/gdb.exp: Delete obsolete code.
12891 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
12892 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
12893 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
12894 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
12895 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
12896 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
12897 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
12898 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
12899 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
12900 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
12901 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
12902 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
12903 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
12904 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
12905 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
12906 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
12907 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
12908 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
12909 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
12910 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
12911 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
12912 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
12913 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
12914 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
12915 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
12916 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
12917 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
12918 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
12919 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
12920 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
12921 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
12922 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
12923 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
12924 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
12925 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
12926 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
12927 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
12928
129292002-12-11 David Carlton <carlton@math.stanford.edu>
12930
12931 * gdb.c++/m-data.exp: Add test for members that shadow global
12932 variables: see PR gdb/804.
12933 * gdb.c++/m-data.cc: Ditto.
12934
129352002-12-10 Daniel Jacobowitz <drow@mvista.com>
12936
12937 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
12938
129392002-12-06 David Carlton <carlton@math.stanford.edu>
12940
12941 * gdb.base/store.c: Don't declare functions static.
12942
129432002-12-04 Andrew Cagney <ac131313@redhat.com>
12944
12945 * gdb.base/store.exp, gdb.base/store.c: New files.
12946
129472002-12-03 Daniel Jacobowitz <drow@mvista.com>
12948
12949 * gdb.base/selftest.exp: Update for current gdb.
12950
129512002-12-03 Daniel Jacobowitz <drow@mvista.com>
12952
12953 * gdb.base/maint.exp: Only dump symbols from one source file
12954 or objfile.
12955
129562002-12-03 Daniel Jacobowitz <drow@mvista.com>
12957
12958 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
12959 function call.
12960
129612002-11-25 Jim Blandy <jimb@redhat.com>
12962
12963 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
12964 function appearing in error message.
12965
129662002-11-21 Daniel Jacobowitz <drow@mvista.com>
12967
12968 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
12969
129702002-11-08 Jeff Johnston <jjohnstn@redhat.com>
12971
12972 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
12973 for mi1 and current mi is in correct format. New mi startup message
12974 should be in mi console format. This is part of fix for PR gdb/604.
12975
129762002-09-18 Fernando Nasser <fnasser@redhat.com>
12977
12978 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
12979 which explicitly prints the zero offset as "+0".
12980
129812002-10-22 Daniel Jacobowitz <drow@mvista.com>
12982
12983 * gdb.threads/schedlock.c (args): Make unsigned.
12984
129852002-10-21 Daniel Jacobowitz <drow@mvista.com>
12986
12987 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
12988 numbers. Allow "foo2|selected stack frame".
12989 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
12990 * gdb.asm/asmsrc2.s: Likewise.
12991 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
12992 comments.
12993 * gdb.asm/mips.inc: New file.
12994
129952002-10-18 Adam Fedor <fedor@gnu.org>
12996
12997 * gdb.base/default.exp: Update expected output to include 'ObjC'.
12998 * gdb.base/help.exp: Likewise.
12999
130002002-10-17 Kevin Buettner <kevinb@redhat.com>
13001
13002 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
13003 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
13004
130052002-10-02 Jim Blandy <jimb@redhat.com>
13006
13007 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
13008
130092002-10-01 Andrew Cagney <ac131313@redhat.com>
13010
13011 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
13012 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
13013 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
13014 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
13015 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
13016 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
13017 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
13018
130192002-09-29 Andrew Cagney <ac131313@redhat.com>
13020
13021 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
13022 * mi0-disassemble.exp, mi0-eval.exp: Delete.
13023 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
13024 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
13025 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
13026 * mi0-var-block.exp, mi0-var-child.exp: Delete.
13027 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
13028
130292002-09-27 Kevin Buettner <kevinb@redhat.com>
13030
13031 * gdb.base/annota1.exp (info break): Make directory components of
13032 path optional since not all compilers emit this debug information.
13033
13034 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
13035 step ends up stepping out of the function instead of stopping on
13036 the epilogue.
13037
130382002-09-26 Keith Seitz <keiths@redhat.com>
13039
13040 * lib/insight-support.exp (gdbtk_start): Figure out where
13041 the insight executable is based on where gdb is. Use this
13042 executable to start insight instead of gdb.
13043
130442002-09-25 Andrew Cagney <cagney@redhat.com>
13045
13046 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
13047
130482002-09-24 Andrew Cagney <ac131313@redhat.com>
13049
13050 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
13051 test_isolated_complaints.
13052 (test_empty_complaint): New function.
13053 (test_empty_complaints): New function. Check no output when no
13054 complaints.
13055
130562002-09-19 Jim Blandy <jimb@redhat.com>
13057
13058 * gdb.base/charset.exp, gdb.base/charset.c: New files.
13059
130602002-09-19 Andrew Cagney <ac131313@redhat.com>
13061
13062 * gdb.gdb/complaints.exp: New file.
13063
130642002-09-18 Andrew Cagney <ac131313@redhat.com>
13065
13066 * gdb.base/maint.exp: Check `help maint internal-warning'.
13067
130682002-09-18 David Carlton <carlton@math.stanford.edu>
13069
13070 * gdb.c++/m-static.exp: Remove breakpoints depending on line
13071 numbers, and replace them by a single breakpoint after the
13072 constructors are all finished.
13073 Add test 4.
13074 * gdb.c++/m-static.cc: Add test 4.
13075 * gdb.c++/m-static.h: New file.
13076 * gdb.c++/m-static1.cc: New file.
13077
13078 * gdb.c++/printmethod.exp: New file.
13079 * gdb.c++/printmethod.cc: New file.
13080
13081 * gdb.c++/pr-574.exp: New file.
13082 * gdb.c++/pr-574.cc: New file.
13083
130842002-09-18 Corinna Vinschen <vinschen@redhat.com>
13085
13086 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
13087 embedded targets which never actually exit.
13088
130892002-09-18 Fernando Nasser <fnasser@redhat.com>
13090
13091 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
13092 "don't step after run" as unresolved or unsupported, instead of xfail.
13093
130942002-09-18 Corinna Vinschen <vinschen@redhat.com>
13095
13096 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
13097 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
13098 Add newline to expected string in "step out of main (status wrapper)"
13099 case.
13100
131012002-09-18 Corinna Vinschen <vinschen@redhat.com>
13102
13103 * lib/gdb.exp (rerun_to_main): Allow restarting application.
13104 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
13105
131062002-09-17 Tom Tromey <tromey@redhat.com>
13107
13108 * gdb.base/printcmds.exp (test_print_string_constants): Expect
13109 \000, not \0, in double-quoted string.
13110
131112002-09-14 Corinna Vinschen <vinschen@redhat.com>
13112
13113 * gdb.base/commands.exp: Don't expect a "Program exited normally"
13114 string after running the commands execution on breakpoint tests.
13115
131162002-09-13 Corinna Vinschen <vinschen@redhat.com>
13117
13118 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
13119
131202002-09-12 Joel Brobecker <brobecker@gnat.com>
13121
13122 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
13123
131242002-09-10 Keith Seitz <keiths@redhat.com>
13125
13126 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
13127 runto proc.
13128 (mi_run_to_main): Use mi_runto.
13129 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
13130
131312002-09-10 Keith Seitz <keiths@redhat.com>
13132
13133 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
13134 regexp for stopping at main. Could have multiple event notifications.
13135 Don't assume that main was declared with no parameters.
13136 (mi_next): Use mi_step_to.
13137 (mi_step): Use mi_next_to.
13138
131392002-09-09 Corinna Vinschen <vinschen@redhat.com>
13140
13141 * gdb.base/default.exp: Fix expected string in `info float' test.
13142
131432002-09-09 Ben Elliston <bje@redhat.com>
13144
13145 * config/mips.exp: Update comments.
13146 * config/mips-idt.exp: Likewise.
13147 * config/nind.exp: Likewise.
13148 * config/slite.exp: Likewise.
13149 * config/sparclet.exp: Likewise.
13150 * config/udi.exp: Likewise.
13151 * config/vx.exp: Likewise.
13152 * config/vxworks29k.exp: Likewise.
13153
131542002-09-05 Jim Blandy <jimb@redhat.com>
13155
13156 * gdb.threads/killed.exp: Fix test failure message.
13157
131582002-09-04 Keith Seitz <keiths@redhat.com>
13159
13160 * lib/mi-support.exp: Update copyright.
13161 (mi_gdb_test): Increase the priority of the expected pattern
13162 so that it matches gdb_test.
13163
131642002-09-03 Keith Seitz <keiths@redhat.com>
13165
13166 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
13167 Use integer comparison instead of string comparison for testing
13168 whether binary was built.
13169
131702002-09-03 Jim Blandy <jimb@redhat.com>
13171
13172 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
13173
131742002-08-29 Jim Blandy <jimb@redhat.com>
13175
13176 * gdb.threads/pthreads.exp: Move the portable thread compilation
13177 code into a function in lib/gdb.exp, and call that from here.
13178 * lib/gdb.exp (gdb_compile_pthreads): New function.
13179
131802002-08-29 Keith Seitz <keiths@redhat.com>
13181
13182 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
13183 expect_out so that callers can get at it.
13184
131852002-08-23 Daniel Jacobowitz <drow@mvista.com>
13186
13187 * gdb.threads/print-threads.c: New file.
13188 * gdb.threads/print-threads.exp: New file.
13189 * gdb.threads/schedlock.c: New file.
13190 * gdb.threads/schedlock.exp: New file.
13191
131922002-08-22 Elena Zannoni <ezannoni@redhat.com>
13193
13194 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
13195 not altivec.c.
13196
131972002-08-17 Mark Kettenis <kettenis@gnu.org>
13198
13199 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
13200 targets. The problem should be fixed now.
13201
132022002-08-15 Mark Kettenis <kettenis@gnu.org>
13203
13204 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
13205 2002-07-24 change that removes final dots from error messages.
13206
132072002-08-13 Tom Tromey <tromey@redhat.com>
13208
13209 * gdb.base/readline.exp: New file.
13210
132112002-08-01 Andrew Cagney <ac131313@redhat.com>
13212
13213 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
13214 supress message.
13215
132162002-08-01 Andrew Cagney <cagney@redhat.com>
13217
13218 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
13219 CHILL_FOR_TARGET and CHILL_LIB.
13220 * configure.in (configdirs): Remove gdb.chill.
13221 * configure: Regenerate.
13222 * lib/gdb.exp: Obsolete references to chill.
13223 * gdb.fortran/types.exp: Ditto.
13224 * gdb.fortran/exprs.exp: Ditto.
13225
132262002-07-30 Kevin Buettner <kevinb@redhat.com>
13227
13228 * gdb.base/shlib-call.exp (additional_flags): Conditionally
13229 set Irix-specific compile and link flags.
13230
132312002-07-29 Kevin Buettner <kevinb@redhat.com>
13232
13233 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
13234 source files. The ``-o'' option doesn't work with the ``-E'' option
13235 when using the Irix compiler.
13236
132372002-07-19 Daniel Jacobowitz <drow@mvista.com>
13238
13239 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
13240 Improve support for reusing an exec file. Copy exec file
13241 to target, and run gdbserver on the target instead of on the host.
13242
132432002-07-18 Jim Blandy <jimb@redhat.com>
13244
13245 * gdb.base/ending-run.exp: Don't expect to see the program end in
13246 some orderly fashion when we're running on a real stand-alone
13247 board.
13248
13249 * gdb.base/interrupt.exp: Correct logic for skipping tests on
13250 targets that don't support interrupts.
13251
132522002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
13253
13254 * gdb.base/attach.exp: Add patterns to match output from /proc-based
13255 systems.
13256 Move comments in expect statements to inside the actions, so that they
13257 don't get matched against.
13258
132592002-07-10 Mark Kettenis <kettenis@gnu.org>
13260
13261 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
13262 function when asleep" test.
13263
132642002-07-10 Andrew Cagney <ac131313@redhat.com>
13265
13266 * gdb.base/page.exp: Rewrite to handle problems with very long
13267 `info set' output. Update copyright.
13268
132692002-06-26 Andrew Cagney <ac131313@redhat.com>
13270
13271 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
13272 gdb.threads-hp.
13273 * gdb.hp/configure: Regenerate.
13274 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
13275 * gdb.hp/gdb.threads-hp/configure: Delete file.
13276 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
13277
132782002-06-22 Andrew Cagney <ac131313@redhat.com>
13279
13280 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
13281 setlocale, bindtextdomain and textdomain.
13282
132832002-06-11 Jim Blandy <jimb@redhat.com>
13284
13285 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
13286 preprocessor macro information is present.
13287
13288 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
13289 tests.
13290
132912002-06-06 Michael Snyder <msnyder@redhat.com>
13292
13293 * gdb.base/overlays.exp: Record addresses of overlay
13294 functions in TCL variables rather than in GDB variables,
13295 to avoid having GDB convert them to pointers (with loss
13296 of information).
13297
13298 * gdb.base/d10v.ld: Merge in several years worth of
13299 default linker script changes.
13300 * gdb.base/long_long.exp: Add check for sizeof (long double).
13301
133022002-06-06 Michal Ludvig <mludvig@suse.cz>
13303
13304 * gdb.asm/asm-source.exp: Add x86-64 target.
13305 * gdb.asm/x86_64.inc: New.
13306
133072002-05-30 Michael Chastain <mec@shout.net>
13308
13309 From Benjamin Kosnik <bkoz@redhat.com>:
13310 * gdb.c++/m-static.cc: New file.
13311 * gdb.c++/m-static.exp: New file.
13312
133132002-05-28 Michael Snyder <msnyder@redhat.com>
13314
13315 * gdb.base/call-ar-st.exp: Allow for reduced floating point
13316 precision.
13317
133182002-05-27 Michael Chastain <mec@shout.net>
13319
13320 From Benjamin Kosnik <bkoz@redhat.com>:
13321 * gdb.c++/m-data.cc: New file.
13322 * gdb.c++/m-data.exp: New file.
13323
133242002-05-27 Michael Chastain <mec@shout.net>
13325
13326 From Benjamin Kosnik <bkoz@redhat.com>:
13327 * gdb.c++/try_catch.cc: New file.
13328 * gdb.c++/try_catch.exp: New file.
13329
133302002-05-27 Michael Chastain <mec@shout.net>
13331
13332 * gdb.c++/local.exp: Accept more nested types in output.
13333
133342002-05-26 Michael Chastain <mec@shout.net>
13335
13336 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
13337
133382002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
13339
13340 * lib/gdb.exp (gdb_wrapper_init): Just because
13341 gdb_wrapper_file exists, this does not mean that the file
13342 should not be rebuilt. That is what gdb_wrapper_initialized
13343 is for.
13344 (default_gdb_init): Reset gdb_wrapper_initialized.
13345
133462002-05-23 Michael Snyder <msnyder@redhat.com>
13347
13348 * gdb.base/all-bin.exp: Revise previous patch by just reducing
13349 the precision of the floating point test results.
13350 * gdb.base/call-rt-st.exp: Ditto.
13351
13352 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
13353 * gdb.base/call-rt-st.exp: Ditto.
13354
133552002-05-19 Michael Chastain <mec@shout.net>
13356
13357 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
13358
133592002-05-19 Elena Zannoni <ezannoni@redhat.com>
13360
13361 * configure.in (configdirs): Add gdb.arch.
13362 * configure: Regenerate.
13363
133642002-05-17 Jim Blandy <jimb@redhat.com>
13365
13366 * gdb.base/completion.exp: Recognize the more detailed error
13367 messages produced by the macro expander's lexical analyzer.
13368
133692002-05-14 Elena Zannoni <ezannoni@redhat.com>
13370
13371 * gdb.arch/altivec-abi.c: New file.
13372 * gdb.arch/altivec-abi.exp: New file.
13373 * gdb.arch/altivec-regs.c: New file.
13374 * gdb.arch/altivec-regs.exp: New file.
13375
133762002-05-14 Daniel Jacobowitz <drow@mvista.com>
13377
13378 * gdb.base/maint.exp (maint print type): Update for new type
13379 structure.
13380
133812002-05-14 Elena Zannoni <ezannoni@redhat.com>
13382
13383 * gdb.arch: New directory.
13384 * gdb.arch/configure.in: New file.
13385 * gdb.arch/configure: New file.
13386 * gdb.arch/Makefile.in: New file.
13387
133882002-05-13 Corinna Vinschen <vinschen@redhat.com>
13389
13390 * gdb.asm/asm-source.exp: Add v850 as supported target.
13391 * gdb.asm/v850.inc: New file.
13392
133932002-05-13 Daniel Jacobowitz <drow@mvista.com>
13394
13395 * gdb.c++/annota2.exp (annotate-quit): Add comment.
13396
133972002-05-12 Daniel Jacobowitz <drow@mvista.com>
13398
13399 * gdb.base/break.exp: Check 'break "marker2"'.
13400
134012002-05-10 Michael Snyder <msnyder@redhat.com>
13402
13403 * gdb.base/long_long.exp: Fix typo.
13404
134052002-05-10 Jim Blandy <jimb@redhat.com>
13406
13407 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
13408 a bug.
13409
13410 * gdb.base/printcmds.exp (test_integer_literals_rejected):
13411 Recognize more detailed error message produced by the macro
13412 expander's lexical analyzer.
13413 * lib/gdb.exp (test_print_reject): Same.
13414
134152002-05-09 Mark Kettenis <kettenis@gnu.org>
13416
13417 * gdb.c++/method.exp: Fix typo.
13418
134192002-05-08 Michael Snyder <msnyder@redhat.com>
13420
13421 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
13422 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
13423 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
13424 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
13425 Add iftarget clause for strongarm.
13426
134272002-05-06 Michael Snyder <msnyder@redhat.com>
13428
13429 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
13430 (gdb_continue_to_end): Accept output from status wrapper.
13431 * gdb.base/ending-run.exp: Add case for output from status wrapper.
13432 Clean up fail messages to match pass messages.
13433
13434 Enable the "needs_status_wrapper" testsuite feature.
13435 * lib/gdb.exp (gdb_wrapper_init): New procedure.
13436 (gdb_compile): Conditionally call gdb_wrapper_init.
13437 * gdb.base/a2-run.exp: Recognize output from status wrapper.
13438 * gdb.c++/method.exp: Recognize output from status wrapper.
13439
134402002-05-06 Ben Elliston <bje@redhat.com>
13441From Graydon Hoare <graydon@redhat.com>
13442
13443 * config/sid.exp: Include support for "rawsid" protocol.
13444
134452002-05-03 Jim Blandy <jimb@redhat.com>
13446
13447 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
13448 * gdb.c++/hang3.C: New file.
13449
134502002-05-04 Andrew Cagney <ac131313@redhat.com>
13451
13452 * gdb.base/default.exp: Remove obsolete code.
13453 * gdb.c++/misc.exp: Ditto. Update copyright.
13454 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
13455 * gdb.base/whatis.exp: Ditto. Update copyright.
13456 * gdb.base/scope.exp: Ditto. Update copyright.
13457 * gdb.base/ptype.exp: Ditto. Update copyright.
13458 * gdb.base/printcmds.exp: Ditto. Update copyright.
13459 * gdb.base/opaque.exp: Ditto. Update copyright.
13460 * gdb.base/list.exp: Ditto.
13461 * gdb.base/funcargs.exp: Ditto. Update copyright.
13462 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
13463 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
13464 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
13465 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
13466 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
13467 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
13468
134692002-05-02 Michael Snyder <msnyder@redhat.com>
13470
13471 * gdb.base/watchpoint.exp: Add xscale target.
13472 * gdb.base/long_long.exp: Add xscale target.
13473 * gdb.base/default.exp: Add xscale target.
13474
134752002-05-01 Jim Blandy <jimb@redhat.com>
13476
13477 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
13478 gdb.c++/hang.exp: New test.
13479
134802002-05-01 Fred Fish <fnf@redhat.com>
13481
13482 * gdb.base/completion.exp: Handle completions of "./Make" for
13483 more than one completion possibility, as is the case when we
13484 build and test in the source tree.
13485
134862002-04-29 Anthony Green <green@redhat.com>
13487
13488 * gdb.java/jmisc1.exp: New file.
13489 * gdb.java/jmisc2.exp: New file.
13490
134912002-04-24 Daniel Jacobowitz <drow@mvista.com>
13492
13493 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
13494
134952002-04-23 Elena Zannoni <ezannoni@redhat.com>
13496
13497 * gdb.base/help.exp: Change 'help status' to allow for target
13498 dependent output differences.
13499
135002002-04-22 Michael Chastain <mec@shout.net>
13501
13502 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
13503
135042002-04-22 Michael Chastain <mec@shout.net>
13505
13506 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
13507
135082002-04-17 David S. Miller <davem@redhat.com>
13509
13510 * gdb.asm/sparc64.inc: New file.
13511 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
13512
135132002-04-19 Elena Zannoni <ezannoni@redhat.com>
13514
13515 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
13516 instruction file directly into the build tree. Clean up at end of
13517 test.
13518
135192002-04-18 David S. Miller <davem@redhat.com>
13520
13521 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
13522 handle 64-bit platforms correctly.
13523 * gdb.base/maint.exp: Likewise.
13524
135252002-04-18 Kevin Buettner <kevinb@redhat.com>
13526
13527 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
13528 ``-fpic'' when compiling files comprising a shared library, but
13529 it does need additional linker flags in order to find shared
13530 libraries at run time.
13531
135322002-04-18 Kevin Buettner <kevinb@redhat.com>
13533
13534 * gdb.base/cvexpr.c (use): New function.
13535 (main): Invoke use() on all global variables to prevent
13536 some linkers from deleting these otherwise unused symbols.
13537
135382002-04-17 Michael Chastain <mec@shout.net>
13539From David S. Miller <davem@redhat.com>
13540
13541 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
13542 handle 64-bit platforms correctly.
13543
135442002-04-12 Michael Snyder <msnyder@redhat.com>
13545From Jim Blandy <jimb@redhat.com>
13546 * gdb.base/foo.c (foox): Remove section attribute; the linker
13547 script can handle this instead.
13548 * gdb.base/bar.c (barx): Same.
13549 * gdb.base/baz.c (bazx): Same.
13550 * gdb.base/grbx.c (grbxx): Same.
13551
13552 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
13553 manager doesn't automatically unmap overlays unnecessarily.
13554
135552002-04-10 Martin M. Hunt <hunt@redhat.com>
13556
13557 * gdb.base/ending-run.exp: Fix pattern for Mips targets
13558 stepping out of main.
13559
135602002-04-09 Michael Chastain <mec@shout.net>
13561
13562 * gdb.c++/local.cc (main): Move call to marker1() inside nested
13563 scope so that the nested scope tests will make sense.
13564 * gdb.c++/local.exp: Write patterns that actually work with gcc
13565 (the HP patterns "were never known to work with gcc").
13566 Keep the old aCC patterns too.
13567
135682002-04-09 Daniel Jacobowitz <drow@mvista.com>
13569
13570 * gdb.base/attach.exp: Correct target board test.
13571
135722002-04-08 Michael Chastain <mec@shout.net>
13573
13574 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
13575 in a const method. Add some xfail and fail cases for configurations
13576 that do not emit the "const ...".
13577
135782002-04-07 Michael Chastain <mec@shout.net>
13579
13580 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
13581 Accept "A * const" and "const A * const" as type of "this".
13582 Fix spelling of getFunky throughout. Make messages uniform.
13583
135842002-04-07 Elena Zannoni <ezannoni@redhat.com>
13585
13586 Work around for PR gdb/285:
13587 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
13588
135892002-04-07 Elena Zannoni <ezannoni@redhat.com>
13590
13591 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
13592 instructions file at run time instead of configure time.
13593 Sometimes we run the test in a directory that is not the one we
13594 configured in.
13595 * gdb.asm/configure.in: Delete creation of symlink.
13596 * gdb.asm/configure: Regenerate.
13597
135982002-04-05 J. Brobecker <brobecker@gnat.com>
13599
13600 * gdb.gdb/xfullpath.exp: New test, to exercise the new
13601 xfullpath () function.
13602
136032002-04-04 Daniel Jacobowitz <drow@mvista.com>
13604
13605 * gdb.asm/Makefile.in: Correct dependencies.
13606
13607 * gdb.asm/powerpc.inc: New file.
13608 * gdb.asm/asm-source.exp: Add PowerPC.
13609 * gdb.asm/configure.in: Likewise.
13610 * gdb.asm/configure: Regenerated.
13611
136122002-04-04 Daniel Jacobowitz <drow@mvista.com>
13613
13614 * gdb.base/relocate.exp: New file.
13615 * gdb.base/relocate.c: New file.
13616
136172002-04-04 Fred Fish <fnf@redhat.com>
13618
13619 * gdb.base/step-test.exp: Update comment regarding stopping in
13620 memcpy/bcopy calls inserted as part of the compiler runtime.
13621
136222002-04-04 Michael Snyder <msnyder@redhat.com>
13623
13624 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
13625
136262002-04-03 Daniel Jacobowitz <drow@mvista.com>
13627
13628 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
13629 (gdb_expect): Remove $notransfer hack.
13630
136312002-04-02 Daniel Jacobowitz <drow@mvista.com>
13632
13633 * gdb.c++/classes.exp ("calling method for small class"): Match
13634 updated register output.
13635
136362002-03-30 Daniel Jacobowitz <drow@mvista.com>
13637
13638 Fix PR gdb/452
13639 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
13640 when finished. Make gdb_file_cmd send "exec-file" when
13641 appropriate.
13642
136432002-03-30 Daniel Jacobowitz <drow@mvista.com>
13644
13645 * gdb.base/attach.exp: Remove extra setup_xfail.
13646
136472002-03-26 Michael Snyder <msnyder@redhat.com>
13648
13649 * gdb.base/default.exp: Add tests for dump, append, and restore.
13650 * gdb.base/help.exp: Add tests for dump, append, and restore.
13651 * gdb.base/dump.exp: New file, test dump, append and restore.
13652 * gdb.base/dump.c: New file.
13653
136542002-03-27 Michael Snyder <msnyder@redhat.com>
13655
13656 * gdb.base/help.exp: Modify expect strings to reflect
13657 clean-ups in help messages.
13658
136592002-03-26 Fred Fish <fnf@redhat.com>
13660
13661 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
13662 have debugging info for those functions and the compiler uses them
13663 internally to copy structs around.
13664
136652002-03-26 Fred Fish <fnf@redhat.com>
13666
13667 * gdb.base/list.exp: Revert the change made yesterday and add note
13668 about why we don't list the default lines for remote targets.
13669
136702002-03-25 Michael Snyder <msnyder@redhat.com>
13671
13672 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
13673
136742002-03-25 Fred Fish <fnf@redhat.com>
13675
13676 * gdb.base/list.exp: This test works on remote targets so remove
13677 the short circuit for remote targets. Update copyright.
13678
136792002-03-25 Fred Fish <fnf@redhat.com>
13680
13681 * gdb.base/attach.exp: Fix logic error that was suppressing this
13682 test for all non hppa*-*-hpux* targets, instead of the hp target.
13683 Move comments closer to the suppression point. Also now need to
13684 check that we are running natively.
13685
136862002-03-22 Michael Snyder <msnyder@redhat.com>
13687
13688 * gdb.base/default.exp: Add test for gcore. Update copyright.
13689 * gdb.base/help.exp: Add test for gcore. Update copyright.
13690
136912002-03-06 Fred Fish <fnf@redhat.com>
13692
13693 * gdb.base/funcargs.c: Remove extraneous ';' character.
13694 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
13695
136962002-03-04 Michael Chastain <mec@shout.net>
13697
13698 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
13699 accommodate gcc v3 function signature.
13700 * gdb.mi/mi0-var-cmd-exp: Ditto.
13701
137022002-02-24 Andrew Cagney <ac131313@redhat.com>
13703
13704 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
13705 ``GNU/Linux'' or ``Linux kernel''
13706 * testsuite/gdb.threads/pthreads.c: Ditto.
13707
137082002-02-24 Michael Chastain <mec@shout.net>
13709
13710 * gdb.threads/pthreads.c (thread1): Add a return statement.
13711 (thread2): Likewise.
13712 (foo): Likewise.
13713
137142002-02-23 Michael Chastain <mec@shout.net>
13715
13716 * gdb.threads/linux-dp.c (philosopher): Add a return statement
13717 to placate gcc.
13718
137192002-02-23 Michael Chastain <mec@shout.net>
13720
13721 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
13722 test "ptype bint". The test passes on all my stabs configurations.
13723
137242002-02-21 Jim Blandy <jimb@redhat.com>
13725
13726 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
13727 filename at a time, and watch for the ones we want to see.
13728
13729 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
13730 types of pointers to prototyped functions.
13731
137322002-02-20 Andrew Cagney <ac131313@redhat.com>
13733
13734 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
13735 signed, unsigned and straight char.
13736 (padding_char, padding_short, padding_int, padding_long,
13737 padding_long_long, padding_float, padding_double,
13738 padding_long_double): New global variables.
13739 (fill, fill_structs): New functions.
13740
13741 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
13742 for correctly sized writes. Update copyright.
13743 (get_valueof): New procedure.
13744 (get_sizeof): Call get_valueof.
13745 (check_valueof): New procedure.
13746 (check_padding): New procedure.
13747
137482002-02-20 Michael Chastain <mec@shout.net>
13749
13750 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
13751 to setup_xfail. Document some of the remaining calls.
13752
137532002-02-18 Michael Chastain <mec@shout.net>
13754
13755 * gdb.c++/userdef.exp: Update copyright year.
13756
137572002-02-18 Daniel Jacobowitz <drow@mvista.com>
13758
13759 * gdb.c++/userdef.exp: Test overloaded operators properly.
13760 Remove xfails.
13761
137622002-02-14 Michael Snyder <msnyder@redhat.com>
13763
13764 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
13765
137662002-02-14 Daniel Jacobowitz <drow@mvista.com>
13767
13768 * gdb.base/a2-run.exp: Check for a remote target properly.
13769 * gdb.base/annota1.exp: Likewise.
13770 * gdb.base/list.exp: Likewise.
13771 * gdb.base/reread.exp: Likewise.
13772 * gdb.base/scope.exp: Likewise.
13773 * gdb.base/shlib-call.exp: Likewise.
13774 * gdb.base/term.exp: Likewise.
13775 * gdb.c++/annota2.exp: Likewise.
13776
137772002-02-13 Richard Earnshaw <rearnsha@arm.com>
13778
13779 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
13780
137812002-02-10 Michael Chastain <mec@shout.net>
13782
13783 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
13784 (call_after_alloca): Ditto.
13785
137862002-02-10 Daniel Jacobowitz <drow@mvista.com>
13787
13788 * gdb.base/ending-run.exp: Guard "cont" test with
13789 gdb_skip_stdio_test.
13790
137912002-02-06 Jim Blandy <jimb@redhat.com>
13792
13793 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
13794 from here...
13795 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
13796 To here. Disable this test on non-HP platforms. Add big comment.
13797
137982002-02-04 Michael Snyder <msnyder@redhat.com>
13799
13800 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
13801 other than d10v and m32r.
13802
138032002-02-02 Richard Earnshaw <rearnsha@arm.com>
13804
13805 * gdb.base/default.exp: Rewrite test patterns to reduce time
13806 taken to match them.
13807
138082002-01-30 Daniel Jacobowitz <drow@mvista.com>
13809
13810 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
13811 Allow a start function above main.
13812 * gdb.threads/linux-dp.exp: Fix copyright date.
13813
138142002-01-30 Daniel Jacobowitz <drow@mvista.com>
13815
13816 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
13817 (check_philosopher_stack): Check for manager thread before checking
13818 for a just-starting thread.
13819
138202002-01-30 Daniel Jacobowitz <drow@mvista.com>
13821
13822 From Neil Booth <neil@daikokuya.demon.co.uk>:
13823 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
13824 warnings.
13825
138262002-01-21 Fred Fish <fnf@redhat.com>
13827
13828 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
13829 not caller.
13830
138312002-01-21 Jim Blandy <jimb@redhat.com>
13832
13833 * gdb.base/reread.exp: Check that GDB properly re-reads the
13834 executable file when it changes while no inferior is running.
13835
138362002-01-21 Fred Fish <fnf@redhat.com>
13837
13838 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
13839 optionally accept the "shlib events" variation.
13840
138412002-01-21 Jim Blandy <jimb@redhat.com>
13842
13843 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
13844 call `fflush' after every `printf', so that the output is produced
13845 at predictable points, regardless of whatever buffering does (or
13846 doesn't) take place.
13847 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
13848 at different points.
13849
138502002-01-20 Daniel Jacobowitz <drow@mvista.com>
13851
13852 * gdb.c++/inherit.exp: Update copyright years.
13853 * gdb.c++/method.exp: Likewise.
13854
138552002-01-20 Daniel Jacobowitz <drow@mvista.com>
13856
13857 * gdb.c++/classes.exp: Update for improved v3 support and skipping
13858 artificial methods/arguments.
13859 * gdb.c++/derivation.exp: Likewise.
13860 * gdb.c++/inherit.exp: Likewise.
13861 * gdb.c++/method.exp: Likewise.
13862 * gdb.c++/virtfunc.exp: Likewise.
13863
138642002-01-18 Andrew Cagney <ac131313@redhat.com>
13865
13866 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
13867 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
13868 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
13869 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
13870 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
13871 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
13872
138732002-01-17 Jim Blandy <jimb@redhat.com>
13874
13875 * gdb.asm/asm-source.exp (info symbol): Take another shot at
13876 anchoring the pattern matching the entry point symbol's name.
13877
138782002-01-17 Andrew Cagney <ac131313@redhat.com>
13879
13880 * gdb.base/maint.exp: Update ``maint internal-error'' to match
13881 continue/quit query. Update copyright.
13882
138832002-01-14 Michael Snyder <msnyder@redhat.com>
13884
13885 * gdb.base/gcore.exp: Remove extra debugging output.
13886
138872002-01-13 Daniel Jacobowitz <drow@mvista.com>
13888
13889 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
13890 for slightly dubious v2 mangled string.
13891
138922002-01-13 Daniel Jacobowitz <drow@mvista.com>
13893
13894 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
13895
138962002-01-10 Jason Merrill <jason@redhat.com>
13897
13898 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
13899
13900 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
13901 constructors.
13902 * gdb.c++/derivation.exp: Likewise.
13903 * gdb.c++/templates.exp: Likewise.
13904 * gdb.c++/virtfunc.exp: Likewise.
13905
139062002-01-10 Michael Snyder <msnyder@redhat.com>
13907
13908 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
13909
139102002-01-08 Michael Snyder <msnyder@redhat.com>
13911
13912 * gdb.base/gcore.exp: New test for generate-core-file command.
13913 * gdb.base/gcore.c: Testcase for above.
13914 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
13915
139162002-01-08 Jason Merrill <jason@redhat.com>
13917
13918 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
13919
139202002-01-07 Fred Fish <fnf@redhat.com>
13921
13922 * gdb.c++/overload.exp: Remove unconditional xfails for:
13923 print foo_instance1.overloadargs(1)
13924 print foo_instance1.overloadargs(1, 2)
13925 print foo_instance1.overloadargs(1, 2, 3)
13926 print foo_instance1.overloadargs(1, 2, 3, 4)
13927 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
13928 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
13929 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
13930 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
13931 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
13932 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
13933 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
13934 print foo_instance1.overload1arg()
13935 print foo_instance1.overload1arg((char)arg2)
13936 print foo_instance1.overload1arg((signed char)arg3)
13937 print foo_instance1.overload1arg((unsigned char)arg4)
13938 print foo_instance1.overload1arg((int)arg7)
13939 print foo_instance1.overload1arg((unsigned int)arg8)
13940 print foo_instance1.overload1arg((float)arg11)
13941 print foo_instance1.overload1arg((double)arg12)
13942
139432002-01-07 Michael Snyder <msnyder@redhat.com>
13944
13945 * gdb.base/huge.exp: New test. Print a very large target data object.
13946 (skip_huge_test): New test variable. Define if you want to skip this
13947 test. The test reads an 8 megabyte data object from the target, so it
13948 might be very time consuming on remote targets with a slow connection.
13949 * gdb.base/huge.c: New file. Test case for above.
13950
139512002-01-07 Fred Fish <fnf@redhat.com>
13952
13953 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
13954 g_instance.bfoo, and g_instance.cfoo.
13955
139562002-01-07 Jeffrey A Law <law@redhat.com>
13957
13958 * gdb.base/break.c (multi_line_if_conditional): New function.
13959 (multi_ilne_while_conditional): Likewise.
13960 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
13961 IF or WHILE condition puts the breakpoint at the start of
13962 the condition.
13963
13964 * gdb.base/selftest.exp (backtrace through signal handler): Remove
13965 hppa*-*-hpux* expected failure.
13966 * gdb.base/structs.exp (do_function_calls): Similarly.
13967
13968 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
13969 watchpoints.
13970
139712002-01-06 Andrew Cagney <ac131313@redhat.com>
13972
13973 Fix PR gdb/66.
13974 * gdb.base/structs.exp: Replace skip for a29k with skip for
13975 gdb,cannot_call_functions.
13976 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
13977 * gdb.base/callfuncs.exp: Ditto.
13978 * gdb.base/call-rt-st.exp: Ditto.
13979 * gdb.base/call-strs.exp: Ditto.
13980 * gdb.base/callfwmall.exp: Ditto.
13981 * gdb.base/scope.exp: Obsolete xfail a29k.
13982 * gdb.c++/misc.exp: Ditto.
13983 * gdb.c++/cplusfuncs.exp: Ditto.
13984 * gdb.base/ptype.exp: Ditto.
13985 * gdb.base/printcmds.exp: Ditto.
13986 * gdb.base/opaque.exp: Ditto.
13987 * gdb.base/list.exp: Ditto.
13988 * gdb.base/funcargs.exp: Ditto.
13989 * gdb.base/default.exp: Ditto.
13990
139912002-01-04 Michael Snyder <msnyder@redhat.com>
13992
13993 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
13994 * gdb.base/maint.exp: Add tests for maint info sections options.
13995
13996Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
13997
13998 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
13999
140002001-12-20 Corinna Vinschen <vinschen@redhat.com>
14001
14002 * gdb.asm/arm.inc: New file.
14003 * gdb.asm/asm-source.exp: Add arm targets.
14004 * gdb.asm/configure.in: Ditto.
14005 * gdb.asm/configure: Recreated from configure.in.
14006
14007Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
14008
14009 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
14010 with HP's compiler.
14011 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14012 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14013 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14014 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14015
14016 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
14017 either HP's compilers or GCC.
14018
14019 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
14020 a SIGBUS or SIGSEGV.
14021
14022 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
14023
14024 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
14025 can be compiled with either HP's compiler or GCC.
14026
14027 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
14028 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
14029 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
14030
14031 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
14032 to match current gdb output. Update due to using auto-solib-limit
14033 for limiting instead of overloading auto-solib-add.
14034 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
14035 test program.
14036
14037 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
14038 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
14039 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
14040 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
14041 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
14042 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
14043 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
14044 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
14045 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
14046 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
14047 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
14048 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
14049 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
14050
14051 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
14052 a SIGTRAP to the inferior.
14053
140542001-12-19 Corinna Vinschen <vinschen@redhat.com>
14055
14056 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
14057 Substitute call to target_link by call to gdb_compile.
14058
14059Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
14060
14061 * gdb.base/break.exp: Fix HP specific search string when testing
14062 backtracing in a called function.
14063
14064 * gdb.base/constvars.exp: Only set lang to C++ if we're
14065 compiling the test with HP's compilers.
14066 * gdb.base/volatile.exp: Similarly.
14067
140682001-12-19 Jim Blandy <jimb@redhat.com>
14069
14070 * gdb.base/printcmds.exp: Expect the null character to be printed
14071 as '\0', and the '\013' to be printed as '\v'.
14072 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
14073 * gdb.base/setvar.exp: Same.
14074
140752001-12-17 Jim Blandy <jimb@redhat.com>
14076
14077 * gdb.base/completion.exp: Rather than completing very long
14078 filenames, which can make the readline library produce output we
14079 don't recognize, cd to the directory first, and then complete
14080 using nice, short relative paths.
14081
14082 * gdb.base/completion.exp: On some systems, there is, in fact, a
14083 variable named `b' in scope, since GDB treats all static
14084 variables as being in scope. So use `no_var_named_this'
14085 instead of `b'.
14086
14087 * gdb.base/corefile.exp: Recognize the message saying that GDB
14088 can't find the core file's registers as a failure.
14089
140902001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
14091
14092 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
14093 test expect string more specific.
14094
140952001-12-13 Corinna Vinschen <vinschen@redhat.com>
14096
14097 * gdb.asm/asm-source.exp: Add support for xstormy16.
14098 * gdb.asm/configure.in: Ditto.
14099 * gdb.asm/configure: Rebuild.
14100 * gdb.asm/xstormy16.inc: New file.
14101
141022001-12-10 Fred Fish <fnf@redhat.com>
14103
14104 * gdb.base/maint.exp: Update to match changes in type dumping code.
14105
141062001-12-10 Jim Blandy <jimb@redhat.com>
14107
14108 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
14109 matching the entry point symbol's name at the beginning of the
14110 line.
14111
141122001-12-07 Daniel Jacobowitz <drow@mvista.com>
14113
14114 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
14115 gdb.c++/inherit.exp, gdb.c++/method.exp,
14116 gdb.c++/namespace.exp, gdb.c++/templates.exp,
14117 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
14118 and class layout support.
14119
141202001-12-07 Daniel Jacobowitz <drow@mvista.com>
14121
14122 * gdb.c++/classes.exp: Add test for static member function.
14123 * gdb.c++/misc.cc: Add class with static member function.
14124
141252001-12-07 Jim Blandy <jimb@redhat.com>
14126
14127 If GDB says it can't find the struct the function returned, report
14128 those tests as `unsupported'.
14129 * gdb.base/call-rt-st.exp (print_struct_call): New function.
14130 Rewrite subsequent tests to use it.
14131
14132 If GDB says it can't find the struct the function returned, report
14133 those tests as `unsupported'.
14134 * gdb.base/structs.exp (call_struct_func): New function.
14135 (do_function_calls): Use call_struct_func to call the functions
14136 returning structs.
14137
14138 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
14139 whether functions are prototyped or not, so we can't possibly pass
14140 arguments to t_float_values2 properly.
14141
14142 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
14143 value of `timeout' for targets other than the mips*tx39-*.
14144
141452001-12-06 Michael Snyder <msnyder@redhat.com>
14146
14147 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
14148 and detect whether the start symbol has a leading underscore.
14149
141502001-12-04 Jim Blandy <jimb@redhat.com>
14151
14152 * gdb.base/completion.exp: Clarify indentation.
14153
141542001-12-03 Jim Blandy <jimb@redhat.com>
14155
14156 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
14157 variables on the S/390, not `.word'.
14158
141592001-11-30 Jim Blandy <jimb@redhat.com>
14160
14161 Add assembly-source tests for s390-ibm-linux.
14162 * gdb.asm/s390.inc: New file.
14163 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
14164 the S/390 architecture.
14165 * gdb.asm/configure: Regenerated.
14166
141672001-11-30 Michael Snyder <msnyder@redhat.com>
14168
14169 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
14170 next, info source, info sources, info line, global and static
14171 variables, and static functions.
14172 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
14173 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
14174 * gdb.asm/asmsrc1.s: Add a static function and some variables.
14175 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
14176 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
14177 (gdbasm_leave): Restore frame pointer.
14178 (gdbasm_startup): Copy stack set-up from crt0.S.
14179
141802001-11-26 Fernando Nasser <fnasser@redhat.com>
14181
14182 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
14183 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
14184 to a local (non-static) variable. Copy tstruct.a to a static buffer
14185 and return a pointer to that buffer.
14186 * gdb.base/callfwmall.c (t_structs_a): Ditto.
14187
141882001-11-24 Mark Kettenis <kettenis@gnu.org>
14189
14190 * gdb.asm/configure.in: Fix recognition of ix86 target.
14191 * gdb.asm/configure: Regenerate.
14192
141932001-11-21 Michael Snyder <msnyder@redhat.com>
14194
14195 * gdb.asm/sparc.inc: New file.
14196 * gdb.asm/asm-source.exp: Recognize sparc target.
14197 * gdb.asm/configure.in: Recognize sparc target.
14198 * gdb.asm/configure: Regenerate.
14199
142002001-11-21 Michael Snyder <msnyder@redhat.com>
14201
14202 * gdb.asm/m32r.inc: New file.
14203 * gdb.asm/asm-source.exp: Recognize m32r target.
14204 * gdb.asm/configure.in: Recognize m32r target.
14205 * gdb.asm/configure: Regenerate.
14206
142072001-11-20 Michael Snyder <msnyder@redhat.com>
14208
14209 * gdb.asm/i386.inc: New file.
14210 * gdb.asm/asm-source.exp: Recognize ix86 target.
14211 * gdb.asm/configure.in: Recognize ix86 target.
14212 * gdb.asm/configure: Regenerate.
14213
14214 * gdb.c++/namespace.exp: Fix quotes in output messages.
14215
142162001-11-14 Michael Snyder <msnyder@redhat.com>
14217
14218 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
14219 qualifier in a type cast expression, to designate an address
14220 in the instruction space (Harvard architecture).
14221
142222001-11-13 Michael Snyder <msnyder@redhat.com>
14223
14224 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
14225 Tests for expressions using 'const' and 'volatile'.
14226
142272001-11-13 Corinna Vinschen <vinschen@redhat.com>
14228
14229 * gdb.asm/asm-sources.exp: Allow defining linker flags.
14230
142312001-11-12 Daniel Jacobowitz <drow@mvista.com>
14232
14233 * lib/mi-support.exp (mi_run_to_helper): Move comments
14234 outside of gdb_expect.
14235
142362001-11-11 Daniel Jacobowitz <drow@mvista.com>
14237
14238 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
14239 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
14240 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
14241 mi0_run_to): New functions.
14242 * gdb.mi/mi-simplerun.exp: Use them.
14243 * gdb.mi/mi0-simplerun.exp: Likewise.
14244 * gdb.mi/mi-var-cmd.exp: Likewise.
14245 * gdb.mi/mi0-var-cmd.exp: Likewise.
14246
142472001-11-10 Andrew Cagney <ac131313@redhat.com>
14248
14249 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
14250 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
14251
142522001-11-09 Andrew Cagney <ac131313@redhat.com>
14253
14254 * gdb.base/restore.exp: Include $expected value in restored test
14255 message.
14256
142572001-11-09 Andrew Cagney <ac131313@redhat.com>
14258
14259 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
14260 implemented.
14261
142622001-11-08 Michael Snyder <msnyder@redhat.com>
14263
14264 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
14265 Add pass/fail message for stop at breakpoint in call dummy function.
14266
142672001-11-07 Michael Snyder <msnyder@redhat.com>
14268
14269 * gdb.c++/templates.exp (test_template_breakpoints):
14270 If we get an overload menu, but it does not match what
14271 we expect, we still need to issue the "cancel" command.
14272 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
14273 making the whitespace optional. Argument for "new" may be
14274 "unsigned" as well as "unsigned int/long".
14275 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
14276 making the whitespace optional. Also replace "(void) with
14277 "((void|)), making the keyword "void" optional.
14278 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
14279 making the whitespace optional. Also replace "(void) with
14280 "((void|)), making the keyword "void" optional.
14281 * gdb.base/callfuncs.c (t_float_values): This function must
14282 _not_ be prototyped, and the following function (t_float_values2)
14283 must be prototyped (if the compiler supports it), so that GDB
14284 can be tested against both cases. Usually one case involves
14285 promotion of float to double, while the other does not.
14286 * gdb.base/callfwmall.c: Ditto.
14287 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
14288 includes a stack frame for "start".
14289
142902001-11-05 Jim Blandy <jimb@redhat.com>
14291
14292 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
14293 pointers are 32 bits long, and that offsets of relocs are always
14294 stored in the data (REL-style), and not in the reloc entry itself
14295 (RELA-style).
14296 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
14297 stabs.
14298
142992001-11-01 Michael Snyder <msnyder@redhat.com>
14300
14301 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
14302 and regular expression operators by using quoting.
14303
143042001-10-31 Michael Snyder <msnyder@redhat.com>
14305
14306 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
14307 depending on what the symbol table contains.
14308 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
14309 the output of the ptype command. Similarly, accept both "const &"
14310 and "const&".
14311
143122001-10-31 Corinna Vinschen <vinschen@redhat.com>
14313
14314 * gdb.base/miscexprs.c (main): Add usage of preprocessor
14315 symbol `STORAGE' to allow to choose the storage class of
14316 the local datastructures.
14317 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
14318 compiler directive.
14319
143202001-10-30 Michael Snyder <msnyder@redhat.com>
14321
14322 * gdb.base/jump.exp: Allow it to run for all targets.
14323
143242001-10-29 Corinna Vinschen <vinschen@redhat.com>
14325
14326 * gdb.base/call-ar-st.c (print_double_array): Match for loop
14327 with new double_array size.
14328 (main): Change storage class of all local variables to static.
14329 Reduce size of double_array to 9.
14330 * gdb.base/call-ar-st.exp: Increase timeout value.
14331 Change expected output for double array to match new size in
14332 call-ar-st.c.
14333
143342001-10-29 Corinna Vinschen <vinschen@redhat.com>
14335
14336 * gdb.base/ending-run.exp: Create identical output when passing
14337 `step to end of run' case. Add regular expression branch satisfying
14338 Stormy16 target.
14339
143402001-10-28 Mark Kettenis <kettenis@gnu.org>
14341
14342 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
14343 that we catch the expected failure under Linux/x86.
14344
143452001-10-29 Orjan Friberg <orjanf@axis.com>
14346
14347 * gdb.base/setvar.exp: Escape curly braces.
14348 * gdb.stabs/weird.exp: Ditto.
14349
143502001-10-27 Daniel Jacobowitz <drow@mvista.com>
14351
14352 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
14353 * gdm.mi/mi0-hack-cli.exp: Likewise.
14354
143552001-10-25 Andrew Cagney <ac131313@redhat.com>
14356
14357 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
14358 messages.
14359
143602001-10-21 Andrew Cagney <ac131313@redhat.com>
14361
14362 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
14363 checking MI enabled.
14364
143652001-10-09 Corinna Vinschen <vinschen@redhat.com>
14366
14367 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
14368
143692001-10-04 Frank Ch. Eigler <fche@redhat.com>
14370
14371 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
14372 if gdb child process crashes, just signal an error.
14373
143742001-10-02 Jim Blandy <jimb@redhat.com>
14375
14376 * lib/gdb.exp (test_xfail_format): Simplify.
14377
14378 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
14379 front of the variable name `format'. Simplify `if'.
14380
143812001-10-01 Daniel Jacobowitz <drow@mvista.com>
14382
14383 * gdb.threads/pthreads.exp: Wait for output and delay
14384 before sending ^C.
14385
143862001-10-01 Daniel Jacobowitz <drow@mvista.com>
14387
14388 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
14389 some incorrect output instead of timing out.
14390 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
14391
143922001-09-28 Corinna Vinschen <vinschen@redhat.com>
14393
14394 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
14395 check to allow additional `int'.
14396
143972001-09-27 Daniel Jacobowitz <drow@mvista.com>
14398
14399 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
14400 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
14401
144022001-09-27 Michael Snyder <msnyder@redhat.com>
14403
14404 * lib/gdb.exp (test_debug_format): New proc.
14405 (setup_xfail_format): Use new proc test_debug_format.
14406 * gdb.base/constvars.exp (local_compiler_xfail_check): New
14407 proc; use new service proc test_debug_format.
14408 Replace all other "gcc_compiled" tests with this test.
14409 * gdb.base/volatile.exp (local_compiler_xfail_check): New
14410 proc; use new service proc test_debug_format.
14411 Replace all other "gcc_compiled" tests with this test.
14412
144132001-09-27 Michael Snyder <msnyder@redhat.com>
14414
14415 * gdb.base/cvexpr.exp: New file.
14416 * gdb.base/cvexpr.c: New file
14417 Test for expressions using const and volatile keywords.
14418
144192001-09-26 Corinna Vinschen <vinschen@redhat.com>
14420
14421 * gdb.base/constvars.exp: Check for different orders of keywords
14422 and additional "int" strings in output.
14423
144242001-09-22 Andrew Cagney <ac131313@redhat.com>
14425
14426 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
14427 responses from "help maint".
14428
144292001-09-19 Frank Ch. Eigler <fche@redhat.com>
14430
14431 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
14432 to localhost:NNN instead of :NNN, in case Xvfb is listening
14433 only on TCP.
14434
144352001-09-19 Corinna Vinschen <vinschen@redhat.com>
14436
14437 * gdb.base/recurse.exp: When checking leaving the watchpoint
14438 scope, recognize when gdb is in function's epilogue and pass.
14439
144402001-09-18 Keith Seitz <keiths@redhat.com>
14441
14442 * lib/insight-support.exp (_gdbtk_export_target_info): Add
14443 support for running tests against sid targets.
14444 (gdbtk_done): Ditto.
14445
144462001-09-18 Corinna Vinschen <vinschen@redhat.com>
14447
14448 * gdb.base/ending-run.c (main): Set stdout buffersize
14449 to the same reasonable value for any target.
14450 * gdb.base/ending-run.exp: Add a regular expression
14451 to make testsuite happy on Sanyo Stormy16 target.
14452
144532001-09-17 Corinna Vinschen <vinschen@redhat.com>
14454
14455 * gdb.base/display.c (do_loops): Add float variable `f'.
14456 Increment f in loop.
14457 * gdb.base/display.exp: Increment timeout by 60 seconds.
14458 Change float display test to use variable `f'.
14459
144602001-09-17 Jim Blandy <jimb@redhat.com>
14461
14462 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
14463 overflowing the limited breakpoint tables on some ROM monitors
14464 (like the ROM68K).
14465
144662001-09-15 Frank Ch. Eigler <fche@redhat.com>
14467
14468 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
14469 the "-ac" (disable access control) flag.
14470
144712001-08-30 Jeff Holcomb <jeffh@redhat.com>
14472
14473 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
14474 ints.
14475
144762001-08-30 Keith Seitz <keiths@redhat.com>
14477
14478 * lib/gdb.exp: Move all insight-related functionality into
14479 separate file.
14480 * lib/insight-support.exp: New file.
14481
144822001-08-29 Frank Ch. Eigler <fche@redhat.com>
14483
14484 * config/sid.exp (sid_start): Never set sid verbosity; disable
14485 expect_background {} that consumed its stdout; tolerate </dev/null.
14486 Attempt to set endianness override in "sid" protocol mode. Cleanup.
14487
144882001-08-18 Andrew Cagney <ac131313@redhat.com>
14489
14490 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
14491 CLI jump command to start it.
14492 (mi_run_to_main): Fail immediatly when unexpected output.
14493
144942001-08-18 Andrew Cagney <ac131313@redhat.com>
14495
14496 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
14497 beginning of function. Fix PR gdb/191.
14498
144992001-08-16 Frank Ch. Eigler <fche@redhat.com>
14500
14501 * config/sid.exp (sid_start): Don't warn if we cannot figure out
14502 what to force sid endianness to.
14503
145042001-08-15 Keith Seitz <keiths@redhat.com>
14505
14506 * lib/gdb.exp (gdbtk_start): Don't set environment
14507 variables for TCL_LIBRARY and friends. Insight will
14508 now figure these out for itself.
14509
145102001-08-02 Michael Snyder <msnyder@redhat.com>
14511
14512 * gdb.base/completion.exp: Remove the symbol "a64l" from
14513 the expect string; this is target-specific, and not related
14514 to what is being tested.
14515
145162001-08-02 Dave Brolley <brolley@redhat.com>
14517
14518 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
14519
145202001-07-25 Michael Snyder <msnyder@redhat.com>
14521
14522 * gdb.base/consecutive.exp: New file. Test stepping over
14523 breakpoints on consecutive instructions.
14524 * gdb.base/consecutive.c: New file.
14525
14526 * gdb.base/call-rt-st.exp: Use double-backslash to quote
14527 curly braces in regular expressions.
14528
145292001-07-25 Michael Snyder <msnyder@redhat.com>
14530
14531 * gdb.base/ending-run.exp: Accept "Program exited normally" as
14532 legitimate output from stepping out of main.
14533
145342001-07-22 Keith Seitz <keiths@redhat.com>
14535
14536 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
14537 the empty string, do not run the tests.
14538
145392001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14540
14541 * gdb.base/long_long.exp: Detect size of pointer. Take into
14542 account 2-byte pointers when testing for p/a results.
14543
145442001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14545
14546 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
14547 and defined to 1K for m68hc11.
14548 (random_data): Reduce table to 1K for embedded platforms (68hc11).
14549 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
14550 (sizeof_random_data): New variable to tell the size of the data table;
14551 don't test past this size; always run to main.
14552
145532001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14554
14555 * gdb.base/return2.exp: return of long long and double fails for
14556 68HC11; don't execute these tests on that platform.
14557 * gdb.base/return.exp: Return of a double fails for 68hc11.
14558
145592001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14560
14561 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
14562 tests that print a float.
14563 * call-rt-st.exp: Likewise.
14564
145652001-07-12 Mark Kettenis <kettenis@gnu.org>
14566
14567 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
14568 running this test on Linux.
14569
145702001-06-24 Michael Chastain <chastain@redhat.com>
14571
14572 * gdb.base/arithmet.exp: Remove some tests to make all test names
14573 unique.
14574
145752001-07-03 Michael Snyder <msnyder@redhat.com>
14576
14577 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
14578 the output of the ptype command.
14579
145802001-07-02 Michael Snyder <msnyder@redhat.com>
14581
14582 * gdb.base/completion.exp: Don't assume that break.c is the only
14583 source file that may contain functions named "marker".
14584 * gdb.base/corefile.exp: Quote the curly braces in regexp.
14585
145862001-06-28 Andrew Cagney <ac131313@redhat.com>
14587
14588 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
14589 of files to delete.
14590
14591 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
14592 * gdb.disasm/h8300s.exp: New file.
14593 gdb.disasm/h8300s.s: Likewise.
14594
145952001-06-27 Andrew Cagney <ac131313@redhat.com>
14596
14597 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
14598 empty breakpoint tables.
14599
146002001-06-25 Andrew Cagney <ac131313@redhat.com>
14601
14602 * lib/mi-support.exp: Update args=... part of stop-reason
14603 patterns. Accept either a list or a tuple.
14604
146052001-06-23 Andrew Cagney <ac131313@redhat.com>
14606
14607 * lib/mi-support.exp: Remove local emacs variable defining
14608 change-log-default-name.
14609
146102001-06-22 Michael Chastain <chastain@redhat.com>
14611
14612 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
14613 This is operationally compatible with the previous version.
14614
146152001-06-13 Jim Blandy <jimb@redhat.com>
14616
14617 * lib/gdb.exp (gdb_test): Doc fix.
14618
146192001-06-10 Michael Chastain <chastain@redhat.com>
14620
14621 * gdb.base/exprs.exp: Remove a duplicate test.
14622
146232001-06-06 Jim Blandy <jimb@redhat.com>
14624
14625 * gdb.base/return2.exp (main): Use values to test float and double
14626 returns that are not NaN's, to avoid being confused by IEEE
14627 comparison rules.
14628
146292001-06-04 Michael Snyder <msnyder@redhat.com>
14630
14631 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
14632 non-zero if control_c fails. Terminate the test on failure,
14633 rather than wait for 12 more tests to time out.
14634
146352001-06-06 Jim Blandy <jimb@redhat.com>
14636
14637 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
14638 Don't forget to match the GDB prompt.
14639
14640 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
14641
146422001-06-04 Jim Blandy <jimb@redhat.com>
14643
14644 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
14645 command.
14646
146472001-05-31 Kevin Buettner <kevinb@redhat.com>
14648
14649 * gdb.base/annota1.exp (info break): Match four or more spaces
14650 after "Address".
14651
146522001-05-31 Michael Chastain <chastain@redhat.com>
14653
14654 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
14655 (dm_type_int_star): Likewise.
14656 (dm_type_long_star): Likewise.
14657 (dm_type_void_star): Likewise.
14658
146592001-05-29 Kevin Buettner <kevinb@redhat.com>
14660
14661 * gdb.base/completion.exp (INPUTRC): Set this environment variable
14662 to a known value in order to get consistent results regardless
14663 of the setting of INPUTRC or the presence or contents of .inputrc.
14664
146652001-05-24 Michael Snyder <msnyder@redhat.com>
14666
14667 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
14668 Don't require that the main thread and the manager thread are the
14669 first in the list.
14670
14671 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
14672 debugging. If test fails, issue an "unsupported" not a "fail".
14673
146742001-05-24 Jim Blandy <jimb@redhat.com>
14675
14676 Don't assume that short is shorter than int.
14677 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
14678 assume that shorts are smaller than ints. On a 16-bit machine,
14679 this isn't true.
14680 ("print unsigned char == (~0)"): Add test that verifies that ~0,
14681 an int, is not equal to ~0 stored in an unsigned char. This tests
14682 the same thing that the previous test meant to, but works on
14683 16-bit machines, too.
14684 ("print unsigned char != (~0)"): Same test, complemented.
14685
146862001-05-24 Michael Snyder <msnyder@redhat.com>
14687
14688 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
14689 test for (full_coverage == 0). This makes the test run faster,
14690 and prevents dejagnu getting out of step.
14691
146922001-05-23 Kevin Buettner <kevinb@redhat.com>
14693
14694 * gdb.base/finish.exp (finish_void): Revise pattern for
14695 stopping on the call statement to not permit stopping at
14696 the start of the instructions comprising the call sequence.
14697
146982001-05-19 Michael Chastain <chastain@redhat.com>
14699
14700 * gdb.base/callfuncs.exp: Make all test names unique.
14701 * gdb.base/commands.exp: Make all test names unique.
14702 * gdb.base/condbreak.exp: Make all test names unique.
14703 * gdb.base/dbx.exp: Make all test names unique.
14704 * gdb.base/default.exp: Make all test names unique.
14705 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
14706 and TIMEOUT messages to their corresponding PASS message.
14707 * gdb.base/ending-run.exp: Make all test names unique.
14708 * gdb.base/long_long.exp: Remove duplicate test.
14709
147102001-05-21 Kevin Buettner <kevinb@redhat.com>
14711
14712 * gdb.base/finish.exp (finish_void): Allow "finish" command to
14713 stop on the call statement as well as the statement after the
14714 call.
14715
147162001-05-21 Michael Snyder <msnyder@redhat.com>
14717
14718 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
14719
147202001-05-10 Elena Zannoni <ezannoni@redhat.com>
14721
14722 * gdb.base/completion.exp: Revamp test. Make it execute on all
14723 platforms.
14724
147252001-05-10 Elena Zannoni <ezannoni@redhat.com>
14726
14727 * config/gdbserver.exp (gdb_load): Handle the case
14728 in which the arguments to gdbserver are given in the
14729 baseboard configuration file.
14730 Also handle the case in which the server needs to do a
14731 load.
14732
147332001-05-07 Keith Seitz <keiths@cygnus.com>
14734
14735 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
14736 set up the display for testing.
14737 (gdbtk_start): Convert all paths to paths that tcl will like.
14738 Export target information to environment.
14739 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
14740 necessary.
14741 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
14742 (to_tcl_path): New proc to convert a given pathname into
14743 a path acceptible as an argument to a tcl command.
14744 (_gdbtk_export_target_info): New proc to export target info
14745 into the environment for gdbtk testing.
14746 (gdbtk_done): New proc to signal end-of-test.
14747
147482001-05-06 Jim Blandy <jimb@redhat.com>
14749
14750 * restore.c: Make the code of caller0 correspond to its comment.
14751
147522001-05-03 Michael Snyder <msnyder@redhat.com>
14753
14754 * config/sid.exp (gdb_target_sid): Check for error messages.
14755 On error or timeout, don't make expect exit (which will terminate
14756 all subsequent tests); instead just make gdb exit.
14757 (gdb_load): Check for error messages. On error or timeout,
14758 return a negative value.
14759
147602001-04-24 Jim Blandy <jimb@redhat.com>
14761
14762 * gdb.c++/templates.exp: If we see the prompt for the overload
14763 list, but we haven't recognized any of the longer patterns,
14764 arrange for this test to fail, not hang.
14765
14766 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
14767 variations.
14768
147692001-04-22 Michael Chastain <chastain@redhat.com>
14770
14771 * gdb.c++/local.exp: Use the 'runto' library function.
14772 * gdb.c++/namespace.exp: Likewise.
14773 * gdb.c++/overload.exp: Likewise.
14774
147752001-03-26 Kevin Buettner <kevinb@redhat.com>
14776
14777 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
14778 * gdb.base/step-line.exp: New file. Test step/next in presence of
14779 #line directives.
14780 * gdb.base/step-line.c: New file. Test program for the above.
14781 * gdb.base/step-line.inp: New file. We pretend that this file has
14782 been transformed by some other tool into step-line.c.
14783
147842001-03-21 Jim Blandy <jimb@redhat.com>
14785
14786 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
14787 unmangled operator names.
14788
147892001-03-20 Jim Blandy <jimb@redhat.com>
14790
14791 * gdb.threads/linux-dp.exp: Recognize an additional message
14792 generated by GDB when it doesn't understand how to debug threads
14793 on the target system.
14794
147952001-03-19 Andrew Cagney <ac131313@redhat.com>
14796
14797 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
14798
147992001-03-12 Michael Chastain <chastain@redhat.com>
14800
14801 * gdb.c++/derivation.exp: Use the 'runto' library function.
14802
148032001-03-12 Michael Chastain <chastain@redhat.com>
14804
14805 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
14806
148072001-02-24 Michael Chastain <chastain@redhat.com>
14808
14809 * gdb.c++/ref-types.exp: Change handwritten code to library
14810 function 'runto'.
14811
148122001-03-16 Orjan Friberg <orjanf@axis.com>
14813
14814 * gdb.base/signals.exp: Set count to 0 explicitly.
14815
148162001-03-15 Mark Salter <msalter@redhat.com>
14817
14818 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
14819 (gdb_target_monitor): Add check of gdb_target_cmd return value.
14820 (gdb_load): Add support for additional target_info: gdb_download_size
14821 and gdb_load_timeout.
14822
14823Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
14824
14825 * gdb.base/annota1.exp: Move test of isnative to earlier in the
14826 file -- to prevent failing when the compile fails but we have no
14827 intention of running the tests anyway.
14828
14829 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
14830 tests if set.
14831
14832 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
14833 integers.
14834
14835 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
14836 * gdb.c++/namespace.exp: Ditto.
14837
148382001-03-07 Orjan Friberg <orjanf@axis.com>
14839
14840 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
14841 * gdb.base/pointers.exp: Relax pattern match of decimals.
14842
148432001-03-06 Kevin Buettner <kevinb@redhat.com>
14844
14845 * Makefile.in, config/abug.exp, config/cfdbug.exp,
14846 config/cpu32bug.exp, config/dve.exp, config/est.exp,
14847 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
14848 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
14849 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
14850 config/sh.exp, config/sid.exp, config/slite.exp,
14851 config/sparclet.exp, config/udi.exp, config/unknown.exp,
14852 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
14853 config/vxworks.exp, config/vxworks29k.exp,
14854 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
14855 gdb.base/all-bin.exp, gdb.base/annota1.exp,
14856 gdb.base/arithmet.exp, gdb.base/assign.exp,
14857 gdb.base/async.exp, gdb.base/attach.exp,
14858 gdb.base/bitfields.exp, gdb.base/bitops.exp,
14859 gdb.base/break.exp, gdb.base/call-ar-st.exp,
14860 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
14861 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
14862 gdb.base/commands.exp, gdb.base/completion.exp,
14863 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14864 gdb.base/constvars.exp, gdb.base/corefile.exp,
14865 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
14866 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
14867 gdb.base/ending-run.exp, gdb.base/environ.exp,
14868 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14869 gdb.base/finish.exp, gdb.base/foll-exec.exp,
14870 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
14871 gdb.base/funcargs.exp, gdb.base/help.exp,
14872 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
14873 gdb.base/logical.exp, gdb.base/long_long.exp,
14874 gdb.base/maint.exp, gdb.base/mips_pro.exp,
14875 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
14876 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
14877 gdb.base/pointers.exp, gdb.base/printcmds.exp,
14878 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
14879 gdb.base/regs.exp, gdb.base/relational.exp,
14880 gdb.base/remote.exp, gdb.base/reread.exp,
14881 gdb.base/restore.exp, gdb.base/return2.exp,
14882 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
14883 gdb.base/selftest.exp, gdb.base/setshow.exp,
14884 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
14885 gdb.base/sigall.exp, gdb.base/signals.exp,
14886 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
14887 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14888 gdb.base/step-test.exp, gdb.base/structs.c,
14889 gdb.base/structs.exp, gdb.base/structs2.exp,
14890 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
14891 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
14892 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
14893 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
14894 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
14895 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
14896 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
14897 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
14898 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
14899 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
14900 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
14901 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
14902 gdb.fortran/types.exp, gdb.java/jmisc.exp,
14903 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14904 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
14905 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14906 gdb.trace/circ.exp, gdb.trace/collection.exp,
14907 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14908 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14909 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
14910 gdb.trace/report.exp, gdb.trace/save-trace.exp,
14911 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14912 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14913 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
14914 notices.
14915
149162001-02-27 Michael Snyder <msnyder@cygnus.com>
14917
14918 * gdb.base/varargs.c (find_max_double): Fix printf format string:
14919 first arg is int not float.
14920
149212001-02-22 Michael Snyder <msnyder@cygnus.com>
14922
14923 * gdb.base/reread.exp: Unsupported for non-native targets;
14924 doesn't work for remote debugging.
14925
149262001-02-19 Fernando Nasser <fnasser@redhat.com>
14927
14928 From Drew Moseley <dmoseley@redhat.com>
14929 * gdb.base/ending-run.exp: Properly handle the BSP state when
14930 stepping past the end of main.
14931
149322001-02-19 John Moore <jmoore@redhat.com>
14933
14934 * gdb.base/commands.exp (infrun_breakpoint_command_test):
14935 Converted HPUX fix for non-expected items following multiple
14936 step commands into general solution for all platforms.
14937
149382001-02-18 Michael Chastain <chastain@redhat.com>
14939
14940 * gdb.c++/classes.exp (do_tests): Change runto statements
14941 from "runto 'foo(void)'" to "runto 'foo'". This makes the
14942 statements demangler agnostic.
14943 * gdb.c++/virtfunc.exp (do_tests): Likewise.
14944 (gdb_virtfunc_restart): Likewise.
14945
149462001-02-14 Michael Chastain <chastain@redhat.com>
14947
14948 * gdb.c++/inherit.exp (do_tests): Change runto statements
14949 from "runto 'foo(void)'" to "runto 'foo'". This makes the
14950 statements demangler agnostic.
14951
14952Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
14953
14954 * gdb.threads/pthreads.exp: Unify pass/fail messages for
14955 ``continue to bkpt at common_routine in thread 2'' and ``stopped
14956 before calling common_routine 15 times'' tests.
14957
149582001-02-11 Michael Chastain <chastain@redhat.com>
14959
14960 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
14961 Helps the test script figure out which demangler is in use.
14962 (dm_type_foo_ref): Ditto.
14963 (dm_type_int_star): Ditto.
14964 (dm_type_long_star): Ditto.
14965 (dm_type_unsigned_int): Ditto.
14966 (dm_type_void): Ditto.
14967 (dm_type_void_star): Ditto.
14968 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
14969 Probe the gdb demangler and set variables to accommodate
14970 formatting differences.
14971 (info_func_regexp): New function. Same as info_func, but
14972 matches against a regexp.
14973 (info_func): Match against a literal string.
14974 (print_addr_2): New function. Match against a literal string,
14975 which can be different from the input to gdb.
14976 (print_addr): Simply call print_addr_2 with the same argument twice.
14977 (test_lookup_operator_functions): Use demangler formatting variables.
14978 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
14979 the tests in the same order as the C++ class declaration.
14980 (test_paddr_operator_functions): Ditto.
14981 (test_paddr_overloaded_functions): Ditto.
14982 (test_paddr_hairy_functions): Use demangler formatting variables.
14983 Add reference to gdb/19 for related tests.
14984 (do_tests): Call probe_demangler.
14985
149862001-01-30 Kevin Buettner <kevinb@redhat.com>
14987
14988 * gdb.c++/templates.cc (printf): Remove unused function definition.
14989
149902001-01-26 Felix Lee <flee@redhat.com>
14991
14992 * sid.exp (sid_exit): Pass host, not target, to remote_close.
14993
149942001-01-25 matthew green <mrg@redhat.com>
14995
14996 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
14997 up sid.
14998 (sid_exit): Call `remote_pop_conn' after GDB is gone.
14999
150002001-01-25 matthew green <mrg@redhat.com>
15001
15002 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
15003 Deprecate $sid_spawn_id.
15004 (sid_exit): Remove code necessary only for `spawn.'
15005
150062001-01-25 matthew green <mrg@redhat.com>
15007
15008 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
15009
150102001-01-28 Michael Chastain <chastain@redhat.com>
15011
15012 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
15013 to call when tests fail. It takes gdb out of the overloaded
15014 function choice menu back to the main prompt, so that the test
15015 program stays synchronized.
15016 (set_bp_overloaded): New proc to collect all the common
15017 code for setting a breakpoint on an overloaded name. Calls
15018 take_gdb_out_of_choice_menu when needed.
15019 (menu_overload1arg): New variable to collect the repeated
15020 instances of the expected menu for an overloaded name. Change
15021 the regular expression to handle changes in g++ type encoding:
15022 "void" can be either "void" or "", and "unsigned int" can be
15023 either "unsigned int" or "unsigned".
15024 (continue_to_bp_overloaded): Change regular expressions to handle
15025 changes in g++ type encoding.
15026 (no proc): Call take_gdb_out_of_choice_menu when needed.
15027 Remove redundant calls to "info break". Accept either "canceled"
15028 or "cancelled". Change regular expressions in "info break"
15029 calls to handle changes in g++ type encoding. Give all tests
15030 unique strings.
15031
150322001-01-17 Ben Elliston <bje@redhat.com>
15033
15034 * config/sid.exp: New file.
15035
15036Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
15037
15038 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
15039
150402000-12-21 Michael Snyder <msnyder@cygnus.com>
15041
15042 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
15043 Add a RE to accept a non-ascii char if one is ever presented.
15044
150452000-12-20 Fernando Nasser <fnasser@redhat.com>
15046
15047 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
15048
150492000-12-18 Michael Snyder <msnyder@cygnus.com>
15050
15051 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
15052 in regexp. One '\' does not suffice on Linux.
15053
150542000-12-09 Michael Chastain <chastain@redhat.com>
15055
15056 * gdb.base/break.exp (test_clear_command): Use a marker function
15057 rather than 'main' for the test function. Also move this
15058 test to an execution point where the marker function names are
15059 guaranteed to be bound to functions. (Executing tests after a
15060 'finish' from main runs into name conflicts with local names
15061 in __libc_start_main).
15062
150632000-12-07 Michael Snyder <msnyder@cygnus.com>
15064
15065 * gdb.base/finish.exp: New test for gdb's "finish" command.
15066 * gdb.base/return2.exp: New test for gdb's "return" command.
15067 * gdb.base/return2.c: New source file for above.
15068
150692000-12-05 Michael Snyder <msnyder@cygnus.com>
15070
15071 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
15072 * gdb.base/miscexprs.exp: Ditto.
15073 * gdb.base/pointers.exp: Ditto.
15074 * gdb.c++/derivation.exp: Ditto.
15075 * gdb.c++/local.exp: Ditto.
15076 * gdb.c++/namespace.exp: Ditto.
15077 * gdb.c++/overload.exp: Ditto.
15078 * gdb.c++/ref-types.exp: Ditto.
15079
150802000-12-05 Michael Snyder <msnyder@cygnus.com>
15081
15082 * gdb.base/constvars.exp: Test result of "up" command.
15083 * gdb.base/miscexprs.exp: Ditto.
15084 * gdb.base/pointers.exp: Ditto.
15085 * gdb.base/scope.exp: Ditto.
15086 * gdb.c++/derivation.exp: Ditto.
15087 * gdb.c++/local.exp: Ditto.
15088 * gdb.c++/namespace.exp: Ditto.
15089 * gdb.c++/overload.exp: Ditto.
15090 * gdb.c++/ref-types.exp: Ditto.
15091
150922000-11-22 Michael Chastain <chastain@redhat.com>
15093
15094 * mips_pro.exp: Accept either "middle -> top -> main" or
15095 "middle -> main" in the backtrace, because gcc can optimize
15096 tail calls to jumps. Remove setup_xfail for the hppa case.
15097 Add a comment with the original warning messages from PR 3016,
15098 which was filed in 1993, to preserve them for posterity.
15099
151002000-11-17 Nick Duffek <nsd@redhat.com>
15101
15102 * lib/gdb.exp (gdb_test): Override timeout with board info.
15103
151042000-11-17 Nick Duffek <nsd@redhat.com>
15105
15106 * gdb.base/display.exp: Don't kill running stub. Add "again" to
15107 the second kill and detach messages.
15108
151092000-11-17 Nick Duffek <nsd@redhat.com>
15110
15111 * configure.in: Add AC_EXEEXT.
15112 * configure: Regenerate.
15113 * Makefile.in (just-check): Export EXEEXT.
15114 * lib/gdb.exp ($EXEEXT): Import from environment.
15115 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
15116 expect "maint dump-me" on Cygwin.
15117 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
15118 $EXEEXT.
15119
151202000-11-17 Nick Duffek <nsd@redhat.com>
15121
15122 * gdb.base/break.exp: Test backtrace and finish from called
15123 function on all platforms, not just HP-UX.
15124
151252000-11-03 Michael Snyder <msnyder@cygnus.com>
15126
15127 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
15128 code from gdb_target_monitor, so it can be used independantly
15129 for gdbserver. Also comment out an unnecessary PUTS.
15130
151312000-11-03 Michael Snyder <msnyder@cygnus.com>
15132
15133 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
15134 * gdb.base/corefile.exp: Expect the message "Program is being
15135 debugged already" when we send the "corefile" command, since
15136 the preceeding gdb_load may have connected gdb to a remote target.
15137 * gdb.base/display.exp: Disable hardware watchpoints if new
15138 board info variable "no_hardware_watchpoints" is true.
15139 Replace single-letter commands with more readable ones.
15140 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
15141 if new board info variable "no_hardware_watchpoints" is true.
15142 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
15143 to see if stdio (printf) testing is possible.
15144 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
15145 board info variable "no_hardware_watchpoints" is true. Use new
15146 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
15147
151482000-11-13 Fernando Nasser <fnasser@redhat.com>
15149
15150 From Orjan Friberg <orjanf@axis.com>:
15151 * gdb.base/printcmds.exp: Escape curly braces followed by a number
15152 in array print pattern match.
15153
151542000-11-09 Fernando Nasser <fnasser@redhat.com>
15155
15156 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
15157 spelling "cancelled" to U.S. spelling "canceled" to match changes
15158 made to gdb.
15159 * gdb.c++/ovldbreak.exp: Ditto.
15160
151612000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
15162
15163 * gdb.base/callfuncs.c (main): Moved to end of file, call
15164 t_double_values to initialize the FPU before inferior calls are made.
15165 * gdb.base/callfuncs.exp: Test for register preservation after calling
15166 inferior functions. Add tests for continuining, finishing and
15167 returning from a stop in a call dummy.
15168
151692000-10-24 Michael Snyder <msnyder@cygnus.com>
15170
15171 * gdb.base/commands.exp: Break up long lines, and re-indent.
15172
151732000-10-19 Michael Snyder <msnyder@cygnus.com>
15174
15175 * config/gdbserver.exp: Rewritten from the ground up, to make it
15176 compatible with the current dejagnu tree, and to make it work with
15177 the new "gdbserver" in libremote.
15178
151792000-10-16 Michael Snyder <msnyder@cygnus.com>
15180
15181 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
15182 * gdb.base/varargs.exp: Skip entire test if no printf support.
15183 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
15184 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
15185
151862000-10-13 Michael Snyder <msnyder@cygnus.com>
15187
15188 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
15189 no floating point support.
15190 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
15191 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
15192 * gdb.base/call-rt-st.exp: Ditto.
15193 * gdb.base/call-strs.exp: Ditto.
15194
151952000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
15196
15197 * gdb.base/sizeof.c: include <stdio.h>.
15198
15199 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
15200 'finish', otherwise uncaptured gdb_prompt would potentially
15201 throw remaining test points out of sync.
15202
152032000-07-26 Scott Bambrough <scottb@netwinder.org>
15204
15205 * gdb.base/recurse.exp: Run tests for all targets.
15206 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
15207 gnu-oldld case on ARM.
15208 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
15209 for ARM targets.
15210
15211Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
15212
15213 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
15214 * gdb.java/configure: Rebuild.
15215
15216Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
15217
15218 * gdb.java/jv-exp.exp: New file.
15219
15220Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
15221
15222 * configure: Rebuilt.
15223 * configure.in (configdirs): Add gdb.java.
15224 * gdb.java/jmisc.java: New file.
15225 * gdb.java/jmisc.exp: New file.
15226 * gdb.java/Makefile.in: New file.
15227 * gdb.java/configure: Rebuilt.
15228 * gdb.java/configure.in: New file.
15229 * lib/java.exp: New file.
15230
15231Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
15232
15233 * gdb.base/exprs.exp: Test casts to a pointer including over and
15234 underflow.
15235
15236Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
15237
15238 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
15239 and the compilers sizes.
15240
152412000-07-09 Nick Duffek <nsd@redhat.com>
15242
15243 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
15244 (use_methods): New function.
15245 (main): Call use_methods().
15246 * gdb.c++/classes.exp (test_method_param_class): New procedure.
15247 (do_tests): Call test_method_param_class.
15248
152492000-07-09 Nick Duffek <nsd@redhat.com>
15250
15251 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
15252 spelling.
15253 (test_enums): New procedure. Move enum tests from end of script
15254 to here. Set breakpoint on function name instead of line number.
15255 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
15256 (enums2): New marker function.
15257 (enums1): New function.
15258 (main): Call enums1(). Move enum tests to enums1().
15259
15260Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
15261
15262 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
15263 compile/link program. Update line numbers.
15264 * gdb.asm/d10v.inc: Define ``startup''.
15265 * gdb.asm/asmsrc1.s: Add definition of _start.
15266
15267Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
15268
15269 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
15270
152712000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15272
15273 * gdb.base/maint.exp: Add 'maint print architecture' item to output
15274 of 'help maint print' command.
15275
15276Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
15277
15278 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
15279 they use gdb_expect_list.
15280
15281Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
15282
15283 * gdb.base/commands.exp: Use ``set remote
15284 memory-read-packet-size'' instead of ``set endian big'' to test
15285 long commands.
15286
152872000-06-03 Daniel Berlin <dan@cgsoftware.com>
15288
15289 * gdb.c++/templates.exp (do_tests): Make all of these work under
15290 g++, and stop skipping them.
15291
15292 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
15293 work under g++.
15294
15295 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
15296 initialization.
15297
152982000-06-02 Michael Snyder <msnyder@cygnus.com>
15299
15300 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
15301 the regular expression: accept an (almost) arbitrary sequence of
15302 "frames-invalid" and "breakpoints-invalid" messages both before
15303 and after the "starting" message.
15304
153052000-06-02 Michael Snyder <msnyder@cygnus.com>
15306
15307 * gdb.c++/local.exp: This test has never been known to work with g++.
15308
153092000-05-18 Michael Snyder <msnyder@cygnus.com>
15310
15311 * gdb.base/annota1.exp (annotate-signal-handler-caller):
15312 Relax the regular expression a little, make it pass on Solaris 8.
15313
153142000-05-12 Kevin Buettner <kevinb@redhat.com>
15315
15316 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
15317 a call, do not require that gdb stop on the line after the call.
15318 Instead, it is permissible for gdb to stop on the line of the
15319 call itself.
15320
153212000-05-12 Michael Snyder <msnyder@.cygnus.com>
15322
15323 * gdb.base/break.exp (bp on small function, optimized file):
15324 Add a second pass pattern. The behavior differs here between stabs
15325 and dwarf for one-line functions. Stabs preserves two line symbols
15326 (one before the prologue and one after) with the same line number,
15327 but dwarf regards these as duplicates and discards one of them.
15328 Therefore the address after the prologue (where the breakpoint is)
15329 has no exactly matching line symbol, and GDB reports the breakpoint
15330 as if it were in the middle of a line rather than at the beginning.
15331
153322000-05-08 Michael Snyder <msnyder@cygnus.com>
15333
15334 * gdb.base/interrupt.exp: Make "pass" message say "send"
15335 rather than "send_gdb" (for consistancy).
15336
15337Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
15338
15339 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
15340 * gdb.c++/templates.cc: Properly check for GCC version number.
15341 * lib/compiler.cc: Likewise
15342
153432000-04-28 Michael Snyder <msnyder@cygnus.com>
15344
15345 * gdb.base/break.exp: When compiled with -O2 optimization,
15346 gdb may not stop at the first line of main, due to code motion.
15347
153482000-04-26 Michael Snyder <msnyder@cygnus.com>
15349
15350 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
15351 This test depends on parsing the printf output from the target.
15352 Since the sparclet stub doesn't do stdio, this will never work.
15353 * gdb.base/call-rt-st.exp: ditto.
15354 * gdb.base/call-strs: ditto.
15355
153562000-04-24 Michael Snyder <msnyder@cygnus.com>
15357
15358 * gdb.base/miscexprs.exp: make sizeof long array test portable.
15359
15360 * gdb.base/ending-run.exp: After connecting to a remote target,
15361 but before running, the target will appear to be in a random
15362 location. Specify both a file and a line for breakpoints.
15363 Also, the function that calls main may be called 'init'
15364 rather than 'start'.
15365
153662000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15367
15368 * gdb.base/help.exp: Update output for add-symbol-file command.
15369
153702000-04-10 Fernando Nasser <fnasser@cygnus.com>
15371
15372 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15373 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
15374
153752000-04-07 J.T. Conklin <jtc@redback.com>
15376
15377 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
15378
15379 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
15380
15381Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
15382
15383 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
15384 values that can be represented exactly.
15385 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
15386 above change, and to not check against the directory part of the source
15387 file name.
15388 (step into print_long_arg_list): Likewise.
15389 (print print_small_structs from print_long_arg_list): Likewise.
15390 (print print_long_arg_list): Likewise.
15391
153922000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15393
15394 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
15395
15396Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
15397
15398 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
15399
154002000-03-25 Daniel Berlin <dan@cgsoftware.com>
15401
15402 * gdb.base/commands.exp (deprecated_command_test): Add test for
15403 deprecate with no arguments.
15404
154052000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
15406
15407 * gdb.base/break.exp: Add new test for setting breakpoints on
15408 optimized code so we can test breakpoints work even when function
15409 prologues may be optimized away
15410
154112000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
15412
15413 From David Whedon <dwhedon@gordian.com>
15414 * gdb.base/commands.exp : Added command deprecator tests.
15415
154162000-03-22 Daniel Berlin <dan@cgsoftware.com>
15417
15418 * gdb.base/help.exp: Added test for new apropos command.
15419
154202000-03-21 Kevin Buettner <kevinb@redhat.com>
15421
15422 * gdb.base/pointers.c (usevar): New function.
15423 (main): Make sure that global variables v_int_pointer2, rptr,
15424 and y are all referenced someplace in the program by calling
15425 usevar() on them. [Some linkers delete symbols which are
15426 never referenced. The space remains, but there's no way to
15427 get a (symbolic) handle on the variable from the debugger.]
15428
154292000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15430
15431 * gdb.base/printcmds.c: Add typedeffed arrays.
15432
15433 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
15434 procedure to test arrays that are typedef'd.
15435
154362000-03-13 James Ingham <jingham@leda.cygnus.com>
15437
15438 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
15439 the library directories.
15440
15441Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
15442
15443 * configure.in (configdirs): Add sub directory gdb.mi.
15444 * configure: Re-generate.
15445
15446 * gdb.mi: New directory.
15447
154482000-02-25 Scott Bambrough <scottb@netwinder.org>
15449
15450 * gdb.base/long_long.exp: Correct test suite failure when printing
15451 a long long value as a double on ARM platforms.
15452
154532000-02-16 Jim Blandy <jimb@redhat.com>
15454
15455 * gdb.base/break.exp ("breakpoint line number"): Make sure the
15456 default source file is set properly before running this test.
15457
154582000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15459
15460 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
15461 gdbtk/library directory, not in gdbtcl2.
15462
154632000-02-04 Jim Blandy <jimb@redhat.com>
15464
15465 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
15466 backslash from regexp pattern.
15467
15468 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
15469 procedure. Use it to run all the "continue to bp overloaded"
15470 tests. Note that this changes the names of the tests slightly.
15471 If the breakpoint hit message includes a hex PC value, because
15472 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
15473 from the real source code, still consider that a pass.
15474
15475 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
15476 XFAIL here if the breakpoint message contains a hex address. Note
15477 similar change on 1999-11-02.
15478
15479 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
15480
15481 * gdb.base/ptype.exp: Establish a default source file before
15482 calling get_debug_format.
15483
154842000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
15485
15486 * gdb.base/watchpoint.exp: Remove duplication of test messages.
15487
154882000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
15489
15490 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
15491 of successive stepi commands -- while in the prologue we should see
15492 the function entry bracket.
15493
154942000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
15495
15496 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
15497 reach __change_mode() when stepping through the end of main().
15498
154992000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
15500
15501 * gdb.base/default.exp: Fix expected pattern.
15502 * gdb.base/help.exp: Same.
15503
155042000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15505
15506 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
15507 Don't use xfail's because that affects only the following test.
15508
15509 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
15510 solaris or linux.
15511
15512 * gdb.base/selftest.exp: Update to reflect changes to main.c.
15513
155142000-01-07 Michael Snyder <msnyder@cygnus.com>
15515
15516 * gdb.base/display.exp: Some yacc parsers like to say
15517 "A syntax error" rather than "A parse error". Accept both.
15518
155192000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
15520
15521 * gdb.base/default.exp: Remove OS dependent string from "target
15522 remote" test.
15523 * gdb.base/help.exp: Same for "help target remote" test.
15524
155252000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15526
15527 From Jim Kingdon <kingdon@redhat.com>:
15528
15529 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
15530 prompt (cleanup rather than necessity, but still might keep output
15531 from spilling to next test).
15532
155332000-01-02 Fred Fish <fnf@cygnus.com>
15534
15535 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
15536 AIX, which defines them in <sys/types.h>.
15537
155381999-12-16 Stan Shebs <shebs@andros.cygnus.com>
15539
15540 * gdb.base/default.exp: Match arm* etc instead of arm in "info
15541 float" test.
15542
155431999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
15544
15545 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
15546
15547 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
15548 outermost frame disallowed".
15549
155501999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
15551
15552 * gdb.base/setvar.exp: New tests for setting the value of a struct
15553 with a constant list.
15554
155551999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
15556
15557 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
15558 require the user to type a cast before setting the value of a struct.
15559
155601999-12-06 Jim Blandy <jimb@cygnus.com>
15561
15562 * gdb.base/default.exp: Expect the new 'info float' command on
15563 all i386 platforms.
15564
15565 * gdb.threads/linux-dp.exp: Expand our ability to recognize
15566 LinuxThreads libraries that don't support debugging.
15567
15568Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
15569
15570 * gdb.base/remote.c: Fill the buffer with truely random data.
15571 Change the buffer type to ``unsigned char'' to simplify size
15572 arithmetic.
15573
15574 * gdb.base/remote.exp: Reduce download numbers by one. Typical
15575 stub only handles 400-1 byte packets. Verify that the download
15576 worked.
15577
155781999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
15579
15580 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
15581 tests, using UNRESOLVED for the untested cases. Also, does not wait
15582 for a timeout if the prompt was received before a recognizable pattern.
15583
155841999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
15585
15586 * lib/gdb.exp (gdb_expect_list): Fix spelling.
15587
155881999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15589
15590 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
15591 watchpoints.
15592
155931999-11-24 Jason Merrill <jason@casey.cygnus.com>
15594
15595 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
15596
15597 * gdb.c++/local.exp: Be more flexible in recognizing local class
15598 name mangling. Don't allow horribly truncated method names.
15599 * gdb.c++/derivation.exp: Expect protected inheritance.
15600 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
15601 * gdb.c++/virtfunc.exp: Likewise.
15602 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
15603 when printing a nested enum.
15604
156051999-11-22 Jim Blandy <jimb@cygnus.com>
15606
15607 * gdb.base/step-test.exp: Properly await GDB's response to setting
15608 a breakpoint on the call to large_struct_by_value.
15609
15610 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
15611 just because we have debug info for the `start' function.
15612
156131999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
15614
15615 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
15616 "Unknown signal" messages, which indicate (on LinuxThreads) that
15617 GDB doesn't know how to debug threads on this system. This is
15618 better than hanging while philosopher 0 dumps chatter into gdb.log.
15619
156201999-11-18 Tom Tromey <tromey@cygnus.com>
15621
15622 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
15623
156241999-11-18 Fred Fish <fnf@cygnus.com>
15625
15626 * gdb.base/coremaker2.c: Add sample program for generating
15627 cores that is more self contained than coremaker.c. Eventually
15628 I'll add more code to this and tie it into the testsuite.
15629
156301999-11-12 Stan Shebs <shebs@andros.cygnus.com>
15631
15632 * gdb.base/dollar.exp: Remove, now in gdb.hp.
15633
156341999-11-10 Jimmy Guo <guo@cup.hp.com>
15635
15636 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
15637 from $srcdir/lib/.
15638 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
15639 and gdb.c++/.
15640
15641 * gdb.c++/derivation.exp: remove redundant get compiler info code.
15642
15643 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
15644 'continue with watch' test point.
15645
156461999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
15647
15648 Merged from p2linux-990323-branch:
15649
15650 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
15651
15652Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
15653
15654 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
15655 {limit,fixed}''. Test ``set download-write-size''.
15656
15657Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
15658
15659 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
15660 gdb_expect_list.
15661
15662Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
15663
15664 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
15665
156661999-11-03 Mark Salter <msalter@cygnus.com>
15667
15668 * gdb.base/break.exp: Fix "stub continue" pattern.
15669
156701999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
15671
15672 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
15673
156741999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
15675
15676 * gdb.base/display.exp ("finish"): Add timeout clause.
15677
15678 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
15679 plain prompt clause, so this doesn't have to time out in order to
15680 fail.
15681
15682 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
15683 breakpoint hit messages include an address.
15684
15685 * gdb.base/display.exp: Don't forget to escape parens in regular
15686 expressions. Unix regexp notatation sucks.
15687
156881999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15689
15690 * gdb.base/annota1.exp: Test for annotate-signalled: change output
15691 order for 'signalled' message.
15692
156931999-11-01 Stan Shebs <shebs@andros.cygnus.com>
15694
15695 From Jimmy Guo <guo@cup.hp.com>:
15696 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
15697 * gdb.base/annota1.c: Add code for tests to work with.
15698
156991999-10-26 Frank Ch. Eigler <fche@cygnus.com>
15700
15701 * gdb.base/remote.exp: New test for remote downloading settings.
15702 * gdb.base/remote.c: New file with large .data.
15703
157041999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
15705
15706 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
15707 for LinuxThreads support, merged from the Code Fusion branch.
15708
15709Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
15710
15711 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
15712 containing exp_continue into a while within an expect. Don't
15713 attempt a start more than three times. Check return value from
15714 gdb_load.
15715
15716Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
15717
15718 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
15719 a pass case.
15720
157211999-10-01 Kevin Buettner <kevinb@cygnus.com>
15722
15723 * gdb.base/break.c (main): Added a statement that we can step
15724 off of.
15725 * gdb.base/break.exp: Added tests for setting a breakpoint
15726 at an offset and stepping onto a breakpoint.
15727
157281999-10-01 Fred Fish <fnf@cygnus.com>
15729
15730 * gdb.base/help.exp (help add-symbol-file): Update to match current
15731 gdb output.
15732
157331999-09-18 Jim Blandy <jimb@cris.red-bean.com>
15734
15735 * gdb.base/break.exp: Code locations are in hex, don't forget!
15736 (For HP-UX.)
15737
157381999-09-17 Stan Shebs <shebs@andros.cygnus.com>
15739
15740 * condbreak.exp: Use break.c as test program.
15741 * condbreak.c: Remove, redundant with break.c.
15742
157431999-09-15 Stan Shebs <shebs@andros.cygnus.com>
15744
15745 * config/monitor.exp (gdb_target_monitor): Disable X- and
15746 Z-packets if the target needs it.
15747
157481999-09-13 James Ingham <jingham@leda.cygnus.com>
15749
15750 * gdb.c++/overload.exp: Added tests for listing overloaded
15751 functions with function pointers in the arg, explicitly calling
15752 out the version you want.
15753
157541999-09-09 Stan Shebs <shebs@andros.cygnus.com>
15755
15756 * long_long.exp: Add variations of test cases that work for
15757 targets with 16-bit ints and 32-bit doubles.
15758
157591999-09-08 Stan Shebs <shebs@andros.cygnus.com>
15760
15761 * break.c (main): Compare a possibly-uninitialized argc with an
15762 unlikely value that fits in 16 bits.
15763
157641999-09-07 Stan Shebs <shebs@andros.cygnus.com>
15765
15766 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
15767 0xfeeb, don't want negative numbers if ints are 16 bits.
15768
15769 * lib/gdb.exp (skip_cplus_tests): New proc.
15770 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15771 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
15772 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
15773 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
15774 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
15775 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
15776 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
15777 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
15778
15779 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
15780
15781Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
15782
15783 * gdb.base/corefile.exp (up): Allow a parameter to appear
15784 in the frame that we're going up to.
15785
15786 From Jim Blandy <jimb@cygnus.com>:
15787
15788 * gdb.base/default.exp (info float): Expect some output now.
15789
15790 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
15791 returning floating-point values to fail on the x86.
15792 * gdb.base/callfwmall.exp (do_function_calls): Same.
15793
15794 * gdb.base/list.exp (test_listsize): Correct expectations for
15795 listing line 1 with listsize 2. Also, listing a single line
15796 works now, as does listing three lines. [Kevin's note: There
15797 were a number of other cases fixed too where the expectations
15798 differed...]
15799
158001999-09-02 Stan Shebs <shebs@andros.cygnus.com>
15801
15802 * gdb.base/selftest.exp: Add case for when version prints as
15803 constant string instead of char pointer.
15804
158051999-08-25 Stan Shebs <shebs@andros.cygnus.com>
15806
15807 * gdb.base/ending-run.exp: Add Solaris case for what happens when
15808 stepping out of main.
15809
15810 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
15811 G++ used.
15812
15813 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
15814 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
15815
15816 * gdb.c++/ovldbreak.exp: Update match string in test that
15817 includes a warning of multiple breakpoints.
15818
158191999-08-24 Stan Shebs <shebs@andros.cygnus.com>
15820
15821 * gdb.base/display.exp: Improve precision of step-after-finish
15822 added yesterday.
15823
15824 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
15825 test.
15826
15827 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
15828 configs when using G++, not just hppa*.
15829
158301999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15831
15832 * gdb.base/async.c: New file.
15833 * gdb.base/async.exp: New file.
15834
15835Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
15836
15837 * gdb.base/break.exp: Tweak PA specific tests to properly handle
15838 PA64.
15839
15840Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
15841
15842 * gdb.base/display.exp: "finish" can leave us mid-line on many
15843 targets, deal with it. Add a small constant to main, instead of
15844 1000 since main+1000 may not be a valid address in the target.
15845
15846 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
15847 on hpux11.
15848
15849 * gdb.base/attach.exp: Handle another hpux11 error message variant
15850 when attaching to a process that does not exist.
15851
158521999-08-19 J.T. Conklin <jtc@redback.com>
15853
15854 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
15855 characters in 'continue to 1241' test.
15856
158571999-08-17 Stan Shebs <shebs@andros.cygnus.com>
15858
15859 * gdb.base/call-ar-st.exp: Add a shorter match case for the
15860 stop in print_long_arg_list, define and use a whitespace
15861 variable in print_small_structs test, add an XFAIL for Solaris.
15862 * gdb.base/dbx.exp: XFAIL func commands until somebody is
15863 interested enough to fix.
15864
158651999-08-13 Keith Seitz <keiths@cygnus.com>
15866
15867 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
15868 (dbx_gdb_load): Remove. Use gdb_load instead, since that
15869 proc knows about targets other than the natives.
15870 (test_assign): Use "gdb_run_cmd" to "run" the target.
15871 Check that we've actually hit the breakpoint at main.
15872 When we attempt to assign a value to a local variable, check
15873 that the variable is in the current scope, i.e., don't use
15874 a test with an empty result.
15875
15876Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
15877
15878 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
15879 command.
15880
158811999-08-09 Stan Shebs <shebs@andros.cygnus.com>
15882
15883 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15884 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
15885 gdb.compat, gdb.threads-hp.
15886 gdb.hp/configure, gdb.hp/configure.in: New files.
15887 gdb.hp/Makefile.in: Recurse into new subdirs.
15888 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
15889 gdb.hp/gdb.objdbg: New directory, tests for debugging info
15890 in object files.
15891 gdb.hp/tools: New directory, aux tools for HP-specific tests.
15892
158931999-08-05 Stan Shebs <shebs@andros.cygnus.com>
15894
15895 * gdb.base/display.exp: Help expect by putting a newline in the
15896 funky printf, remove a bogus p/a test.
15897
158981999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15899
15900 * gdb.base/display.exp: Make sure that when we say 'run', we are
15901 connected to the target. This is necessary when running not
15902 natively.
15903
159041999-08-03 Stan Shebs <shebs@andros.cygnus.com>
15905
15906 * gdb.base/step-test.exp: Removed some extraneous messages.
15907
15908 * gdb.base/long_long.exp: Don't run memory examination tests
15909 on little-endian targets (they will need a different set of
15910 results to match).
15911
159121999-08-02 Stan Shebs <shebs@andros.cygnus.com>
15913
15914 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
15915 until somebody decides to fix GDB.
15916
15917 * gdb.base/long_long.c: Stop compiler complaint by specifying long
15918 constant as "ULL".
15919 * gdb.base/long_long.exp: Loosen x/c test, add partial result
15920 matches for a couple x/2 commands.
15921
159221999-07-30 Stan Shebs <shebs@andros.cygnus.com>
15923
15924 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
15925 by merging in ref-types2 tests.
15926 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
15927
15928 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15929 * gdb.c++/Makefile.in: Add standard actions.
15930 (EXECUTABLES): Rename from PROGS, update list.
15931 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
15932 from gdb.hp.
15933 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
15934 foo and bar locals.
15935 * gdb.c++/anon-union.exp: Fix tests to match.
15936 * gdb.c++/classes.exp: Run if HP compiler used, add extra
15937 expect matches to handle output variations.
15938 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
15939 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
15940 output, add HP alternatives for new and delete prints.
15941 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
15942 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
15943 * gdb.c++/demangle.exp: Use $style when reporting failure.
15944 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
15945 * gdb.c++/inherit.exp: Run if HP compiler used, add some
15946 match alternatives.
15947 * gdb.c++/local.exp: Add match alternatives or xfails for HP
15948 compilers.
15949 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
15950 * gdb.c++/method.exp: Add match alternatives.
15951 * gdb.c++/misc.cc: Add bool types.
15952 * gdb.c++/misc.exp: Add tests for bool types.
15953 * gdb.c++/overload.exp: Add xfails.
15954 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
15955 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
15956 add some more template parameter tests (only for HP currently).
15957 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
15958 * gdb.c++/virtfunc.cc: Add return type and value for main.
15959 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
15960 match alternatives.
15961
159621999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15963
15964 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
15965
159661999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
15967
15968 * gdb.base/signals.exp: Don't expect getting a backtrace from
15969 within a signal handler to fail on Linux.
15970
159711999-07-29 Stan Shebs <shebs@andros.cygnus.com>
15972
15973 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15974 * lib/gdb.exp: Remove some gratuitious semicolons.
15975 (delete_breakpoints): Increase timeout.
15976 (gdb_expect): Add -notransfer option.
15977 (gdb_test): Use -notransfer option.
15978 (get_compiler_info): Add f77 case.
15979 (get_compiler): New proc, split out from gdb_preprocess, add f77
15980 case.
15981 (gdb_preprocess): Call get_compiler.
15982
15983 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
15984 * gdb.base/attach.exp, gdb.base/display.exp,
15985 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
15986 gdb.base/long_long.exp, gdb.base/printcmds.exp,
15987 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
15988 third arg to gdb_test.
15989 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
15990 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
15991 HP-UX xfails, add others.
15992 * gdb.base/completion.exp: Reflect name change of self-test.
15993 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
15994 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
15995 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
15996 HP failure number.
15997 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
15998 useless HP-UX 10.30 references.
15999 * gdb.base/maint.exp: Loosen matches.
16000 * gdb.base/pointers.c (main): Declare more_code.
16001 * gdb.base/pointers.exp: Match on output of a `next'.
16002 * gdb.base/structs.c: Add prototypes.
16003 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
16004 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
16005
160061999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16007
16008 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
16009 command.
16010
160111999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16012
16013 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
16014 Fix run to main failures. Watchpoint can be hardware watchpoint.
16015
16016 * gdb.base/annota1.exp: Clean up some more, in case printf has
16017 debug info. Deal with lack of signal hanlder info in stack.
16018
16019 From Jim Kingdon <kingdon@redhat.com>:
16020 * gdb.base/annota1.exp: If printf has debug info, deal with it.
16021
160221999-07-19 Stan Shebs <shebs@andros.cygnus.com>
16023
16024 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
16025 gdb.base/foll-vfork.exp: Don't run for crosses.
16026
16027Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16028
16029 * gdb.base/configure.in: Check for gdbvars.exp instead of
16030 a1-selftest.exp.
16031 * gdb.base/configure: Re-generate.
16032
160331999-07-12 Stan Shebs <shebs@andros.cygnus.com>
16034
16035 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
16036 in trying to run first and name is too long.
16037
16038 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
16039 pointers2.c and pointers2.exp, respectively.
16040 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
16041 doschk happier.
16042
160431999-07-08 Stan Shebs <shebs@andros.cygnus.com>
16044
16045 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
16046 callfuncs2.c and callfuncs2.exp.
16047
16048 * gdb.base/list.exp: Remove mistaken xfails.
16049 * gdb.base/list0.h: Add optional prototypes.
16050
16051Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
16052
16053 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
16054 calling malloc.
16055 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
16056 * ptype.exp: Move test for get_debug_format to before its first
16057 use.
16058
160591999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16060
16061 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
16062 * gdb.base/annota2.cc, annota2.exp: Move from here.
16063 * gdb.c++/annota2.cc, annota2.exp: To here.
16064 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
16065
16066Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
16067
16068 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
16069 a consistent format.
16070
160711999-06-25 Stan Shebs <shebs@andros.cygnus.com>
16072
16073 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16074 * lib/gdb.exp (get_compiler_info): Add detection for assorted
16075 HP compilers, also set the globals $true and $false.
16076
16077 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
16078 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
16079 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
16080 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
16081 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
16082 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
16083 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
16084 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
16085 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
16086 whatis.c} Add C++ compatible function definitions and return
16087 types, add includes for library functions.
16088 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
16089 * gdb.base/step-test.c (myglob): Rename from glob.
16090 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
16091 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
16092 files, move here from gdb.hp.
16093 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
16094 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
16095 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
16096 Adjust line numbers in regexps.
16097
16098 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
16099 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
16100 instead of 0/1.
16101
16102 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
16103 foll-vfork.exp: New files, move here from gdb.hp.
16104 * gdb.base/page.exp: New file, test of pagination command.
16105
16106 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
16107 recursion test.
16108 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
16109
16110 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
16111 gdb.base/solib.exp: Fix compiler invocation process.
16112
16113 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
16114 HP-UX 11, turn off overload resolution explicitly.
16115 * gdb.base/commands.exp: Set argument list explicitly, add
16116 watchpoint test.
16117 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
16118 them work.
16119 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
16120 expressions properly.
16121 * gdb.base/corefile.exp: Loosen the match slightly.
16122 * gdb.base/default.exp: Allow "Error accessing memory" message
16123 also.
16124 * gdb.base/display.exp: Skip over x/0 j if PA64.
16125 * gdb.base/funcargs.exp: Add xfails for HP-UX.
16126 * gdb.base/interrupt.exp: Ditto.
16127 * gdb.base/langs.exp: Add symbolic matches governed by compiler
16128 in use.
16129 * gdb.base/list.exp: Add xfails for HP-UX.
16130 * gdb.base/long_long.exp: Refine some of the numeric matches.
16131 * gdb.base/mips_pro.exp: Xfail on HP-UX.
16132 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
16133 * gdb.base/nodebug.exp: Succeed on more varieties of output.
16134 * gdb.base/opaque.exp: Remove some HP-UX xfails.
16135 * gdb.base/ptype.exp: Succeed on more varieties of output.
16136 * gdb.base/scope.exp: Add xfails for HP-UX.
16137 * gdb.base/sect-cmd.exp: Add more cases.
16138 * gdb.base/setvar.exp: Add xfails for HP-UX.
16139 * gdb.base/shlib-call.exp: Loosen some matches slightly.
16140 * gdb.base/signals.exp: Match on void symbolically.
16141 * gdb.base/step-test.exp: Add case for PA64.
16142 * gdb.base/term.exp: Add exit and restart.
16143 * gdb.base/twice.exp: Clean up after self.
16144 * gdb.base/varargs.exp: Disable overload resolution explicitly.
16145 * gdb.base/whatis.exp: Allow more ways to pass tests.
16146
16147 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
16148 no longer useful.
16149
16150Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
16151
16152 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
16153 list of patterns.
16154 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
16155 print_double_array(double_array)", "continuing to breakpoint
16156 1018", "print print_double_array(array_d)" and "continuing to
16157 1034" tests.
16158
161591999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
16160
16161 * Makefile.in: Add empty html and install-html targets.
16162
161631999-06-24 Stan Shebs <shebs@andros.cygnus.com>
16164
16165 * config/mt-*: Remove, these haven't been used since 1996.
16166
161671999-06-22 Stan Shebs <shebs@andros.cygnus.com>
16168
16169 * gdb.base/call-strs.c, gdb.base/ending-run.c,
16170 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
16171 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
16172
161731999-06-18 Stan Shebs <shebs@andros.cygnus.com>
16174
16175 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
16176 simpler match case for the ptype of the big class.
16177
161781999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16179
16180 * gdb.exp: Fix test for gdb_prompt existence.
16181
161821999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16183
16184 * gdb.exp (gdb_test): Add fail after calls to perror.
16185
161861999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16187
16188 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
16189
161901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16191
16192 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
16193
16194Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
16195
16196 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
16197 malloc() is linked in.
16198
161991999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16200
16201 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
16202 step at end.
16203
16204 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
16205
162061999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
16207
16208 * gdb.java/jv-print.exp: New file. (Our first Java test!)
16209
16210Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
16211
16212 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
16213 * gdb.base/mips_pro.exp: Likewise.
16214
162151999-06-02 Keith Seitz <keiths@cygnus.com>
16216
16217 * gdb.c++/templates.cc: Change all "new" operators to throw
16218 an exception.
16219 * gdb.c++/cplusfuncs.cc: Likewise.
16220
16221 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
16222
16223Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
16224
16225 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
16226 * gdb.base/ending-run.exp: When stepping out of main, accept a
16227 step into an arbitrary assembler file.
16228
162291999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16230
16231 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
16232 "breakpoint-invalid" to be printed.
16233 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
16234 number of "frames-invalid" and "breakpoint-invalid" to be printed.
16235 * gdb.base/annota2.cc: Initialize a.x to 0.
16236
162371999-05-17 Keith Seitz <keiths@cygnus.com>
16238
16239 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
16240 when "skip_float_tests" set.
16241 Ditto for "print print_double_array(array_d)", "print print_small_structs",
16242 "print print_ten_doubles", and "step into print_long_arg_list".
16243 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
16244 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
16245 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
16246 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
16247 "skip_float_tests" is set.
16248 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
16249 when "skip_float_tests" set.
16250
162511999-05-06 Keith Seitz <keiths@cygnus.com>
16252
16253 * gdb.base/annota2.cc: Include stdio.h.
16254
16255Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
16256
16257 * gdb.base/crossload.exp: Remove, this has been disabled ever
16258 since BFD stopped including all targets, and cross-GDB gets
16259 plenty of testing anyway.
16260 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
16261 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
16262 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
16263 * gdb.base/README: Remove, was doc for this.
16264 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
16265 needed.
16266
162671999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16268
16269 * gdb.base/call-ar-st.exp: Fix one regular expression in test
16270 output.
16271
16272 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
16273 * gdb.base/annota2.exp: New file. More annotation tests.
16274 * gdb.base/annota1.c: New file. Source file for annota1.exp.
16275 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
16276
162771999-04-23 Angela Marie Thomas <angela@cygnus.com>
16278
16279 * config/cfdbug.exp: New file.
16280
162811999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
16282
16283 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
16284 Marcus Daniel's and Dale Hawkins's demangler crashes.
16285
16286 * gdb.c++/demangle.exp (test_gnu_style_demangling,
16287 test_lucid_style_demangling, test_arm_style_demangling,
16288 test_hp_style_demangling): Try Tom Tromey's core-dumping
16289 identifier under each demangling style.
16290
162911999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
16292
16293 * gdb.c++/demangle.exp: Include the current demangling style
16294 in all test names.
16295 (current_demangling_style): New global variable.
16296 (set_demangling_style, test_demangling_core, test_demangling,
16297 test_demangling_exact): New functions.
16298 (test_gnu_style_demangling, test_lucid_style_demangling,
16299 test_arm_style_demangling, test_hp_style_demangling): Use those,
16300 instead of calling gdb_test and gdb_test_exact directly.
16301 (catch_demangling_errors): New function, which reports errors
16302 signalled by the demangling test functions in an orderly way.
16303 (do_tests): Use catch_demangling_errors.
16304
163051999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
16306
16307 * gdb.base/signals.exp (test_handle_all_print): Use () for
16308 grouping in expressions, not {}.
16309
16310 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
16311 initialized yet.
16312
163131999-04-01 Stan Shebs <shebs@andros.cygnus.com>
16314
16315 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
16316 are listed.
16317
163181999-03-26 Stan Shebs <shebs@andros.cygnus.com>
16319
16320 * gdb.stabs/weird.exp: Test for CC being defined before
16321 looking at its value.
16322
163231999-03-25 Stan Shebs <shebs@andros.cygnus.com>
16324
16325 * gdb.base/call-ar-st.exp: Remove stray '#'.
16326 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
16327 "short int" and "long int".
16328 * gdb.c++/overload.cc: Cast the string added in the previous
16329 change, to mollify finicky HP compiler.
16330 * gdb.hp/reg-test.exp (testfile): Fix file name.
16331 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
16332
16333 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
16334 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
16335 alternate form of enum ptype.
16336
163371999-03-23 Stan Shebs <shebs@andros.cygnus.com>
16338
16339 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
16340 * gdb.hp/*.exp: Change all to run compiler probe only after
16341 passing skip_hp_tests, so as not to waste time on guaranteed
16342 failure.
16343
16344 * gdb.c++/overload.cc: Pass string instead of char addr, always
16345 init ccpfoo.
16346 * gdb.c++/templates.cc: Fix syntax error.
16347
16348Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16349
16350 * gdb.base/commands.exp: Add test for correct position of '>'
16351 when issuing the 'commands' command after a 'while' or 'if'
16352 command.
16353
163541999-03-18 James Ingham <jingham@cygnus.com>
16355
16356 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
16357
16358 * gdb.c++/method.exp: It was testing an uninitialized int on the
16359 stack and assuming it was positive.
16360
16361 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
16362
16363 * gdb.base/step-test.exp: Catch a case where finish is broken and
16364 keep it from killing the rest of the tests.
16365 Use gdb_continue_to_end.
16366
16367 * gdb.base/sigall.exp: use gdb_continue_to_end.
16368
16369 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
16370
16371 * gdb.base/display.exp: use runto_main, not run.
16372
16373 * gdb.base/default.exp: Check for the current error message in the
16374 r abbreviation test.
16375 Add strongarm to the targets that know info float.
16376
16377 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
16378 run which doesn't work with monitors.
16379
16380 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
16381
16382 * gdb.base/break.exp: use the gdb_continue_to_end proc.
16383
16384 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
16385 program. Traps the case (in Cygmon) when the program never really
16386 exits. Same as Mark's continue_to_exit, but I had put it in a lot
16387 more places, so I used my name. Sorry Mark...
16388
16389 * config/monitor.exp (gdb_target_monitor): added another
16390 target_info parameter: remotebinarydownload. This will set the
16391 remotebinarydownload flag if this is causing some boards trouble.
16392
163931999-03-18 Mark Salter <msalter@cygnus.com>
16394
16395 * lib/gdb.exp (continue_to_exit): New function.
16396
16397 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
16398 * gdb.base/ending-run.exp: Ditto.
16399 * gdb.base/step-test.exp: Ditto.
16400
164011999-03-16 Stan Shebs <shebs@andros.cygnus.com>
16402
16403 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
16404 (suggested by Art Haas <ahaas@neosoft.com>).
16405
164061999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
16407
16408 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
16409
16410Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
16411
16412 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
16413 descriptions of types (short unsigned int vs unsigned short, etc).
16414
164151999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
16416
16417 * gdb.base/call-strs.exp: Don't assume that `step' will step over
16418 a call to strlen; sometimes we do have sources.
16419
164201999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
16421
16422 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
16423 character, so GDB won't print garbage after its end.
16424
16425 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
16426 breakpoint there instead. Sometimes GCC emits memcpy to handle
16427 the large structures being passed by value, so we step into that
16428 instead of sum_array_print, which obscures what we're really testing.
16429 * gdb.base/step-test.exp: However, we do want a test that notices
16430 the bizarre steps into memcpy, so do that here. Add check for
16431 stepping into function calls that pass large structures by value.
16432 ("Is that a noun clause, or are you just happy to see me?")
16433 Remove all references to specific line numbers.
16434 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
16435 New type and function.
16436 (main): Call large_struct_by_value, passing it a large struct by value.
16437 * lib/gdb.exp (gdb_get_line_number): New function.
16438
16439 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
16440 more portable.
16441
164421999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
16443
16444 * lib/gdb.exp: Doc fixes.
16445
164461999-03-05 Nick Clifton <nickc@cygnus.com>
16447
16448 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
16449
164501999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
16451
16452 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
16453 commands. They're not germane to this test, and they don't work
16454 that way on remote targets.
16455
164561999-03-01 James Ingham <jingham@cygnus.com>
16457
16458 * Changelog entries merged over from gdb development branch.
16459
16460 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
16461
16462 * lib/gdb.exp (gdbtk_analyze_results): Generic function
16463 for outputting results of test run.
16464
16465 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
16466
16467 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
16468
164691999-02-25 Felix Lee <flee@cygnus.com>
16470
16471 * lib/gdb.exp (debug_format): initialize
16472
164731999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
16474
16475 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
16476 * gdb.base/call-rt-st.c: Ditto.
16477
164781999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
16479
16480 * gdb.threads/pthreads.exp (horiz): New variable.
16481 (test_startup): Fix regexps that capture thread numbers.
16482
164831999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
16484
16485 * gdb.base/smoke.exp: Disambiguate two test case names (both
16486 called ``print'').
16487
16488Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
16489
16490 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
16491 compilation.
16492
164931999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
16494
16495 * gdb.base/miscexprs.exp: Change patterns to match GDB's
16496 actual output formatting.
16497 * gdb.base/smoke.exp: GDB removes leading 0's.
16498 * gdb.base/volatile.exp: Don't check type of remuneration;
16499 that variable is no longer defined in constvars.c.
16500 * gdb.base/step-test.c (main): Exit with explicit exit code.
16501 * gdb.base/step-test.exp: Remove two nexti checks--they are
16502 not portable.
16503
165041999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
16505
16506 * gdb.base/help.exp ("help delete display"): Fix test to match
16507 gdb's output.
16508
16509 * gdb.base/long_long.c (known_types): Initialize values to zero.
16510 * gdb.base/long_long.exp: Step one more line
16511 so 'dec' is initialized in "get to known place". GDB removes
16512 leading zeros. Explicitly ask for hex formatting. Use
16513 unique test case names.
16514
16515Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16516
16517 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
16518
16519 * gdb.c++/method.exp: Add missing close brace.
16520
165211999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
16522
16523 * gdb.base/maint.exp: Use 'set height 0' to disable page
16524 prompting, not 'set height 400'.
16525
16526 Fix a bunch of timeouts.
16527 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
16528 four separate tests, so expect doesn't take forever to match a ton
16529 of text against a regexp with lots of .* forms.
16530 ("maint print psymbols", "maint print symbols"): Make some of
16531 these greps more selective, so that expect doesn't try to wade
16532 through huge piles of output and time out.
16533
16534 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
16535
16536 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
16537 tests: one which doesn't expect shlib events to be reported, and
16538 another which does, but is XFAIL for all platforms other than
16539 HP/UX.
16540
16541 * gdb.base/break.exp: Teach the test suite that the `catch
16542 fork', `catch vfork', and `catch exec' commands produce error
16543 messages on platforms that don't provide these features.
16544
16545Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
16546
16547 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
16548 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
16549 (shortening names from solib_threshold.exp etc), won't run on
16550 anything but HP-UX for the foreseeable future.
16551 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
16552 reflect move.
16553
16554Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
16555
16556 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
16557 gdb.trace/Makefile.in (clean): Remove all test executables.
16558
16559Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
16560
16561 * gdb.base/shlib-call.exp: add test cases to verify that gdb
16562 successfully re-sets breakpoints in shared libraries.
16563 * gdb.base/shmain.c (main): return 0, don't fall off the end.
16564
16565Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16566
16567 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
16568 and compiled w/o GCC.
16569
16570 * gdb.hp/watch-cmd.exp: ditto.
16571
16572 * gdb.hp/watch-hp.exp: ditto.
16573
16574 * gdb.hp/xdb1.exp: ditto.
16575
16576 * gdb.hp/xdb2.exp: ditto.
16577
16578 * gdb.hp/dbx.exp: ditto.
16579
16580Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
16581
16582 * constvars.c: Remove C++-isms.
16583 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
16584 with GCC.
16585
16586Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
16587
16588 The following changes are part of the HP merge.
16589
16590 * gdb.base/break.exp: new tests to verify that catchpoints for
16591 fork, vfork, and exec don't trigger inappropriately.
16592
16593 * gdb.base/opaque.exp: compile one file at a time, then link.
16594
16595 * gdb.base/signals.exp: be more restrictive about which hppa
16596 systems receive a setup_xfail. new tests.
16597
16598 * gdb.base/solib_threshold.build: new file.
16599 * gdb.base/solib_threshold.exp: new file.
16600 * gdb.base/solib_threshold.link_opts: new file.
16601 * gdb.base/solib_threshold.mk: new file.
16602 * gdb.base/gen_solib_threshold.c: new file.
16603
16604 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
16605 tests. New tests for enums inside classes.
16606
16607 * gdb.c++/compiler.cc: indicate support of template debugging.
16608
16609 * gdb.c++/demangle.exp: run hp style demangling tests.
16610
16611 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
16612 tests.
16613
16614 * gdb.c++/misc.cc: changes to support new tests.
16615
16616 * gdb.c++/templates.cc: changes to support HP's compiler; changes
16617 to support new tests.
16618
16619 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
16620 gcc, then skip these tests.
16621
16622Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
16623
16624 The following files are part of the HP merge; some had longer
16625 names at HP, but have been renamed to be no more than 14
16626 characters in length.
16627
16628 * gdb.hp/ambiguous.cc: new file.
16629 * gdb.hp/ambiguous.exp: new file.
16630 * gdb.hp/attach.exp: new file.
16631 * gdb.hp/attach2.exp: new file.
16632 * gdb.hp/classes-hp.exp: new file.
16633 * gdb.hp/ctti.exp: new file.
16634 * gdb.hp/ctti-add.cc: new file.
16635 * gdb.hp/ctti-add1.cc: new file.
16636 * gdb.hp/ctti-add2.cc: new file.
16637 * gdb.hp/ctti-add3.cc: new file.
16638 * gdb.hp/dbx.exp: new file.
16639 * gdb.hp/exception.cc: new file.
16640 * gdb.hp/exception.exp: new file.
16641 * gdb.hp/foll-exec.c: new file.
16642 * gdb.hp/foll-exec.exp: new file.
16643 * gdb.hp/foll-fork.c: new file.
16644 * gdb.hp/foll-fork.exp: new file.
16645 * gdb.hp/foll-vfork.c: new file.
16646 * gdb.hp/foll-vfork.exp: new file.
16647 * gdb.hp/inherit-hp.exp: new file.
16648 * gdb.hp/more-steps.exp: new file.
16649 * gdb.hp/namespace.cc: new file.
16650 * gdb.hp/namespace.exp: new file.
16651 * gdb.hp/optimize.exp: new file.
16652 * gdb.hp/pxdb.c: new file.
16653 * gdb.hp/pxdb.exp: new file.
16654 * gdb.hp/quicksort.exp: new file.
16655 * gdb.hp/reg-test.exp: new file.
16656 * gdb.hp/reg-test.s: new file.
16657 * gdb.hp/sized-enum.c: new file.
16658 * gdb.hp/sized-enum.exp: new file.
16659 * gdb.hp/start-stop.exp: new file.
16660 * gdb.hp/templ-hp.cc: new file.
16661 * gdb.hp/templ-hp.exp: new file.
16662 * gdb.hp/thr-lib.c: new file.
16663 * gdb.hp/thr-lib.exp: new file.
16664 * gdb.hp/thr-lib.h: new file.
16665 * gdb.hp/thr-liblib.c: new file.
16666 * gdb.hp/virtfun-hp.c: new file.
16667 * gdb.hp/virtfun-hp.exp: new file.
16668 * gdb.hp/watch-cmd.exp: new file.
16669 * gdb.hp/watch-hp.exp: new file.
16670 * gdb.hp/xdb1.exp: new file.
16671 * gdb.hp/xdb2.exp: new file.
16672 * gdb.hp/xdb3.exp: new file.
16673
16674Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
16675
16676 The following files are part of the HP merge; some had longer
16677 names at HP, but have been renamed to be no more than 14
16678 characters in length.
16679
16680 * gdb.base/ss.h: new file.
16681 * gdb.base/call-ar-st.c: new file.
16682 * gdb.base/call-ar-st.exp: new file.
16683 * gdb.base/call-rt-st.c: new file.
16684 * gdb.base/call-rt-st-exp: new file.
16685 * gdb.base/call-strs.exp: new file.
16686 * gdb.base/ena-dis-br.exp: new file.
16687 * gdb.base/environ.exp: new file.
16688 * gdb.base/long_long.exp: new file.
16689 * gdb.base/sect-cmd.exp: new file.
16690 * gdb.base/shlib-cl2.exp: new file.
16691 * gdb.base/smoke.exp: new file.
16692 * gdb.base/so-impl-ld.c: new file.
16693 * gdb.base/so-impl-ld.exp: new file.
16694 * gdb.base/so-indr-cl.c: new file.
16695 * gdb.base/so-indr-cl.exp: new file.
16696 * gdb.base/varargs.exp: new file.
16697 * gdb.base/volatile.exp: new file.
16698 * gdb.base/whatis-exp.exp: new file.
16699 * gdb.base/display.exp: new file.
16700 * gdb.c++/derivation.exp: new file.
16701 * gdb.c++/local.exp: new file.
16702 * gdb.c++/member-ptr.exp: new file.
16703 * gdb.c++/overload.exp: new file.
16704 * gdb.c++/ovldbreak.exp: new file.
16705 * gdb.c++/ref-types.exp: new file.
16706 * gdb.c++/ref-types2.exp: new file.
16707 * gdb.c++/userdef.exp: new file.
16708
16709Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
16710
16711 * gdb.base/default.exp: Reflect wording change in remote.c.
16712
16713Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
16714
16715 * gdb.base/help.exp: Update to reflect current text.
16716
16717Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
16718
16719 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
16720 they're stack variables and contain garbage.
16721 * gdb.c++/anon-union.exp: new file.
16722
16723 The following changes were made by David Taylor
16724 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16725 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16726 in changes by HP.
16727
16728 * gdb.base/bitops.exp: new file.
16729 * gdb.base/default.exp: change expected messages for catch and
16730 info catch tests to reflect HP merge changes.
16731 * gdb.base/enable-disable-break.exp
16732 * gdb.base/ending-run.c: new file.
16733 * gdb.base/long_long.c: new file.
16734 * gdb.base/maint.exp: new file.
16735 * gdb.base/pointers2.exp: new file.
16736 * gdb.base/shlib-call2.exp: new file.
16737 * gdb.base/solib.exp: new file.
16738 * gdb.base/step-test.c: new file.
16739 * gdb.c++/anon-union.cc: new file.
16740 * gdb.c++/local.cc: new file.
16741 * gdb.c++/member-pointer.cc: new file.
16742 * gdb.c++/method.cc: new file.
16743 * gdb.c++/ref-types.cc: new file.
16744 * gdb.c++/ref-types2.cc: new file.
16745 * gdb.c++/userdef.cc: new file.
16746
16747 * gdb.base/scope.exp: compile one file at a time, then link.
16748 * gdb.base/langs.exp: ditto.
16749 * gdb.base/list.exp: ditto.
16750
16751Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
16752
16753 The following changes were made by David Taylor
16754 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16755 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16756 in changes by HP.
16757
16758 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
16759 skip tests. When compiling pass c++ flag to gdb_compile.
16760 * gdb.c++/
16761
16762 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
16763 test for on hppa*-*-hpux*; use args to see if c++ was specified.
16764 (skip_hp_tests): new function.
16765 (gdb_preprocess): new function.
16766
16767 * configure.in (hpdir): decide whether to configure gdb.hp.
16768 * configure: regenerated.
16769
16770 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
16771 to delete on clean.
16772 (EXECUTABLES): update to reflect new additions.
16773 * gdb.base/commands.exp: update message expected.
16774 * gdb.base/default.exp: add copyright notice.
16775 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
16776 * gdb.base/help.exp: update messages to reflect current text.
16777 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
16778 targets for recurse tests.
16779 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
16780 skip this file.
16781
16782 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
16783 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
16784 compilation.
16785 * gdb.c++/misc.exp: ditto.
16786 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
16787 run the tests. tell gdb_compile that it's a c++ compilation.
16788
16789 * gdb.threads/pthreads.exp: fix typo in message.
16790
16791 * gdb.base/all-bin.exp: new file.
16792 * gdb.base/arithmet.exp: new file.
16793 * gdb.base/assign.exp: new file.
16794 * gdb.base/completion.exp: new file.
16795 * gdb.base/cond-expr.exp: new file.
16796 * gdb.base/condbreak.exp: new file.
16797 * gdb.base/define.exp: new file.
16798 * gdb.base/dollar.exp: new file.
16799 * gdb.base/environment.exp: new file.
16800 * gdb.base/eval-skip.exp: new file.
16801 * gdb.base/jump.exp: new file.
16802 * gdb.base/logical.exp: new file.
16803 * gdb.base/pointers.exp: new file.
16804 * gdb.base/relational.exp: new file.
16805 * gdb.base/section_command.exp: new file.
16806 * gdb.base/whatis-expr.exp: new file.
16807
16808 * gdb.base/all-types.c: new file.
16809 * gdb.base/call-array-struct.c: new file.
16810 * gdb.base/call-return-struct.c: new file.
16811 * gdb.base/call-strings.c: new file.
16812 * gdb.base/callfuncs2.c: new file.
16813 * gdb.base/condbreak.c: new file.
16814 * gdb.base/constvars.c: new file.
16815 * gdb.base/display.c: new file.
16816 * gdb.base/int-type.c: new file.
16817 * gdb.base/jump.c: new file.
16818 * gdb.base/miscexprs.c: new file.
16819 * gdb.base/pointers.c: new file.
16820 * gdb.base/pointers2.c: new file.
16821 * gdb.base/shmain.c: new file.
16822 * gdb.base/shr1.c: new file.
16823 * gdb.base/shr2.c: new file.
16824 * gdb.base/solib.c: new file.
16825 * gdb.base/solib1.c: new file.
16826 * gdb.base/solib2.c: new file.
16827 * gdb.base/varargs.c: new file.
16828 * gdb.c++/derivation.cc: new file.
16829 * gdb.c++/overload.cc: new file.
16830 * gdb.c++/ovldbreak.cc: new file.
16831 * gdb.hp/attach.c: new file.
16832 * gdb.hp/attach2.c: new file.
16833 * gdb.hp/average.c: new file.
16834 * gdb.hp/compiler.c: new file.
16835 * gdb.hp/compiler.cc: new file.
16836 * gdb.hp/execd-program.c: new file.
16837 * gdb.hp/follow-exec.c: new file.
16838 * gdb.hp/follow-fork.c: new file.
16839 * gdb.hp/follow-vfork-and-exec.c: new file.
16840 * gdb.hp/misc-hp.cc: new file.
16841 * gdb.hp/more-steps.c: new file.
16842 * gdb.hp/optimize.c: new file.
16843 * gdb.hp/quicksort.c: new file.
16844 * gdb.hp/run-hp.c: new file.
16845 * gdb.hp/start-stop.c: new file.
16846 * gdb.hp/sum.c: new file.
16847 * gdb.hp/templates-hp.cc: new file.
16848 * gdb.hp/thread-local-in-lib.c: new file.
16849 * gdb.hp/thread-local-in-lib.h: new file.
16850 * gdb.hp/thread-local-in-lib.lib.c: new file.
16851 * gdb.hp/vforked-program.c: new file.
16852 * gdb.hp/virtfunc-hp.cc: new file.
16853 * gdb.hp/watchpoint-hp.c: new file.
16854 * gdb.hp/xdb.c: new file.
16855 * gdb.hp/xdb0.c: new file.
16856 * gdb.hp/xdb0.h: new file.
16857 * gdb.hp/xdb1.c: new file.
16858
16859Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
16860
16861 The following change was made by Edith Epstein
16862 <eepstein@cygnus.com> as part of a project to merge in changes
16863 originally made by HP; HP did not create ChangeLog entries.
16864
16865 * gdb.c++/demangle.exp: changed the expected output for some
16866 ARM-style mangling -- removed second reference to datatype.
16867 For example, maint demangle __dt__11T1__pt__2_cFv
16868 T1<char>::~T1<char>(void)
16869 becomes,
16870 maint demangle __dt__11T1__pt__2_cFv
16871 T1<char>::~T1(void)
16872
16873 (test_hp_style_demangling): new hp specific demangling test cases.
16874
16875Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
16876
16877 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
16878 * gdb.trace/backtrace.exp: Likewise.
16879 * gdb.trace/circ.exp: Likewise.
16880 * gdb.trace/collection.exp: Likewise.
16881 * gdb.trace/deltrace.exp: Likewise.
16882 * gdb.trace/infotrace.exp: Likewise.
16883 * gdb.trace/limits.exp: Likewise.
16884 * gdb.trace/packetlen.exp: Likewise.
16885 * gdb.trace/passc-dyn.exp: Likewise.
16886 * gdb.trace/passcount.exp: Likewise.
16887 * gdb.trace/report.exp: Likewise.
16888 * gdb.trace/save-trace.exp: Likewise.
16889 * gdb.trace/tfind.exp: Likewise.
16890 * gdb.trace/tracecmd.exp: Likewise.
16891 * gdb.trace/while-dyn.exp: Likewise.
16892 * gdb.trace/while-stepping.exp: Likewise.
16893
168941998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
16895
16896 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
16897
16898Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
16899
16900 From Brendan Kehoe:
16901 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
16902 int return types.
16903
16904Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
16905
16906 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
16907 remote dos host testing right.
16908
16909Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
16910
16911 * gdb.base/corefile.exp: remove some xfails.
16912
16913Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
16914
16915 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
16916 have different timestamps.
16917
16918Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
16919
16920 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
16921 gdb.base/default.exp: Replace "exec" with "executable".
16922
16923Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
16924
16925 * gdb.base/default.exp: Change else if to elseif from previous
16926 delta.
16927
16928Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
16929
16930 * gdb.base/default.exp: Add brace missing from previous delta.
16931
16932Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
16933
16934 * gdb.base/default.exp: Support test for info float for all
16935 varieties of arm toolchain.
16936
16937Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
16938
16939 * gdb.trace/*.exp: remove "remote_download" command.
16940
16941Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
16942
16943 * gdb.trace/*.exp: remove -gdwarf from compile.
16944
16945Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
16946
16947 * gdb.trace/configure.in(AC_INIT): typo
16948 * gdb.trace/configure: regenerated
16949
16950Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
16951
16952 * config/m68k-emc.exp: New file.
16953 * lib/<emc-support.exp trace-support.exp}: New files.
16954 * configure.in: add new test directory gdb.trace.
16955 * gdb.trace/{configure configure.in Makefile.in}: New files.
16956 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
16957 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
16958 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
16959 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
16960 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
16961 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
16962 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
16963
16964Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
16965
16966 * gdb.c++/classes.exp: Change all regular expressions to match
16967 arbitrary combinations of newline/carriage-return, so that they
16968 will work equally well on Unix and Windows.
16969 * gdb.c++/inherit.exp: ditto.
16970 * gdb.c++/virtfunc.exp: ditto.
16971
169721998-08-11 Dawn Perchik <dawn@cygnus.com>
16973
16974 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
16975
16976Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
16977
16978 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
16979 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
16980 to use a0-a3/d0-d3 as needed.
16981
16982Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
16983
16984 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
16985 * gdb.disasm/am33.exp: Corresponding changes.
16986
169871998-07-11 Felix Lee <flee@cygnus.com>
16988
16989 * gdb.base/callfuncs.exp: add cmp10 test.
16990 * gdb.base/callfuncs.c (cmp10): new function.
16991
16992Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
16993
16994 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
16995 into two parts to get around a synchronization problem in expect.
16996
16997Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
16998
16999 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
17000
17001 * configure.in: Add options for gdbtk testsuite.
17002
17003 * configure: Regenerate.
17004
17005 * gdb.gdbtk: New directory to hold gdbtk tests.
17006
17007Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17008
17009 * gdb.fortran/types.exp: Escape brackets in expect patterns
17010 for test_float_literal_types_accepted tests.
17011 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
17012 before run test.
17013
17014Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
17015
17016 * am33.exp: Just compile, do not link the testcase.
17017 * am33.s: Add ".am33" pseudoop to force am33 mode.
17018
170191998-06-25 Felix Lee <flee@cygnus.com>
17020
17021 * gdb.base/setshow.exp: make sure $pc is sane.
17022
17023 * gdb.stabs/weird.exp: split expect patterns properly.
17024
17025Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
17026
17027 * gdb.disasm/am33.s: New disassembler testfile for the am33.
17028 * gdb.disasm/am33.exp: Run it.
17029
17030Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
17031
17032 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
17033 match processing (and eliminate spurious timeouts when running).
17034
17035Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
17036
17037 * gdb.base/signals.exp (test_handle_all_print): put back Mach
17038 exception test, but conditionalize it on target [mach | gnu].
17039
17040Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
17041
17042 * gdb.base/overlays.exp: fixup compile line for linker script.
17043
17044Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
17045
17046 * gdb.fortran/types.exp: don't guess at float size.
17047
17048Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
17049
17050 * gdb.base/exprs.exp: delete test that depends on int size.
17051
17052Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
17053
17054 * config/sim.exp: Removed checks for target triplets.
17055 (gdb_target_sim): Use gdb,target_sim_options.
17056
17057Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
17058
17059 * gdb.base/reread.exp: New file.
17060 * gdb.base/reread1.c: New file.
17061 * gdb.base/reread2.c: New file.
17062
17063Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
17064
17065 * config/sim.exp: Use 'target sim -sparclite' when running
17066 SPARClite programs.
17067
17068Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
17069
17070 * gdb.base/structs2.exp: New file.
17071 * gdb.base/structs2.c: New file.
17072
17073Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
17074
17075 * gdb.asm/common.inc: New file.
17076 * gdb.asm/d10v.inc: New file.
17077 * asm-source.exp: Pass -I's to gas to find .inc files.
17078 Update line numbers in expected output.
17079 * asmsrc1.s: Rewrite.
17080 * asmsrc2.s: Rewrite.
17081 * configure.in: Create arch.inc symlink.
17082 * configure: Regenerate.
17083 * Makefile.in (distclean): Delete arch.inc.
17084
17085Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
17086
17087 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
17088 (t_enum_value2): ditto
17089 (t_enum_value3): ditto
17090 (main): ditto
17091Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17092
17093 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
17094 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
17095 change.
17096 Use gdb_test instead of send_gdb/gdb_expect sequences.
17097
17098Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
17099
17100 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
17101 not void.
17102
17103Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
17104
17105 * gdb.base/branches.c: Code with lots of loops and
17106 subroutines. Used to test gdbs ability to single step through PC
17107 changes, especially to test mips-tdep.c:mips_next_pc
17108
17109Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
17110
17111 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
17112 more rigorous EGCS C++ error checking.
17113
17114Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17115
17116 * gdb.base/help.exp: Clean up `help set args' and `help show args'
17117 tests.
17118 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
17119 function when asleep.
17120 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
17121 for i*86 Linux and SVR4 signal handling problems.
17122 Remove linux xfail for `next to handler in signals_tests_1', fixed
17123 by recent infrun.c change.
17124 Limit backtrace to 10 frames to avoid timeout problems with infinite
17125 stack backtraces.
17126 Adjust expect pattern in `handle all print' test to match Apr 28 1997
17127 target.[ch] change.
17128
17129Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
17130
17131 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
17132 for a newline from gdb before continuing.
17133 (default_gdb_exit): Just look for y or n.
17134 (gdb_test): Detect abnormal exit from GDB running on DOS; if
17135 it does, fail the rests of the tests in the file.
17136
17137Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
17138
17139 * config/cygmon.exp: New file.
17140
17141Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
17142
17143 * gdb.base/list.exp: Fix problem with "list default lines around
17144 main" test on remote targets.
17145
17146 * gdb.base/scope.exp: Fix problem with filelocal_bss before
17147 run test on remote targets.
17148
17149Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
17150
17151 * gdb.asm: New directory.
17152 * configure.in: Configure it.
17153 * configure: Regenerate.
17154 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
17155 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
17156
17157Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
17158
17159 * config/mn10300-eval.exp: New file to support MN10300 eval board.
17160
17161Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
17162
17163 * gdb.base/overlays (several files): Merge the two overlay
17164 managers into one. Change variables (foox, barx, bazx, grbxx)
17165 back into ints but force them to load in their proper sections.
17166
17167Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
17168
17169 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
17170 on-chip insn memory and IMAP1 to upper 128k.
17171 (D10VCopy): Handle memory regions crossing 16k boundaries.
17172 (D10VCopy): Transfer data in 32 bit chunks.
17173
17174Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
17175
17176 * gdb.base/overlays.c (main): Exit normally when result is
17177 correct.
17178
17179 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
17180 map. Include space for printf in .text segment.
17181
17182 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
17183 updated d10v memory VMA/LMA map.
17184 (D10VCopy): Call D10VTranslate.
17185
17186Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
17187
17188 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
17189
17190 * gdb.base/bar.c (barx, bar): Change variable to small array so
17191 that it won't be put into the .sdata - small data -
17192 section. Update reference.
17193 * gdb.base/baz.c (bazx, baz): Ditto.
17194 * gdb.base/foo.c (foox, foo): Ditto.
17195 * gdb.base/grbx.c (grbxx, grbx): Ditto.
17196
17197 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
17198 to be arrays.
17199
17200Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
17201
17202 * gdb.base/overlays.exp: fix up and get working again.
17203 Add tests for backtraces from an overlay function.
17204
17205Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
17206
17207 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
17208 "calling function with watchpoint enabled".
17209
17210Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
17211
17212 * gdb.base/break.exp (test_next_with_recursion): Remove
17213 gdb_suppress_tests for d10v-*-*.
17214 * lib/gdb.exp (gdb_suppress_tests): Disable this function
17215 pending review of whether it is useful or not.
17216
17217Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
17218
17219 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
17220
17221Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
17222
17223 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
17224 * config/dve.exp: New file to support Densan boards.
17225
17226Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
17227
17228 * gdb.base/interrupt.exp: Document problem of simulators, signals,
17229 reads and BSD.
17230
17231Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
17232
17233 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
17234 response.
17235
17236 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
17237
17238Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
17239
17240 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
17241 test.
17242
17243 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
17244 target_sizeof_long and target_bigendian_p.
17245 (structs_by_value, structs_by_reference): Check values according
17246 to targets word size and endianess.
17247
17248Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
17249
17250 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
17251 output.
17252
17253Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
17254
17255 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
17256 Update test of set args help to match source change.
17257
17258Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
17259
17260 * gdb.base/default.exp: Expect help system output to be in
17261 alphabetical order.
17262 * gdb.base/help.exp: Ditto.
17263
17264Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
17265
17266 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
17267 "i*86-pc-linux-gnu*".
17268 * gdb.base/interrupt.exp: Ditto.
17269 * gdb.base/corefile.exp: Ditto.
17270
17271 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
17272 define vxworks when building the testcase.
17273
17274 * gdb.base/ptype.exp: Fix testnames to be unique.
17275 * gdb.base/radix.exp: Ditto.
17276 * gdb.base/term.exp: Ditto.
17277 * gdb.base/whatis.exp: Ditto.
17278 * gdb.c++/classes.exp: Ditto.
17279
17280Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
17281
17282 * gdb.base/callfuncs.exp: Fix indentation.
17283
17284 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
17285 suppress_flag has been set.
17286 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
17287 target feature.
17288
17289Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
17290
17291 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
17292 the testcase.
17293
17294 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
17295 set_debug_traps() and breakpoint().
17296 * gdb.c++/misc.cc (main): Ditto.
17297 * gdb.c++/templates.cc (main): Ditto.
17298 * gdb.c++/virtfunc.cc (main): Ditto.
17299
17300Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
17301
17302 * lib/gdb.exp(gdb_step_for_stub): New function.
17303 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
17304 exists, reload the executable and do a "continue" instead of
17305 doing a jump.
17306 (runto_main): Use gdb_step_for_stub.
17307
17308 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
17309 tests to have unique names.
17310 * gdb.base/callfuncs.exp: Ditto.
17311 * gdb.base/commands.exp: Ditto.
17312 * gdb.base/default.exp: Ditto.
17313 * gdb.base/help.exp: Ditto.
17314 * gdb.base/list.exp: Ditto.
17315 * gdb.base/opaque.exp: Ditto.
17316 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
17317 similar tests.
17318
17319 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
17320 * gdb.c++/cplusfuncs.cc: Ditto.
17321 * gdb.c++/virtfunc.cc: Ditto.
17322
17323 * config/monitor.exp: Keep track of the last file we saw, rather
17324 than trying to get the info from gdb.
17325
17326 * gdb.fortran/types.exp: Move comment to previous line.
17327
17328Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
17329
17330 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
17331 target mode.
17332
17333Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
17334
17335 From Bob Manson:
17336 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
17337 string from GDB when it connects.
17338
17339 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
17340
17341Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
17342
17343 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
17344 if we can't get a debug format from GDB (we may be testing an
17345 older GDB). Use a 10 second timeout when checking for the format.
17346
17347 * gdb.stabs/weird.exp: Fix quoting.
17348
17349 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
17350
17351Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
17352
17353 * config/arm-ice.exp: New file.
17354
17355Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
17356
17357 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
17358 until it has been modified to work with the new testsuite.
17359
17360 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
17361 testcase won't compile, cause all of the testcases in the file to
17362 fail instead.
17363
17364 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
17365 (gdb_clear_suppressed): New procedure.
17366 (gdb_stop_suppressing_tests): Only clear suppress_flag if
17367 it contains a positive value.
17368
17369Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
17370
17371 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
17372
17373 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
17374
17375Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
17376
17377 * lib/gdb.exp (setup_xfail_format): New function.
17378 (get_debug_format): New function to get debug format.
17379 (debug_format): New global variable to hold last value set
17380 by get_debug_format.
17381 * gdb.base/list.exp: Call get_debug_format and expect some
17382 tests to fail for DWARF 1 and COFF formats.
17383 * gdb.c++/ptype.exp: Ditto.
17384 * gdb.c++/classes.exp: Ditto.
17385 * gdb.c++/cplusfuncs.exp: Ditto.
17386 * gdb.c++/inherit.exp: Ditto.
17387 * gdb.c++/templates.exp: Ditto.
17388 * gdb.c++/virtfunc.exp: Ditto.
17389
17390Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
17391
17392 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
17393 host doesn't have a currently-open connection.
17394
17395 * config/sparclet.exp: Cleanups and fixes to make it generic for
17396 any gdb stub target. Handle cases where gdb doesn't respond when
17397 interrupted in a sane fashion.
17398
17399 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
17400 same thing in a totally different way.
17401
17402 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
17403 setting "timeout".
17404 (gdb_start): We set the global gdb_prompt variable in
17405 default_gdb_init now.
17406
17407Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
17408
17409 * gdb.base/printcmds.exp: Fix "check for floating addition"
17410 regexp to accept results within approx +/- .01 of exact value.
17411 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
17412
17413Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
17414
17415 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
17416 properly.
17417 (gdb_expect): Add optional timeout parameter, and add timeout
17418 value to various calls.
17419 (gdb_suppress_tests): Only give one warning message per group.
17420
17421Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
17422
17423 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
17424 global variables. Handle getting a value for $timeout more
17425 gracefully.
17426
17427Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
17428
17429 * lib/gdb.exp: Close connection to remote host if gdb doesn't
17430 initialize.
17431 (default_gdb_init): New procedure; allow gdb_init to be overridden
17432 by a target configuration file.
17433 (gdb_expect): Pass the timeout to remote_expect.
17434
17435 * config/monitor.exp(gdb_load): Fix typo in regexp.
17436
17437Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
17438
17439 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
17440
17441Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
17442
17443 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
17444 here. Call gdb_target_exec before rebooting the target, to make
17445 sure the connection to the target is closed.
17446 (gdb_load): Pass the name of the executable to gdb_target_monitor.
17447 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
17448 Also detect "Timeout reading from remote" error.
17449
17450 * config/gdbserver.exp: Pass the executable being loaded to
17451 gdb_target_monitor. Don't call gdb_file_cmd here; let
17452 gdb_target_monitor do it.
17453
17454 * gdb.disasm/hppa.exp: Don't use exec_output.
17455
17456Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
17457
17458 * gdb.base/list.exp: If we're debugging a non-native target,
17459 try to set the pc register to point to the start of the
17460 program before doing the first list command.
17461
17462 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
17463 test_calls after restarting.
17464
17465 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
17466 reloading.
17467
17468 * gdb.base/watchpoint.exp: Fix typo.
17469
17470 * gdb.base/setshow.exp: Check for use_gdb_stub.
17471
17472 * gdb.base/break.exp: Fix continue until exit test for the gdb
17473 stub case.
17474 * gdb.base/langs.exp: Ditto.
17475
17476 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
17477 gdb_load_offset. If we weren't given a file to load, figure out
17478 what the current file is and use it.
17479
17480 * config/i386-bozo.exp: New file.
17481
17482Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
17483
17484 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
17485 feature.
17486
17487 * config/proelf.exp: New entry.
17488
17489Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
17490
17491 * lib/gdb.exp: Remove spurious .* patterns at the beginning
17492 of regexps.
17493
17494 * gdb.base/watchpoint.exp: Don't run the test_stepping
17495 tests if gdb can't call functions on the target.
17496
17497 * gdb.base/setshow.exp: Don't run the set prompt tests if
17498 the board has gdb_prompt set.
17499
17500Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
17501
17502 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
17503 * gdb.base/commands.exp: Likewise.
17504 * gdb.base/setshow.exp: Likewise.
17505
17506Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
17507
17508 * config/monitor.exp(gdb_start): Look for gdb_prompt target
17509 feature.
17510
17511 * config/i960.exp: New file.
17512
17513Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
17514
17515 * gdb.base/funcargs.exp: Check for gdb,short_int target
17516 feature instead of looking for explicit target triplets.
17517
17518Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
17519
17520 * gdb.base/printcmds.exp: add a couple more tests a la
17521 "p 123DEADBEEF", to check parse_number.
17522 * top.c: change "to enable to enable" to "to enable" in a couple
17523 of help strings.
17524
17525Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
17526
17527 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
17528 on the mn10300.
17529
17530Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
17531
17532 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
17533 where the test executable is run with explicit args.
17534 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
17535
17536Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
17537
17538 * gdb.base/run.c: Use FAKEARGV to build test executable that
17539 does not require a command line arg, since most simulators
17540 don't currently support passing such an arg into the simulated
17541 program.
17542 * gdb.base/commands.exp: Change tests to insert the proper
17543 value as the arg to the first recursive factorial call. Change
17544 compilation line to define FAKEARGV at compile time.
17545
17546Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
17547
17548 * gdb.base/recurse.exp: Enable these tests for the mn10300.
17549 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
17550 function with watchpoint enabled" test.
17551
17552Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
17553
17554 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
17555 Don't call gdb_test when the command doesn't return to a gdb prompt.
17556
17557 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
17558 "Tests restarted" messages.
17559
17560Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
17561
17562 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
17563
17564Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
17565
17566 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
17567 for INFO SYMBOL; add help tests for OVERLAY commands.
17568 * gdb.base/default.exp: add tests for INFO SYMBOL command;
17569 add tests for OVERLAY commands
17570 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
17571 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
17572 * gdb.base/sigall.c: add usestubs code frag
17573 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
17574
17575Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
17576
17577 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
17578 failures.
17579 (gdb_stop_suppressing_tests): Note that tests have restarted.
17580
17581Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
17582
17583 * config/h8300.exp: New file.
17584
17585Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
17586
17587 * gdb.base/setshow.exp: Check for the existence of a
17588 feature, not its value.
17589
17590Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
17591
17592 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
17593
17594 * gdb.base/scope.exp: It's now init0(), not init().
17595
17596 * gdb.base/scope0.c: For now, change init() to be init0().
17597
17598 * config/monitor.exp: Use gdb_serial in preference to serial
17599 or netport.
17600
17601 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
17602 and it's not already set.
17603
17604Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
17605
17606 * gdb.base/setshow.exp: Only test the run command if the target
17607 isn't using a stub and if it supports argument passing.
17608
17609Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
17610
17611 * config/udi.exp(gdb_start): Make sure UDICONF is set
17612 properly before starting gdb.
17613
17614Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
17615
17616 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
17617 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
17618 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
17619
17620Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
17621
17622 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
17623 specialized code to reboot the board, use remote_reboot instead.
17624
17625 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
17626
17627 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
17628
17629 * config/monitor.exp: Make sure we disconnect from the target.
17630 Also, try a reboot/reload cycle instead of failing if the
17631 load fails.
17632
17633Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
17634
17635 * gdb.base/default.exp: Don't set match_max.
17636 * gdb.base/help.exp: Ditto.
17637 * gdb.base/list.exp: Ditto.
17638 * gdb.base/signals.exp: Ditto.
17639
17640 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
17641 set, use remote_ld to download the testcase instead of
17642 the GDB loader.
17643
17644Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
17645
17646 * config/vr5000.exp: New file.
17647
17648 * config/monitor.exp(gdb_target_monitor): Add pattern for
17649 "Ending remote" to detect errors in connecting.
17650
17651 * gdb.base/setshow.exp: Add .* within auto language test.
17652
17653 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
17654 target feature.
17655
17656 * config/monitor.exp(gdb_load): Check for a failure when loading,
17657 and reboot the board if necessary.
17658
17659 * gdb.base/setvar.exp(test_set): Handle multiple prints within
17660 a set of tests. Remove print.* from the patterns being checked.
17661
17662Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
17663
17664 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
17665 refer to gdb_spawn_id.
17666
17667 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
17668 longer used.
17669 * config/sparclet.exp: Ditto.
17670 * config/sparclet-old.exp: Ditto.
17671 * config/slite.exp: Ditto.
17672 * config/sim.exp: Ditto.
17673 * gdb.base/funcargs.exp: Ditto.
17674
17675 * lib/gdb.exp:Remove references to gdb_spawn_id.
17676 (gdb_expect): Move to remote.exp.
17677
17678Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
17679
17680 * config/monitor.exp: Detect the "Couldn't establish connection"
17681 message from GDB.
17682
17683Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
17684
17685 * gdb.base/bitfields.exp: Use runto instead of explicit
17686 gdb_run_cmd/gdb_expect sequences.
17687
17688 * gdb.base/break.exp(text_next_with_recursion): Add match for
17689 gdb_expect call.
17690
17691 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
17692 We also need to handle the "A program is being debugged already"
17693 prompt from gdb. Use gdb_test to set the baud rate.
17694
17695 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
17696 to 20000. Really. I mean it.
17697
17698Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
17699
17700 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
17701 fails. If suppress_flag is set, skip perror message about not
17702 being able to send to GDB.
17703 (send_gdb): If suppress_flag is set, don't try to send commands to
17704 GDB.
17705 (gdb_expect): If suppress_flag is set, always fail immediately.
17706 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
17707 (gdb_init): Call gdb_stop_suppressing_tests.
17708 (default_gdb_exit): Ditto.
17709 (default_gdb_start): Ditto.
17710
17711 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
17712 gdb_stop_suppressing_tests as appropriate.
17713 * gdb.base/break.exp: Ditto.
17714 * gdb.base/callfuncs.exp: Ditto.
17715 * gdb.base/commands.exp: Ditto.
17716 * gdb.base/exprs.exp: Ditto.
17717 * gdb.base/funcargs.exp: Ditto.
17718 * gdb.base/list.exp: Ditto.
17719 * gdb.base/recurse.exp: Ditto.
17720 * gdb.base/scope.exp: Ditto.
17721 * gdb.base/structs.exp: Ditto.
17722 * gdb.c++/inherit.exp: Ditto.
17723
17724Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
17725
17726 * config/vr4300.exp: New file.
17727
17728 * gdb.*/*.exp: Call gdb_expect instead of expect.
17729
17730 * lib/gdb.exp(gdb_expect): New function.
17731
17732Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
17733
17734 * lib/gdb.exp(gdb_init): New function.
17735
17736 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
17737 for each individual variable set.
17738
17739 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
17740 name.
17741
17742 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
17743
17744 * gdb.base/scope.exp: Use gdb_test.
17745
17746 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
17747 aborting; the testsuite driver will do that for us (see
17748 gdb_finish). Also, use gdb_test in a few more places.
17749
17750Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
17751
17752 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
17753
17754Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
17755
17756 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
17757 and "add_tests" are not at the same address.
17758
17759Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
17760
17761 * gdb.base/ptype.exp: Use gdb_test.
17762
17763Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
17764
17765 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
17766 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
17767 left in. No longer expect them to fail.
17768
17769 * gdb.stabs/*.mt; Deleted, no longer used.
17770 * gdb.stabs/configure.in: Remove references to target makefile
17771 frags.
17772 * gdb.stabs/configure: Rebuilt.
17773
17774 * gdb.disasm/*.mt: Deleted, no longer used.
17775 * gdb.disasm/configure.in: Remove references to target makefile
17776 frags. Use "sh3.s" as the unique filename for this directory.
17777 * gdb.disasm/configure: Rebuilt.
17778
17779 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
17780 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
17781 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
17782
17783Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
17784
17785 * config/udi.exp: Use mondfe,name instead of remote_host.
17786
17787Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
17788
17789 * gdb.base/watchpoint.exp: Don't expect a failure when calling
17790 a function with a watchpoint enabled on the mn10200.
17791
17792 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
17793 before trying to create it!
17794
17795Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
17796
17797 * config/vx.exp: Use hostname instead of netport.
17798
17799 * config/vxworks.exp: New file.
17800
17801 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
17802
17803 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
17804 gdb before assuming everything worked. Send a ^C if a timeout
17805 occurs.
17806
17807 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
17808 $gdb_spawn_id directly.
17809 (gdb_run_cmd): Try _start as well as start. Use the target feature
17810 gdb,start_symbol as the symbol to start from when jumping.
17811
17812Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
17813
17814 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
17815 redundant) test.
17816
17817 * gdb.base/recurse.exp: Relax final value test for 'b' so that
17818 it doesn't lose for 16bit integer systems.
17819
17820Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
17821
17822 * gdb.fortran/types.exp: If the target doesn't support "double"
17823 data types, then expect "real" types to only be 4 bytes.
17824
17825 * gdb.c++/virtfunc.exp: Expect failure for virtual function
17826 call tests if the target doesn't support inferior function calls.
17827
17828 * gdb.base/printcmds.exp: Allow minor deviation in FP values
17829 in printf tests.
17830
17831Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
17832
17833 * gdb.base/help.exp: Disable "help set", "help show", and
17834 "help support". Simplify regexp for "help stack".
17835
17836 * gdb.base/default.exp: Set match_max to 5000 and the timeout
17837 to 60 seconds. Temporarily set match_max to 15000 around the
17838 "info copying" test.
17839
17840 * gdb.base/nodebug.exp: Don't try to do an inferior function
17841 call if the target doesn't support them.
17842 * gdb.base/printcmds.exp: Likewise.
17843 * gdb.base/setvar.exp: Likewise.
17844 * gdb.base/structs.exp: Likewise.
17845 * gdb.c++/templates.exp: Likewise.
17846 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
17847
17848 * gdb.base/recurse.exp: Enable for the mn10200.
17849
17850 * configure.in: Do configure gdb.stabs directory for *-*-elf
17851 targets.
17852 * configure: Rebuilt.
17853
17854 * gdb.base/break.exp: Check for gdb,noresults before testing
17855 exit status and/or results from the target.
17856 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
17857 * lib/gdb.exp: Remove old (now bogus) initialization of
17858 noinferior, noargs, noresults and nosignals.
17859
17860Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
17861
17862 * config/sh.exp: New file.
17863
17864 * config/slite.exp: Try to connect multiple times to the board
17865 before rebooting. Only send a "monitor run" if need_monitor_run
17866 is set.
17867
17868 * gdb.base/break.exp: Don't do the "stub continue" test if
17869 the target has gdb_stub set.
17870
17871 * gdb.base/callfuncs.exp: Increase the timeout.
17872
17873 * gdb.base/interrupt.exp: Don't even try to compile the testcase
17874 if the target has gdb,noinferiorio set.
17875
17876 * gdb.base/list.exp: Increase match_max to 10000 characters.
17877
17878 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
17879
17880 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
17881 target.
17882
17883 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
17884
17885Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
17886
17887 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
17888 trying to delete the copy of gdb. Catch the file delete so we
17889 don't die if the delete fails; also, the file should be copied to
17890 the host, not to the build.
17891
17892Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
17893
17894 * lib/gdb.exp(gdb_test): Surround the result pattern with
17895 parenthesis in case it contains multiple regexps separated
17896 with |.
17897
17898 * gdb.base/watchpoint.exp: Use gdb_test.
17899 * gdb.base/default.exp: Ditto.
17900
17901Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
17902
17903 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
17904
17905 * gdb.base/scope.exp: Use gdb_test.
17906 * gdb.c++/classes.exp: Ditto.
17907 * gdb.c++/inherit.exp: Ditto.
17908
17909Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
17910
17911 * gdb.base/crossload.exp: Don't use execute_anywhere, use
17912 remote_exec instead.
17913 * gdb.base/corefile.exp: Don't be ridiculous.
17914 * gdb.base/*.c: Add missing stub invocations.
17915
17916Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
17917
17918 * config/slite.exp: Miscellaneous fixes.
17919
17920 * lib/gdb.exp: Fix runto.
17921
17922 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
17923 the target.
17924
17925 * gdb.base/watchpoint.exp: Fix regexp.
17926
17927 * lib/gdb.exp(default_gdb_exit): Add a catch to the
17928 close and wait commands, as the descriptor may now be
17929 invalid. Always call "remote_close host".
17930
17931Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
17932
17933 Major rewrite for testsuite revision.
17934
17935 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
17936 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
17937 instead of relying on spawn_id to always contain a valid
17938 spawn id.
17939 (get_compiler_info): New procedure to build the ${binfile}.ci
17940 file, instead of replicating this in N different places.
17941 (gdb_compile): New procedure.
17942
17943 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
17944 appropriate arguments) instead of compile. Use gdb_test in a lot
17945 more places. Use send_gdb instead of send. Always run gdb_start
17946 at the start of a testcase, as this is no longer done magically.
17947
17948 config/*-gdb.exp: Rename without the -gdb suffix.
17949
17950 config/mips.exp: Use remote_close instead of exit_remote_shell.
17951 config/monitor.exp: Use target_info instead of looking at
17952 baud, timeout, etc.
17953 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
17954
17955Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17956
17957 * gdb.c++/templates.exp (test_ptype_of_templates),
17958 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
17959 Update expect patterns for destructors and assignment operators
17960 to match corresponding c-typeprint.c changes.
17961 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
17962 to destructor breakpoint test, GDB should be able to set the
17963 destructor breakpoint without specifying arguments.
17964
17965Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
17966
17967 * gdb.threads/pthreads.exp: Change result for failure to compile due
17968 to lack of pthreads runtime support from an error to simply an
17969 unsupported test, per dejagnu standards.
17970
17971Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17972
17973 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
17974 where GDB exits to reduce pattern match time.
17975 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
17976
17977 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
17978
17979Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
17980
17981 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
17982 * gdb.base/default.exp: ditto.
17983 * gdb.base/nodebug.exp: ditto.
17984 * gdb.base/printcmds.exp: ditto.
17985 * gdb.base/ptype.exp: ditto.
17986 * gdb.base/setvar.exp: ditto.
17987 * gdb.base/structs.exp: ditto.
17988 * gdb.base/setshow.c: Guard against uninitialized values of argc.
17989
17990Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
17991
17992 * configure, */configure: Rebuild with autoconf 2.12.
17993
17994Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
17995
17996 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
17997 use new i*86-pc-linux*-gnu quads.
17998 * gdb.base/corefile.exp: Ditto.
17999 * gdb.base/signals.exp: Ditto.
18000 * gdb.base/sigall.exp: Ditto.
18001 * gdb.base/interrupt.exp: Ditto.
18002
18003 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
18004 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
18005 RedHat 4.0.
18006
18007 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
18008 linux. This allows the test case to at least compile on latest
18009 linux, but still not run due to missing the threads runtime library.
18010
18011Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18012
18013 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
18014 directory to search gdb directory. Accept and step over conditional
18015 stack alignment code. Consume $prompt in failure cases.
18016 Reset timeout to $oldtimeout instead of some arbitrary value.
18017 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
18018 timeout problems with infinite stack backtraces.
18019 * gdb.base/ptype.exp (ptype struct link, union tu_link):
18020 Accept function parameters for linkfunc member.
18021
18022Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
18023
18024 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
18025 (CXXFLAGS): Remove, unreferenced.
18026 (B_OPTIONS): Add for -B options and add code to initialize with
18027 previous -B options and also add -B option to pick up cross compiled
18028 runtime.
18029 (TARGET_INCLUDES): Add for -I options and add code to initialize when
18030 doing cross compiles.
18031 (target_alias): Declare global.
18032 (xgcc): Set variable to full path of gcc in build tree. Use findfile
18033 to verify that gcc exists in build tree, and if so set CC to that
18034 gcc and to use B_OPTIONS and TARGET_INCLUDES.
18035
18036Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
18037
18038 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
18039 ptype test for anonymous union. Fixup testcase to match
18040 current gcc debug output.
18041
18042Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
18043
18044 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
18045 force argument to an unsigned long type.
18046
18047Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
18048
18049 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
18050 tests and anonymous union print/ptype tests.
18051 * gdb.base/list.exp (test_forward-search): Increase timeout by
18052 5 minutes for the "search extremely long line" case.
18053 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
18054 completely optional and that the pass/fail messages use the command as
18055 the message if that third arg is a null string.
18056 (gdb_test_exact): Arrange that a null string pattern means match a
18057 null string output rather than any output, which might include random
18058 errors.
18059 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
18060 backtrace test.
18061 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
18062 always failing and failure is now exposed by gdb.exp changes.
18063
18064Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
18065
18066 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
18067 weren't being noted.
18068
18069Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18070
18071 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
18072 * gdb.stabs/weird.exp: Remove v_comb xfails.
18073
18074Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
18075
18076 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
18077 list.exp scope.exp watchpoint.exp]
18078 Make all timeout error msgs explicitly say "(timeout)".
18079
18080Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
18081
18082 * config/monitor.exp: Increase download timeout to 1000 seconds.
18083
18084Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
18085
18086 * config/m32r.exp: Increase timeout to 120 seconds.
18087
18088Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
18089
18090 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
18091 and accept older ordering as obsolescent gcc or gdb.
18092 * gdb.c++/templates.exp: Ditto.
18093 * gdb.c++/virtfunc.exp: Ditto.
18094
18095Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
18096
18097 * gdb.base/coremaker.c: Add code to mmap some data so we
18098 can check that it ends up in the core file.
18099 * gdb.base/corefile.exp: Add test to read mmapped data
18100 from core file.
18101
18102Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
18103
18104 * config/m32r.exp: New file.
18105
18106Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
18107
18108 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
18109 that cflags can contains -gstabs, and work correctly for other tests.
18110
18111Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
18112
18113 * gdb.base/setshow.exp: New file, tests show and set.
18114 * gdb.base/setshow.c: New file, tests show and set.
18115 * gdb.base/help.exp: Add test for help set|show annotate.
18116 * gdb.base/default.exp: Add test for set|show annotate.
18117
18118Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
18119
18120 * testsuite/gdb.base/break.exp: Make backtrace from factorial
18121 errors unique.
18122 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
18123 explicitly.
18124
18125Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
18126
18127 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
18128 and width commands. This is done elsewhere.
18129 * (gdb_start): Don't call gdb_start_sim here. That's already
18130 done in gdb_load. This fixes lots of failures in default.exp.
18131
18132Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
18133
18134 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
18135 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
18136 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
18137 in the same we we treat other failures (since it may be an expected
18138 condition), rather than as an error.
18139 * gdb.base/signals.exp (test_handle_all_print): Revert back to
18140 old test format.
18141
18142Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
18143
18144 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
18145 (distclean maintainer-clean realclean): No need to remove files
18146 twice. Nuke the duplicates.
18147 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
18148 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
18149 Remove config.h along with other config files.
18150
18151Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
18152
18153 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
18154 "p func1 ()" and note that rests of tests are skipped.
18155 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
18156 setup_xfails for "print func2::coremaker_local".
18157 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
18158 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
18159 affected by the previous run test.
18160 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
18161 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
18162 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
18163 "pass int powerset tuple" and "pass modeless int powerset tuple".
18164 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
18165 "real write 4" and "real write 8".
18166 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
18167 setup_xfails for "print vs1 after tuple assign 2",
18168 "print \$i after tuple assign 2", and
18169 "print vs2 after tuple assign 2".
18170 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
18171 meaningful error message and return -1 so the caller can
18172 suppress further tests and avoid a cascade of errors.
18173
18174Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
18175
18176 * gdb.base/a1-selftest.exp: Tweak tests to account for new
18177 format for printing version.
18178 * gdb.base/default.exp: Ditto.
18179 * gdb.base/interrupt.exp: Fix problem with cascade of
18180 errors if child process dies while calling a function.
18181
18182Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
18183
18184 * Makefile.in (VPATH): Add
18185 * Makefile.in (Makefile, config.status): Fix rules so things get
18186 remade when necessary.
18187
18188Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
18189
18190 * Makefile.in (just-check): Add path to sibling expect dir
18191 to environment variable specified by RPATH_ENVVAR.
18192
18193Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
18194
18195 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
18196 (just-check): Add shared library paths for libstdc++, tk,
18197 tcl, bfd, and opcodes to the environment variable specified
18198 in RPATH_ENVVAR.
18199 * configure.in: Add support to recognize --enable-shared flag
18200 and generate correct value for RPATH_ENVVAR.
18201 * configure: Regenerated with autoconf.
18202
18203Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
18204
18205 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
18206 include all osf versions.
18207 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
18208 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
18209 when target is linux. When failing to build pthreads test
18210 executable, give more meaningful message.
18211 * gdb.threads/pthreads.c: Hpux also uses old definition of second
18212 arg for pthread_create.
18213
18214Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
18215
18216 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
18217 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
18218 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
18219 and -lpthreads (everybody else).
18220 (test_startup): Fail gracefully if threads are not supported.
18221 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
18222 "p/c array_index("abcdef",2)" when not gcc compiled.
18223 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
18224 "print func2::coremaker_local" when not gcc compiled.
18225 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
18226 "ptype on opaque struct tagname (statically)",
18227 "ptype on opaque struct tagname (dynamically) 1", and
18228 "ptype on opaque struct tagname (dynamically) 2"
18229 for not compiled with gcc.
18230 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
18231 backtrace when compiled with gcc.
18232 * lib/gdb.exp (runto_main): Return result of "runto main" rather
18233 than always return success.
18234
18235Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
18236
18237 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
18238
18239Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
18240
18241 * gdb.base/structs.exp: Undo last change.
18242
18243Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
18244
18245 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
18246 encapsulate all the steps/nexts done during self test, starting
18247 at main, and makes them less sensitive to optimization issues.
18248 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
18249 signal handler" test.
18250 * gdb.threads/pthreads.exp: Only run this for native configs.
18251 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
18252 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
18253 tests.
18254 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
18255 for "runto test_calls(void)" test.
18256
18257Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
18258
18259 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
18260 and don't expect address info in breakpoint confirmations.
18261
18262Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
18263
18264 * gdb.base/list.exp (test_forward_search): Increase timeout
18265 temporarily by 60 seconds for searching extremely long line,
18266 and then reset to old value when done. Increase expect input
18267 buffer to 10000.
18268
18269Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
18270
18271 * gdb.base/list.exp (test_forward_search): Fix to handle very
18272 long source line without overflowing expect's input buffer.
18273
18274Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
18275
18276 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
18277 "buffer_full".
18278
18279 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
18280 "buffer_full".
18281
18282 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
18283 "buffer_full".
18284
18285 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
18286 "buffer_full".
18287
18288Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
18289
18290 * configure.in (configdirs): Add gdb.threads.
18291 * configure: Regenerated with autoconf.
18292 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
18293 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
18294 * gdb.threads/configure: New, generated with autoconf.
18295
18296Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
18297
18298 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
18299
18300Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
18301
18302 * gdb.base/signals.exp (test_handle_all_print): Test separately for
18303 each signal's status in the output of "handle all print".
18304 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
18305 the \r\n sequence that immediately precedes the gdb prompt.
18306 * gdb.base/a1-selftest.exp: Save original timeout and restore
18307 after test.
18308
18309Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
18310
18311 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
18312 symbol.
18313
18314Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
18315
18316 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
18317
18318Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
18319
18320 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
18321 timeout by 60 seconds.
18322
18323Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
18324
18325 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
18326 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
18327 error return.
18328
18329Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
18330
18331 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
18332 gdb initialization, also report how long dejagnu waited. Restore
18333 old timeout before doing error return. Temporarily increase timeout
18334 by 3 minutes to allow for slow startups over heavy NFS use.
18335
18336Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
18337
18338 * lib/gdb.exp: Report timeout value for verbosity level 2.
18339 * config/gdbserver.exp: Ditto.
18340 * config/hppro.exp: Ditto.
18341 * config/mips-gdb.exp: Ditto.
18342 * config/monitor.exp: Ditto.
18343 * config/netware.exp: Ditto.
18344 * config/sim-gdb.exp: Ditto.
18345 * config/slite-gdb.exp: Ditto.
18346 * config/udi-gdb.exp: Ditto.
18347 * config/unix-gdb.exp: Ditto.
18348 * config/vx-gdb.exp: Ditto.
18349 * gdb.base/a1-selftest.exp: Ditto.
18350 * gdb.base/a2-run.exp: Ditto.
18351 * gdb.base/break.exp: Ditto.
18352 * gdb.base/corefile.exp: Ditto.
18353 * gdb.base/list.exp: Ditto.
18354 * gdb.base/recurse.exp: Ditto.
18355 * gdb.base/scope.exp: Ditto.
18356 * gdb.base/signals.exp: Ditto.
18357
18358Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
18359
18360 * gdb.threads/Makefile.in (docdir): Removed.
18361
18362Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
18363
18364 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
18365 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
18366 @srcdir@.
18367 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
18368 autoconf 2.5 or higher.
18369 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
18370
18371Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
18372
18373 * configure: Regenerated.
18374 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
18375 avoid name clashes with SunOS headers.
18376
18377Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
18378
18379 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
18380
18381Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
18382
18383 * gdb.base/callfuncs.exp: Finish last change -- make sure the
18384 prototype information ends up in the compiler info file.
18385
18386Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
18387
18388 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
18389 attempting to regenerate it. Eliminate use of a temporary file
18390 and just generate the info file directly. Source it immediately,
18391 for consistency of use.
18392 * gdb.base/corefile.exp: Ditto
18393 * gdb.base/exprs.exp: Ditto.
18394 * gdb.base/funcargs.exp: Ditto.
18395 * gdb.base/langs.exp: Ditto.
18396 * gdb.base/list.exp: Ditto.
18397 * gdb.base/mips_pro.exp: Ditto.
18398 * gdb.base/nodebug.exp: Ditto.
18399 * gdb.base/opaque.exp: Ditto.
18400 * gdb.base/ptype.exp: Ditto.
18401 * gdb.base/scope.exp: Ditto.
18402 * gdb.base/setvar.exp: Ditto.
18403 * gdb.base/signals.exp: Ditto.
18404 * gdb.base/whatis.exp: Ditto.
18405 * gdb.c++/templates.exp: Ditto.
18406 * gdb.c++/virtfunc.exp: Ditto.
18407 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
18408 whether or not to add -lstdc++ to the compile command line args.
18409
18410Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18411
18412 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
18413 it got fixed by the recent lookup_minimal_symbol_by_pc change.
18414 Increase timeout, a lot of single stepping might be needed if the
18415 target has no hardware watchpoints.
18416
18417Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
18418
18419 * gdb.base/break.exp: Ignore compiler warnings when compiling
18420 break.c.
18421 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
18422 * gdb.base/default.exp: Add h8300 xfails. Handle messages
18423 from remote-sim.
18424 * gdb.base/exprs.exp: Add h8300 xfails.
18425 * gdb.base/funcargs.exp: Likewise.
18426 * gdb.base/nodebug.exp: Likewise.
18427 * gdb.base/printcmds.exp: Likewise.
18428 * gdb.base/ptype.exp: Likewise.
18429 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
18430 h8300 xfails.
18431 * gdb.base/return.exp: Handle float/double precision problems
18432 on the h8300.
18433 * gdb.base/funcargs.c: Explicitly make last constant argument to
18434 call_after_alloca_subr an unsigned long type.
18435 * gdb.base/return.c: Include stdio.h.
18436
18437Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
18438
18439 * config/abug.exp: New file for the older Motorola Bug monitor
18440 that runs on the mvme13x series VME boards.
18441 * config/monitor.exp: Use the new config array for target settings
18442 if they exist.
18443
18444Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
18445
18446 * sim-gdb.exp: Make the SH simulator allocate less space when
18447 it is targeted.
18448
18449Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
18450
18451 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
18452 test.
18453
18454Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
18455
18456 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
18457 "rs6000-*-*" for "list function in include file" when gcc compiled.
18458 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
18459 for "p ctable1[120]".
18460 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
18461 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
18462 Remove setup_xfail for "rs6000-*-*" for
18463 "print 'scope0.c'::filelocal before run".
18464 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
18465 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
18466 since some compilers don't allow both options to be given
18467 on the same command line. Create object file and move it.
18468
18469Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
18470
18471 * gdb.base/corefile.exp: Always regenerate the core file, since
18472 we always regenerate the coremaker program. Detect special case
18473 where registers cannot be read from core file.
18474
18475Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
18476
18477 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
18478 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
18479 * gdb.c++/templates.exp: Only match on basename of file since
18480 some formats like xcoff don't encode directory information.
18481 * gdb.stabs/weird.exp: Use the right sed script for powerpc
18482 and rs6000 AIX xcoff targets.
18483 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
18484 * configure: Regenerate.
18485 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
18486 here, rather than in distclean.
18487
18488Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
18489
18490 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
18491 defined, and use it to compile the test case with -O2. The
18492 native compilation still uses no optimization.
18493 * gdb.base/mips_pro.c: Remove inline assembly code since
18494 it is compiled PIC by default, which results in assembler
18495 warnings that make the testsuite think the compilation
18496 was unsuccessful.
18497
18498Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
18499
18500 * gdb.c++/misc.exp: Add note to message for
18501 "print s.a for foo struct" that this is a known gcc 2.7.2
18502 and earlier bug.
18503
18504Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
18505
18506 * gdb.base/break.exp: Fix pattern for matching "Delete all
18507 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
18508 setup_xfail for deleting all breakpoints test. Fix various
18509 timeout messages to include "(timeout)".
18510 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
18511 for "p t_float_values2(3.14159,float_val2)".
18512 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
18513 for "continue to call2g" when gcc compiled.
18514 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
18515 "up to foo in langs.exp", "show language at foo in langs.exp",
18516 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
18517 and "show language at fsub in langs.exp".
18518 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
18519 "list line 1 in include file", "list message for lines past EOF",
18520 "list function in include file", "list list0.h:foo", and
18521 "list filename:function; nonexistant function".
18522 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
18523 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
18524 and "ptype t_char_array" to be for native cc only.
18525
18526Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
18527
18528 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
18529 setup_xfail for "print coremaker_bss", "print coremaker_ro",
18530 "print func2::coremaker_local", and "backtrace in corefile.exp".
18531
18532Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
18533
18534 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
18535 "bt in signals.exp". This problem only appears when running
18536 the testsuite, and then only intermittently.
18537
18538Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
18539
18540 * gdb.base/return.exp (return_tests): Differentiate between
18541 two tests of continuing.
18542
18543Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
18544
18545 * */Makefile.in (maintainer-clean): Remove config.log.
18546 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
18547 * gdb.c++/Makefile.in (PROGS): Add inherit.
18548 (clean): Remove *.ci.
18549
18550Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
18551
18552 * gdb.c++/misc.cc: Add test code from Mike Stump.
18553 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
18554
18555Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
18556
18557 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
18558 to "alpha-*-osf2*" and add comment.
18559 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
18560 setup_xfail for "step over execarg initialization" and
18561 "step over corearg initialization".
18562 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
18563 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
18564 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
18565 gcc compiled for "print coremaker_bss", "print coremaker_ro",
18566 "print func2::coremaker_local", and "backtrace in corefile.exp".
18567 * gdb.base/signals.exp: Build and source signals.ci.
18568 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
18569 to be for gcc only.
18570 * lib/gdb.exp: Move verbose statements outside conditionals.
18571
18572Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18573
18574 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
18575 Feb 3 procfs.c change.
18576
18577Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
18578
18579 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
18580
18581Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
18582
18583 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
18584 from dejagnu's apparent default of 10 seconds, which gives random
18585 results when running the tests over NFS on moderately loaded systems.
18586 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
18587
18588Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
18589
18590 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
18591 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
18592 result reports.
18593
18594Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
18595
18596 * configure.in (CY_AC_PATH_TCLH): Remove.
18597 * configure: Regenerate.
18598
18599Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
18600
18601 * gdb.c++/Makefile.in (clean): Add missing '{'.
18602
18603Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
18604
18605 * lib/gdb.exp: Provide a default value for noinferior.
18606
18607 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
18608 Load libgloss.exp.
18609
18610Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
18611
18612 * gdb.disasm/hppa.exp: Compile directly into an executable, use
18613 the executable, not the .o to run the tests from.
18614
18615Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
18616
18617 * gdb.base/break.exp: Don't test for program exit or exit status
18618 if $noresults if nonzero.
18619 * gdb.base/langs.exp: Likewise.
18620 * gdb.base/watchpoint.exp: Likewise.
18621
18622 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
18623 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
18624 trying to compile the testcase.
18625
18626Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
18627
18628 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
18629 * gdb.base/signals.exp (continue to handler): Likewise.
18630
18631Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
18632
18633 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
18634
18635 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
18636
18637Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
18638
18639 * gdb.base/corefile.exp: Recognize "not found" as failure
18640 when trying to determine if a core file was generated.
18641 If no core file was generate the first time, try again without
18642 the ulimit -c to work around braindamaged shells.
18643
18644Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
18645
18646 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
18647 [] tests with "test" and enclose string in quotes.
18648 * gdb.stabs/configure: Rebuild
18649
18650Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
18651
18652 Changes in sync with expect:
18653 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
18654 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
18655 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
18656 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
18657 argument to AC_REQUIRE.
18658 * configure: Regenerated.
18659
18660Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
18661
18662 * gdb.base/corefile.exp: When generating a core, discard any
18663 error messages about ulimit not found and the "core dumped"
18664 message from the shell that runs the coredumper.
18665
18666Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
18667
18668 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
18669
18670 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
18671 which sed script to run. Expect failure for v_comb test
18672 on PA targets too.
18673
18674Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
18675
18676 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
18677 "print func2::coremaker_local" and for "backtrace in corefile.exp"
18678
18679Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
18680
18681 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
18682 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
18683 "sparc-sun-solaris*" xfails for "p v_comb".
18684 * lib/gdb.exp (default_gdb_start): Fix typo.
18685 * gdb.base/corefile.exp: Allow "Core was generated by ..."
18686 messages to not include the full program name that caused
18687 the core dump since some systems (such as solaris) apparently
18688 truncate this path to about 80 characters.
18689 When generating a core file first try increasing the core file
18690 size limit to unlimited since some systems may default it to
18691 zero, and it is harmless to try it. Move the test for failing
18692 to generate a core file to where it will actually get executed.
18693 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
18694 new gdb result from g++ debug info improvements and make old
18695 pattern obsolescent. Also account for size_t differences
18696 (may be int or long).
18697 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
18698 initialization before function call is placed in the delay slot
18699 and thus appears to be skipped over by commands such as "next".
18700
18701Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
18702
18703 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
18704
18705Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
18706
18707 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
18708 input source file; fix code to compile test to deal with this
18709 convention.
18710 * gdb.c++/*.exp: Likewise.
18711
18712Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
18713
18714 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
18715 "bt in signals.exp".
18716
18717Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
18718
18719 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
18720 "step over execarg initialization" and
18721 "step over corearg initialization".
18722
18723Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
18724
18725 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
18726 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
18727
18728Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
18729
18730 From Rob Savoye (rob@poseidon.cygnus.com)
18731 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
18732 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
18733 configure.in}, gdb.disasm/{Makefile.in, configure.in},
18734 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
18735 configure.in}: Major reworking for autoconfig.
18736 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
18737 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
18738 New files.
18739 * config/unix-gdb.exp: Make GDB global.
18740 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
18741 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
18742 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
18743 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
18744 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
18745 term.exp, twice.exp, watchpoint.exp, whatis.exp},
18746 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
18747 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
18748 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
18749 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
18750 pr-8136.exp, result.exp, string.exp, tuples.exp},
18751 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
18752 to returns as necessary, arrange for test to compile own testcase
18753 executable.
18754 * lib/gdb.exp: Changes for testsuite to compile own test cases.
18755
18756Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
18757
18758 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
18759 clear_xfail at end of test which might not call either pass or fail.
18760 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
18761 "backtrace through signal handler".
18762
18763Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18764
18765 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
18766 continuing from a job control stop signal.
18767 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
18768
18769Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
18770
18771 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
18772 * gdb.base/corefile.exp: Likewise.
18773 * gdb.base/funcargs.exp: Likewise.
18774
18775Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
18776
18777 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
18778 * config/monitor.exp: Add support for setting baud rate.
18779
18780Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
18781
18782 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
18783 i*86-*-linux* xfails for "backtrace through signal handler".
18784 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
18785 "print func2::coremaker_local".
18786 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
18787 alpha-dec-osf2* xfail for
18788 "delete all breakpoints when none".
18789
18790Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
18791
18792 * gdb.base/break.exp: Change test that deletes all breakpoints
18793 when no user breakpoints are installed. A post 4.15 change
18794 causes gdb to no longer prompt in this case.
18795
18796Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
18797
18798 * gdb.base/return.exp (return_tests): Change xfail for test
18799 "correct value returned double test" to stop xfailing at
18800 Solaris 2.5. Apparently the bug has been fixed.
18801
18802Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
18803
18804 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
18805 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
18806
18807Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
18808
18809 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
18810 * gdb.disasm/hppa.s: Corresponding changes.
18811
18812Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
18813
18814 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
18815 makefile fragment.
18816 * config/mt-hpux: Deleted.
18817
18818Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
18819
18820 * Many files: When warning about suppressed tests due to a
18821 nonexistant test binary, avoid incrementing the warning count.
18822
18823Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
18824
18825 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
18826
18827Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18828
18829 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
18830 "sparc-*-solaris2*".
18831
18832Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18833
18834 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
18835 Add global and local variables and initialize them.
18836 * gdb.base/corefile.exp: Test correct mapping of corefile sections
18837 by printing variables. Remove rs6000 and powerpc xfails, BFD now
18838 extracts the file name and terminating signal from the core file.
18839 * TODO: Remove note about tests for correct mapping of corefile.
18840 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
18841 from optimizing it away.
18842 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
18843 handles common blocks.
18844
18845Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
18846
18847 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
18848 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
18849
18850Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
18851
18852 * Makefile.in (maintainer-clean): New target, synonym for
18853 realclean.
18854 * gdb.base/Makefile.in (maintainer-clean): Likewise.
18855 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
18856 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
18857 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
18858 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
18859 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
18860
18861Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
18862
18863 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
18864 xfails when not gcc compiled for "print foo::funclocal".
18865 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
18866 "print foo::funclocal at foo",
18867 "print 'scope1.c'::foo::funclocal at foo",
18868 "print foo::funclocal_bss at foo",
18869 "print 'scope1.c'::foo::funclocal_bss at foo",
18870 "print foo::funclocal_ro at foo",
18871 "print 'scope1.c'::foo::funclocal_ro at foo",
18872 "print bar::funclocal at foo" and
18873 "print 'scope1.c'::bar::funclocal at foo".
18874 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
18875 gcc compiled for "print foo::funclocal at bar".
18876 Expand all messages to ensure that they identify that
18877 the test is at bar().
18878 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
18879 gcc compiled for:
18880 "ptype on opaque struct pointer (statically)",
18881 "ptype on opaque struct tagname (statically)",
18882 "ptype on opaque struct pointer (dynamically) 1",
18883 "ptype on opaque struct tagname (dynamically) 1",
18884 "ptype on opaque struct pointer (dynamically) 2" and
18885 "ptype on opaque struct tagname (dynamically) 2
18886 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
18887 gcc compiled for:
18888 "p datalocal"
18889 "whatis datalocal",
18890 "ptype datalocal",
18891 "p bsslocal",
18892 "whatis bsslocal", and
18893 "ptype bsslocal".
18894 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
18895 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
18896 when not gcc compiled.
18897 * gdb.base/funcargs.exp (float_and_integral_args): Add
18898 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
18899 compiled.
18900 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
18901 "backtrace from call6a" when not gcc compiled.
18902 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
18903 "backtrace from call7a" when not gcc compiled.
18904 * gdb.base/callfuncs.exp (do_function_calls):
18905 Add "hppa*-*-hpux*" xfail when not gcc compiled for
18906 "p t_char_array_values(char_array_val2,char_array_val1)",
18907 "p t_char_array_values(char_array_val1,char_array_val2)",
18908 "p t_char_array_values("carray 1","carray 2")",
18909 "p t_char_array_values("carray 1",char_array_val2)",
18910 "p t_char_array_values(char_array_val1,"carray 2")",
18911 "p sum_args(1,{2})",
18912 "p sum_args(2,{2,3})",
18913 "p sum_args(3,{2,3,4})",
18914 "p sum_args(4,{2,3,4,5})"
18915 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
18916 "backtrace in corefile.exp" when not gcc compiled.
18917
18918Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18919
18920 * gdb.base/signals.exp: Rewrite `handle all print' test as
18921 a procedure. Accept blanks or TABs as whitespace, increase
18922 timeout and expect input buffer size for the large output
18923 from the command. Remove "i*86-*-bsdi2.0" xfail.
18924
18925Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18926
18927 * gdb.base/setvar.exp: Add new testcases for truncation when
18928 assigning invalid values to bitfields.
18929
18930Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
18931
18932 * gdb.base/callfuncs.exp (do_function_calls): Remove
18933 mips-sgi-irix* xfail for
18934 "call inferior func with struct - returns char *"
18935 and fix test so that an optional (unsigned char *) cast is
18936 accepted in the result.
18937
18938Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
18939
18940 * gdb.base/funcargs.exp (float_and_integral_args): Remove
18941 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
18942 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
18943 * gdb.base/signals.exp: Remove duplicate "handle all print" test
18944 that accidentally got checked in.
18945
18946Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
18947
18948 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
18949 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
18950 compiled test.
18951 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
18952 Add mips-sgi-irix5* xfail for not gcc compiled.
18953 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
18954 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
18955 "p top", "whatis top", "p middle", and "whatis middle".
18956 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
18957 "whatis signed char" for not gcc compiled.
18958 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
18959 "set variable signed char=-1 (-1)" and
18960 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
18961 * gdb.base/funcargs.exp (float_and_integral_args):
18962 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
18963 Add mips-sgi-irix* xfail when not gcc compiled for
18964 "continue to call2b".
18965 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
18966 "continue to call2g".
18967 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
18968 "backtrace from call6a"
18969 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
18970 "backtrace from call7k".
18971 Add mips-sgi-irix5* xfail when not gcc compiled for
18972 "backtrace from call7a".
18973 (localvars_after_alloca): Fix gdb_test cmds for
18974 "print * after runto ...".
18975 Remove rs6000-*-* xfails for
18976 "print i after runto localvars_after_alloca" and
18977 "print l after runto localvars_after_alloca"
18978 for all compilers.
18979 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
18980 when not compiled with gcc, for:
18981 "print signed char == (minus)",
18982 "print signed char != (minus)",
18983 "print signed char < (minus)",
18984 "print signed char > (minus)".
18985 * gdb.base/callfuncs.exp (do_function_calls):
18986 Add mips-sgi-irix* xfail, when compiled with native compiler, for
18987 "call inferior func with struct - returns char *".
18988 * gdb.base/return.exp (return_tests): Change xfail for
18989 "correct value returned double test" to include Solaris 2.4.
18990 * gdb.base/funcargs.exp (float_and_integral_args):
18991 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
18992
18993Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18994
18995 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
18996 enumeration bitfields if compiling with GNU C.
18997 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
18998 to empty' prompt.
18999
19000Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
19001
19002 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
19003 test for PRO targets.
19004
19005 * gdb.base/funcargs.exp: Avoid ever setting more than 8
19006 breakpoints in the inferior at any given time by making
19007 two groups of breakpoints for call2*, call6* and call7*
19008 tests.
19009
19010Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19011
19012 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
19013 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
19014 from optimizing it away.
19015 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
19016 "call inferior func with struct".
19017
19018Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
19019
19020 * configure.in: Only configure gdb.chill for particular targets.
19021
19022Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
19023
19024 * gdb.base/Makefile.in: Add action to .c.o transformation
19025 rule that generates a .ci file for each .o file and remove
19026 explicit .c.o rules except for callfuncs.o.
19027 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
19028 generates a .ci file for each .o file and remove explicit
19029 .cc.o rules.
19030 (clean): Remove *.tmp *.ci files.
19031 (EXECUTABLES): Remove templ-info.exp.
19032 * gdb.base/compiler.c: New file.
19033 * gdb.c++/compiler.cc: New file
19034 * gdb.base/scope.exp: Source gdb.base/scope.ci.
19035 Change rs6000-*-* xfail for
19036 "print 'scope0.c'::filelocal_ro" and
19037 "print 'scope1.c'::filelocal" and
19038 "print 'scope1.c'::filelocal_bss" and
19039 "print 'scope1.c'::filelocal_ro" and
19040 "print 'scope1.c'::foo::funclocal" and
19041 "print 'scope1.c'::foo::funclocal_ro" and
19042 "print 'scope1.c'::bar::funclocal" and
19043 "print 'scope0.c'::filelocal_ro" and
19044 "print 'scope1.c'::filelocal at foo" and
19045 "print 'scope1.c'::filelocal_bss at foo" and
19046 "print 'scope1.c'::filelocal_ro at foo" and
19047 "print 'scope1.c'::foo::funclocal at foo" and
19048 "print 'scope1.c'::foo::funclocal_bss at foo" and
19049 "print 'scope1.c'::foo::funclocal_ro at foo" and
19050 "print 'scope1.c'::bar::funclocal at foo" and
19051 "print 'scope0.c'::filelocal_ro" and
19052 "print 'scope1.c'::filelocal" and
19053 "print 'scope1.c'::filelocal_bss" and
19054 "print 'scope1.c'::filelocal_ro" and
19055 "print 'scope1.c'::foo::funclocal" and
19056 "print 'scope1.c'::foo::funclocal_bss" and
19057 "print 'scope1.c'::foo::funclocal_ro" and
19058 "print 'scope1.c'::bar::funclocal" and
19059 "print 'scope1.c'::bar::funclocal_bss"
19060 to only be xfail'd when not compiled with gcc.
19061 Add rs6000-*-* xfail for
19062 "print 'scope0.c'::filelocal_bss before run"
19063 when compiled with gcc.
19064 (test_at_main): Add rs6000-*-* xfail for
19065 "print filelocal_ro in test_at_main"
19066 when compiled with gcc.
19067 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
19068 Add rs6000-*-aix* xfail for
19069 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
19070 "ptype t_char_array", not compiled with gcc.
19071 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
19072 xfail for "list foo (in include file)" when gcc compiled.
19073 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
19074 (integral_args): Add rs6000-*-* xfail for
19075 "run to call0a" if not compiled with gcc.
19076 (unsigned_integral_args): Add rs6000-*-* xfail for
19077 "run to call1a" if not compiled with gcc.
19078 (float_and_integral_args): Add rs6000-*-* xfail for
19079 "run to call2a" if not compiled with gcc and for
19080 "continue to call2b" for any compiler.
19081 Add rs6000-*-* xfail to
19082 "print f1 after run to call2a" for gcc compiled.
19083 (discard_and_shuffle): Add rs6000-*-* xfail for
19084 "run to call6a".
19085 (shuffle_round_robin): Add rs6000-*-* xfail for
19086 "backtrace from call7a" if not compiled with gcc.
19087 Add rs6000-*-* xfail for
19088 "backtrace from call7b" if compiled with gcc.
19089 (call_after_alloca): Add rs6000-*-* xfail for
19090 "print c in call_after_alloca" and
19091 "print s in call_after_alloca" and
19092 "backtrace from call_after_alloca_subr"
19093 if not compiled with gcc.
19094 (localvars_in_indirect_call): Add rs6000-*-* xfail for
19095 "print c in localvars_in_indirect_call" and
19096 "print c in localvars_in_indirect_call" and
19097 "backtrace in indirectly called function" and
19098 "stepping into indirectly called function"
19099 if not compiled with gcc.
19100 (localvars_after_alloca): Add rs6000-*-* xfail for
19101 "print c after runto localvars_after_alloca" and
19102 "print s after runto localvars_after_alloca" and
19103 "print i after runto localvars_after_alloca" and
19104 "print l after runto localvars_after_alloca"
19105 for all compilers.
19106 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
19107 than whatis-info.exp.
19108 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
19109 than opaque-info.exp.
19110 Setup rs6000-*-* xfail for
19111 "ptype on opaque struct pointer (statically)" and
19112 "ptype on opaque struct pointer (dynamically)" when
19113 not compiled with gcc.
19114 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
19115 rather than callf-info.exp.
19116 (do_function_calls): Add clear_xfail for rs6000-*-* for
19117 "p t_float_values2(3.14159,float_val2)". Seems to work
19118 fine there, both with xlc and gcc. Need to find out what
19119 it is doing right and fix other platforms.
19120 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
19121 "call inferior func with struct - returns int",
19122 "call inferior func with struct - returns long",
19123 "call inferior func with struct - returns float",
19124 "call inferior func with struct - returns double",
19125 "call inferior func with struct - returns char *",
19126 but only if not gcc compiled (presumes xlc compiled).
19127 Change rs6000-*-* xfails for
19128 "call inferior func with struct - returns char" and
19129 " call inferior func with struct - returns short" to only
19130 xfail if not using gcc.
19131 (clean mostlyclean): Remove *.ci and *.tmp files.
19132 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
19133 than templ-info.exp.
19134 * gdb.base/langs.exp: Source gdb.base/langs.ci.
19135 Add rs6000-*-* xfail for "up to foo in langs.exp"
19136 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
19137 when not gcc compiled.
19138
19139Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19140
19141 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
19142 * gdb.base/corefile.exp: Likewise.
19143 * gdb.base/list.exp: Likewise.
19144 * gdb.base/scope.exp: Likewise.
19145 * gdb.base/siganls.exp: Likewise.
19146
19147 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
19148 compiler output.
19149 * gdb.base/whatis.exp: Likewise.
19150
19151Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
19152
19153 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
19154 failure (opcode table has been fixed to match reality).
19155
19156Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
19157
19158 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
19159 "call inferior func with struct - returns char",
19160 "call inferior func with struct - returns short"
19161
19162 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
19163 "print 'scope0.c'::filelocal at main",
19164 "print 'scope0.c'::filelocal_bss in test_at_main",
19165 "print 'scope0.c'::filelocal at foo",
19166 "print 'scope0.c'::filelocal_bss in test_at_foo",
19167 "print 'scope0.c'::filelocal at bar",
19168 "print 'scope0.c'::filelocal_bss in test_at_bar"
19169
19170 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
19171 in source file 1". This bug seems to have been fixed with both
19172 gcc and native cc (was native assembler bug?).
19173
19174Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
19175
19176 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
19177 "backtrace through signal handler" to "i*86-*-sysv4*".
19178 * gdb.base/signals.exp: Add xfail for "'next' behaved as
19179 continue" case. Add "known SVR4 bug" to fail message.
19180 Add "i*86-*-bsdi2.0" xfail for "handle all print".
19181 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
19182 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
19183 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
19184 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
19185 "up to foo in langs.exp", "show language at foo in
19186 langs.exp", "up to cppsub_ in langs.exp", "show
19187 language at cppsub_ in langs.exp", "up to fsub in
19188 langs.exp", and "show language at fsub in langs.exp".
19189 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
19190 "bactrace in corefile.exp".
19191 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
19192 "call inferior function with struct - returns float" and
19193 "call inferior function with struct - returns double".
19194
19195Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
19196
19197 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
19198 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
19199 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
19200 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
19201
19202Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
19203
19204 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
19205 (or overriden) "CHILL" macro rather then bare "gcc".
19206 Also look for ../../gcc/xgcc since that is what we will
19207 actually need, not "Makefile". Remove following assignment
19208 of CHILL to CHILL_FOR_TARGET because that results in
19209 recursive definition.
19210
19211Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
19212
19213 * gdb.base/corefile.exp: Change xfail for backtrace in
19214 corefile.exp from linuxaout to all linux.
19215 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
19216 cases where we miss the breakpoint at the signal handler
19217 for some reason. Setup xfail for linuxoldld/linuxaout and
19218 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
19219 hitting SIGURG breakpoint.
19220 * gdb.base/signals.exp: Setup xfail for "next" acting like
19221 continue to add linuxoldld. Setup xfail for all linux for
19222 "next to handler in signals_tests_1", "backtrace in
19223 signals_tests_1", "continue to func1", "pass SIGUSR1",
19224 and continue to handler".
19225
19226Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
19227
19228 * Update all FSF addresses except those in COPYING* files.
19229
19230Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
19231
19232 * gdb.base/a2-run.exp: Change messages to be more explicit about
19233 the status of args, and quote binfile in results.
19234
19235Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
19236
19237 * gdb.base/callfuncs.exp: Add tests for passing structs to
19238 inferior functions and return various types.
19239 * gdb.base/callfuncs.c: Add functions to receive a struct
19240 and return a member of the struct, in various types.
19241
19242Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19243
19244 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
19245
19246Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
19247
19248 * config/vxworks29k.exp: New file, sources vxworks.exp.
19249
19250Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19251
19252 * config/gdbremote.exp: New file. Testing framework using
19253 gdbserver.
19254
19255Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
19256
19257 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
19258 "call function when asleep" and "send end of file".
19259 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
19260 for "backtrace in corefile.exp".
19261 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
19262 for "backtrace through signal handler".
19263 * gdb.base/corefile.exp: Make sure we actually generate a core file
19264 before trying the core tests. Some systems allow the user to suppress
19265 generation of core files and default to that (linux for example).
19266 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
19267 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
19268
19269Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19270
19271 * gdb.threads: New directory with some crude multi-threaded
19272 gdb tests (step.exp and step2.exp).
19273 * config/mt-lynx (STEP_EXECUTABLE): Define.
19274 (THREADFLAGS): Define.
19275
19276Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
19277
19278 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
19279
19280 * gdb.base/signals.exp: Disable whole file for lynx until
19281 further notice.
19282
19283 * gdb.base/signals.exp: xfail test where "next" acts like
19284 "continue" for lynx.
19285
19286 * gdb.base/interrupt.exp: xfail test for calling function while
19287 inferior is asleep for lynx.
19288
19289 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
19290 than one cr-lf after each command.
19291
19292Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19293
19294 * configure.in: Reinstate setting of stabsdirs variable, fix
19295 typo in setting up configdirs for native builds.
19296
19297 * gdb.base/return.exp: Fix typo in return double test.
19298 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
19299 compiler from optimizing them away.
19300
19301Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
19302
19303 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
19304 sequences to be echo'd by gdb when using gdb_test.
19305 * gdb.chill/chexp.exp: Likewise.
19306 * gdb.fortran/exprs.exp: Likewise
19307
19308Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19309
19310 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
19311 after the inferior gdb has started.
19312
19313 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
19314 after each command.
19315 * gdb.base/funcargs.exp: Likewise.
19316 * gdb.base/gdbvars.exp: Likewise.
19317 * gdb.base/interrupt.exp: Likewise.
19318 * gdb.base/list.exp: Likewise.
19319 * gdb.base/watchpoint.exp: Likewise.
19320 * gdb.c++/demangle.exp: Likewise.
19321 * gdb.c++/inherit.exp: Likewise.
19322 * gdb.chill/chexp.exp: Likewise.
19323 * gdb.fortran/exprs.exp: Likewise.
19324
19325 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
19326 test if we can't handle IO to/from the inferior.
19327
19328 * gdb.c++/misc.exp: Always check for a program already being
19329 started after sending a "run" command to gdb.
19330
19331 * gdb.base/twice.exp: Start with a fresh gdb.
19332
19333 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
19334 only depend on gdb's expression code, not the chill runtime.
19335
19336 * gdb.base/return.c: Put return values into variables so we
19337 can have gdb print them rather than depending on the program
19338 to print them.
19339 * gdb.base/return.exp: Corresponding changes.
19340
19341 * lib/gdb.exp: Provide default value for noinferiorio.
19342 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
19343 the inferior.
19344
19345 * gdb.base/break.exp: Always check for a program already being
19346 started after sending a "run" command to gdb.
19347 (text_next_with_recursion): Don't check the output from the
19348 program's printf statement. Instead just make sure the program
19349 exited.
19350
19351 * gdb.base/commands.exp: Protect tests which need arguments with
19352 $noargs conditionals.
19353
19354Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19355
19356 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
19357 of structure member arrays to match gdb/valops.c:value_addr change.
19358
19359Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
19360
19361 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
19362 cases.
19363
19364Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
19365
19366 * configure.in (configdirs): Remove gdb.chill from default list
19367 of subdirs and then add it back in only if doing a native build.
19368 The current chill compiler does not yet work in any cross build.
19369 * Revert all signal changes from Jul 6.
19370 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
19371 for sh-hms targets, allowing these tests to link, with no other
19372 changes. Testing is suppressed by setting "nosignals" in site.exp.
19373
19374Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
19375
19376 * configure.in (signaldirs): Define and add to configdirs for all
19377 targets except some specific ones that are known to not support signals.
19378 Also clean up formatting.
19379 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
19380 (signals, sigall): Remove rules to build.
19381 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
19382 Moved to new gdb.signals directory.
19383 * gdb.signals: New test directory.
19384 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
19385 signals.c signals.exp}: New or moved files.
19386
19387Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
19388
19389 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
19390
19391Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
19392
19393 * gdb.base/return.exp: Xfail `return double' test failure
19394 on at least Solaris 2.3 and handle future/past versions on
19395 a case by case basis as appropriate. Also update message
19396 to include i*86 failures.
19397
19398Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19399
19400 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
19401
19402 * lib/gdb.exp: Fix comment which erroneously identified
19403 gdb_file_cmd as gdb_load (the 19 May change was in fact to
19404 gdb_file_cmd not gdb_load).
19405 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
19406
19407 * gdb.base/setvar.exp: Make test names consistent between pass and
19408 fail cases. Use gdb_test more.
19409
19410Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19411
19412 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
19413
19414Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19415
19416 * gdb.base/help.exp: Fix expected help string for `show commands'.
19417
19418Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
19419
19420 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
19421
19422 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
19423 of a text section.
19424
19425Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
19426
19427 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
19428 that loop eventually terminates. Fix Connection refused logic so
19429 that testsuite will expire nicely.
19430
19431Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
19432
19433 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
19434 config/rom68k.exp: New tcl glue for the appropriate monitors.
19435 These all just end up calling monitor.exp.
19436 * config/monitor.exp (gdb_target_monitor): Handle `Connection
19437 refused' by retrying. Cleanup some timeout issues.
19438 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
19439 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
19440 callers don't have to set/restore global timeout variable.
19441
19442 * The following set of changes centralizes management of the global
19443 timeout variable. This way, it can be set in one target dependent
19444 place instead of dozens of places scattered throughout the test suite.
19445 If you need to lengthen a timeout, then you should either set timeout
19446 in one of the config/{target}.exp files, or multiply it by a factor.
19447 Setting it to an absolute value is always going to lose for some
19448 targets.
19449 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
19450 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
19451 * gdb.base/funcargs.exp: Don't set timeout.
19452 * gdb.base/list.exp (test_forward_search): Only use local timeout.
19453 * gdb.base/printcmds.exp (test_print_string_constants
19454 test_print_array_constants): Don't set timeout.
19455 * gdb.base/ptype.exp: Don't set timeout.
19456 * gdb.base/recurse.exp: Don't set timeout.
19457 * gdb.base/return.exp: Don't set timeout.
19458 * gdb.base/watchpoint.exp: Don't set timeout.
19459 * gdb.c++/classes.exp (do_tests): Don't set timeout.
19460 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
19461
19462Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
19463
19464 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
19465
19466Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19467
19468 * lib/gdb.exp: Disable chill tests for irix5.
19469
19470Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19471
19472 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
19473 each test pass or fail.
19474
19475Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19476
19477 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
19478 xlc not gcc.
19479
19480Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
19481
19482 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
19483
19484Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
19485
19486 * config/est.exp: Fix copyright and comments. Remove dead code.
19487 Use targetname, serialport and baud variables instead of fixed
19488 constants.
19489 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
19490 * config/cpu32bug.exp: New file to support cpu32bug monitors.
19491
19492Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19493
19494 * gdb.base/watchpoint.exp: Don't run
19495 test_watchpoint_triggered_in_syscall for sunos.
19496
19497Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19498
19499 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
19500 they don't seem to exist. Do include stdio.h.
19501
19502Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19503
19504 * gdb.base/a1-selftest.exp: Add alpha xfail.
19505
19506Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19507
19508 * gdb.base/watchpoint.c (main): Prompt before calling read().
19509 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
19510 Revise accordingly. Remove cruft about sending "123" several
19511 times, until it gets noticed. Clean up the "print buf[0]" stuff
19512 so that it passes or fails, and waits for prompts in the usual way.
19513
19514Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19515
19516 * gdb.base/recurse.exp: Fix comment.
19517
19518 * TODO: Remove item about printing variables in nodebug.exp. Add
19519 item about enabling tests which are only run on some targets.
19520
19521 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
19522 fail, make test names unique, use new gdb_test convention
19523 regarding pattern, use gdb_test more, etc.).
19524
19525 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
19526 fail, make test names unique, etc.).
19527
19528Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19529
19530 * gdb.base/nodebug.c: Change return type of top and middle to
19531 short.
19532 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
19533 are fixed by the recent mdebugread.c changes. Allow `short ()'
19534 as type for top and middle.
19535
19536Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19537
19538 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
19539 nearly as I can tell, the whole thing was an accident in Stu's
19540 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
19541 to replace a send/expect pair with gdb_test, but ended up only
19542 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
19543 of 30 Mar 1995 took care of it, but left this vestigial comment
19544 which I am now nuking.
19545
19546Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19547
19548 * gdb.base/break.exp: Look for different line number for
19549 breakpoint at main depending on usestubs.
19550
19551Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19552
19553 * gdb.base/list.exp: Adjust some alternate expect patterns to
19554 match recent list0.c change. Add alternate expect pattern for
19555 output from `list default lines around main' for optimizing
19556 compilers.
19557
19558Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19559
19560 * lib/gdb.exp: If nosignals is not set, set it to 0.
19561
19562Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
19563
19564 * config/slite-gdb.exp: Responds to load symbol table prompt.
19565 * gdb.base/break.exp: Adjust line number, fix rerun.
19566 * gdb.base/langs0.c: Add #ifdef usestubs.
19567
19568Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
19569
19570 * gdb.base/list.exp: Adjust line contents after adding new lines in
19571 list0.c. Also fix a syntax error.
19572
19573 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
19574 * gdb.base/break.exp: ditto.
19575 * gdb.base/list.exp: ditto.
19576 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
19577 * gdb.base/run.c: ditto.
19578 * gdb.base/list0.c: ditto.
19579 * gdb.base/funcargs.c: ditto.
19580
19581Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
19582
19583 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
19584 $targetname, $serialport and $baud instead of hardwired variables.
19585 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
19586 target doesn't support signals.
19587
19588Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
19589
19590 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
19591
19592Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19593
19594 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
19595 Don't rely on the value of an auto variable before it has been
19596 initialized. Use gdb_test more.
19597
19598Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19599
19600 * lib/gdb.exp (default_gdb_version): A version number must start
19601 with a digit, but other than that contains all characters up to
19602 the first whitespace character.
19603
19604Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19605
19606 * gdb.base/commands.exp (breakpoint_command_test): New tests.
19607
19608Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19609
19610 * gdb.c++/*.exp: Warn if executable does not exist. The original
19611 reason for skipping the warning was that configure.in sometimes
19612 intentionally skipped building the executables but the tcl code
19613 had no way of knowing. That (a) was always bogus with respect to
19614 error handling, (b) is no longer true (right now there is no way
19615 to skip C++ tests).
19616
19617 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
19618
19619Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19620
19621 * gdb.base/list.exp: Add expect patterns for output from
19622 SunPRO compiled executables.
19623 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
19624 types.
19625
19626Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19627
19628 * gdb.base/break.exp (test_next_with_recursion): Accept any line
19629 number (we are already testing that the correct source line text
19630 gets printed).
19631
19632 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
19633 that is what is intended, but something needed to be done to get
19634 sunos4 native working again.
19635
19636 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
19637
19638 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
19639 apparently went with a (very) old xfail.
19640
19641Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
19642
19643 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
19644 runto_main is a proc in gdb.exp that will do 'step' for target use
19645 stubs.
19646 * gdb.base/exprs.exp: ditto.
19647 * gdb.base/interrupt.exp: ditto.
19648 * gdb.base/opaque.exp: ditto.
19649 * gdb.base/printcmds.exp: ditto.
19650 * gdb.base/ptype.exp: ditto.
19651 * gdb.base/scope.exp: ditto.
19652 * gdb.base/setvar.exp: ditto.
19653 * gdb.base/signals.exp: ditto.
19654 * gdb.base/twice.exp: ditto.
19655 * gdb.c++/classes.exp: ditto.
19656 * gdb.c++/inherit.exp: ditto.
19657 * gdb.c++/templates.exp: ditto.
19658 * gdb.base/break.exp: no run and hit main for stubs. Change line
19659 numbers for breakpoints and info breakpoint.
19660 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
19661 breakpoint().
19662 * gdb.base/callfuncs.c: ditto.
19663 * gdb.base/exprs: ditto.
19664 * gdb.base/interrupt.c: ditto.
19665 * gdb.base/opaque0.c: ditto.
19666 * gdb.base/printcmds.c: ditto.
19667 * gdb.base/ptype.c: ditto.
19668 * gdb.base/scope0.c: ditto.
19669 * gdb.base/setvar.c: ditto.
19670 * gdb.base/signals.c: ditto.
19671 * gdb.base/twice.c: ditto.
19672 * gdb.c++/misc.cc: ditto.
19673 * gdb.c++/templates.cc: ditto.
19674
19675Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19676
19677 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
19678
19679 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
19680 somewhere between `read' and `main.c'. I'm pretty sure the
19681 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
19682 and it isn't particularly useful.
19683
19684 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
19685
19686Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19687
19688 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
19689
19690Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
19691
19692 * config/mt-slite: add LIBS and -nostdlib.
19693 * config/slite-gdb.exp: add this new file to support sparclite target.
19694
19695Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
19696
19697 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
19698
19699 * gdb.base/a2-run.exp: Change argument to istarget from
19700 "*-*-vxworks" to "*-*-vxworks*".
19701 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
19702
19703Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
19704
19705 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
19706 will not runto main but do a 'step' to step out of breakpoint().
19707 * config/mt-slite: add -Dusestubs.
19708
19709Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19710
19711 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
19712 instead of just @.
19713
19714 * gdb.base/signals.exp: Add test for "handle all print".
19715 * TODO: Remove "handle all print". Also remove item about
19716 checking copyright date (I don't like the idea of a spurious FAIL
19717 based on when we run the tests).
19718
19719 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
19720 for SunOS4 (reason for failure not investigated). Remove
19721 redundant test for $binfile.
19722
19723 * gdb.base/nodebug.c (array_index): Call malloc.
19724
19725 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
19726
19727Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
19728
19729 * gdb.base/recurse.exp: Update gdb_test invocation to use new
19730 conventions and slightly simplify the matching regexp.
19731
19732Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19733
19734 * gdb.base/break.exp: Update gdb_test invocation to use new
19735 convention.
19736
19737 * lib/gdb.exp: If noargs is not set, set it to 0.
19738
19739 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
19740 tests unique.
19741
19742 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
19743
19744Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19745
19746 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
19747 one argument of type "<non-float parameter>".
19748
19749Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
19750
19751 * config/rom68k.exp: New file to support Motorola IDP board.
19752 * gdb.base/a2-run.exp: Skip this file if noargs is set.
19753 * gdb.base/break.c: Change things around so that this program
19754 doesn't depend upon args. This is necessary to make remote
19755 targets work (in general, they can't take args).
19756 * gdb.base/break.exp: Don't try to send args to program. Don't
19757 expect output. Also, replace lots of code with gdb_test.
19758
19759Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19760
19761 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
19762 printing of '\'' (which is what the comment says we are testing,
19763 even though we were not), not '''.
19764 (test_integer_literals_rejected): Test that printing ''' is an error.
19765
19766 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19767 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
19768 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
19769 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
19770 Use gdb_test not test_print_accept.
19771 * lib/gdb.exp: Remove test_print_accept.
19772
19773 * gdb.base/signals.exp (signal_tests_1): Make pass message
19774 consistent with fail message.
19775
19776 * gdb.base/whatis.exp: Remove xfails for printing char vs.
19777 unsigned char; the bug (PR 1821) is fixed.
19778
19779 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
19780
19781 * gdb.base/scope.exp (test_at_localscopes): Call pass for
19782 successful tests--makes xfailing them work right.
19783
19784Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19785
19786 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
19787 only \r\n, not .*. The test can pass .* as the last thing in
19788 $pattern if that is what it wants. In addition to providing this
19789 flexibility, this change should speed up pattern matching in cases
19790 where the pattern already ended with .* (there were a number of
19791 them). This change also helps catch bad patterns--in the old
19792 scheme the typo "char \*" instead of "char \\*" would pass. Now
19793 it is caught.
19794 * Many .exp files: Update callers.
19795
19796 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
19797 clearer and does not spuriously match multiple ('s. Likewise for
19798 ) and *.
19799
19800 * gdb.base/nodebug.exp: Test ability to call a function and pass
19801 it a string (even with no debugging info).
19802
19803 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
19804 "p '\'", which is the same as "p ''" once tcl gets done with
19805 quoting, to "p '\\'", which I suspect is what is intended (one
19806 backslash gets sent to GDB).
19807
19808 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
19809
19810Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19811
19812 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
19813 1817) was fixed literally years ago.
19814
19815Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19816
19817 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
19818 test, it causes stepping out of call_after_alloca_subr with
19819 optimizing compilers.
19820 (localvars_in_indirect_call): Consume GDB prompt if `finish'
19821 fails.
19822
19823 * gdb.c++/templates.exp: Source templ-info.exp only if
19824 the templates executable exists.
19825
19826 * gdb.c++/misc.cc (class Contains_static_instance,
19827 class Contains_nested_static_instance),
19828 gdb.c++/classes.exp (test_static_members): Test printing of
19829 a class that contains a static instance of the class.
19830
19831Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19832
19833 * gdb.base/langs2.c (cppsub_): Don't prototype.
19834 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
19835 only, I believe).
19836
19837Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19838
19839 * lib/gdb.exp (skip_chill_tests): New procedure.
19840
19841 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
19842
19843Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
19844
19845 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
19846 each expect pattern. Cuts runtime from 12 to about 4 seconds.
19847
19848Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19849
19850 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
19851
19852 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
19853 disassemble 8, not 16, instructions for part 4.
19854
19855 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
19856 support the latter anymore.
19857
19858 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
19859 -DNO_PROTOTYPES.
19860 * gdb.base/callfuncs.c: Control use of prototypes based on
19861 NO_PROTOTYPES, not __STDC__.
19862 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
19863 t_float_values2 tests if prototypes in use.
19864
19865 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
19866 t_double_values): When checking differences against DELTA, check
19867 that difference is within the range (-DELTA,DELTA), not just
19868 (-infinity,DELTA).
19869
19870Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
19871
19872 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
19873 'file' command firts, then 'target', then 'load', this is due to gdb
19874 target set up.
19875 * config/mips-gdb.exp: Fix a couple regular exp bugs.
19876
19877Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
19878
19879 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
19880 FP load/store variants.
19881 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
19882
19883Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
19884
19885 * gdb.base/term.exp: Do not give a warning if not native, it is
19886 not an abnormal condition.
19887
19888Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
19889
19890 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
19891 t_char_array".
19892
19893Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
19894
19895 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
19896 are getting the version number.
19897
19898 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
19899 if not native, it is not an abnormal condition.
19900
19901Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19902
19903 * lib/gdb.exp: Just use "file exists", rather than undocumented
19904 dejagnu procedure "findfile".
19905
19906Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19907
19908 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
19909 (LDFLAGS): Set to -Xlinker -Ur.
19910
19911 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
19912 Removed, these values are set by lib/gdb.exp.
19913
19914 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
19915
19916Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19917
19918 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
19919 of replicating gdb startup code.
19920
19921 * config/mt-vxworks (LDFLAGS): Set to -r.
19922 (CFLAGS_FOR_TARGET): Removed.
19923
19924 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
19925 (gdb) and gdb for vxworks uses (vxgdb).
19926
19927 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
19928 executable is not in the tree and host != target, use sed and
19929 program_transform_name to determine the gdb name used by the
19930 target.
19931
19932 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
19933 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
19934
19935Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19936
19937 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
19938 floats, chars, and shorts where there are ANSI-style function
19939 definitions.
19940
19941 * gdb.base/langs.exp, gdb.base/langs*: New test.
19942 * gdb.base/Makefile.in: Build it.
19943 * TODO: Remove item about checking that C names don't get C++
19944 demangling applied; this test tests it.
19945
19946Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19947
19948 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
19949 went with the const70 xfail. The xfail went away a year ago.
19950
19951 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
19952
19953 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
19954 for hp300.
19955
19956 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
19957
19958 * gdb.base/a1-selftest.exp: Don't run on hp300.
19959
19960Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19961
19962 * Makefile.in (site.exp): Set host_alias and target_alias as well
19963 as host_triplet and target_triplet.
19964
19965Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19966
19967 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
19968
19969 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
19970 places as other ecoff systems).
19971
19972 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
19973 ultrix.
19974
19975Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19976
19977 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
19978 remove them.
19979 * gdb.base/nodebug.exp: Accept "function" in addition to "text
19980 variable and "variable" in addition to "data variable".
19981 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
19982
19983 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
19984 2.
19985 * gdb.base/list1.c (long_line): Add additional statement at start
19986 of function.
19987 * gdb.base/list.exp (test_forward_search): Update line number to
19988 reflect new statement.
19989
19990Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19991
19992 * gdb.base/signals.exp: Reinitialize searched source directories
19993 after gdb_start call.
19994
19995Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
19996
19997 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
19998 * gdb.stabs/Makefile.in: Likewise.
19999
20000 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
20001 change. Instead split the tests into smaller pieces.
20002 * gdb.disasm/hppa.s: Corresponding changes.
20003
20004Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20005
20006 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20007 Quote ^C when passing it to stty. For some shells ^ is a pipe.
20008
20009 * gdb.base/funcargs.exp: Modify many tests so that every test
20010 either passes or fails. Make some test names unique.
20011
20012Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20013
20014 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20015 Call stty to set interrupt character.
20016
20017 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
20018 for HP assembler versus GNU assembler based on actual behavior of
20019 $(CC), rather than assuming that $(AS) is always the GNU assembler.
20020
20021 * TODO: Suggest a few more stepping tests.
20022
20023Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
20024
20025 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
20026 restart GDB for h8300 after a continue.
20027 (return): Add pattern to match a29k-udi behavior.
20028 * gdb.base/nodebug.exp: Remove obsolete comment.
20029 * gdb.base/regs.exp: New file, testing of register displays.
20030 * gdb.base/return.exp: Fix typo in reference to $objdir.
20031 * gdb.base/whatis.exp: Always start with a fresh GDB.
20032
20033Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20034
20035 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
20036 higher, these tests generate a lot of output.
20037
20038Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20039
20040 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
20041 code following the catch silently ignored some errors; without the
20042 catch they should be thrown like any other tcl error. Also, the
20043 catch used "" instead of {} which meant all the callers who wanted
20044 to include one of the characters "[]$ had to quote it an extra time.
20045 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
20046 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
20047 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
20048 Remove extra quoting.
20049
20050Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
20051
20052 * gdb.base/commands.exp: Make test names unique; every test either
20053 passes or fails. Update some comments.
20054
20055 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
20056
20057Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20058
20059 The following fixes a FAIL caused by the fact that the alpha stabs
20060 configuration didn't use the ".if alpha" code in weird.def.
20061 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
20062 bit pointer, so the 32 bit version works even on the alpha.
20063 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
20064 Remove the stuff which allowed us to have separate versions for
20065 alpha and everything else.
20066
20067 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
20068 regexp which "info func operator\[\](" is supposed to match. Fix
20069 string to send to GDB. Note that GDB still doesn't work right. Add a
20070 new test for "info func .perator\[\](" which GDB does handle correctly.
20071
20072 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
20073
20074Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20075
20076 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
20077 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
20078 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
20079 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
20080 it makes the tests harder to understand and confuses test-o-matic.
20081 The preferred style is that each test provides a PASS or a FAIL,
20082 and has a unique message (e.g. "continue #54" not just "continue")
20083 which is the same for the pass and the fail.
20084 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20085 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
20086 to lib/gdb.exp.
20087 * gdb.base/printcmds.exp: Use test_print_accept. Remove
20088 prt_accept which was basically the same thing. Likewise for
20089 test_print_reject and prt_reject.
20090 * lib/gdb.exp (test_print_reject): Add some more error message
20091 patterns to match from the former printcmds.exp (prt_reject).
20092 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
20093 One defect of the passcount stuff is that some of it failed to
20094 report XPASS where appropriate.
20095 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
20096 stuff before and after arg in expected pattern.
20097 (test_paddr_operator_functions): Re-do test without print_addr_of;
20098 this is the only test which seems to want extra stuff there.
20099
20100Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20101
20102 * gdb.base/nodebug.exp: Update new tests to reflect improved
20103 wording of gdb output.
20104
20105 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
20106 and "ptype" work on variables in files compiled without -g.
20107 Replaces commented out "maint print msymbol" tests.
20108
20109Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20110
20111 * gdb.base/setvar.c (dummy): Call malloc.
20112
20113 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
20114 losing with the irix4 sed.
20115
20116 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
20117 ALRM" on irix4.
20118
20119Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20120
20121 * TODO: Remove items about corefile.exp testing new exec-file and
20122 backtrace; both are now done. Add items about printing enums.
20123
20124Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20125
20126 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
20127 "get signal $thissig" test fails.
20128
20129 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
20130
20131Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20132
20133 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
20134 compiler warning with dec alpha compiler.
20135
20136 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
20137 extra \n from gdb_test call (this explains why the prompt test
20138 that I removed yesterday was there).
20139 (user_defined_command_test): Remove extra \n and prompt test.
20140
20141 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
20142 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
20143 doesn't exist.
20144 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
20145 Also remove alpha workaround, which turns out to be because
20146 SIGABRT == SIGLOST.
20147
20148 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
20149
20150 * gdb.base/help.exp: Don't test "help show".
20151
20152Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20153
20154 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
20155 "set print address" is on.
20156 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
20157 pass prompt to gdb_test; gdb_test already looks for the prompt.
20158
20159 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
20160
20161 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
20162 was a vestige of the manual TESTSTRATEGY, and the purpose of it
20163 was to make sure that gdb can read a core file. But (a) the "read
20164 the corefile" part didn't make it to a1-selftest.exp, we just
20165 delete the corefile after creating it, and (b) we test reading
20166 corefiles in corefile.exp anyway. Also, this test left around a
20167 xgdb process on Solaris.
20168
20169 * gdb.base/corefile.exp: Also test backtrace.
20170
20171Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
20172
20173 * gdb.base/commands.exp: Test a simple user defined command with
20174 arguments and if/while statements; verify the full user command is
20175 printed by "show user".
20176
20177 * gdb.base/commands.exp: Test if/while commands as part of a
20178 breakpoint command list; verify they appear in breakpoint
20179 information.
20180
20181Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20182
20183 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
20184 than by dividing by zero.
20185
20186Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
20187
20188 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
20189 performing an inferior call with watchpoints enabled.
20190 * gdb.base/watchpoint.c (main): Delete second unnecessary read
20191 call.
20192
20193Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20194
20195 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
20196 of "file" command.
20197
20198 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
20199 Add additional pattern for when "int operator int(void);" appears
20200 in a different order.
20201
20202Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20203
20204 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
20205
20206 * gdb.base/help.exp: Replace most of docstrings for "info signals"
20207 and "signal" with ".*".
20208
20209Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20210
20211 * TODO: Add note about "handle all nostop".
20212
20213 * gdb.base/{sigall.c, sigall.exp}: New test.
20214 * gdb.base/Makefile.in: Add it.
20215
20216Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
20217
20218 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
20219 when invoking GDB, suppresses any windowing interface.
20220
20221Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
20222
20223 * config/sim-gdb: New file, simulator testing support.
20224
20225Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
20226
20227 * gdb.base/interrupt.exp: Test calling func1 twice.
20228
20229Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
20230
20231 * gdb.base/list.exp (test_forward_search): Set timeout higher
20232 when we'll be getting lots of output from gdb.
20233
20234 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
20235 "init_malloc" to after the expect statement. Run it if that
20236 regexp is taken, but also for two others which happen if source
20237 cannot be found.
20238
20239Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20240
20241 * gdb.base/printcmds.exp: New test, for printing register before
20242 program is running.
20243
20244Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20245
20246 * gdb.base/list.exp: Correct some alternate expect patterns
20247 to reflect changes in list1.c.
20248
20249Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20250
20251 * TODO: Add item regarding large frames.
20252
20253 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
20254
20255 * TODO: Remove item about enabling return.exp; it
20256 is enabled. Suggest a few more "return" tests.
20257
20258Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20259
20260 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
20261 anonymous unions.
20262
20263Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20264
20265 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
20266 and pr-5646.o, so "make" is the same as "make all", not "make
20267 pr-4975.o".
20268
20269Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
20270
20271 * gdb.base/list.exp: Adjust expectations to reflect changes in
20272 list1.c.
20273 (test_forward_search): New test proc.
20274 * gdb.base/list1.c (long_line): New function, has long source line.
20275
20276Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
20277
20278 * gdb.base/a1-selftest.exp: Change initial stepping to know about
20279 additional line of code that was added.
20280
20281Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
20282
20283 * gdb.disasm/hppa.s: Break the large branching tests into smaller
20284 tests so as not to overflow expect's input buffers.
20285 * gdb.disasm/hppa.exp: Corresponding changes.
20286
20287Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20288
20289 Beginnings of template debugging tests.
20290 * gdb.c++/templ-info.cc: New file to test for template
20291 debugging capability of the compiler.
20292 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
20293 templ-info.cc.
20294 * gdb.c++/templates.cc: Add explicit template instantiations
20295 to enable compiling with -fno-implicit-templates. Add destructor
20296 and 'value' method to T5 class for template tests.
20297 * gdb.c++/templates.exp: Add testcases for printing of template
20298 types, setting breakpoints on template methods and calling a
20299 template method.
20300
20301Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
20302
20303 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
20304 branch target since some assemblers (gas-2.5) may emit a
20305 relocation for the branch instead of resolving it in the
20306 assembler.
20307
20308Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20309
20310 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
20311 through signal handler.
20312
20313Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20314
20315 * configure.in (*-*-netware): Use config/mt-netware.
20316
20317 * config/mt-netware: New file.
20318 * config/mt-i386-netware: Removed, separate configs for different
20319 netware architectures are no longer needed now that we have
20320 --with-headers.
20321
20322Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20323
20324 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
20325 by the recent changes to use ANSI C arithmetic conversions.
20326
20327Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20328
20329 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
20330 bug involving using inferior_pid to figure out whether to select a
20331 frame.
20332
20333Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
20334
20335 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
20336 match the current disassembler output.
20337
20338Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
20339
20340 * gdb.fortran/exprs.exp: Expect VOID instead of void.
20341 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
20342 types, expect "int" as type of integer values (for now).
20343
20344Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
20345
20346 * gdb.base/commands.exp: New tests for if/while commands.
20347
20348Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
20349
20350 * lib/gdb.exp (runto): Replace sub-pattern for hex value
20351 by .*, since hex values have different syntax in Chill mode.
20352
20353Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20354
20355 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
20356 linefeed from expect pattern for repeated types with indices > 9.
20357
20358Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
20359
20360 First part of Fortran test suite.
20361 * gdb.fortran: New directory.
20362 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
20363
20364Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20365
20366 * gdb.base/default.exp: Update expect pattern for load command
20367 without arguments.
20368
20369Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
20370
20371 * configure.in: Change i386 to i[345]86.
20372 * gdb.base/configure.in: Likewise.
20373 * gdb.c++/configure.in: Likewise.
20374 * gdb.chill/configure.in: Likewise.
20375
20376Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
20377
20378 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
20379 patterns, since that is not a valid context for comments.
20380
20381Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
20382
20383 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
20384 repeated types and repeated types with indices > 9.
20385
20386Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
20387
20388 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
20389 2417; old bug has been fixed.
20390
20391Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
20392
20393 * gdb.base/interrupt.exp: When trying to wake up the inferior,
20394 send the newline ourselves instead of assuming gdb_test will do
20395 so when passed an empty input string.
20396
20397 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
20398 stabs testcode.
20399
20400Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20401
20402 * lib/gdb.exp (gdb_test): Don't send anything if the first
20403 argument is an empty string. This makes cases where we want to
20404 match output that is already in expect's buffers (for example,
20405 matching a breakpoint after gdb_run_cmd has been called) work
20406 reliably.
20407
20408Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20409
20410 * config/netware.exp: New file.
20411
20412Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20413
20414 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
20415 the -B and -L prefixes so we can find the debugging stub.
20416
20417 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
20418 there and we are using the gcc from the tree.
20419
20420 * gdb.base/types.c: Removed.
20421
20422 * gdb.base/configure.in: Look for makefile fragments in ../config.
20423 Recognize i386-*-netware.
20424 * gdb.c++/configure.in: Likewise.
20425
20426Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20427
20428 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
20429 the correct TCL syntax.
20430
20431Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20432
20433 * gdb.base/opaque.exp: use runto instead of messing around with
20434 breakpoints. Simplify by using gdb_test.
20435
20436 * gdb.base/bitfields.exp: restart between tests on netware targets
20437 because breakpoints aren't relocated after target death. Run
20438 processes to completion.
20439
20440 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
20441
20442Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
20443
20444 * Makefile.in: Remove extra tabs that confuse some versions
20445 of "make". Use the newly built gdb to test with by default,
20446 rather than the first one in the tester's search path.
20447
20448Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
20449
20450 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
20451
20452 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
20453 condition help.
20454
20455Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20456
20457 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
20458
20459 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
20460 running.
20461 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
20462 * gdb.base/funcargs.exp: Likewise.
20463
20464 * gdb.base/bitfields.exp: Simplify by using gdb_test.
20465 * gdb.base/funcargs.exp: Likewise.
20466
20467 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
20468 message is "".
20469
20470Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20471
20472 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
20473 return,signals,twice}.exp: Handle non-existant binaries
20474 consistantly.
20475
20476 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
20477 * gdb.base/Makefile.in: Don't try to generate a core dump, we
20478 might testing a cross development system.
20479
20480Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20481
20482 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
20483 runtest script is relative to ${srcdir}, not ${rootdir}.
20484
20485Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
20486
20487 * gdb.base/signals.exp: Allow for optionality of breakpoint
20488 address.
20489
20490Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20491
20492 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
20493
20494Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20495
20496 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
20497 for size_t definition.
20498 * gdb.c++/templates.cc: Likewise
20499
20500 * config/mt-i386-netware: New file.
20501
20502 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
20503 defined.
20504
20505 * gdb.base/Makefile.in: Added support for systems that name core
20506 files by appending "core" to the program name.
20507 * gdb.base/a1-selftest.exp: Likewise.
20508
20509Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20510
20511 * gdb.base/return.exp: Add comment and message for `return double'
20512 test failure on Sparc Solaris.
20513
20514Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
20515
20516 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
20517
20518Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20519
20520 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
20521 from optimizing them away.
20522 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
20523 patterns to include default constructors and assignment operators,
20524 to match gcc versions beyond 2.5.8. Accept any cplus demangling
20525 character in the output of the virtual base pointer.
20526
20527Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20528
20529 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
20530 expression match in print_addr_of to avoid unintented matches.
20531 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
20532 versions up to 2.5.8.
20533
20534Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20535
20536 * gdb.base/list.exp: Tweak alternate pattern for listing of an
20537 included file to run under newer versions of expect.
20538 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
20539 consecutive >'s in templates to accomodate recent cplus-dem.c change.
20540 Remove xfail for the virtual table of BDDHookV.
20541
20542Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
20543
20544 * lib/gdb.exp (string_to_regexp): Set a default result.
20545 (default_gdb_start): Fix misleading message.
20546
20547Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
20548
20549 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
20550 Remove all CC, etc definitions.
20551 * config/mt-hpux: New file.
20552 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
20553 (CFLAGS, LDFLAGS): Define.
20554 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
20555
20556 * Makefile.in (site.exp): Don't insert host_os, etc.
20557 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
20558 (distclean): Check existence of subdir.
20559 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
20560 * gdb.base/Makefile.in: General cleanup and simplification.
20561 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
20562 to build executables. Use default rule to build .o files.
20563 (EXPECT, RUNTEST, CC): Fix relative pathname.
20564 (site.exp): Don't insert host_os, etc.
20565 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
20566 and/or SIGUSR1 defined.
20567 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
20568 * gdb.c++/Makefile.in: General cleanup and simplification.
20569 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
20570 (CFLAGS): Remove.
20571 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
20572
20573Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
20574
20575 * gdb.base/recurse.exp: Misc changes to get tests running again
20576 after Kung's changes to the watchpoint code.
20577 * gdb.base/watchpoint.exp: Likewise.
20578
20579Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
20580
20581 * lib/gdb.exp (string_to_regexp): Convert {\} also.
20582
20583Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
20584
20585 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
20586 * lib/gdb.exp (default_gdb_start): Define.
20587 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
20588 gdb.base/funcargs.exp, gdb.base/opaque.exp,
20589 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
20590 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
20591 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
20592 Don't call gdb_target_udi in between tests.
20593
20594Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20595
20596 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
20597 (which was basically just a local version of the same thing). In
20598 addition to avoiding duplication, gdb_test_exact is faster.
20599 * lib/gdb.exp (gdb_test_exact): Fix typo.
20600
20601 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
20602 don't give an error.
20603
20604 * gdb.base/term.exp: Call delete_breakpoints before starting.
20605
20606 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
20607 (t10): Add comment.
20608
20609Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
20610
20611 Reorganization of the GDB Test Suite.
20612
20613 * gdb.base: New directory, contains all the basic tests.
20614 * gdb.c++: New directory, tests specific to C++.
20615 * gdb.chill: New directory, tests specific to Chill.
20616 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
20617 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
20618 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
20619 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
20620 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
20621 t30-31 to chill).
20622 * */gdbme.*: Rename to match appropriate expect scripts.
20623 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
20624 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
20625 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
20626 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
20627 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
20628 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
20629 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
20630 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
20631 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
20632 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
20633 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
20634 gdb.c++/virtfunc.cc: New names of C++ files.
20635 * gdb.chill/chillvars.ch: New name of Chill file.
20636 * gdb.base/configure.in, gdb.c++/configure.in,
20637 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
20638 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20639 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
20640 * configure.in (configdirs): Update to reflect directory changes.
20641 (target_abbrev): No longer define for any configuration.
20642 * Makefile.in: Cosmetic improvements to header comments.
20643
20644Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
20645
20646 Various changes to gdb.t31:
20647
20648 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
20649 * gdbme.ch: Make all key-words and predefineds be upper-case.
20650 * chillvars.exp: Expect key-words and predefinds in upper-case.
20651
20652 * chillvars.exp: Use gdb_test_exact many places.
20653 Change expected output for arrays (which now includes index labels).
20654
20655 * pr-5020.exp, gdme.ch (module PR_5020):
20656 New test, for PR-5020.
20657
20658Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
20659
20660 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
20661 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
20662
20663Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
20664
20665 * Makefile.in: Fix bit-rot in definitions of CHILL,
20666 CHILL_FOR_TARGET and Chill_LIB.
20667 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
20668 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
20669 CHILL, and CHILL_LIB.
20670
20671Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
20672
20673 * Revert the previous changes. Please see Rob's directory
20674 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
20675
20676Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
20677
20678 * Makefile.in, configure.in, config/mips-gdb.exp,
20679 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
20680 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
20681 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
20682 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
20683 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
20684 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
20685 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
20686 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
20687 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
20688 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
20689 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
20690 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
20691 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
20692 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
20693 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
20694 changes from 94Q1.
20695
20696Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
20697
20698 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
20699 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
20700 Rob's new testing fragments.
20701
20702Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
20703
20704 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
20705 lib/gdb.exp: Replace error proc calls with perror.
20706
20707Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
20708
20709 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
20710 version also, match on casted version strings, and match on
20711 gdb startup case where the line numbers might be messed up.
20712
20713Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
20714
20715 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
20716 (CFLAGS): Delete it from here.
20717
20718Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
20719
20720 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
20721
20722Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
20723
20724 * Makefile.in (RUNTEST): Default to just "runtest".
20725
20726Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20727
20728 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
20729 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
20730 the code has been restructured.
20731
20732Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20733
20734 * gdb.t00/default.exp (set write): Allow any number of \r and/or
20735 \n, not just one of each.
20736
20737 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
20738 /bin/cc gives a warning if you do.
20739
20740Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
20741
20742 * gdb.t24/demangle.exp: change expect pattern of
20743 __t10ListS_link1ZUiRCUiPT0
20744
20745Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20746
20747 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
20748 on local variables in recursive functions.
20749
20750 * gdb.t07/Makefile.in: Build the new test.
20751
20752Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20753
20754 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
20755 directly. Instead compare the return values from actual calls.
20756
20757Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
20758
20759 * Makefile.in (check): Set TCL_LIBRARY for runtest.
20760
20761Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20762
20763 * From Peter Schauer with minor modifications.
20764 * gdb.t15/return.exp (return_tests): Handle targets where "return"
20765 stops in mid-line in the caller. Add xfail for returning a float
20766 value on X86 targets.
20767
20768Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20769
20770 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
20771 to avoid expect lossage.
20772 (fmem_LRbug_tests): Likewise.
20773 * gdb.disasm/hppa.s: Corresponding changes.
20774
20775 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
20776 conditions to work with latest dejagnu/expect.
20777
20778 * gdb.t15/funcargs.exp (finish from indirect call): No longer
20779 expected to fail on the PA.
20780 (backtrace in call with trampolines): Explicitly require main
20781 to be frame #1 (no trampolines should show up in backtrace).
20782
20783 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
20784 "continue -expect".
20785 * gdb.t06/break.exp: Likewise.
20786 * gdb.t07/watchpoint.exp: Likewise.
20787 * gdb.t13/bitfields.exp: Likewise.
20788 * gdb.t15/{funcargs,return}.exp: Likewise.
20789 * gdb.stabs/weird.exp: Likewise.
20790 * config/{mips,udi}-gdb.exp: Likewise.
20791
20792 * hppa.sed: Enclose comments within a sed command to avoid
20793 losing with the old OSF1 sed.
20794
20795Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20796
20797 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
20798 sequent dynix.
20799 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
20800 * gdb.t15/funcargs.exp: Conditionally step again to really
20801 finish from marker_call_with_trampolines. Handle the case where
20802 the first step from within call_with_trampolines already steps
20803 us back to main.
20804 * gdb.t15/gdbme.c: Add comment to closing brace of
20805 call_with_trampolines for funcargs.exp.
20806
20807Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20808
20809 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20810 Fix typo(s).
20811
20812Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20813
20814 * gdb.t07/gdbme.c: More code for watchpoint testing.
20815
20816 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
20817 "Hardware watchpoint" throughout file.
20818 (test_watchpoint_triggered_in_syscall): New test.
20819 (test_complex_watchpoint): New test.
20820
20821Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20822
20823 * gdbme.c (call_with_trampolines): New function to try and step
20824 into. Tests trampoline problems on the PA.
20825
20826 * funcargs.exp (localvars_in_indirect_call): No longer expect
20827 stepping into indirect call to fail on PAs.
20828 (test_stepping_over_trampolines): New test.
20829
20830Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20831
20832 * TODO: Add suggestions for static member function tests, and
20833 completion tests.
20834
20835Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20836
20837 * TODO: Add suggestions for "p/a" tests.
20838
20839 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
20840 (default_gdb_exit): Replace all the hair with sending "quit" to
20841 the process with a simple close.
20842
20843Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20844
20845 * TODO: Add suggestions for shared library tests.
20846
20847Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20848
20849 * TODO: Add suggestions for x/s tests.
20850
20851Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20852
20853 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
20854 "enable once", and "enable breakpoints once" with ".*".
20855
20856Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20857
20858 * TODO: Add suggestions about structure passing tests.
20859
20860Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20861
20862 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
20863 the primary1 test, use work around if __GNUC__ < 2.
20864 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
20865 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
20866 Test for bad output rather than waiting for timeout. Issue
20867 second continue only if first continue failed.
20868
20869Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20870
20871 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
20872 operator[] test with gdb_test because the old code didn't seem to
20873 be getting the quoting right with the new dejagnu.
20874
20875Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
20876
20877 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
20878 one from the path.
20879 * Makefile.in: Use a fresh expect if there is one, use runtest
20880 from the src tree if there is one.
20881
20882Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20883
20884 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
20885 next over recursive call. Revise the tests from that point on
20886 (which had been skipped) to match GDB's actual (correct) output.
20887
20888 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
20889 with next over a breakpoint whose condition is false.
20890
20891 * gdb.t00/help.exp: Comment out "help set print" tests just like
20892 (and for same reason as) "help set" test.
20893
20894Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20895
20896 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
20897 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
20898
20899Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20900
20901 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
20902 necessary gdb_target_udi.
20903
20904 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
20905
20906 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
20907 1838 and 2417; they are fixed.
20908
20909 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
20910 gdb.t03/ptype.exp (ptype structure, ptype union):
20911 Remove xfails; the test is looser than when the xfails were added.
20912
20913 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
20914 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
20915
20916 * gdb.t01/run.exp: Only run shell test if isnative.
20917
20918 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
20919 since "run" automatically loads if necessary. Call gdb_target_udi
20920 after the "file" since "file" kills any execution target.
20921
20922 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
20923 GDB. GDB doesn't work that way (not anymore at least) on UDI.
20924 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
20925 argument for UDI.
20926
20927Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20928
20929 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
20930
20931 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
20932
20933Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20934
20935 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
20936 properly quoting regexps. This makes the second argument to
20937 demangle a fixed string, which matches the callers, instead of a
20938 shell-style pattern which is what the previous implementation
20939 used. Update some of the callers.
20940
20941Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20942
20943 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
20944 (comib_nullified_tests): Fix typo.
20945 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
20946 strings. No longer expected to fail.
20947
20948 * gdb.disasm/hppa.s (addib_tests): Fix typo.
20949 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
20950 strings. No longer expected to fail.
20951
20952 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
20953 string. No longer expected to fail.
20954
20955Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20956
20957 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
20958 No longer expected to fail.
20959
20960 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
20961 string. No longer expected to fail.
20962
20963Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20964
20965 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
20966 only in the names (I probably got most of them). I was even
20967 generous with some which differed in underscores in names, and
20968 probably missed a few, and I *still* was able to remove almost a
20969 third of the file with almost no impact on testsuite coverage.
20970
20971Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20972
20973 * gdb.t00/default.exp: Match udi_attach error message as well as
20974 the one from child_attach.
20975
20976 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
20977
20978 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
20979
20980 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
20981 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
20982
20983 * Move test with enums and partial symbols back to
20984 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
20985 Reverts the change of 26 May 93. Per today's change to
20986 stabs.texinfo, the behavior that weird.exp was expecting was
20987 unreasonable; what is important is that the compiler+gdb get
20988 things right, which happens with a recent gcc. Also fix the test
20989 to deal with native compilers which put out the stab gdb can't
20990 deal with.
20991
20992Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20993
20994 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
20995 in the names. The main thing these accomplish is to slow things down.
20996 Many more such duplicates surely remain.
20997
20998 * gdb.t00/help.exp: Comment out "help support" test just like
20999 (and for same reason as) "help set" test.
21000
21001Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
21002
21003 * gdb.t06/break.exp: Remove setup_xfails for
21004 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
21005 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
21006 about known bug in gcc to include up through 2.5.8.
21007 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
21008 well as "_vb$".
21009 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
21010 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
21011 with latest gcc and gdb.
21012 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
21013 well as "_vb$".
21014
21015Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21016
21017 * configure.in (hppa*-*-*): Also configure and build stabs-only
21018 tests.
21019
21020Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21021
21022 * gdb.t10/hppa.mt: A makefile fragment for the PA.
21023 * gdb.t10/configure.in (hppa*-*-*): Use it.
21024
21025Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21026
21027 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
21028
21029Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21030
21031 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
21032 versions prior to 1.13.5.
21033
21034Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21035
21036 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
21037 the prompt is at the start of a line.
21038
21039Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21040
21041 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
21042 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
21043 in the copr tests now.
21044 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
21045 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
21046 expected to fail.
21047
21048Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
21049
21050 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
21051 gdb.t31/chillvars.exp, lib/gdb.exp:
21052 Tweak to run under either version of expect.
21053 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
21054 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
21055 * gdb.t11/list.exp: Remove extraneous whitespace.
21056
21057Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21058
21059 * gdb.t16/printcmds.exp (test_print_strings): Accept
21060 "(unsigned char *) " before the string.
21061
21062 * TODO: Add notes about printing of fancy types and GDB expressions.
21063
21064Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
21065
21066 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
21067 * gdb.t06/configure.in: Don't try to compile signals test program
21068 if doing mips-idt-ecoff.
21069
21070Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
21071
21072 * Most .exp files: Tweak to run under either version of expect.
21073
21074Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21075
21076 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
21077 xfails; I'm not sure why they are failing, but not because of PR 1806.
21078
21079Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
21080
21081 * config/unix-gdb.exp: Remove gdb_unload cause it's already
21082 defined in lib/gdb.exp.
21083
21084Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21085
21086 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
21087 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
21088 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
21089 have to be typeless.
21090
21091Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21092
21093 * TODO: Add suggestion for copyright year test.
21094
21095Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
21096
21097 * configure.in (*-*-lynxos*): Add stabs tests.
21098
21099Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
21100
21101 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
21102 so insert a tab before any assembler directive in column zero.
21103
21104 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
21105 stores.
21106 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
21107 stores.
21108 (fpu_short_memory_tests): Likewise.
21109
21110Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21111
21112 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
21113 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
21114 .stabs directives in comments.
21115
21116Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21117
21118 * TODO: New file, describing tests we could write.
21119 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
21120
21121Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21122
21123 * gdb.t06/signals.exp: Add kludge to force re-sync.
21124
21125 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
21126 to xgdb instead of gdb, get out of gdb.
21127
21128Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
21129
21130 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
21131 for info.
21132
21133Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
21134
21135 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
21136 * gdb.stabs/configure.in (hppa*-*-*): Use it.
21137 * gdb.stabs/hppa.sed: New sed script for the PA.
21138
21139Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21140
21141 * gdb.stabs: Re-write weird.def and configuration to use sed
21142 instead of cpp. sed is portable and POSIX; cpp is neither.
21143
21144Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21145
21146 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
21147
21148Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21149
21150 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
21151
21152Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21153
21154 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
21155 "_vb$".
21156 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
21157 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
21158
21159Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21160
21161 * lib/gdb.exp: Comment out code which depends on non-existent
21162 `transform' procedure.
21163
21164Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
21165
21166 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
21167 * lib/gdb.exp: Transform tool name.
21168 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
21169 1.1's new error handling system.
21170
21171Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21172
21173 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
21174
21175Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21176
21177 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
21178 They made pattern matching so slow that timeouts happened on
21179 heavily loaded systems. Now any output from "show print" which
21180 gets us back to the GDB prompt is a PASS.
21181
21182Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
21183
21184 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
21185
21186Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21187
21188 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
21189
21190 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
21191 It is not from PR 3220.
21192
21193Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21194
21195 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
21196 just started failing because they depended on the order the
21197 subcommands are presented, or exact docstring text. This kind of
21198 test is a pain and has minimal benefit.
21199
21200Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21201
21202 * gdb.t09/corefile.exp: At end of test, use "core" command with
21203 no arguments.
21204
21205Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
21206
21207 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
21208 17}/Makefile.in: Make it possible to run the testsuite with Sun
21209 make and CC = cross gcc by adding explicit build rules for .o
21210 files.
21211
21212Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21213
21214 * gdb.t15/funcargs.exp: Don't put comments on same line as
21215 setup_xfail (@#$*%& tcl braindamage!).
21216
21217Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21218
21219 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
21220
21221Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
21222
21223 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
21224 * gdb.t20/inherit.exp: remove three dumplicate entries.
21225
21226Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21227
21228 * gdb.t06/break.exp: For "next over recursive call", fail on any
21229 incorrect output, not just on "factorial (value=2)".
21230
21231Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21232
21233 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
21234 working now. Add an xfail if accesing a bss variable causes
21235 a memory error if the target is not yet run.
21236
21237Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21238
21239 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
21240 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
21241 name of __st* demangling (2 strings). Did Kung really get the
21242 more than 95 others right without testing them?
21243
21244Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
21245
21246 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
21247
21248Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
21249
21250 * configure.in (configdirs): Add gdb.disasm
21251 * gdb.disasm: New directory for GDB disassembler tests.
21252 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
21253
21254Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21255
21256 * gdb.t00/help.exp: Don't test "help set".
21257
21258 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
21259 from within expect statements. None of these happen anymore and
21260 they cause regressions to be silently unnoticed.
21261
21262 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
21263 messages) about known failures with gcc cygnus-2.4.5-930417.
21264
21265 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
21266 comp-info.exp so it gets built if it doesn't exist.
21267
21268 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
21269 it is no longer used.
21270 * gdb.t13/comp-info.c: Removed.
21271
21272Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21273
21274 * gdb.t06/signals.exp: Add xfail for sun3.
21275
21276Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21277
21278 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
21279 relevant because ^C doesn't get sent but failure can be reproduced
21280 interactively).
21281
21282Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21283
21284 * gdb.stabs/alpha.mt: New configuration file for alpha.
21285 * gdb.stabs/configure.in: Use it.
21286 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
21287 sharing with alpha.mt, redefine long to word via preprocessor.
21288 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
21289 for alpha.
21290 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
21291 native cc.
21292 * gdb.t00/teststrategy.exp: Change expect string so that we
21293 consume the `(xgdb)' from the command echo and from the gdb prompt.
21294 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
21295 gdb currently compares all values as long, so this failure probably
21296 applies to any configuration where LONGEST is bigger than a target int.
21297 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
21298 with gcc.
21299 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
21300 to handle opaque pointers, gcc is.
21301 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
21302 as first argument. Include <sys/types.h> and change all operator
21303 new definitions to use size_t.
21304 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
21305 now that we use size_t.
21306
21307Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21308
21309 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
21310 a long or float array cast all array members to the same type.
21311 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
21312 with 64 bit longs.
21313 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
21314 on alpha.
21315 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
21316
21317Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21318
21319 * gdb.t24 (demangle.exp): Constructors of templates have names like
21320 vector<int>::vector(int) not vector<int>::vector<int>(int). See
21321 section 14.6 of the ARM.
21322
21323 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
21324 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
21325 accomplish little and slow down the testsuite.
21326
21327 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
21328 Accept spaces various places.
21329
21330Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21331
21332 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
21333 with watchpoint enabled.
21334
21335 * Makefile.in: Remove definition of CC and remove the second
21336 definition of CXX (the "CXX = gcc" one remains). These definitions
21337 were causing backquotes to be expanded within backquotes, which
21338 doesn't work.
21339
21340Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
21341
21342 * gdb.t17/callfuncs.exp: Add "return 0" to end.
21343
21344Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21345
21346 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
21347 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
21348 by mips cc and contains no stabs entries.
21349
21350Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
21351
21352 * config/vx-gdb.exp: Use fake device to load files rather than
21353 NFS.
21354 * lib/gdb.exp: New proc to do "file" command.
21355 * config/unix-gdb.exp: Use new "file" proc.
21356
21357Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
21358
21359 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
21360 Rework board rebooting slightly.
21361 (gdb_exit): Don't exit from the remote shell; there isn't one.
21362 * gdb.stabs/weird.exp: If a program is being debugged already,
21363 kill it.
21364 * gdb.t04/setvar.exp: Stop and restart gdb.
21365 * gdb.t05/expr.exp: Likewise.
21366 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
21367 restart gdb and reload the program.
21368 * gdb.t08/opaque.exp: Likewise.
21369 * gdb.t12/scope.exp: Likewise.
21370 * gdb.t13/bitfields.exp: Likewise.
21371 * gdb.t15/funcargs.exp: Likewise.
21372 * gdb.t20/classes.exp: Likewise.
21373 * gdb.t03/ptype.exp: Increase timeout.
21374 * gdb.t16/printcmds.exp (test_print_string_constants,
21375 test_print_array_constants): Likewise.
21376 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
21377 * gdb.t20/classes.exp (do_tests): Likewise.
21378 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
21379
21380Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
21381
21382 * gdb.stabs: Renamed *wierd* to *weird*.
21383
21384Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
21385
21386 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
21387 for timeout. Add "known gcc 2.4.5 bug" to failure message.
21388
21389Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
21390
21391 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
21392 (do_tests): Remove xfail for whatis on one_var and two_var.
21393
21394Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
21395
21396 * Makefile.in: Made cross building work better by adding
21397 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
21398
21399Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21400
21401 * gdb.t15/{return.c,return.exp,Makefile.in}:
21402 New test, currently commented out.
21403
21404Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
21405
21406 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
21407 still running and removes the leftover named socket so GDb can do
21408 clean restarts.
21409
21410Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
21411
21412 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
21413 console, not GDB.
21414 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
21415 cross testing works better with "make check"
21416 * config/unix-gdb: Use default procedures for exit and version.
21417 * config/vx-gdb.exp: Cleaned up and massaged back to working order
21418 with the newest VxWorks.
21419
21420Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21421
21422 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
21423 old form.
21424
21425 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
21426 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
21427
21428 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
21429
21430 * config/unix-gdb.exp: Remove this version of gdb_exit
21431 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
21432 Rob says he'll look at it when he gets back to testing boards.
21433
21434Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
21435
21436 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
21437 an expected fail for certain ptype commands.
21438
21439 * gdb.t20/classes.exp: Update expected results of "ptype class
21440 Base1" to account for the constructor that now appears in the type.
21441
21442Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
21443
21444 * configure.in (configdirs): Restore gdb.t04, which mysteriously
21445 disappeared from list.
21446 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
21447 "alldone" proc with call to cleanup and exit.
21448 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
21449 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
21450 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
21451 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
21452 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
21453 "alldone" proc with simple returns that suppress remaining
21454 tests. The alldone proc went away many months ago.
21455
21456Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21457
21458 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
21459
21460 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
21461
21462Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21463
21464 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
21465 as vax gdb will display them.
21466
21467Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21468
21469 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
21470 optimizers.
21471
21472 * scope.exp: Change "bad value for localval" messages so each one
21473 is unique.
21474
21475 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
21476 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
21477
21478 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
21479
21480Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21481
21482 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
21483 doesn't exist (due to optimization).
21484
21485Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21486
21487 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
21488 contains \r because the filename is long.
21489
21490 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
21491 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
21492
21493Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21494
21495 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
21496 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
21497 Ultrix.
21498 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
21499 int tests.
21500 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
21501
21502Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
21503
21504 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
21505
21506 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
21507 to match does not match the passing case but still matches the
21508 failing case.
21509
21510Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21511
21512 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
21513
21514Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
21515
21516 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
21517 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
21518 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
21519 Remove various versions of gdb_exit.
21520 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
21521 gdb_exit.
21522 * config/unix-gdb.exp: gdb_exit remains here, and should override
21523 the generic version, since it's doing a lot of wierd stuff that
21524 the other versions aren't. FIXME, fold it in, or abandon this
21525 version.
21526
21527Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21528
21529 * gdb.t24/demangle.exp: Add tests for PR 3220.
21530
21531Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21532
21533 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
21534
21535Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
21536
21537 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
21538 "i386-*-*". Works for i486 as well.
21539
21540 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
21541 bug, and expand domain of xfail to all SVR4 systems, since the
21542 actual problem is likely to be in generic SVR4 /proc support.
21543
21544Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21545
21546 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
21547
21548Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
21549
21550 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
21551 xfails for other systems. Match a missing 'Continuing.' as an
21552 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
21553
21554 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
21555 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
21556 Only issue warning for missing executables if -all option is used.
21557
21558 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
21559 file if -all option is used. It's like an unpredictable XFAIL.
21560
21561Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21562
21563 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
21564 for dynamically linked binaries.
21565
21566 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
21567
21568Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21569
21570 * gdb.t20/inherit.exp: Change message for "print tagless struct"
21571 to state that this is a known bug in old versions of g++.
21572
21573Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21574
21575 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
21576 while waiting for `Continuing'.
21577
21578Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
21579
21580 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
21581 in text, data, and bss.
21582 * gdb.t10/nodebug.c: Add local and global test variables for
21583 initialized and uninitialized data.
21584
21585Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21586
21587 * config/unix-gdb.exp (gdb_exit): Add "wait".
21588
21589Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21590
21591 * gdb.t06/signals.exp: xfail the continue from the handler for all
21592 targets.
21593
21594 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
21595 function with watchpoints enabled, the i386 call dummy starts with
21596 a call.
21597
21598 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
21599 386 bsd names its corefiles.
21600
21601Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
21602
21603 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
21604 compilers don't grok it.
21605 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
21606 with small octal ints rather than character constants, which
21607 are signed and might not fit if first promoted to int.
21608
21609Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
21610
21611 * gdb.t09/Makefile.in (clean): Remove corefile.
21612
21613Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21614
21615 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
21616
21617Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21618 and Jim Kingdon (kingdon@cygnus.com)
21619
21620 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
21621 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
21622 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
21623
21624Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21625
21626 * gdb.t17/interrupt.exp: Add xfail for hppa.
21627
21628Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21629
21630 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
21631 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
21632 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
21633 to determine signed-ness of bitfields and use the result to setup
21634 the xfail.
21635 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
21636 * gdb.t15/funcargs.exp: Use them to step until the second indirect
21637 call line is reached if necessary.
21638
21639Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21640
21641 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
21642
21643Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21644
21645 * gdb.t06/break.exp: Also test `clear' command.
21646
21647Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21648
21649 * gdb.t00/teststrategy.exp: Remove extra quote.
21650
21651 * gdb.t07/watchpoint.exp: Change xfail for calling function with
21652 watchpoint enabled to be for all non-68k machines.
21653
21654 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
21655
21656Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21657
21658 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
21659 targets use aout.mt instead of ecoff.mt as gas understands
21660 standard aout format.
21661
21662Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21663
21664 * lib/gdb.exp (runto): Don't insist that function we are running to
21665 was compiled with -g.
21666
21667 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
21668
21669 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
21670 to get back into the read system call.
21671 Accept leading newline in case where we woke it up.
21672
21673Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21674
21675 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
21676 to make the stabs test work on ecoff systems using gcc and -with-stabs.
21677 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
21678 enable ecoff configuration.
21679
21680Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21681
21682 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
21683
21684Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21685
21686 * gdb.t16/printcmds.exp: Add another printf test.
21687
21688Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
21689
21690 * configure.in: If configured -with-stabs on any target, add
21691 stabsdirs to configdirs.
21692
21693Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21694
21695 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
21696 fun" so pattern does not match the command itself.
21697
21698Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21699
21700 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
21701
21702Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21703
21704 * gdb.t17/interrupt.exp: Test for more things.
21705
21706Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21707
21708 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
21709 compiler arranges the code and line numbers.
21710
21711 * gdb.t17/interrupt.exp: Don't send \n after ^C.
21712
21713Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21714
21715 * gdb.t00/help.exp: Increase expect input buffer size.
21716
21717Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21718
21719 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
21720
21721 * gdb.t07/watchpoint.exp: Add xfail for hppa.
21722
21723 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
21724
21725 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
21726 [0-9]*, not just [0-9].
21727
21728Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21729
21730 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
21731
21732 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
21733
21734Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21735
21736 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
21737
21738Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21739
21740 * gdb.t06/signals.c: Add xfails for sun3.
21741
21742 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
21743
21744 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
21745 test_stepping tests.
21746
21747Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21748
21749 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
21750
21751 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
21752
21753 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
21754 rather than actually putting it through cpp twice.
21755
21756 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
21757
21758Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
21759
21760 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
21761 no longer needed.
21762
21763Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21764
21765 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
21766
21767 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
21768 C++ features prints as "struct", make it a pass, not an xfail.
21769
21770Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21771
21772 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
21773 Don't require VA to print as "class" rather than "struct".
21774
21775Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
21776
21777 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
21778
21779Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21780
21781 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
21782
21783Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21784
21785 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
21786 order.
21787
21788Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21789
21790 * gdb.t16/printcmds.exp: Add printf tests.
21791
21792 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
21793
21794 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
21795
21796Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
21797
21798 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
21799 pass counts, to counteract any existing or future setup_xfails.
21800
21801Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21802
21803 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
21804 {BEGIN,END}_COMMON for common block instead of STAB.
21805 * gdb.stabs/wierd.exp: Add xfail for rs6000.
21806
21807 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
21808 intp_var should be N_GSYM not N_LSYM.
21809 wierd-aout.S: Use a label for the value of the N_SO.
21810 wierd.def: Remove all backslashes.
21811 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
21812
21813Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21814
21815 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
21816 get the expected next to inheritance3.
21817
21818Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21819
21820 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
21821 now that gcc-2.4 gets it right.
21822
21823Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21824
21825 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
21826
21827 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
21828 generating comp-info.exp which works for cross-compilation.
21829
21830Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
21831
21832 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
21833 "*-*-sysv4.*".
21834
21835Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
21836
21837 * gdb.t01/run.exp: Start with a fresh gdb.
21838 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
21839 SVR4.x.
21840
21841Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
21842
21843 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
21844 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
21845 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
21846 Makefile.in (distclean, realclean): Remove gdbme.c from list of
21847 things to remove.
21848
21849Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
21850
21851 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
21852 test cases from bug reports.
21853
21854Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
21855
21856 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
21857 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
21858 avoid spurious xfails.
21859 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
21860 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
21861 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
21862
21863Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
21864
21865 * gdb.t00/teststrategy.exp: Rework to provide more useful
21866 description of each test, fix problem with systems that define
21867 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
21868 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
21869 results for "next over recursive call" so timeouts aren't taken
21870 by error.
21871
21872Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
21873
21874 * gdb.t12/scope.exp: Test printing of variables before run.
21875
21876 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
21877 printed in wrong order due to sorting.
21878
21879Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
21880
21881 * gdb.t00/teststrategy.exp: Fix expected results for printing
21882 user entered string constant. Is array of char, prints with no
21883 address.
21884
21885 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
21886 commands.
21887 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
21888 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
21889 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
21890 of struct of char arrays.
21891 * gdb.t00/radix.exp: New tests for radix commands.
21892
21893Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
21894
21895 * gdb.t16/printcmd.exp: Print a variable before running program
21896 (with xfail for AIX).
21897
21898Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
21899
21900 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
21901
21902 * gdb.t16/printcmd.exp: Don't print variables before running program.
21903
21904 * gdb.t06/break.exp: Don't require envp argument to main.
21905
21906 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
21907
21908 * gdb.t02/whatis.exp, gdb.t11/list.exp:
21909 Add xfails for rs6000.
21910
21911 * gdb.t02/whatis.exp: Change other tests not to re-test something
21912 we already tested.
21913
21914 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
21915 each type used has a variable of that type.
21916
21917Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
21918
21919 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
21920
21921Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
21922
21923 * configure.in: change srctrigger to be a file, not a directory
21924
21925Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
21926
21927 * configure.in (mips-idt-ecoff*): Added trailing '*'.
21928
21929 * gdb.t11/list.exp: Fixed a couple of typos.
21930
21931Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
21932
21933 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
21934 is fixed and PR is closed.
21935 * gdb.t16 (gdbme.c): Add simple test string variable.
21936 * gdb.t16 (printcmds.exp): Add tests with simple test string
21937 variable, primarily for boundaries on "set print elements".
21938
21939Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
21940
21941 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
21942 Make leading 0's optional and don't expect a tab in the middle
21943 of the number.
21944
21945 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
21946
21947 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
21948 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
21949 don't end command passed to gdb_test with newline.
21950
21951 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
21952 signed keyword away, don't expect signed bitfields to be signed.
21953
21954 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
21955 printing with only as many 1's as are in the field as well as printing
21956 with 32 1's (see comment).
21957
21958Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
21959
21960 * gdb.t00/default.exp: Start with a fresh gdb.
21961 * configure.in (configdirs): Remove gdb.t31 until the chill
21962 compiler works again. It no longer is able to find chillrt0
21963 since it isn't in libchill.a anymore.
21964 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
21965 wierd.o, make more modular.
21966 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
21967 spurious newlines that caused problems.
21968
21969Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21970
21971 * Move test with enums and partial symbols from gdb.t03/ptype.exp
21972 to gdb.stabs/wierd.exp since GCC has worked around the bug.
21973 gdb.stabs/wierd.{exp,def}: Many new tests.
21974
21975 * gdb.t00/default.exp: update info line for new message.
21976
21977 * gdb.t02/{whatis.exp,gdbme.c}:
21978 Test that "char *" doesn't print as "caddr_t".
21979
21980Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21981
21982 * gdb.t00/help.exp: Use .* in place of some help messages which
21983 just changed.
21984 gdb.t00/default.exp: Update "info frame" test for new message.
21985 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
21986 Remove some xfails
21987
21988Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21989
21990 * gdb.t03/{gdbme.c,ptype.exp}:
21991 Add tests for typedef'd struct and union without tags.
21992 Also check "whatis" on a variable of a typedef'd enum without a tag.
21993
21994 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
21995 PRMS 1823; the bug still exists but isn't reproduced by this test
21996 anymore), and remove rs6000 XFAIL (the bug is fixed).
21997
21998 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
21999 duplicated from whatis.exp. For those that are left, accept
22000 "long", "long int", or "int" for long variables (whatis.exp already
22001 has an XFAIL for "int", so no need to fail it here).
22002
22003 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
22004 Deal with GCC's names for types now that GDB uses the compiler's names.
22005
22006 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
22007 setup_xfail's for sunos4. If we #defined the signed keyword away,
22008 don't expect GDB to know that char it is signed.
22009
22010 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
22011
22012Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
22013
22014 * configure.in (configdirs): Add gdb.t24 for C++ tests that
22015 should work on any system, regardless of debugging format.
22016 * gdb.t21/demangle.exp: Move to gdb.t24.
22017 * gdb.t24/demangle.exp: Move from gdb.t21.
22018 * gdb.t24/{Makefile.in, configure.in}: New files.
22019
22020Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22021
22022 * configure.in: Do gdb.stabs and C++ tests only for stabs.
22023 * gdb.stabs: New directory.
22024
22025Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22026
22027 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
22028 not just "Quit anyway?".
22029
22030Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
22031
22032 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
22033 that all setup_xfails are immediately followed by clear_xfails.
22034
22035Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
22036
22037 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
22038 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
22039 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
22040 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
22041 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
22042 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
22043 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
22044 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
22045 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
22046 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
22047 gdb.t31/chillvars.exp, lib/gdb.exp:
22048 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
22049 bug-gdb@prep.ai.mit.edu.
22050
22051Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
22052
22053 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
22054 with 0.0, not integer 0.
22055
22056Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
22057
22058 * gdb.t06/break.exp: Update for "Kill the program" message change.
22059
22060Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
22061
22062 * Makefile.in (GDBFLAGS): Set to -nx.
22063 * Makefile.in (site.exp): Use GDBFLAGS.
22064
22065Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
22066
22067 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
22068 Makefiles.
22069 (check): depend on just-check.
22070 (just-check): added so that tests can be run without a noop
22071 build pass.
22072
22073Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
22074
22075 Switch to using configure's configdirs.
22076 * Makefile.in (Makefile): add configure.in dependency.
22077 (SUBDIRS): removed redundant assignment.
22078 * configure.in: switch subdirs assignment to configdirs.
22079 * gdb.t*/configure.in: new files.
22080
22081Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
22082
22083 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
22084 works.
22085
22086Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
22087
22088 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
22089 in explicit rules. Apparently this is not supported by some makes.
22090
22091Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
22092
22093 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
22094
22095Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22096
22097 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
22098 disappeared.
22099
22100Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
22101
22102 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
22103
22104Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
22105
22106 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
22107 watchpoint problem that is now fixed.
22108 * gdb.t30/chexp.exp: Remove setup_xfail for printing
22109 uninitialized convenience variables.
22110 * gdb.t31/chillvars.exp: Fix expected patterns for printing
22111 structures.
22112
22113Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22114
22115 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
22116 which causes expect to get out of sync with gdb on long output
22117 from help set.
22118 * gdb.t09/corefile.exp: Make expected pattern for core file
22119 failing signal and frame output format less sun specific.
22120
22121Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
22122
22123 * gdb.t31/chillvars.exp: Add and remove initial dummy
22124 breakpoint, so that symbol table is forced in.
22125 (Needed at least on Sunos4, though it seems not SVR4.)
22126 * gdb.t31/chillvars.exp: Update for changed output format.
22127
22128Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
22129
22130 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
22131
22132Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
22133
22134 * Makefile.in: Added --srcdir when invoking runtest, removed the
22135 need for a local config file. (optional now)
22136
22137Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
22138
22139 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
22140 failure count used to force early termination. Add some more
22141 expected failures for gnu style demangling.
22142
22143Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22144
22145 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
22146 pmi variable from gdb.t20/gdbme to get optimized away.
22147 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
22148 Check for written corefile upon timeout _and_ eof.
22149
22150Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22151
22152 * config/unix-gdb.exp: Add missing return 0.
22153
22154Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22155
22156 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
22157 test termination.
22158
22159Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
22160
22161 * configure.in (subdirs): Put back gdb.t17 which mysteriously
22162 disappeared.
22163
22164Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
22165
22166 * gdb.t10/crossload.exp: Disable the i860-elf test until such
22167 time as i860 support works.
22168
22169 * gdb.t15/funcargs.exp: Fix expected outputs to include
22170 "backtrace 100\r" rather than just "backtrace\r", to match last
22171 change.
22172
22173Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
22174
22175 * config/udi-gdb.exp (gdb_exit): Remove close command.
22176 (gdb_target_udi): New procedure to set the UDI target.
22177 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
22178 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
22179 Added waits for prompts after several question responses. Added
22180 some more responses used by a29k-amd-udi-gdb.
22181 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
22182 pass different arguments, restart UDI connection after program
22183 completion.
22184 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
22185 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
22186 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
22187 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
22188 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
22189 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
22190 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
22191 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
22192 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
22193 after program completion.
22194 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
22195 compiled with a SELECT_VECS setting.
22196 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
22197 infinite recursion.
22198
22199 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
22200 Added checks for COFF results, and made them expected failures for
22201 all targets. It would be better to make them expected failures
22202 for COFF targets only.
22203
22204Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
22205
22206 * Makefile.in: add null dvi target, don't bother to recurse
22207 through test directories for info and install-info; rename
22208 $(datadir) to be dejagnu instead of deja-gnu
22209
22210Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
22211
22212 * gdb.t31/gdbme.ch: Re-enable code that previously caused
22213 compiler to coredump.
22214 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
22215 code.
22216
22217Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
22218
22219 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
22220 coredump.
22221 * gdb.t31/chillvars.exp: Comment out tests that depend on that
22222 code.
22223
22224Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
22225
22226 * gdb.t03/ptype.exp: tests for return code from gdb_test.
22227 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
22228 which in a shell. Deletes xgdb when done.
22229 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
22230 Tests the return from the "set height" or "set width" commands.
22231 Added a few return codes where needed.
22232
22233Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
22234
22235 * Makefile.in (SUBDIRS): Add gdb.t17.
22236 * configure.in (subdirs): Add gdb.t17.
22237 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
22238 files to test gdb's calling of functions in the inferior with
22239 the correct arguments and gdb's ability to retrieve any
22240 result returned.
22241
22242Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
22243
22244 * config/unix-gdb.exp (gdb_exit): Remove close commands that
22245 may be called after gdb goes away. Previous versions of expect
22246 needed these to avoid file descriptor leaks, but they cause
22247 errors with the current revision of expect.
22248 * gdb.t00/gdbvars.exp: Use -re on expected output after
22249 setting sevenbit-strings.
22250 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
22251 to set sevenbit-strings consistent across tests.
22252 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
22253 set sevenbit-strings consistent across tests.
22254
22255Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
22256
22257 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
22258 expected output to match current "expect" expectations.
22259
22260Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
22261
22262 * gdb.t00/default.exp: Change expected output for default "source"
22263 command, to match new gdb behavior which requires a filename to
22264 source.
22265
22266Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
22267
22268 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
22269 expected fail for i486-*-* that misses the marker2 function.
22270 * gdb.t10/crossload.exp (bfddefault): Allow successful
22271 recognition of a format to pass even if no symbols are found.
22272 Explicitly catch failures where the format is not recognized
22273 or is ambiguous, and add the reason to the fail message.
22274 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
22275 the cause is and invalid target and add reason to failure message.
22276 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
22277 elf32-i386, elf32-sparc, and elf32-i860.
22278 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
22279 Set up expected failure for 'filename'::variable scope resolution,
22280 which is now apparently broken on all targets.
22281 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
22282 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
22283 gdb.t23/templates.exp: Change failure for missing binfile into
22284 just a warning.
22285 gdb.t21/demangle.exp: Change all cfront references to 'arm'
22286 references.
22287
22288Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
22289
22290 * gdb.t00/default.exp: Add expected output for default "source"
22291 command, to match new gdb behavior.
22292 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
22293
22294Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
22295
22296 * config/*-gdb.exp: returns an error, rather than exiting on
22297 internal errors.
22298
22299Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
22300
22301 * gdb.t03/gdbme.c: Add pointer to struct variable.
22302 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
22303 referencing struct members.
22304
22305Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
22306
22307 * configure.in (mips-idt-ecoff): New target.
22308 * config/mips-gdb.exp: New file for remote board using MIPS remote
22309 debugging protocol.
22310
22311 * Redid configuration scheme. Removed gdb.t*/configure.in.
22312 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
22313 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
22314 distclean targets. Built executables via .o files. Adjusted
22315 tests to account for source files in $(srcdir) rather than
22316 $(objdir).
22317 * lib/gdb.exp (runto): Don't expect () after the function name,
22318 because it may have arguments.
22319
22320Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
22321
22322 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
22323 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
22324 expected failures for mips-idt-* and mips-sgi-*.
22325 * gdb.t00/default.exp (attach): Kill process if requested.
22326 * gdb.t00/help.exp (help target core, help target): Accept a gdb
22327 that does not read core files.
22328 * gdb.t01/run.exp: Removed checks for exit status code.
22329 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
22330 it is linked in.
22331 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
22332 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
22333 appropriate, rather than doing it by hand.
22334 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
22335 execution.
22336 * gdb.t10/crossload.exp: Kill existing program if needed.
22337 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
22338 appropriate, rather than doing it by hand. Always increase
22339 timeout for this test, not just for VxWorks.
22340
22341Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
22342
22343 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
22344 of Chill STRUCT types and STRUCT values.
22345 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
22346 than "char".
22347 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
22348 struct2): New struct definitions and initializations to test
22349 simple Chill STRUCT types.
22350
22351Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
22352
22353 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
22354 the null byte at the end of strings.
22355 * gdb.t00/default.exp: Make show version insensitive to copyright
22356 date.
22357 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
22358 to avoid dependencies on target char signedness.
22359 * gdb.t16/printcmds.exp: Update expected results for explicitly
22360 unsigned char.
22361 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
22362 now work.
22363 * gdb.t21/demangle.exp: Add many more patterns for template
22364 demangling, most of them being expected failures.
22365 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
22366 string we are matching for, to match on the whole string.
22367 * gdb.t21/demangle.exp: Add many new test strings to demangle,
22368 and fix a whole bunch that had incorrect expected output but were
22369 passing anyway because of the bug in "proc demangle".
22370 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
22371 type.
22372 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
22373
22374Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
22375
22376 * gdb/testsuite: made modifications to testcases, etc., to allow
22377 them to work properly given the reorganization of deja-gnu and the
22378 relocation of the testcases from deja-gnu to a "tool" subdirectory.
22379
22380Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
22381
22382 * gdb/testsuite: Initial creation of gdb/testsuite.
22383 Migrated dejagnu testcases and support files for testing nm to
22384 gdb/testsuite from deja-gnu. These files were moved "as is"
22385 with no modifications. This migration is part of a major overhaul
22386 of dejagnu. The modifications to these testcases, etc., which
22387 will allow them to work with the new version of dejagnu will be
22388 made in a future update.
22389
22390 For additional changes see gdb.mi/ChangeLog-1999-2003.
22391\f
22392;; Local Variables:
22393;; mode: change-log
22394;; left-margin: 8
22395;; fill-column: 74
22396;; version-control: never
22397;; End:
22398
22399 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
22400 2003, 2004, 2005 Free Software Foundation, Inc.
22401 Copying and distribution of this file, with or without modification,
22402 are permitted provided the copyright notice and this notice are preserved.
This page took 0.154515 seconds and 4 git commands to generate.