* lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2011-03-09  Tom Tromey  <tromey@redhat.com>
2
3         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
4         parentheses.
5         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
6         $command.
7         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8         argument to gdb_continue_to_end.
9         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10         argument to gdb_continue_to_end.
11         * gdb.cp/annota3.exp: Fix regex.
12         * gdb.cp/annota2.exp: Fix regex.
13         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
14         gdb_continue_to_end.
15         * gdb.base/call-signal-resume.exp: Revert earlier patch.
16         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
17         gdb_continue_to_end.
18
19 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
20
21         * gdb.server/ext-run.exp
22         (load new file without any gdbserver inferior): New test.
23
24 2011-03-07  Tom Tromey  <tromey@redhat.com>
25
26         * Makefile.in (TAGS): Rewrite.
27
28 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
29
30         * gdb.trace/report.exp (12.1: trace report #1): New match for the
31         initial commands echo.  New match for `Found trace'.  Anchor all the
32         other matches.  Anchor and match for `No trace frame found' the final
33         match.
34
35 2011-03-07  Tom Tromey  <tromey@redhat.com>
36
37         * Makefile.in (TAGS): New target.
38
39 2011-03-07  Tom Tromey  <tromey@redhat.com>
40
41         * lib/opencl.exp (skip_opencl_tests): Update for exit message
42         change.
43         * lib/mi-support.exp (mi_gdb_test): Update for exit message
44         change.
45         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
46         exit message change.
47         (skip_altivec_tests): Update for exit message change.
48         (skip_vsx_tests): Likewise.
49         (gdb_continue_to_end): Likewise.  Add 'command' argument.
50         * lib/cell.exp (skip_cell_tests): Update for exit message change.
51         * gdb.threads/tls.exp: Update for exit message change.
52         * gdb.threads/thread-unwindonsignal.exp: Use
53         gdb_continue_to_end.
54         * gdb.threads/step.exp (step_it): Update for exit message change.
55         (continue_all): Likewise.
56         * gdb.threads/print-threads.exp (test_all_threads): Update for
57         exit message change.
58         * gdb.threads/interrupted-hand-call.exp: Use
59         gdb_continue_to_end.
60         * gdb.threads/execl.exp: Use gdb_continue_to_end.
61         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
62         gdb_continue_to_end.
63         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
64         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
65         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
66         * gdb.cp/method.exp: Update for exit message change.
67         * gdb.cp/mb-templates.exp: Update for exit message change.
68         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
69         * gdb.cp/annota3.exp: Update for exit message change.
70         * gdb.cp/annota2.exp: Update for exit message change.
71         * gdb.cell/fork.exp: Use gdb_continue_to_end.
72         * gdb.base/term.exp: Update for exit message change.
73         * gdb.base/step-test.exp (test_i): Update for exit message change.
74         * gdb.base/sigstep.exp (advance): Update for exit message change.
75         (advancei): Likewise.
76         * gdb.base/siginfo.exp: Update for exit message change.
77         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
78         * gdb.base/reread.exp: Use gdb_continue_to_end.
79         * gdb.base/langs.exp: Use gdb_continue_to_end.
80         * gdb.base/interrupt.exp: Update for exit message change.
81         * gdb.base/gdb1555.exp: Update for exit message change.
82         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
83         * gdb.base/ending-run.exp: Update for exit message change.
84         * gdb.base/chng-syms.exp: Update for exit message change.
85         * gdb.base/checkpoint.exp: Update for exit message change.
86         * gdb.base/catch-syscall.exp (check_for_program_end): Use
87         gdb_continue_to_end.
88         (test_catch_syscall_with_wrong_args): Likewise.
89         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
90         * gdb.base/break-interp.exp (test_ld): Update for exit message
91         change.
92         * gdb.base/bang.exp: Update for exit message change.
93         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
94         (do_call_attach_tests): Likewise.
95         * gdb.base/a2-run.exp: Update for exit message change.
96         * gdb.arch/ppc-dfp.exp: Update for exit message change.
97         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
98         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
99
100 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
101
102         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
103
104 2011-03-03  Tom Tromey  <tromey@redhat.com>
105
106         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
107         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
108         * gdb.hp/gdb.aCC/configure.ac: Remove.
109         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
110         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
111         * gdb.hp/gdb.base-hp/configure.ac: Remove.
112         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
113         * gdb.hp/gdb.compat/configure (Makefile): Remove.
114         * gdb.hp/gdb.compat/configure.ac: Remove.
115         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
116         * gdb.hp/gdb.defects/configure (Makefile): Remove.
117         * gdb.hp/gdb.defects/configure.ac: Remove.
118         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
119         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
120         * gdb.hp/gdb.objdbg/configure.ac: Remove.
121         * gdb.hp/configure.ac: Remove.
122         * gdb.hp/configure: Remove.
123         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
124         substitution.
125         (Makefile): Remove rule.
126         * gdb.cell/configure.ac: Remove.
127         * gdb.cell/configure: Remove.
128         * gdb.stabs/Makefile.in (Makefile): Remove.
129         (distclean): Don't remove config.status or config.log.
130         * gdb.stabs/configure (Makefile): Remove.
131         * gdb.stabs/configure.ac: Remove.
132         * configure: Rebuild.
133         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
134         Remove stabs- and cell-specific logic.  Test for existence of
135         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
136         subdirectories, gdb.cell, and and gdb.stabs.
137         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
138
139 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
140
141         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
142         end of buffer.
143
144 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
145
146         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
147         gdb_test when running a test where we expected no output back.
148
149 2011-02-28  Michael Snyder  <msnyder@vmware.com>
150
151         * gdb.cp/overload.cc: Change initializer value to integer.
152
153 2011-02-27  Michael Snyder  <msnyder@vmware.com>
154
155         * gdb.multi/base.exp: Add test for remove-inferiors.
156
157 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
158
159         * gdb.python/py-frame.exp: Simplify the initialization phase
160         using prepare_for_testing.
161
162 2011-02-25  Michael Snyder  <msnyder@vmware.com>
163
164         * gdb.multi/base.exp: Add tests for info inferiors with args.
165
166 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
167
168         * gdb.dwarf2/dw2-ranges.S: Rename to ...
169         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
170         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
171         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
172         asmfile3.  Comment the STABS (#3) file compilation.  Compile
173         everything through assembler.  Provide KFAIL for symtab/12497.
174         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
175         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
176         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
177         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
178
179 2011-02-24  Michael Snyder  <msnyder@vmware.com>
180
181         * gdb.base/break.exp: Add tests for delete breakpoints using
182         convenience variables and value history references.
183
184 2011-02-24  Michael Snyder  <msnyder@vmware.com>
185
186         * gdb.base/break.exp: Remove debugging 'printf' accidentally
187         left behind in previous check-in.
188
189 2011-02-23  Michael Snyder  <msnyder@vmware.com>
190
191         * gdb.base/break.exp: Add tests for "info break" with arguments.
192         * gdb.trace/infotrace.exp: Update patterns for error and help.
193         * gdb.base/completion.exp: Update pattern.
194         * gdb.base/ena-dis-br.exp: Update pattern.
195         * gdb.base/help.exp: Update patterns.
196
197 2011-02-23  Michael Snyder  <msnyder@vmware.com>
198
199         * gdb.base/memattr.exp: New test.
200         * gdb.base/memattr.c: Test load for memattr.exp.
201
202 2011-02-22  Doug Evans  <dje@google.com>
203
204         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
205
206 2011-02-22  Michael Snyder  <msnyder@vmware.com>
207
208         * Makefile.in: Make more clean.
209         * gdb.ada/Makefile.in: Ditto.
210         * gdb.arch/Makefile.in: Ditto.
211         * gdb.asm/Makefile.in: Ditto.
212         * gdb.base/Makefile.in: Ditto.
213         * gdb.cp/Makefile.in: Ditto.
214         * gdb.dwarf2/Makefile.in: Ditto.
215         * gdb.java/Makefile.in: Ditto.
216         * gdb.mi/Makefile.in: Ditto.
217         * gdb.modula2/Makefile.in: Ditto.
218         * gdb.python/Makefile.in: Ditto.
219         * gdb.server/Makefile.in: Ditto.
220         * gdb.stabs/Makefile.in: Ditto.
221         * gdb.threads/Makefile.in: Ditto.
222         * gdb.trace/Makefile.in: Ditto.
223
224 2011-02-22  Michael Snyder  <msnyder@vmware.com>
225
226         * gdb.threads/thread-find.exp: Add tests for bad input to 
227         info threads.
228
229 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
230
231         * gdb.python/py-breakpoint.exp: Fix the expected output of
232         one of the "maint info breakpoints" tests to accept the output
233         generated on platforms that do not have hardware watchpoints.
234
235 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
236
237         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
238         clean_restart.  Be a little stricter in the expected output
239         for one of the tests.  Fix a typo in one of the comments.
240
241 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
242
243         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
244         Delete variable binfile, no longer use.  Add or modify test
245         comments to make them unique.
246
247 2011-02-21  Michael Snyder  <msnyder@vmware.com>
248
249         * Makefile.in: Update for make clean.
250         * gdb.ada/Makefile.in: Ditto.
251         * gdb.arch/Makefile.in: Ditto.
252         * gdb.asm/Makefile.in: Ditto.
253         * gdb.base/Makefile.in: Ditto.
254         * gdb.cp/Makefile.in: Ditto.
255         * gdb.dwarf2/Makefile.in: Ditto.
256         * gdb.java/Makefile.in: Ditto.
257         * gdb.mi/Makefile.in: Ditto.
258         * gdb.modula2/Makefile.in: Ditto.
259         * gdb.python/Makefile.in: Ditto.
260         * gdb.server/Makefile.in: Ditto.
261         * gdb.stabs/Makefile.in: Ditto.
262         * gdb.threads/Makefile.in: Ditto.
263         * gdb.trace/Makefile.in: Ditto.
264
265 2011-02-21  Michael Snyder  <msnyder@vmware.com>
266
267         * gdb.threads/thread-find.exp: Update patterns for changes in
268         output of "info threads" command.
269
270 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
271             Ulrich Weigand  <uweigand@de.ibm.com>
272
273         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
274         (skip_hw_watchpoint_tests): Likewise.
275         (skip_hw_watchpoint_multi_tests): Likewise.
276
277 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
278
279         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
280         (skip_hw_watchpoint_tests): Likewise.
281         (skip_hw_watchpoint_multi_tests): Likewise.
282         (skip_hw_watchpoint_access_tests): Likewise.
283
284         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
285         * gdb.base/pr11022.exp: Likewise.
286         * gdb.base/watch-read.exp: Likewise.
287         * gdb.base/watch_thread_num.exp: Likewise.
288         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
289         * gdb.base/watchpoint-hw.exp: Likewise.
290         * gdb.base/watchpoint.exp: Likewise.
291         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
292         * gdb.threads/watchthreads-reorder.exp: Likewise.
293         * gdb.threads/watchthreads.exp: Likewise.
294         * gdb.threads/watchthreads2.exp: Likewise.
295
296 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
297
298         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
299         the debugger is unable to find the array bounds.
300
301 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
302
303         * gdb.cp/typedef-operator.exp: New file.
304         * gdb.cp/typedef-operator.cc: New file.
305
306 2011-02-17  Michael Snyder  <msnyder@vmware.com>
307
308         * gdb.threads/thread-find.exp: Fix regular expressions.
309
310 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
311
312         * gdb.ada/packed_array: Expand testcase to test printing of
313         unconstrained packed array.
314
315 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
316
317         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
318
319 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
320
321         * gdb.trace/collection.c (globalarr3): New global.
322         (main): Initialize it before collecting, and and clear it
323         afterwards.
324         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
325         collecting with '{type} addr', where the addr expression is not an
326         rvalue.
327
328 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
329
330         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
331         a bool variable. Expect correct OpenCL names for vector types. Use the
332         uc3 variable name instead of referring to the uchar3 built-in type.
333         Escape the asterisk at the half pointer test.
334
335 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
336
337         * gdb.trace/collection.c (globalarr2): New global.
338         (main): Initialize it before collecting, and and clear it
339         afterwards.
340         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
341         collecting overlapping memory ranges.
342
343 2011-02-15  Michael Snyder  <msnyder@vmware.com>
344
345         * gdb.base/default.exp: Add tests for thread commands.
346         * gdb.base/help.exp: Add tests for thread commands.
347         * gdb.threads/thread-find.exp: New test for thread find command.
348
349 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
350
351         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
352
353 2011-02-15  Yao Qi  <yao@codesourcery.com>
354
355         PR tdep/12352
356         * gdb.arch/arm-disp-step.S : New test for str instruction.
357         * gdb.arch/arm-disp-step.exp : Likewise.
358
359 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
360
361         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
362         "vector_register2_vr" test strings.  Test the extended floating
363         point registers (F32~F63).
364         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
365         IBM XL C compiler.  Make the test program use a register provided
366         by the compiler for the lxvd2x instruction.
367
368 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
369
370         * gdb.trace/unavailable.cc (class Base, class Middle, class
371         Derived): New types.
372         (derived_unavail, derived_partial, derived_whole): New globals.
373         (virtual_partial): New global.
374         (virtualp): Point at virtual_partial.
375         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
376         related to unavailable vptr.
377
378 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
379
380         * gdb.trace/unavailable.cc (a, b, c): New globals.
381         (main): Set and clear them.
382         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
383         `a' and `c', and check that `b' isn't collected, although `a' and
384         `c' are.
385
386 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
387
388         * gdb.trace/unavailable.cc (struct Virtual): New.
389         (virtualp): New global pointer.
390         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
391         printing a pointer to an object whose type has a vtable, with
392         print object on.
393
394 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
395
396         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
397         value repeat handles unavailableness.
398
399 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
400
401         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
402         tests for building arrays from unavailable values, subscripting
403         non-memory rvalue unvailable arrays, and accessing fields or
404         baseclasses of non-lazy unavailable values,
405         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
406         struct types.
407         (g_smallstruct, g_smallstruct_b): New globals.
408
409 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
410
411         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
412
413 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
414
415         Fix const/volatile qualifiers of C++ types, PR c++/12328.
416         * gdb.cp/overload-const.exp: New file.
417         * gdb.cp/overload-const.cc: New file.
418
419 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
420
421         * gdb.opencl/callfuncs.cl: New file.
422         * gdb.opencl/callfuncs.exp: New test.
423         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
424
425 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
426
427         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
428         when computing result.
429         * gdb.arch/altivec-abi.exp: Update expected results.
430
431 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
432
433         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
434         * gdb.base/jit.exp: Likewise.
435         * gdb.base/pie-execl.exp: Likewise.
436         * gdb.base/solib-nodir.exp: Likewise.
437         * gdb.base/solib-overlap.exp: Likewise.
438
439 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
440
441         * gdb.trace/collection.c (global_pieces): New.
442         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
443         New procedure.
444         (gdb_trace_collection_test): Call it.
445
446 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
447
448         * gdb.python/py-evthreads.c: New file.
449         * gdb.python/py-evthreads.exp: New file.
450         * gdb.python/py-events.py: New file.
451         * gdb.python/py-events.exp: New file.
452         * gdb.python/py-events.c: New file.
453
454 2011-02-04 David Daney <ddaney@caviumnetworks.com>
455
456         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
457
458 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
459
460         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
461         gdb.base/disasm-end-cu.exp: New test for disassembling over the
462         boundary between two compilation units.
463
464 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
465
466         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
467         (Virtual): New structs.
468         (virtual_o, virtual_middle_b): New globals.
469         * gdb.cp/virtbase.exp: New tests.
470
471 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
472
473         * gdb.base/jit.exp: New file.
474         * gdb.base/jit-main.c: New file.
475         * gdb.base/jit-solib.c: New file.
476
477 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
478
479         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
480         proceed to initial kernel entry point.
481         * gdb.opencl/datatypes.exp: Likewise.
482         * gdb.opencl/operators.exp: Likewise.
483         * gdb.opencl/vec_comps.exp: Likewise.
484
485 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
486
487         * gdb.cp/nsnested.cc: New.
488         * gdb.cp/nsnested.exp: New.
489         * gdb.cp/nsnoimports.exp: New.
490         * gdb.cp/nsnoimports.cc: New.
491
492 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
493
494         * gdb.base/interact.exp: Add extra tests that verify that
495         the value of the interactive-mode setting does not change
496         after the script is sourced.
497
498 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
499
500         * gdb.cp/noparam.exp: New file.
501         * gdb.cp/noparam.cc: New file.
502
503 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
504
505         * gdb.trace/tfile.exp: Test that with no traceframe selected,
506         there's no stack or registers.
507
508 2011-01-26  Tom Tromey  <tromey@redhat.com>
509
510         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
511         space before string output.  Add test for "set print pretty off"
512         case.
513
514 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
515
516         * gdb.base/frame-args.exp: Adjust.
517         * gdb.dwarf2/dw2-noloc.exp: Adjust.
518         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
519         * gdb.dwarf2/pieces.exp: Adjust.
520         * gdb.opt/clobbered-registers-O2.exp: Adjust.
521         * gdb.opt/inline-locals.exp: Adjust.
522         * gdb.threads/fork-child-threads.exp: Adjust.
523
524 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
525
526         * gdb.opencl/convs_casts.cl: Move program scope variables into the
527         OpenCL kernel function. Add a comment as marker. Add address space
528         qualifiers for the remaining program scope variables.
529         * gdb.opencl/datatypes.cl: Likewise.
530         * gdb.opencl/operators.cl: Likewise.
531         * gdb.opencl/vec_comps.cl: Likewise.
532         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
533         Add breakpoint at the marker comment.
534         * gdb.opencl/datatypes.exp: Likewise.
535         * gdb.opencl/operators.exp: Likewise.
536         * gdb.opencl/vec_comps.exp: Likewise.
537
538 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
539
540         * gdb.base/printcmds.c (some_struct): New struct and instance.
541         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
542         procedure.
543         <global scope>: Call it.
544
545 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
546
547         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
548         argument to the gdb_compile_opencl_hostapp call.
549
550 2011-01-19  Yao Qi  <yao@codesourcery.com>
551
552         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
553         positve list.
554
555 2011-01-19  Yao Qi  <yao@codesourcery.com>
556
557         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
558         canonical form.
559         Remove "xscale-*-*"
560         * gdb.xml/tdesc-regs.exp: Likewise.
561         * gdb.python/py-section-script.exp: Replace ARM target triplet
562         with canonical form.
563         Match arm*-*-symbianelf*.
564         * gdb.base/dup-sect.exp: Likewise.
565         * lib/dwarf.exp: New.
566         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
567         dwarf2_support.
568         * gdb.dwarf2/dup-psym.exp: Likewise.
569         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
570         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
571         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
572         * gdb.dwarf2/dw2-basic.exp: Likewise.
573         * gdb.dwarf2/dw2-compressed.exp: Likewise.
574         * gdb.dwarf2/dw2-const.exp: Likewise.
575         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
576         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
577         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
578         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
579         * gdb.dwarf2/dw2-filename.exp: Likewise.
580         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
581         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
582         * gdb.dwarf2/dw2-intercu.exp: Likewise.
583         * gdb.dwarf2/dw2-intermix.exp: Likewise.
584         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
585         * gdb.dwarf2/dw2-noloc.exp: Likewise.
586         * gdb.dwarf2/dw2-op-call.exp: Likewise.
587         * gdb.dwarf2/dw2-producer.exp: Likewise.
588         * gdb.dwarf2/dw2-ranges.exp: Likewise.
589         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
590         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
591         * gdb.dwarf2/dw2-strp.exp: Likewise.
592         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
593         * gdb.dwarf2/implptr.exp: Likewise.
594         * gdb.dwarf2/mac-fileno.exp: Likewise.
595         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
596         * gdb.dwarf2/pieces.exp: Likewise.
597         * gdb.dwarf2/pr11465.exp: Likewise.
598         * gdb.dwarf2/valop.exp: Likewise.
599         * gdb.dwarf2/watch-notconst.exp: Likewise.
600         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
601
602 2011-01-19  Tom Tromey  <tromey@redhat.com>
603
604         * gdb.python/py-infthread.exp: Add thread tests.
605
606 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
607
608         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
609
610 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
611
612         * gdb.ada/widewide: New testcase.
613
614 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
615
616         * gdb.base/interact.exp: New testcase.
617
618 2011-01-12  Tom Tromey  <tromey@redhat.com>
619
620         * gdb.mi/gdb2549.exp: Update for error message changes.
621         * gdb.mi/mi-cli.exp: Likewise.
622         * gdb.mi/mi-disassemble.exp: Likewise.
623         * gdb.mi/mi-pthreads.exp: Likewise.
624         * gdb.mi/mi-regs.exp: Likewise.
625         * gdb.mi/mi-stack.exp: Likewise.
626         * gdb.mi/mi-var-block.exp: Likewise.
627         * gdb.mi/mi-var-cmd.exp: Likewise.
628         * gdb.mi/mi2-cli.exp: Likewise.
629         * gdb.mi/mi2-disassemble.exp: Likewise.
630         * gdb.mi/mi2-pthreads.exp: Likewise.
631         * gdb.mi/mi2-regs.exp: Likewise.
632         * gdb.mi/mi2-stack.exp: Likewise.
633         * gdb.mi/mi2-var-block.exp: Likewise.
634         * gdb.mi/mi2-var-cmd.exp: Likewise.
635
636 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
637             Jan Kratochvil  <jan.kratochvil@redhat.com>
638
639         PR fortran/11104 and DWARF unbound arrays detection.
640         * gdb.fortran/multi-dim.exp: New file.
641         * gdb.fortran/multi-dim.f90: New file.
642
643 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
644
645         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
646         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
647         add new tests for opcode dumping.
648
649 2011-01-11  Tom Tromey  <tromey@redhat.com>
650
651         * gdb.python/py-infthread.exp: Load gdb-python.exp.
652
653 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
654
655         Convert hardware watchpoints to use breakpoint_ops.
656         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
657         type is not supported.
658         * gdb.base/foll-fork.exp: Likewise.
659         * gdb.base/foll-vfork.exp: Likewise.
660
661 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
662
663         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
664         Use load_lib gdb-python.exp.
665         * gdb.python/python.exp: Ditto.
666         * gdb.python/py-function.exp: Ditto.
667
668 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
669
670         * gdb.threads/tls.exp ("info address me"): Fix expected output.
671
672 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
673
674         * configure: Regenerate.
675
676 2011-01-06  Tom Tromey  <tromey@redhat.com>
677
678         * gdb.python/py-frame.exp: Test gdb.newest_frame.
679
680 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
681
682         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
683         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
684         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
685         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
686         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
687         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
688         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
689         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
690         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
691         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
692         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
693         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
694         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
695         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
696         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
697         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
698         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
699         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
700         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
701         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
702         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
703         gdb.ada/uninitialized_vars.exp,
704         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
705         Simplify by using clean_restart.
706
707 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
708
709         Add marker to be used as anchor for inserting breakpoints.
710         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
711         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
712         Likewise.
713
714         Remove uses of gdb_start_cmd.
715         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
716         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
717
718         Do not run testcase if testing with GDBserver.
719         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
720         if testing with GDBserver.
721
722 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
723
724         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
725         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
726         copyright header.
727
728 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
729
730         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
731         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
732         testsuite/gdb.fortran/complex.f,
733         testsuite/gdb.fortran/derived-type.f90,
734         testsuite/gdb.fortran/library-module-lib.f90,
735         testsuite/gdb.fortran/library-module-main.f90,
736         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
737         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
738         Copyright year update.
739
740 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
741
742         * gdb.base/langs1.f: Add copyright header.
743
744 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
745
746         * gdb.base/morestack.exp: New file.
747         * gdb.base/morestack.c: New file.
748
749 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
750
751         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
752
753 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
754
755         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
756         * gdb.ada/arrayptr.exp: Add test printing that new variable.
757
758 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
759
760         * gdb.ada/lang_switch.exp: Correct expected parameter value.
761
762 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
763
764         * gdb.threads/tls.exp: Fix typo.
765
766         * gdb.threads/thread-specific.exp (get_thread_list): Update.
767         * gdb.threads/execl.exp: Update.
768
769 2010-12-23  Yao Qi  <yao@codesourcery.com>
770
771         * gdb.arch/arm-disp-step.exp: New.
772         * gdb.arch/arm-disp-step.S: New.
773
774 2010-12-21  Tom Tromey  <tromey@redhat.com>
775
776         * gdb.threads/execl.exp: Update.
777         * gdb.threads/linux-dp.exp: Update.
778         * gdb.threads/manythreads.exp: Update.
779         * gdb.threads/tls.exp: Update.
780
781 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
782
783         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
784         (NextOverThrowDerivates) <resumebpt>: New.
785         (resumebpt_test): New.
786         (main): Call resumebpt_test.
787         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
788
789 2010-12-12  Stan Shebs  <stan@codesourcery.com>
790
791         * gdb.trace/tsv.exp: Test print command on trace state variables.
792
793 2010-12-09  Tom Tromey  <tromey@redhat.com>
794
795         * gdb.base/interp.exp: Add regression test.
796
797 2010-12-09  Tom Tromey  <tromey@redhat.com>
798
799         * gdb.java/jnpe.java: New file.
800         * gdb.java/jnpe.exp: New file.
801         * gdb.cp/nextoverthrow.exp: New file.
802         * gdb.cp/nextoverthrow.cc: New file.
803
804 2010-12-07  Doug Evans  <dje@google.com>
805
806         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
807         of data-directory.
808         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
809         updated.
810         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
811
812 2010-11-29  Michael Snyder  <msnyder@vmware.com>
813
814         * gdb.base/callfuncs.exp: Test for skip_float_tests.
815         * gdb.base/call-sc.exp: Ditto.
816         * gdb.base/finish.exp: Ditto.
817         * gdb.base/return.exp: Ditto.
818         * gdb.base/return2.exp: Ditto.
819
820 2010-11-30  Doug Evans  <dje@google.com>
821
822         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
823         (gdb_expect_list): Fix spelling errors in comments.
824         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
825         send_gdb/gdb_expect_list where applicable.
826         * gdb.base/call-ar-st.exp: Ditto.
827         * gdb.base/funcargs.exp: Ditto.
828         * gdb.base/gcore.exp: Ditto.
829         * gdb.base/page.exp: Ditto.
830         * gdb.base/sigaltstack.exp: Ditto.
831         * gdb.base/siginfo.exp: Ditto.
832         * gdb.base/sigstep.exp: Ditto.
833         * gdb.base/trace-commands.exp: Ditto.
834
835 2010-11-29  Doug Evans  <dje@google.com>
836
837         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
838         printer-name;subprinter-name.
839
840 2010-11-29  Tom Tromey  <tromey@redhat.com>
841
842         * gdb.dwarf2/implptr.exp: New file.
843         * gdb.dwarf2/implptr.c: New file.
844         * gdb.dwarf2/implptr.S: New file.
845
846 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
847
848         PR python/12199
849
850         * gdb.python/py-breakpoint.exp: Test the delete method.
851
852 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
853
854         Fix step_resume_breakpoint unsaved during an infcall.
855         * gdb.base/step-resume-infcall.exp: New file.
856         * gdb.base/step-resume-infcall.c: New file.
857
858 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
859
860         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
861
862 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
863
864         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
865         on ppc64's symbols; "finish" and "return" commands must accept to
866         show the caller line again as well as the line after.
867         * gdb.asm/powerpc64.inc: New file.
868
869 2010-11-23  Doug Evans  <dje@google.com>
870
871         * lib/gdb.exp (gdb_test_sequence): New function.
872         (gdb_expect_list): Add verbose -log call for each pattern.
873         * gdb.base/signals.exp (test_handle_all_print): Call it.
874         Reduce timeout increment from 6 minutes to 1 minute.
875         * gdb.server/ext-run.exp: Call it.
876
877 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
878
879         PR python/12212
880
881         * gdb.python/python.exp: Check that selected_thread raises an
882         error when no inferior is loaded.
883
884 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
885
886         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
887         * gdb.dwarf2/dw2-stack-boundary.S: New file.
888
889 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
890
891         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
892         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
893
894 2010-11-18  Doug Evans  <dje@google.com>
895
896         * gdb.server/ext-run.exp: Fix intermittent failures.
897
898 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
899
900         * gdb.stabs/gdb11479.exp: Use runto_main.
901
902 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
903
904         * gdb.base/break-entry.exp: Skip if using a stub.
905
906 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
907
908         * gdb.python/py-inferior.exp: Pack values in target endianness.
909
910 2010-11-12  Tom Tromey  <tromey@redhat.com>
911
912         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
913         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
914         MemoryError.
915         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
916         type.
917         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
918         MemoryError.
919         (test_subscript_regression): Update exception type.
920
921 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
922
923         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
924         breakpoint tests.
925
926 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
927
928         * gdb.base/watchpoint.exp: Test "watch -location" with an
929         innacessible location.
930
931 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
932             Luis Machado  <luisgpm@br.ibm.com>
933
934         * gdb.base/maint.exp: Expect "." prefix.
935         * gdb.base/nodebug.exp: Expect "." Likewise.
936         * gdb.base/sepsymtab.exp: Expect "." Likewise.
937         * gdb.base/watchpoint-cond-gone.exp: Likewise.
938         * gdb.base/watchpoint.exp: Expect a software watch to be created for
939         POWER server processors.
940
941 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
942             Luis Machado  <luisgpm@br.ibm.com>
943
944         * gdb.base/break-entry.exp: convert entry point for
945         ppc64 and expect leading `.' on ppc64's symbols
946
947 2010-11-05  Doug Evans  <dje@google.com>
948
949         * gdb.base/help.exp: Update expected output.
950         * gdb.python/py-param.exp: Delete, contents moved to ...
951         * gdb.python/py-parameter.exp: ... here.  New file.
952         Add test for gdb.parameter ("directories").
953
954 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
955
956         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
957         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
958         * configure: Regenerate.
959         * gdb.opencl/Makefile.in: New File.
960         * gdb.opencl/datatypes.exp: Likewise.
961         * gdb.opencl/datatypes.cl: Likewise.
962         * gdb.opencl/operators.exp: Likewise.
963         * gdb.opencl/operators.cl: Likewise.
964         * gdb.opencl/vec_comps.exp: Likewise.
965         * gdb.opencl/vec_comps.cl: Likewise.
966         * gdb.opencl/convs_casts.exp: Likewise.
967         * gdb.opencl/convs_casts.cl: Likewise.
968         * lib/opencl.exp: Likewise.
969         * lib/opencl_hostapp.c: Likewise.
970         * lib/opencl_kernel.cl: Likewise.
971         * lib/cl_util.c: Likewise.
972         * lib/cl_util.c: Likewise.
973         * gdb.base/default.exp (set language): Add "opencl" to the list of
974         languages.
975
976 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
977
978         * gdb.cp/overload.exp: Added test for inheritance overload.
979         * gdb.cp/overload.cc: Ditto.
980         * gdb.cp/oranking.exp: Removed releveant kfails.
981
982 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
983             Joel Brobecker  <brobecker@adacore.com>
984
985         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
986         check test_compiler_info.
987
988 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
989
990         * gdb.base/gnu_vector.exp: Adjust expect messages.
991
992 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
993
994         * gdb.base/gnu_vector.exp: Add unary operator tests.
995
996 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
997
998         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
999
1000 2010-11-02  Doug Evans  <dje@google.com>
1001
1002         * gdb.python/py-pp-maint.c: New file.
1003         * gdb.python/py-pp-maint.exp: New file.
1004         * gdb.python/py-pp-maint.py: New file.
1005
1006 2010-11-02  Tom Tromey  <tromey@redhat.com>
1007
1008         * gdb.base/default.exp: Remove "scheme" from language list.
1009
1010 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1011
1012         Revert:
1013         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1014         * gdb.threads/sigstep-threads.exp: New file.
1015         * gdb.threads/sigstep-threads.c: New file.
1016
1017 2010-10-20  Michael Snyder  <msnyder@vmware.com>
1018
1019         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1020
1021 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
1022
1023         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1024         Skip test completely if gdb,no_hardware_watchpoints.
1025
1026 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
1027
1028         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1029         strict, but do not check for any particular function name within libc.
1030
1031 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
1032
1033         * gdb.cp/smartp.exp: New test.
1034         * gdb.cp/smartp.cc : New test.
1035
1036 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
1037
1038         * gdb.cp/converts.exp: Test pointer to bool conversion.
1039         Test pointer to long conversion.
1040         * gdb.cp/oranking.exp: Removed relevant kfail.
1041
1042 2010-10-18  Tom Tromey  <tromey@redhat.com>
1043
1044         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1045         argument to lazy_string.
1046         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1047         (pp_ls.to_string): Use it.
1048         * gdb.python/py-prettyprint.c (main): Move declarations to top.
1049         Add "estring2" local.
1050
1051 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1052
1053         Fix s390x compatibility.
1054         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
1055         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1056
1057 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1058
1059         * gdb.threads/sigstep-threads.exp: New file.
1060         * gdb.threads/sigstep-threads.c: New file.
1061
1062 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1063
1064         * gdb.base/pie-execl.exp: New file.
1065         * gdb.base/pie-execl.c: New file.
1066
1067 2010-10-13  Doug Evans  <dje@google.com>
1068             Jan Kratochvil  <jan.kratochvil@redhat.com>
1069
1070         PR exp/12117
1071         * gdb.cp/ptype-cv-cp.cc: New file.
1072         * gdb.cp/ptype-cv-cp.exp: New file.
1073
1074 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
1075
1076         * gdb.cp/converts.cc: New test program.
1077         * gdb.cp/converts.exp: New test.
1078         * gdb.cp/overload.exp: Added test for void* vs int*.
1079         * gdb.cp/overload.exp: Ditto.
1080         * gdb.cp/oranking.exp: Removed related kfail.
1081
1082 2010-10-13  Doug Evans  <dje@google.com>
1083
1084         * lib/gdb-python.exp (gdb_check_python_config): New function.
1085         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1086         * gdb.python/lib-types.cc: New file.
1087         * gdb.python/lib-types.exp: New file.
1088
1089 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1090
1091         * gdb.python/py-error.exp: New file.
1092         * gdb.python/py-error.py: New file.
1093
1094 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1095
1096         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1097         gdb_test_multiple.
1098
1099 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1100
1101         * gdb.base/break-interp.exp: Use ldlags for linking flags.
1102         * gdb.base/prelink.exp: Likewise.
1103         * gdb.base/solib-nodir.exp: Likewise.
1104         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1105         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1106         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1107
1108 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
1109
1110         * break-interp.exp (test_ld): Use two separate gdb_expect statements
1111         for the "info files" test to avoid timeouts on slow machines.
1112
1113 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1114
1115         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1116         (main): Make openlib dummy call.
1117
1118 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1119
1120         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1121         * break-interp.exp (reach): Move the core body ...
1122         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
1123         (test_ld): Provide always real argument, even to the linker.  Replace
1124         dl_main by _dl_debug_state.
1125
1126 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1127
1128         Fix results of prelinked PIEs on ppc*.
1129         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1130         Accept also DISPLACEMENT "PRESENT".
1131         (main): Replace "ZERO" displacements by "PRESENT".
1132
1133 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
1134
1135         * gdb.cp/oranking.exp: New test.
1136         * gdb.cp/oranking.cc: New test program.
1137
1138 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
1139
1140         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1141         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1142
1143 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
1144
1145         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1146         lush, lynx) New constant.
1147         * gdb.base/constvars.exp: Test const array types.
1148         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1149
1150 2010-10-06  Doug Evans  <dje@google.com>
1151
1152         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1153         of syscall staging area.
1154
1155 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
1156
1157         * gdb.base/gnu_vector.c: Add variable c4.
1158         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1159         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1160
1161 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
1162
1163         * gdb.arch/altivec-abi.exp: Fix a typo.
1164
1165 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
1166
1167         * lib/mi-support.exp (thread_selected_re): Correct pattern used
1168         to match a thread ID.
1169
1170 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1171
1172         Fix s390x testcase compatibility.
1173         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1174
1175 2010-10-01  Doug Evans  <dje@google.com>
1176
1177         * lib/gdb-python.exp: New file.
1178         * gdb.python/py-block.exp: Use it.
1179         * gdb.python/py-breakpoint.exp: Ditto.
1180         * gdb.python/py-frame.exp: Ditto.
1181         * gdb.python/py-inferior.exp: Ditto.
1182         * gdb.python/py-param.exp: Ditto.
1183         * gdb.python/py-prettyprint.exp: Ditto.
1184         * gdb.python/py-shared.exp: Ditto.
1185         * gdb.python/py-symbol.exp: Ditto.
1186         * gdb.python/py-symtab.exp: Ditto.
1187         * gdb.python/py-type.exp: Ditto.
1188         * gdb.python/py-value.exp: Ditto.
1189         * gdb.python/python.exp: Ditto.
1190
1191 2010-09-30  Tom Tromey  <tromey@redhat.com>
1192
1193         * gdb.base/anon.exp: New file.
1194         * gdb.base/anon.c: New file.
1195
1196 2010-09-30  Tom Tromey  <tromey@redhat.com>
1197
1198         * gdb.base/completion.exp: Test completion through anonymous
1199         union.
1200         * gdb.base/break1.c (struct some_struct): Add anonymous union.
1201
1202 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
1203
1204         Fix printing parameters of inlined functions.
1205         * gdb.dwarf2/dw2-inline-param.exp: New file.
1206         * gdb.dwarf2/dw2-inline-param-main.c: New file.
1207         * gdb.dwarf2/dw2-inline-param.S: New file.
1208
1209 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
1210
1211         PR corefiles/12071.
1212         * gdb.base/corefile.exp (quit with a process, no question: load core)
1213         (quit with a core file): New tests.
1214
1215 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1216
1217         Fix GDB crash on inferior calls with self-referencing classes.
1218         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1219         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1220         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1221
1222 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1223
1224         Fix lost siginfo_t for inferior calls.
1225         * gdb.base/siginfo-infcall.exp: New file.
1226         * gdb.base/siginfo-infcall.c: New file.
1227
1228 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
1229
1230         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1231
1232 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
1233
1234         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1235         New test.
1236         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1237
1238 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
1239
1240         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1241         type of our const type.
1242
1243 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
1244
1245         * gdb.cp/pr12028.cc: New.
1246         * gdb.cp/pr12028.exp: New.
1247
1248 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
1249
1250         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1251
1252 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
1253             Jan Kratochvil  <jan.kratochvil@redhat.com>
1254
1255         PR mi/11407
1256         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1257         * gdb.mi/dw2-ref-missing-frame-main.c New File.
1258         * gdb.mi/dw2-ref-missing-frame.S New File.
1259         * gdb.mi/dw2-ref-missing-frame.exp New File.
1260
1261 2010-09-14  Tom Tromey  <tromey@redhat.com>
1262
1263         PR symtab/8399:
1264         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
1265
1266 2010-09-14  Tom Tromey  <tromey@redhat.com>
1267
1268         PR exp/11803:
1269         * gdb.threads/tls.exp: Use C++.
1270         (check_thread_local): Use K::another_thread_local.
1271         * gdb.threads/tls.c (class K): New.
1272         (another_thread_local): Now a member of K.
1273         (spin): Update.  No longer K&R C.
1274
1275 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
1276
1277         * gdb.cp/koenig.cc: created class for testing member lookup.
1278         * gdb.cp/koenig.exp: Added test for member lookup.
1279
1280 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1281
1282         Fix false FAILs on sourcetree topdir directory containing "kill".
1283         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1284         source line matching regexp.
1285
1286 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1287
1288         * gdb.python/python.exp (set height 0, collect help from uiout)
1289         (verify help to uiout): New tests.
1290
1291 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1292
1293         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1294         is_lp64_target to check 64bit target.
1295
1296 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1297
1298         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1299         (test_ld) <powerpc64-*>: New.
1300
1301 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
1302
1303         * gdb.cp/templates.exp (test_template_args): Allow "struct".
1304
1305 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
1306
1307         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1308         (FunctionArg::method): New function.
1309         (empty, arg): New variables.
1310         (main): Call arg.method.
1311         * gdb.cp/templates.exp (test_template_args): New function.
1312         (do_tests): Call it.
1313
1314 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
1315
1316         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1317         of "next" to proceed over pthread_exit call.
1318
1319 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
1320
1321         * gdb.base/maint.exp: Avoid wildcards against potentially very long
1322         "maint print statistics" output to prevent expect timeouts.
1323
1324 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1325
1326         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1327         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1328         (test_float_rejected): ... here.
1329         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1330         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1331         (test_float_rejected): ... here.
1332         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1333         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1334         (test_float_rejected): ... here.
1335         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1336         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1337         (test_float_rejected): ... here.
1338
1339 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
1340
1341         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1342         before disabling hardware watchpoints.
1343         (test_inaccessible_watchpoint): Check that hardware watchpoints
1344         are used.  Test for watchpoints on a constant address.
1345
1346 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1347
1348         * gdb.base/ui-redirect.exp: New file.
1349
1350 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1351             Joel Brobecker  <brobecker@adacore.com>
1352
1353         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1354
1355 2010-08-31  Doug Evans  <dje@google.com>
1356
1357         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1358
1359 2010-08-30  Tom Tromey  <tromey@redhat.com>
1360
1361         PR python/11792:
1362         * gdb.python/py-value.exp (test_subscript_regression): Add
1363         dynamic_type test.
1364
1365 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
1366
1367         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1368         instead of running to main.  Do not test the main function.
1369         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1370         Add new main.
1371
1372 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
1373
1374         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1375         one test.
1376
1377 2010-08-24  Doug Evans  <dje@google.com>
1378
1379         PR symtab/11942
1380         * gdb.dwarf2/dw4-sig-types.cc: New file.
1381         * gdb.dwarf2/dw4-sig-types.h: New file.
1382         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1383         * gdb.dwarf2/dw4-sig-types.exp: New file.
1384
1385 2010-08-23  Tom Tromey  <tromey@redhat.com>
1386
1387         PR python/11145:
1388         * gdb.python/py-value.c (Base, Derived): New types.
1389         (base): New global.
1390         * gdb.python/py-value.exp (test_subscript_regression): Add
1391         dynamic_cast test.
1392
1393 2010-08-23  Tom Tromey  <tromey@redhat.com>
1394
1395         PR python/10676:
1396         * gdb.python/py-type.exp (test_fields): Add tests for type
1397         equality.
1398
1399 2010-08-23  Tom Tromey  <tromey@redhat.com>
1400
1401         PR python/11915:
1402         * gdb.python/py-type.exp (test_fields): Add tests for array.
1403
1404 2010-08-23  Keith Seitz  <keiths@redhat.com>
1405
1406         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1407         have any children. Create a new abbrev for it.
1408         Add missing terminal sequence to .debug_abbrev.
1409
1410 2010-08-20  Keith Seitz  <keiths@redhat.com>
1411
1412         PR symtab/11465:
1413         * gdb.dwarf2/pr11465.exp: New test.
1414         * gdb.dwarf2/pr11465.S: New file.
1415         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1416         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1417
1418 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1419
1420         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1421         registers.  Update data sets with the new v2_double element in the
1422         VSX register union.  Add vector_register3_vr data set for the AltiVec
1423         registers.  Use gdb_test_no_output instead of send_gdb.
1424
1425 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
1426
1427         * gdb.python/py-shared.exp: New file, factored out from
1428         python.exp.
1429         * gdb.python/py-shared.c: New file.
1430         * gdb.python/py-shared-sl.c: New file.
1431         * gdb.python/python-1.c: New file.
1432         * gdb.python/python-sl.c: Delete.
1433         * gdb.python/python.c: Mention python-1.c.
1434         * gdb.python/python.exp: Move shared library tests to
1435         py-shared.exp.
1436         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1437         (MISCELLANEOUS): New.
1438         (clean mostlyclean): Also remove $MISCELLANEOUS.
1439
1440 2010-08-19  Doug Evans  <dje@google.com>
1441
1442         PR exp/11926
1443         * gdb.base/printcmds.exp (test_float_accepted): New function.
1444         Move existing float tests there.  Add tests for floats with suffixes.
1445         (test_float_rejected): New function.
1446         * gdb.java/jv-print.exp (test_float_accepted): New function.
1447         (test_float_rejected): New function.
1448         * gdb.objc/print.exp: New file.
1449         * gdb.pascal/print.exp: New file.
1450         * lib/objc.exp: New file.
1451
1452 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
1453
1454         * gdb.base/default.exp (info set): Avoid full buffer error and force
1455         reading up to final gdb prompt.
1456         (show): Likewise.
1457
1458 2010-08-18  Tom Tromey  <tromey@redhat.com>
1459
1460         PR symtab/11919:
1461         * gdb.base/completion.exp: Add test.
1462
1463 2010-08-18  Doug Evans  <dje@google.com>
1464
1465         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1466         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1467         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1468         Simplify, early exit if runto_main fails.
1469         * gdb.fortran/exprs.exp: load_lib fortran.exp.
1470         (set_lang_fortran): Moved to lib/fortran.exp.
1471         * gdb.fortran/types.exp: load_lib fortran.exp.
1472         (set_lang_fortran): Moved to lib/fortran.exp.
1473         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1474         * gdb.java/jprint.exp (set_lang_java): Ditto.
1475         * gdb.java/jv-exp.exp: load_lib java.exp.
1476         If set_lang_java fails, issue a warning instead of failure to be
1477         consistent with other set_lang_foo uses.
1478         (set_lang_java): Moved to lib/java.exp.
1479         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1480         If set_lang_java fails, issue a warning instead of failure to be
1481         consistent with other set_lang_foo uses.
1482         * gdb.pascal/types.exp: load_lib pascal.exp.
1483         (set_lang_pascal): Moved to lib/pascal.exp.
1484         * lib/fortran.exp: New file.
1485         * lib/java.exp (set_lang_java): New function.
1486         * lib/pascal.exp (set_lang_pascal): New function.
1487
1488 2010-08-18  Yao Qi  <yao@codesourcery.com
1489
1490         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1491         func_nofb_start and func_loopfb_start, so that address of functions
1492         is equal to these labels on Thumb.
1493
1494 2010-08-18  Yao Qi  <yao@codesourcery.com>
1495
1496         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1497         to reflect latest c source file.
1498
1499 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1500
1501         * gdb.cp/infcall-dlopen.exp: New file.
1502         * gdb.cp/infcall-dlopen.cc: New file.
1503         * gdb.cp/infcall-dlopen-lib.cc: New file.
1504
1505 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1506             Pedro Alves  <pedro@codesourcery.com>
1507
1508         PR breakpoints/11371
1509
1510         * gdb.base/watch-cond-infcall.exp: New file.
1511         * gdb.base/watch-cond-infcall.c: New file.
1512
1513 2010-08-16  Tom Tromey  <tromey@redhat.com>
1514
1515         * gdb.base/help.exp: Update.
1516         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1517         watchpoint.
1518         (test_watch_location): New proc.
1519         (test_watchpoint_in_big_blob): Delete watchpoint.
1520         * gdb.base/watchpoint.c (func5): New function.
1521         (main): Call it.
1522
1523 2010-08-16  Doug Evans  <dje@google.com>
1524
1525         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1526
1527 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
1528
1529         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1530         tests.
1531
1532 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
1533
1534         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1535         * gdb.base/gnu_vector.c: New File.
1536         * gdb.base/gnu_vector.exp: Likewise.
1537
1538 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
1539
1540         * gdb.python/python.c: New File.
1541         * gdb.python/python-sl.c: New File.
1542         * gdb.python/python.exp: Test solib_address and decode_line
1543         * functions.
1544
1545 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1546
1547         * gdb.python/python.exp (show height, set height 10)
1548         (verify pagination beforehand, verify pagination beforehand: q)
1549         (gdb.execute does not page, verify pagination afterwards)
1550         (verify pagination afterwards: q): New.
1551
1552 2010-08-02  Doug Evans  <dje@google.com>
1553
1554         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1555         because of an older gcc, change test2
1556         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1557         to unsupported.
1558
1559 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
1560
1561         * gdb.base/break-always.exp: Do not expect full paths to file
1562         names.
1563         * gdb.base/commands.exp: Likewise.
1564
1565 2010-07-30  Doug Evans  <dje@google.com>
1566
1567         * gdb.cp/temargs.exp: For new tests that require newer gccs,
1568         xfail them when run with older gccs.
1569
1570         * lib/gdb.exp (build_executable): Forward "c++" option to
1571         get_compiler_info.
1572
1573         * gdb.python/py-type.exp (test_template): Mark as xfail tests
1574         "python print ttype.template_argument(1)" and
1575         "python print isinstance(ttype.template_argument(1), gdb.Value)"
1576         if using gcc 4.4 or earlier.
1577
1578         * gdb.base/valgrind-db-attach.exp: Use unique test name for
1579         attach-to-debugger handling.
1580
1581 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
1582
1583         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1584         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1585         (main): Use copyreloc.
1586         * gdb.base/prelink.exp (split debug of executable)
1587         (.dynbss vs. .bss address shift): New tests.
1588
1589 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
1590
1591         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1592         in gdb_test_multiple.
1593
1594 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
1595
1596         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1597         environment.
1598
1599 2010-07-28  Tom Tromey  <tromey@redhat.com>
1600
1601         PR python/11060:
1602         * gdb.python/py-type.c (Temargs): New template.
1603         (temvar): New variable.
1604         * gdb.python/py-type.exp (test_template): New proc.
1605
1606 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
1607
1608         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1609         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1610
1611 2010-07-28  Tom Tromey  <tromey@redhat.com>
1612
1613         PR c++/9946:
1614         * gdb.cp/temargs.exp: New file.
1615         * gdb.cp/temargs.cc: New file.
1616
1617 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1618
1619         * gdb.base/help.exp (help disassemble): Update the content.
1620
1621 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1622
1623         * gdb.threads/ia64-sigill.exp: New file.
1624         * gdb.threads/ia64-sigill.c: New file.
1625
1626 2010-07-27  Tom Tromey  <tromey@redhat.com>
1627
1628         * gdb.opt/inline-cmds.c (ATTR): New define.
1629         (func1): Use it.
1630         (func2): Likewise.
1631         (func3): Likewise.
1632         (outer_inline1): Likewise.
1633         (outer_inline2): Likewise.
1634         * gdb.opt/inline-bt.c (ATTR): New define.
1635         (func1): Use it.
1636         (func2): Likewise.
1637         * gdb.opt/inline-locals.c (ATTR): New define.
1638         (func1): Use it.
1639         (func2): Likewise.
1640
1641 2010-07-27  Tom Tromey  <tromey@redhat.com>
1642
1643         * gdb.stabs/gdb11479.c (hack): New function.
1644         (test): Use it.
1645         (test2): Use it.
1646         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1647         (int32_search_buf, int64_search_buf): No longer static.
1648         (x): Remove.
1649         * gdb.base/relocate.c (hack): New function.
1650
1651 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
1652
1653         * gdb.python/py-value.exp (test_inferior_function_call): New function.
1654         * gdb.python/py-value.c (func1): New function.
1655         (func2): Likewise.
1656
1657 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
1658
1659         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1660         as not to clash with .data section.
1661
1662 2010-07-26  Jerome Guitton  <guitton@adacore.com>
1663
1664         * gdb.base/code_elim.exp: New file.
1665         * gdb.base/code_elim1.c: New file.
1666         * gdb.base/code_elim2.c: New file.
1667
1668 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
1669
1670         PR symtab/11827
1671
1672         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1673         (some_volatile_enum): New variable.
1674         * gdb.base/printcmds.exp (test_print_enums): New.
1675         <top level>: Call it.
1676
1677 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
1678
1679         * gdb.cp/fpointer.cc: New test.
1680         * gdb.cp/fpointer.exp: New test.
1681
1682 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1683
1684         * gdb.base/solib-nodir.exp: New file.
1685         * lib/gdb.exp (runto): New case for a GDB internal error.
1686
1687 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
1688             Ulrich Weigand  <uweigand@de.ibm.com>
1689             Tom Tromey  <tromey@redhat.com>
1690
1691         * gdb.base/charset-malloc.c: New file.
1692         * gdb.base/charset.c (malloc_stub): New prototype.
1693         (main): Call it instead of malloc itself.
1694         * gdb.base/charset.exp: Use only prepare_for_testing.
1695         (binfile): Remove the variable.
1696
1697 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
1698
1699         Make core files the process_stratum.
1700         * gdb.base/corefile.exp (run: load core again)
1701         (run: sanity check we see the core file, run: with core)
1702         (run: core file is cleared, attach: load core again)
1703         (attach: sanity check we see the core file, attach: with core)
1704         (attach: core file is cleared): New tests.
1705         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
1706
1707 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
1708
1709         * gdb.arch/altivec-abi.exp: New tests.
1710
1711 2010-07-13  Tom Tromey  <tromey@redhat.com>
1712
1713         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1714         (main): Use it.
1715         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1716
1717 2010-07-13  Tom Tromey  <tromey@redhat.com>
1718
1719         * gdb.base/label.exp: New file.
1720         * gdb.base/label.c: New file.
1721
1722 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
1723             H.J. Lu  <hongjiu.lu@intel.com>
1724
1725         * lib/gdb.exp (is_ilp32_target): New.
1726         (is_lp64_target): Likewise.
1727
1728         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1729         target.
1730         * gdb.arch/amd64-disp-step.exp: Likewise.
1731         * gdb.arch/amd64-dword.exp: Likewise.
1732         * gdb.arch/amd64-i386-address.exp: Likewise.
1733         * gdb.arch/amd64-word.exp: Likewise.
1734
1735         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1736         target.
1737         * gdb.arch/i386-bp_permanent.exp: Likewise.
1738         * gdb.arch/i386-byte.exp: Likewise.
1739         * gdb.arch/i386-disp-step.exp: Likewise.
1740         * gdb.arch/i386-gnu-cfi.exp: Likewise.
1741         * gdb.arch/i386-prologue.exp: Likewise.
1742         * gdb.arch/i386-size-overlap.exp: Likewise.
1743         * gdb.arch/i386-size.exp: Likewise.
1744         * gdb.arch/i386-sse.exp: Likewise.
1745         * gdb.arch/i386-unwind.exp: Likewise.
1746         * gdb.arch/i386-word.exp: Likewise.
1747
1748         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1749         test only when building 64-bit executables.  Do not hard-code
1750         -m64 option.
1751
1752 2010-07-07  Doug Evans  <dje@google.com>
1753
1754         * lib/gdb.exp (gdb_test_list_exact): New function.
1755         * gdb.base/default.exp (show convenience): Call it, add tests for
1756         $_sdata = void, $_thread = 0.
1757
1758 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1759             Joel Brobecker  <brobecker@adacore.com>
1760
1761         Fix re-run of PIE executable, PR shlibs/11776.
1762         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1763         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
1764         and re-"run" of the inferior.
1765
1766 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1767             Joel Brobecker  <brobecker@adacore.com>
1768
1769         Cope with missing /usr/sbin/prelink.
1770         * lib/prelink-support.exp (prelink_no):
1771         <result == 1 && $output is "no such file or directory">: New.
1772         (prelink_yes): Likewise.  Return on failed prelink_no.
1773
1774 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1775             Joel Brobecker  <brobecker@adacore.com>
1776
1777         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
1778         build_executable by build_executable_own_libs.  Replace "prelink -R"
1779         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
1780         change.
1781         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
1782         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
1783         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1784         Replace build_executable by build_executable_own_libs's function
1785         build_executable_own_libs.
1786         (prelinkNO): Create new stub to call prelink_no.
1787         (prelinkYES): Create new stub to call prelink_yes.
1788         (test_attach): Rename calls of copy to file_copy.
1789         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1790         (copy): Move to ...
1791         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
1792         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1793         * gdb.base/prelink.exp: Disable testcase also for is_remote and
1794         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
1795         special flags by gdb_compile_shlib.  Replace second gdb_compile by
1796         build_executable_own_libs.  Replace "prelink -R" execution by a call of
1797         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
1798         a second call of prelink_yes.  Replace restart commands by
1799         clean_restart.
1800         (prelink): Rename to ...
1801         (seen displacement message): ... this test.  Extend its expectation
1802         strictness.
1803
1804 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1805
1806         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1807         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1808         displacement message exactly once.
1809
1810 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1811             Joel Brobecker  <brobecker@adacore.com>
1812
1813         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
1814         its restore after the <$relink_args != ""> loop.  new comment.
1815
1816 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1817             Joel Brobecker  <brobecker@adacore.com>
1818
1819         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1820         code for it.  New variable relink_args.
1821         (prelinkYES): Call prelinkNO.
1822         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
1823         in such case.  Move the core code to ...
1824         (test_attach_gdb): ... a new function.  Send GDB command "file".
1825         Extend expected "Attaching to " string.
1826
1827 2010-07-02  Tom Tromey  <tromey@redhat.com>
1828
1829         * gdb.base/bitops.exp: Remove extraneous "pass".
1830
1831 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
1832
1833         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1834
1835 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
1836
1837         * gdb.base/help.exp: Adjust expected output.
1838
1839 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
1840
1841         * gdb.base/help.exp: Adjust expected output.
1842
1843 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
1844
1845         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1846         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1847         c++/11702.
1848
1849 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
1850             Doug Evans  <dje@google.com>
1851
1852         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1853         add .dynamic entry'.
1854
1855 2010-06-29  Doug Evans  <dje@google.com>
1856
1857         Test PR c++/11702.
1858         * gdb.cp/m-static.exp: Add testcase.
1859         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1860
1861 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
1862             Tom Tromey  <tromey@redhat.com>
1863             Thiago Jung Bauermann  <bauerman@br.ibm.com>
1864
1865         * gdb.python/py-inferior.c: New File.
1866         * gdb.python/py-infthread.c: New File.
1867         * gdb.python/py-inferior.exp: New File.
1868         * gdb.python/py-infthread.exp: New File.
1869
1870 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1871
1872         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1873         (ptype ::C::OtherFileClass typedefs): New.
1874         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1875         (C::OtherFileClass::cOtherFileClassVar2): New.
1876         (C::OtherFileClass::cOtherFileClassVar_use): Use also
1877         cOtherFileClassVar2.
1878         (C::cOtherFileType2, C::cOtherFileVar2): New.
1879         (C::cOtherFileVar_use): use also cOtherFileVar2.
1880         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1881
1882 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1883
1884         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1885         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1886         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1887         (print ::C::cOtherFileVar)
1888         (whatis C::OtherFileClass::cOtherFileClassType)
1889         (whatis ::C::OtherFileClass::cOtherFileClassType)
1890         (print C::OtherFileClass::cOtherFileClassVar)
1891         (print ::cOtherFileClassVar)
1892         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1893         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1894         trailing content.
1895         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1896         (C::OtherFileClass::cOtherFileClassVar)
1897         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1898         (C::cOtherFileVar, C::cOtherFileVar_use): New.
1899
1900 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1901
1902         Test PR c++/11703 and PR gdb/1448.
1903         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1904         gdb/1448.
1905
1906 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1907
1908         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1909         (main) <rtti_data>: New.
1910         * gdb.cp/virtbase.exp (print rtti_data): New.
1911
1912 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1913             Joel Brobecker  <brobecker@adacore.com>
1914
1915         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1916
1917 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1918
1919         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1920
1921 2010-06-28  Doug Evans  <dje@google.com>
1922
1923         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1924
1925 2010-06-27  Doug Evans  <dje@google.com>
1926
1927         * gdb.cp/m-static.exp: Update expected test output.
1928
1929 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
1930
1931         * gdb.gdb/selftest.exp: Adjust expected message for
1932         capturing start-up runtime.
1933
1934 2010-06-25  Tom Tromey  <tromey@redhat.com>
1935
1936         PR python/10808:
1937         * gdb.python/python.exp: Add new tests.
1938
1939 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
1940
1941         * gdb.cp/operator.cc: Created an import loop.
1942         * gdb.cp/operator.exp: Added testcase for import loop.
1943
1944 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1945
1946         Test PR python/11407.
1947         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1948         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1949         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1950         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1951         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
1952         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1953         binfile.  Call gdb_compile with clean_restart twice.
1954         (func_nofb print, func_nofb backtrace, func_loopfb print)
1955         (func_loopfb backtrace): New.
1956
1957 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1958
1959         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1960         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1961         by a hand made one.
1962         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
1963         i?86 requirement.  Remove variables srcfile and binfile.  New variable
1964         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
1965
1966 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1967
1968         * gdb.cell/dwarfaddr.exp: New file.
1969         * gdb.cell/dwarfaddr.S: New file.
1970
1971 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1972
1973         Test PR 9436.
1974         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1975
1976 2010-06-24  Hui Zhu  <teawater@gmail.com>
1977
1978         * gdb.base/eval.exp: New file.
1979
1980 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1981
1982         * gdb.cell/fork.exp: New file.
1983         * gdb.cell/fork.c: Likewise.
1984         * gdb.cell/fork-spu.c: Likewise.
1985
1986 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
1987
1988         * lib/gdb.exp (banned_variables_traced): New global variable.
1989         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1990         (gdb_init): Use `trace add variable' instead of obsolete
1991         `trace variable'.
1992
1993 2010-06-21  Doug Evans  <dje@google.com>
1994
1995         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1996
1997 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1998
1999         * gdb.arch/spu-ls.exp: New file.
2000         * gdb.arch/spu-ls.c: Likewise.
2001
2002 2010-06-18  Stan Shebs  <stan@codesourcery.com>
2003
2004         * gdb.threads/thread-specific.exp: Add tests of $_thread.
2005
2006 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2007
2008         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2009         * gdb.base/watch-cond.exp: Likewise.
2010         * gdb.python/py-breakpoint.exp: Likewise.
2011
2012 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
2013
2014         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2015         clean_restart, make sure every test has a distinct message, and
2016         that messages don't include the executable' full path.
2017
2018 2010-06-17  Doug Evans  <dje@google.com>
2019
2020         * gdb.arch/i386-size.exp: Updated expected output for
2021         DISASSEMBLY_OMIT_FNAME.
2022
2023 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2024             Sergio Durigan Junior  <sergiodj@redhat.com>
2025
2026         * gdb.base/watch-notconst.c: New file.
2027         * gdb.base/watch-notconst.S: New file.
2028         * gdb.base/watch-notconst2.c: New file.
2029         * gdb.base/watch-notconst2.S: New file.
2030         * gdb.base/watch-notconst.exp: New file.
2031         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2032         (func4): Add operations on `global_ptr_ptr'.
2033         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2034         routine to test watchpoints created with a constant expression.
2035         (test_inaccessible_watchpoint): Include tests for watchpoints
2036         created with a constant expression.
2037
2038 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
2039
2040         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2041         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2042         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2043         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2044         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2045         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2046         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2047         of `_start'.
2048
2049 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2050
2051         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2052         not supported on the target.
2053         * gdb.mi/mi-nonstop-exit.exp: Likewise.
2054         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2055         * gdb.mi/mi-nsintrall.exp: Likewise.
2056         * gdb.mi/mi-nsmoribund.exp: Likewise.
2057         * gdb.mi/mi-nsthrexec.exp: Likewise.
2058
2059 2010-06-11  Stan Shebs  <stan@codesourcery.com>
2060
2061         * gdb.base/permissions.exp: New file.
2062
2063 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2064
2065         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2066         does not support ELF executable class.
2067
2068 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2069
2070         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2071
2072 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2073
2074         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2075         (runto): Catch "The target does not support running in non-stop mode.".
2076
2077 2010-06-11  Michael Snyder  <msnyder@vmware.com>
2078
2079         * gdb.base/setshow.exp (set language asm): Don't use
2080         gdb_test_no_output, fails on some targets.
2081
2082 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2083
2084         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2085         * gdb.cp/pr9167.exp: Likewise.
2086
2087 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2088
2089         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2090
2091 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2092
2093         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2094
2095 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2096
2097         * gdb.base/charset.c (main): Make sure malloc gets linked in.
2098
2099 2010-06-11  Tom Tromey  <tromey@redhat.com>
2100
2101         PR gdb/9977, PR exp/11636::
2102         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2103         (pieces_test_f6): Update expected output.
2104
2105 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2106
2107         * gdb.base/moribund-step.exp: New.
2108
2109 2010-06-08  Michael Snyder  <msnyder@vmware.com>
2110
2111         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2112         * gdb.ada/boolean_expr.exp:
2113         * gdb.ada/frame_args.exp: Ditto.
2114         * gdb.ada/lang_switch.exp: Ditto.
2115         * gdb.ada/ptype_arith_binop.exp: Ditto.
2116         * gdb.ada/ref_param.exp: Ditto.
2117         * gdb.ada/type_coercion.exp:Ditto.
2118
2119         * gdb.asm/asm-source.exp: Ditto.
2120
2121         * gdb.base/attach.exp: Ditto.
2122         * gdb.base/bitfields2.exp: Ditto.
2123         * gdb.base/call-signal-resume.exp: Ditto.
2124         * gdb.base/callfuncs.exp: Ditto.
2125         * gdb.base/commands.exp: Ditto.
2126         * gdb.base/dbx.exp: Ditto.
2127         * gdb.base/default.exp: Ditto.
2128         * gdb.base/dump.exp: Ditto.
2129         * gdb.base/exprs.exp: Ditto.
2130         * gdb.base/freebpcmd.exp: Ditto.
2131         * gdb.base/interrupt.exp: Ditto.
2132         * gdb.base/list.exp: Ditto.
2133         * gdb.base/long_long.exp: Ditto.
2134         * gdb.base/maint.exp: Ditto.
2135         * gdb.base/ptype.exp: Ditto.
2136         * gdb.base/return.exp: Ditto.
2137         * gdb.base/setshow.exp: Ditto.
2138         * gdb.base/sigbpt.exp: Ditto.
2139         * gdb.base/sigrepeat.exp: Ditto.
2140
2141         * gdb.cp/classes.exp: Ditto.
2142
2143         * gdb.dwarf2/dw2-restore.exp: Ditto.
2144
2145         * gdb.gdb/selftest.exp: Ditto.
2146
2147         * gdb.multi/base.exp: Ditto.
2148         * gdb.multi/bkpt-multi-exec.exp: Ditto.
2149
2150         * gdb.python/py-block.exp: Ditto.
2151         * gdb.python/py-prettyprint.exp: Ditto.
2152         * gdb.python/py-template.exp: Ditto.
2153
2154         * gdb.server/ext-attach.exp: Ditto.
2155         * gdb.server/ext-run.exp: Ditto.
2156         * gdb.server/server-mon.exp: Ditto.
2157
2158         * gdb.threads/fork-thread-pending.exp: Ditto.
2159         * gdb.threads/hand-call-in-threads.exp: Ditto.
2160         * gdb.threads/interrupted-hand-call.exp: Ditto.
2161         * gdb.threads/linux-dp.exp: Ditto.
2162         * gdb.threads/manythreads.exp: Ditto.
2163         * gdb.threads/print-threads.exp: Ditto.
2164         * gdb.threads/pthreads.exp: Ditto.
2165         * gdb.threads/schedlock.exp: Ditto.
2166         * gdb.threads/thread-unwindonsignal.exp: Ditto.
2167         * gdb.threads/threadapply.exp: Ditto.
2168
2169 2010-06-08  Michael Snyder  <msnyder@vmware.com>
2170
2171         * gdb.ada/exec_changed.exp:
2172         Use ".*" instead of "" as wildcard regexp.
2173
2174         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2175         * gdb.base/call-ar-st.exp: Ditto.
2176         * gdb.base/checkpoint.exp: Ditto.
2177         * gdb.base/default.exp: Ditto.
2178         * gdb.base/dump.exp: Ditto.
2179         * gdb.base/ending-run.exp: Ditto.
2180         * gdb.base/fileio.exp: Ditto.
2181         * gdb.base/miscexprs.exp: Ditto.
2182         * gdb.base/pointers.exp: Ditto.
2183         * gdb.base/readline.exp: Ditto.
2184         * gdb.base/reread.exp: Ditto.
2185         * gdb.base/restore.exp: Ditto.
2186         * gdb.base/shlib-call.exp: Ditto.
2187         * gdb.base/valgrind-db-attach.exp: Ditto.
2188         * gdb.base/volatile.exp: Ditto.
2189         * gdb.base/watchpoints.exp: Ditto.
2190
2191         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2192
2193         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2194         * gdb.python/py-value.exp: Ditto.
2195
2196         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2197         * gdb.trace/circ.exp: Ditto.
2198         * gdb.trace/collection.exp: Ditto.
2199         * gdb.trace/packetlen.exp: Ditto.
2200         * gdb.trace/passc-dyn.exp: Ditto.
2201         * gdb.trace/report.exp: Ditto.
2202         * gdb.trace/tfile.exp: Ditto.
2203         * gdb.trace/tfind.exp: Ditto.
2204         * gdb.trace/while-dyn.exp: Ditto.
2205
2206 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2207
2208         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2209
2210 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2211
2212         Test PR 10640.
2213         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2214
2215 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
2216
2217         * gdb.cp/koenig.exp: Test for ADL operators.
2218         * gdb.cp/koenig.cc: Added ADL operators.
2219         * gdb.cp/operator.exp: New test.
2220         * gdb.cp/operator.cc: New test.
2221
2222 2010-06-04  Michael Snyder  <msnyder@vmware.com>
2223
2224         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2225         * gdb.base/pending.exp: Ditto.
2226
2227         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2228
2229 2010-06-04  Doug Evans  <dje@google.com>
2230
2231         * gdb.python/py-prettyprint.exp: Add new test for enabled and
2232         disabled printers.
2233         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2234         (enable_lookup_function): New function.
2235
2236 2010-06-04  Tom Tromey  <tromey@redhat.com>
2237
2238         * gdb.python/py-value.exp (test_value_hash): Don't test equality
2239         of hash and id.
2240
2241 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2242
2243         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2244         newline.
2245         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2246         (empty verbose non-noisy clear, empty verbose noisy clear)
2247         (empty non-verbose noisy clear): Likewise.
2248
2249 2010-06-03  Michael Snyder  <msnyder@vmware.com>
2250
2251         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2252         * gdb.base/display.exp: Ditto.
2253         * gdb.base/find.exp: Ditto.
2254         * gdb.base/ifelse.exp: Ditto.
2255         * gdb.base/multi-forks.exp: Ditto.
2256         * gdb.base/recurse.exp: Ditto.
2257         * gdb.base/setshow.exp: Ditto.
2258         * gdb.base/value-double-free.exp: Ditto.
2259         * gdb.base/watch-vfork.exp: Ditto.
2260         * gdb.base/watch_thread_num.exp: Ditto.
2261         * gdb.base/watchpoint-solib.exp: Ditto.
2262         * gdb.base/watchpoint.exp: Ditto.
2263         * gdb.base/watchpoints.exp: Ditto.
2264
2265         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2266         * gdb.cp/overload.exp: Ditto.
2267         * gdb.cp/virtfunc.exp: Ditto.
2268
2269         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2270
2271         * gdb.reverse/watch-precsave.exp:
2272         Replace gdb_test with gdb_test_no_output.
2273
2274         * gdb.threads/attach-into-signal.exp:
2275         Replace gdb_test with gdb_test_no_output.
2276         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2277         * gdb.threads/watchthreads.exp: Ditto.
2278         * gdb.threads/watchthreads2.exp: Ditto.
2279
2280         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2281         * gdb.trace/tfind.exp: Ditto.
2282
2283 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
2284
2285         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2286         successful test if message is the empty string.
2287
2288 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2289
2290         * gdb.fortran/module.exp (stopped language detection): New test.
2291
2292 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2293
2294         Support DW_TAG_module as separate namespaces.
2295         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2296         gdb.fortran/library-module-lib.f90: New.
2297         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2298         (print i): Remove.
2299         (continue to breakpoint: i-is-1, print var_i value 1)
2300         (continue to breakpoint: i-is-2, print var_i value 2)
2301         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2302         (print var_d, print var_i value 14, ptype modmany, complete `modm)
2303         (complete `modmany, complete `modmany`, complete `modmany`var)
2304         (show language, setting breakpoint at module): New tests.
2305         * gdb.fortran/module.f90 (module mod): Remove.
2306         (module mod1, module mod2, module modmany, subroutine sub1)
2307         (subroutine sub2, program module): New.
2308
2309 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2310
2311         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2312         (print value of rUC, print value of rI, print value of UI): ... here.
2313         * gdb.cp/anon-union.exp (pass): Rename to ...
2314         (print z 2): ... here.
2315
2316 2010-06-02  Michael Snyder  <msnyder@vmware.com>
2317
2318         * gdb.trace/actions.exp: Use gdb_test_no_output.
2319         * gdb.trace/circ.exp: Ditto.
2320         * gdb.trace/packetlen.exp: Ditto.
2321         * gdb.trace/save-trace.exp: Ditto.
2322         * gdb.trace/tracecmd.exp: Ditto.
2323         * gdb.trace/tsv.exp: Ditto.
2324
2325         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2326         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2327         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2328         * gdb.threads/manythreads.exp: Ditto.
2329         * gdb.threads/print-threads.exp: Ditto.
2330         * gdb.threads/pthreads.exp: Ditto.
2331         * gdb.threads/schedlock.exp: Ditto.
2332         * gdb.threads/staticthreads.exp: Ditto.
2333         * gdb.threads/thread-specific.exp: Ditto.
2334         * gdb.threads/thread-unwindonsignal.exp: Ditto.
2335         * gdb.threads/threadapply.exp: Ditto.
2336         * gdb.threads/watchthreads.exp: Ditto.
2337         * gdb.threads/watchthreads2.exp: Ditto.
2338
2339         * gdb.python/py-block.exp: Use gdb_test_no_output.
2340         * gdb.python/py-prettyprint.exp: Ditto.
2341         * gdb.python/py-template.exp: Ditto.
2342         * gdb.python/py-value.exp: Ditto.
2343
2344         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2345         * gdb.reverse/watch-reverse.exp: Ditto.
2346
2347         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2348         * gdb.server/ext-run.exp: Ditto.
2349
2350         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2351         * gdb.dwarf2/dw2-compressed.exp: Ditto.
2352         * gdb.dwarf2/dw2-intercu.exp: Ditto.
2353         * gdb.dwarf2/dw2-intermix.exp: Ditto.
2354         * gdb.dwarf2/dw2-producer.exp: Ditto.
2355         * gdb.dwarf2/mac-fileno.exp: Ditto.
2356
2357         * gdb.gdb/observer.exp: Use gdb_test_no_output.
2358         * gdb.gdb/selftest.exp: Ditto.
2359
2360         * gdb.multi/base.exp: Use gdb_test_no_output.
2361
2362         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2363
2364 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2365
2366         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2367
2368 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
2369
2370         * gdb.cp/class2.exp: Use gdb_test_no_output.
2371         * gdb.cp/classes.exp: Ditto.
2372         * gdb.cp/extern-c.exp: Ditto.
2373         * gdb.cp/inherit.exp: Ditto.
2374         * gdb.cp/maint.exp: Ditto.
2375         * gdb.cp/mb-inline.exp: Ditto.
2376         * gdb.cp/mb-templates.exp: Ditto.
2377         * gdb.cp/method2.exp: Ditto.
2378         * gdb.cp/misc.exp: Ditto.
2379         * gdb.cp/ovldbreak.exp: Ditto.
2380         * gdb.cp/punctuator.exp: Ditto.
2381         * gdb.cp/templates.exp: Ditto.
2382         * gdb.cp/virtbase.exp: Ditto.
2383
2384         * gdb.threads/attach-stopped.exp:
2385         Replace uses of send_gdb / gdb_expect.
2386         * gdb.threads/attachstop-mt.exp:
2387         Replace uses of send_gdb / gdb_expect.
2388         * gdb.threads/gcore-thread.exp:
2389         Replace uses of send_gdb / gdb_expect.
2390         * gdb.threads/hand-call-in-threads.exp:
2391         Replace uses of send_gdb / gdb_expect.
2392         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2393         * gdb.threads/print-threads.exp:
2394         Replace uses of send_gdb / gdb_expect.
2395         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2396         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2397         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2398
2399         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2400         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2401         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2402         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2403         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2404         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2405         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2406         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2407         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2408         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2409         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2410
2411 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2412
2413         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2414
2415 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
2416
2417         * gdb.cp/koenig.exp: Added new test case.
2418         * gdb.cp/koenig.cc: Ditto.
2419
2420 2010-06-01  Michael Snyder  <msnyder@vmware.com>
2421
2422         * gdb.base/arithmet.exp: Use gdb_test_no_output.
2423         * gdb.base/arrayidx.exp: Ditto.
2424         * gdb.base/attach.exp: Ditto.
2425         * gdb.base/auxv.exp: Ditto.
2426         * gdb.base/bigcre.exp: Ditto.
2427         * gdb.base/break-always.exp: Ditto.
2428         * gdb.base/break-interp.exp: Ditto.
2429         * gdb.base/break.exp: Ditto.
2430         * gdb.base/breakpoint-shadow.exp: Ditto.
2431         * gdb.base/call-ar-st.exp: Ditto.
2432         * gdb.base/call-sc.exp: Ditto.
2433         * gdb.base/call-signal-resume.exp: Ditto.
2434         * gdb.base/callfuncs.exp: Ditto.
2435         * gdb.base/catch-syscall.exp: Ditto.
2436         * gdb.base/charset.exp: Ditto.
2437         * gdb.base/code-expr.exp: Ditto.
2438         * gdb.base/commands.exp: Ditto.
2439         * gdb.base/cond-expr.exp: Ditto.
2440         * gdb.base/condbreak.exp: Ditto.
2441         * gdb.base/cursal.exp: Ditto.
2442         * gdb.base/cvexpr.exp: Ditto.
2443         * gdb.base/default.exp: Ditto.
2444         * gdb.base/del.exp: Ditto.
2445         * gdb.base/detach.exp: Ditto.
2446         * gdb.base/display.exp: Ditto.
2447         * gdb.base/ena-dis-br.exp: Ditto.
2448         * gdb.base/eval-skip.exp: Ditto.
2449         * gdb.base/foll-fork.exp: Ditto.
2450         * gdb.base/foll-vfork.exp: Ditto.
2451         * gdb.base/frame-args.exp: Ditto.
2452         * gdb.base/funcargs.exp: Ditto.
2453         * gdb.base/gcore-buffer-overflow.exp: Ditto.
2454         * gdb.base/gdbvars.exp: Ditto.
2455         * gdb.base/help.exp: Ditto.
2456         * gdb.base/ifelse.exp: Ditto.
2457         * gdb.base/included.exp: Ditto.
2458         * gdb.base/list.exp: Ditto.
2459         * gdb.base/macscp.exp: Ditto.
2460         * gdb.base/maint.exp: Ditto.
2461         * gdb.base/multi-fork.exp: Ditto.
2462         * gdb.base/overlays.exp: Ditto.
2463         * gdb.base/page.exp: Ditto.
2464         * gdb.base/pending.exp: Ditto.
2465         * gdb.base/pointers.exp: Ditto.
2466         * gdb.base/pr11022.exp: Ditto.
2467         * gdb.base/prelink.exp: Ditto.
2468         * gdb.base/printcmds.exp: Ditto.
2469         * gdb.base/psymtab.exp: Ditto.
2470         * gdb.base/randomize.exp: Ditto.
2471         * gdb.base/relational.exp: Ditto.
2472         * gdb.base/relocate.exp: Ditto.
2473         * gdb.base/remote.exp: Ditto.
2474         * gdb.base/sepdebug.exp: Ditto.
2475         * gdb.base/set-lang-auto.exp: Ditto.
2476         * gdb.base/setshow.exp: Ditto.
2477         * gdb.base/setvar.exp: Ditto.
2478         * gdb.base/signals.exp: Ditto.
2479         * gdb.base/signull.exp: Ditto.
2480         * gdb.base/sigstep.exp: Ditto.
2481         * gdb.base/sizeof.exp: Ditto.
2482         * gdb.base/solib-disc.exp: Ditto.
2483         * gdb.base/store.exp: Ditto.
2484         * gdb.base/structs.exp: Ditto.
2485         * gdb.base/structs2.exp: Ditto.
2486         * gdb.base/subst.exp: Ditto.
2487         * gdb.base/term.exp: Ditto.
2488         * gdb.base/trace-commands.exp: Ditto.
2489         * gdb.base/unwindonsignal.exp: Ditto.
2490         * gdb.base/valgrind-db-attach.exp: Ditto.
2491         * gdb.base/varargs.exp: Ditto.
2492         * gdb.base/watch-cond.exp: Ditto.
2493         * gdb.base/watch_thread_num.exp: Ditto.
2494         * gdb.base/watchpoint-cond-gone.exp: Ditto.
2495         * gdb.base/watchpoint.exp: Ditto.
2496         * gdb.base/whatis-exp.exp: Ditto.
2497
2498 2010-06-01  Michael Snyder  <msnyder@vmware.com>
2499
2500         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2501         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2502         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2503         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2504         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2505         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2506         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2507         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2508         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2509         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2510         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2511         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2512         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2513         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2514         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2515
2516 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2517
2518         * gdb.base/commands.exp (begin commands on watch): Remove excessive
2519         trailing newline.
2520         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2521         * gdb.java/jmisc.exp (p *args\n): Rename to ...
2522         (p *args): ... here and remove excessive trailing newline.
2523
2524 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
2525
2526         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2527
2528 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
2529
2530         Accept the new Linux kernel "t (tracing stop)" string.
2531         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2532         Update comment.
2533         (state_wait) <T (tracing stop)>: New.
2534         (main): Update the state_wait expect string.
2535
2536 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
2537
2538         * limits.c, limits.exp: Delete files.
2539         * Makefile.in (clean mostlyclean): Adjust.
2540         * tracecmd.exp: Adjust.
2541
2542 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2543
2544         * gdb.base/tui-layout.exp: New.
2545
2546 2010-05-28  Michael Snyder  <msnyder@vmware.com>
2547
2548         * gdb.reverse/break-precsave.exp:
2549         Replace uses of send_gdb / gdb_expect.
2550         * gdb.reverse/break-reverse.exp:
2551         Replace uses of send_gdb / gdb_expect.
2552         * gdb.reverse/consecutive-precsave.exp:
2553         Replace uses of send_gdb / gdb_expect.
2554         * gdb.reverse/consecutive-reverse.exp:
2555         Replace uses of send_gdb / gdb_expect.
2556         * gdb.reverse/finish-precsave.exp:
2557         Replace uses of send_gdb / gdb_expect.
2558         * gdb.reverse/finish-reverse.exp:
2559         Replace uses of send_gdb / gdb_expect.
2560         * gdb.reverse/i386-precsave.exp:
2561         Replace uses of send_gdb / gdb_expect.
2562         * gdb.reverse/i386-reverse.exp:
2563         Replace uses of send_gdb / gdb_expect.
2564         * gdb.reverse/i386-sse-reverse.exp:
2565         Replace uses of send_gdb / gdb_expect.
2566         * gdb.reverse/i387-env-reverse.exp:
2567         Replace uses of send_gdb / gdb_expect.
2568         * gdb.reverse/i387-stack-reverse.exp:
2569         Replace uses of send_gdb / gdb_expect.
2570         * gdb.reverse/machinestate-precsave.exp:
2571         Replace uses of send_gdb / gdb_expect.
2572         * gdb.reverse/machinestate.exp:
2573         Replace uses of send_gdb / gdb_expect.
2574         * gdb.reverse/sigall-precsave.exp:
2575         Replace uses of send_gdb / gdb_expect.
2576         * gdb.reverse/sigall-reverse.exp:
2577         Replace uses of send_gdb / gdb_expect.
2578         * gdb.reverse/solib-precsave.exp:
2579         Replace uses of send_gdb / gdb_expect.
2580         * gdb.reverse/solib-reverse.exp:
2581         Replace uses of send_gdb / gdb_expect.
2582         * gdb.reverse/step-precsave.exp:
2583         Replace uses of send_gdb / gdb_expect.
2584         * gdb.reverse/step-reverse.exp:
2585         Replace uses of send_gdb / gdb_expect.
2586         * gdb.reverse/until-precsave.exp:
2587         Replace uses of send_gdb / gdb_expect.
2588         * gdb.reverse/until-reverse.exp:
2589         Replace uses of send_gdb / gdb_expect.
2590         * gdb.reverse/watch-precsave.exp:
2591         Replace uses of send_gdb / gdb_expect.
2592         * gdb.reverse/watch-reverse.exp:
2593         Replace uses of send_gdb / gdb_expect.
2594
2595 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2596
2597         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2598         excessive newline.
2599
2600 2010-05-27  Michael Snyder  <msnyder@vmware.com>
2601
2602         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2603         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2604         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2605         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2606         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2607         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2608         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2609         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2610         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2611         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2612         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2613         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2614         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2615         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2616         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2617         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2618         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2619         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2620         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2621
2622 2010-05-26  Michael Snyder  <msnyder@vmware.com>
2623
2624         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2625         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2626
2627         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2628         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2629         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2630
2631         * gdb.reverse/consecutive-reverse.exp:
2632         Replace uses of send_gdb / gdb_expect.
2633         * gdb.reverse/consecutive-precsave.exp:
2634         Replace uses of send_gdb / gdb_expect.
2635
2636         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2637         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2638         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2639         * gdb.mi/mi-ns-stale-regcache.exp:
2640         Replace uses of send_gdb / gdb_expect.
2641         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2642         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2643         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2644         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2645         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2646         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2647         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2648         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2649         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2650
2651 2010-05-26  Michael Snyder  <msnyder@vmware.com>
2652
2653         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2654
2655         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2656
2657         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2658         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2659         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2660         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2661         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2662         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2663         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2664         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2665         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2666
2667 2010-05-25  Tom Tromey  <tromey@redhat.com>
2668
2669         * gdb.base/macscp.exp: Add missing space after setup_kfail.
2670
2671 2010-05-25  Tom Tromey  <tromey@redhat.com>
2672
2673         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2674         argument order.
2675         * gdb.base/macscp.exp: Fix setup_kfail argument order.
2676         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2677         order.
2678         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2679         order.
2680         * gdb.base/call-sc.exp (setup_kfails): Remove.
2681         (setup_compiler_kfails): Remove.
2682         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2683         argument order.
2684         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2685         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2686         (advancei): Fix setup_kfail argument order.
2687         * gdb.base/radix.exp: Fix setup_kfail argument order.
2688         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2689         order.
2690         * gdb.base/structs.exp (setup_kfails): Remove.
2691         (setup_compiler_kfails): Fix setup_kfail argument order.
2692         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2693         order.
2694         * gdb.java/jmain.exp: Fix setup_kfail argument order.
2695         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2696         setup_kfail argument order.
2697         * gdb.cp/overload.exp: Fix setup_kfail argument order.
2698
2699 2010-05-25  Tom Tromey  <tromey@redhat.com>
2700
2701         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2702
2703 2010-05-25  Michael Snyder  <msnyder@vmware.com>
2704
2705         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2706         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2707         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2708         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2709         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2710         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2711         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2712         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2713         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2714         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2715         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2716         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2717         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2718         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2719         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2720         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2721         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2722         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2723         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2724         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2725         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2726         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2727         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2728         * gdb.base/default.exp: Replace send_gdb with gdb_test.
2729         * gdb.base/define.exp: Replace send_gdb with gdb_test.
2730         * gdb.base/display.exp: Replace send_gdb with gdb_test.
2731         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2732         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2733         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2734         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2735         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2736         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2737         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2738         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2739         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2740         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2741         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2742         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2743         * gdb.base/help.exp: Replace send_gdb with gdb_test.
2744         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2745         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2746         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2747         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2748         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2749         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2750         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2751         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2752         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2753
2754 2010-05-25  Doug Evans  <dje@google.com>
2755
2756         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2757         gdb.string_to_argv.
2758
2759 2010-05-21  Tom Tromey  <tromey@redhat.com>
2760
2761         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2762         Call it.
2763         * gdb.dwarf2/pieces.S: Update.
2764         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2765
2766 2010-05-21  Tom Tromey  <tromey@redhat.com>
2767
2768         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2769         Call it.
2770         * gdb.dwarf2/pieces.c (struct C): New.
2771         (f6): New function.
2772         * gdb.dwarf2/pieces.S: Replace.
2773
2774 2010-05-21  Tom Tromey  <tromey@redhat.com>
2775
2776         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2777         Call it.
2778
2779 2010-05-21  Tom Tromey  <tromey@redhat.com>
2780
2781         * gdb.dwarf2.pieces.exp: New file.
2782         * gdb.dwarf2.pieces.S: New file.
2783         * gdb.dwarf2.pieces.c: New file.
2784
2785 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
2786             Joel Brobecker  <brobecker@adacore.com>
2787
2788         * lib/gdb.exp (gdb_test_no_output): New function.
2789         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2790         when testing commands that should produce no output.
2791
2792 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
2793
2794         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2795         parameter that we want to watch being a constant.
2796
2797 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
2798
2799         * gdb.ada/cond_lang: New testcase.
2800
2801 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
2802
2803         * lib/gdb.exp (banned_variables): New variable/constant.
2804         (gdb_init): Add write trace on variables listed in banned_variables.
2805         (gdb_finish): Remove write traces on variables listed in
2806         banned_variables.
2807
2808 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
2809
2810         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2811         * gdb.cp/koenig.exp: Likewise.
2812
2813 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
2814
2815         PR python/11482
2816
2817         * gdb.python/py-value.exp (test_value_hash): New function.
2818
2819 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
2820
2821         PR exp/11530.
2822         * gdb.base/gdb11530.c: New file.
2823         * gdb.base/gdb11530.exp: New file.
2824
2825 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2826
2827         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2828         * gdb.dwarf2/dw2-modula2-self-type.S: New.
2829
2830 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
2831
2832         * gdb.cp/koenig.exp: New test.
2833         * gdb.cp/koenig.cc: New test program.
2834
2835 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
2836
2837         Remove the use of prms_id and bug_id throughout the testsuite.
2838
2839 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
2840
2841         PR exp/11349.
2842         * testsuite/gdb.cp/ref-types.exp: Add test to examine
2843         use a reference local variable.
2844
2845 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2846
2847         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2848         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
2849         variable different_dir. Move debugfile into a full directory pathname
2850         under DIFFERENT_DIR.
2851         * lib/gdb.exp (separate_debug_filename): Remove.
2852         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
2853         variable debug_dir and mkdir of it.  Update function comments.
2854
2855 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
2856
2857         PR gdb/11557
2858
2859         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2860         files.
2861
2862 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
2863
2864         * gdb.python/py-param.exp: New File.
2865
2866 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
2867
2868         * gdb.base/default.exp: Fix "set language" test.
2869
2870 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
2871
2872         PR breakpoints/11531.
2873         * gdb.base/gdb11531.c: New file.
2874         * gdb.base/gdb11531.exp: New file.
2875
2876 2010-04-26  Tom Tromey  <tromey@redhat.com>
2877
2878         * gdb.base/completion.exp: Add tests for completion and deprecated
2879         commands.
2880
2881 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2882
2883         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2884         (print /x char_array): Escape curly brackets.
2885
2886 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
2887
2888         Fix deadlock on looped list of loaded shared objects.
2889         * gdb.base/solib-corrupted.exp: New.
2890
2891 2010-04-23  Doug Evans  <dje@google.com>
2892
2893         * gdb.python/py-section-script.c: New file.
2894         * gdb.python/py-section-script.exp: New file.
2895         * gdb.python/py-section-script.py: New file.
2896
2897 2010-04-20  Chris Moller  <cmoller@redhat.com>
2898
2899         PR 10179
2900
2901         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2902         * gdb.base/pr10179-a.c:
2903         * gdb.base/pr10179-b.c:
2904         * gdb.base/pr10179.exp: New files.
2905
2906 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
2907
2908         Fix crashes on dangling display expressions.
2909         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2910         is SEP.
2911         (lib_flags): Remove the "debug" keyword.
2912         (libsepdebug): New variable for iterating new loop.
2913         (save_pf_prefix): New variable wrapping the loop.
2914         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
2915         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2916
2917 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
2918
2919         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2920
2921 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
2922
2923         PR stabs/11479.
2924         * gdb.stabs/gdb11479.exp: New file.
2925         * gdb.stabs/gdb11479.c: New file.
2926
2927 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
2928
2929         * gdb.base/charset.c (Strin16, String32): New variables.
2930         * gdb.base/charset.exp (gdb_test): Test correct display
2931         of 16 or 32 bit strings.
2932
2933 2010-04-21  Chris Moller  <cmoller@redhat.com>
2934
2935         PR 9167
2936         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2937         * gdb.cp/pr9167.cc: New file.
2938         * gdb.cp/pr9167.exp: New file.
2939
2940
2941 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
2942
2943         PR pascal/11492.
2944         * gdb.pascal/gdb11492.pas: New file.
2945         * gdb.pascal/gdb11492.exp: New file.
2946
2947 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
2948
2949         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2950
2951 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
2952
2953         * gdb.ada/dyn_loc: New testcase.
2954
2955 2010-04-20  Chris Moller  <cmoller@redhat.com>
2956
2957         PR 10867
2958
2959         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
2960         * gdb.cp/pr10687.cc: New file.
2961         * gdb.cp/pr10687.exp: New file.
2962
2963
2964 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
2965             Sergio Durigan Junior  <sergiodj@redhat.com>
2966
2967         * gdb.fortran/logical.exp: New testcase.
2968         * gdb.fortran/logical.f90: New file.
2969
2970 2010-04-19  Doug Evans  <dje@google.com>
2971
2972         * gdb.base/help.exp (help source): Update expected output.
2973
2974 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
2975
2976         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2977         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
2978         gdb_exit and return.
2979         (executable): New variable.
2980         (binfile): Use it.
2981
2982 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
2983
2984         PR breakpoints/8554.
2985
2986         * gdb.trace/save-trace.exp: Adjust.
2987
2988 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2989
2990         PR corefiles/11511
2991         * gdb.arch/system-gcore.exp: New.
2992         * gdb.arch/gcore.c: Likewise.
2993
2994 2010-04-15  Doug Evans  <dje@google.com>
2995
2996         * gdb.python/py-progspace.c: New file.
2997         * gdb.python/py-progspace.exp: New file.
2998
2999         * gdb.base/source.exp: Add tests for "source -s".
3000
3001 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
3002
3003         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3004         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3005         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3006         * gdb.python/py-mi.exp: New test for to_string returning None.
3007
3008 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
3009
3010         * gdb.python/py-breakpoint.c: Make result global.
3011
3012 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
3013
3014         Fix non-GNU make compatibility.
3015         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3016
3017 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
3018
3019         * gdb.python/py-breakpoint.exp: New File.
3020         * gdb.python/py-breakpoint.C: Ditto.
3021
3022 2010-04-08  Stan Shebs  <stan@codesourcery.com>
3023
3024         * gdb.trace/actions.exp: Clear default-collect.
3025         * gdb.trace/save-trace.exp: Clear default-collect.
3026
3027 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
3028
3029         * gdb.python/py-value: Add null string variable.
3030           (test_lazy_string): Test zero length, NULL address lazy
3031           strings.
3032
3033 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3034
3035         * gdb.arch/i386-avx.c: New.
3036         * gdb.arch/i386-avx.exp: Likewise.
3037
3038         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3039
3040 2010-04-06  Doug Evans  <dje@google.com>
3041
3042         * gdb.base/source-test.gdb: New file.
3043         * gdb.base/source.exp: Test source -v.
3044
3045 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3046
3047         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3048
3049 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
3050
3051         * gdb.stabs/aout.sed: Convert all backslash to double backslash
3052         within one line, unless it is followed by a double quote.
3053         * gdb.stabs/hppa.sed: Idem.
3054         * gdb.stabs/weird.def: Add char and String constants
3055         * gdb.stabs/weird.exp: Check for correct parsing of
3056         char and string constants.
3057         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3058         in .stabs to .stabx substitution.
3059
3060 2010-04-05  Stan Shebs  <stan@codesourcery.com>
3061
3062         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3063         constant global.
3064         * gdb.trace/tfile.exp: Try to print them.
3065
3066 2010-04-04  Stan Shebs  <stan@codesourcery.com>
3067
3068         * gdb.base/completion.exp: Update for new "info watchpoints".
3069         * gdb.base/default.exp: Ditto.
3070         * gdb.base/help.exp: Ditto.
3071         * gdb.base/watchpoint.exp: Ditto.
3072         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3073
3074 2010-04-04  Stan Shebs  <stan@codesourcery.com>
3075
3076         * gdb.trace/tfile.exp: Sharpen tfind test.
3077
3078 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3079
3080         * gdb.base/break-entry.exp: New.
3081
3082 2010-04-02  Hui Zhu  <teawater@gmail.com>
3083             Michael Snyder <msnyder@vmware.com>
3084
3085         * gdb.reverse/i386-sse-reverse.exp: New file.
3086         * gdb.reverse/i386-sse-reverse.c: New file.
3087
3088 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
3089
3090         * gdb.trace/tfind.exp: Adjust expected disassembly output.
3091
3092 2010-04-01  Stan Shebs  <stan@codesourcery.com>
3093
3094         * gdb.trace/actions.exp: Tweak expected output.
3095         * gdb.trace/while-stepping.exp: Tweak expected output.
3096
3097 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
3098
3099         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3100
3101 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
3102
3103         * gdb.base/commands.exp: Adjust.
3104         * gdb.cp/extern-c.exp: Adjust.
3105
3106 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
3107
3108         * gdb.trace/collection.c (local_test_func): Define a local struct,
3109         and instanciate it.
3110
3111 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
3112
3113         * gdb.trace/collection.exp (gdb_collect_args_test)
3114         (gdb_collect_argarray_test): XFAIL the tests that assume the
3115         argarray argument's elements are collected.
3116
3117 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
3118
3119         * gdb.dwarf2/dw2-bad-parameter-type.exp,
3120         gdb.dwarf2/dw2-bad-parameter-type.S: New.
3121
3122 2010-03-31  Stan Shebs  <stan@codesourcery.com>
3123
3124         * gdb.trace/save-trace.exp: Test save/restore of default-collect
3125         and tracepoint conditionals.
3126         (gdb_verify_tracepoints): Delete unused return.
3127
3128 2010-03-26  Keith Seitz  <keiths@redhat.com>
3129
3130         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3131         appear in the output before main.
3132         Remove KFAIL for gdb/2215 aka bz 9320.
3133
3134 2010-03-30  Doug Evans  <dje@google.com>
3135
3136         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3137         by dejagnu.
3138         * gdb.arch/amd64-dword.exp: Ditto.
3139
3140         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3141         match.
3142         (break printf): Ditto.
3143
3144 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
3145
3146         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3147         gcc < 4.4.
3148         * gdb.cp/shadow.exp: Ditto.
3149
3150 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
3151
3152         * gdb.trace/collection.exp (run_trace_experiment): Make sure
3153         "tstart" is silent.
3154
3155 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
3156
3157         * gdb.trace/collection.exp (executable): New.
3158         (binfile): Use it.
3159         (fpreg, spreg, pcreg): New.
3160         (test_register): Use gdb_test_multiple.  Pass /x to print.
3161         (prepare_for_trace_test): New.
3162         (run_trace_experiment): Use "continue", not gdb_run_cmd.
3163         (gdb_collect_args_test, gdb_collect_argstruct_test)
3164         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3165         prepare_for_trace_test.
3166         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
3167         fpreg, spreg and pcreg.
3168         (gdb_collect_expression_test, gdb_collect_globals_test): Use
3169         prepare_for_trace_test.
3170         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
3171         try to detect tracing support here.  Don't set breakpoints at
3172         `begin' or `end' here.
3173         <global scope>: Use clean_restart.  Run to main before checking
3174         for tracing support.  Check for for tracing support here.
3175
3176 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3177
3178         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3179         " as $displacement" to "seen displacement message".
3180
3181 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
3182
3183         * gdb.trace/while-dyn.exp (executable): New variable.
3184         (binfile): Use it.
3185         (test_while_stepping): New function.  Move most tests here.  Call
3186         it once for each of the while-stepping, stepping and ws aliases.
3187
3188 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3189
3190         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3191         that do not provide the tagless_struct type name at all.
3192         (test_print_anon_union): Do not check value of uninitialized
3193         union member.  Do not use cp_test_ptype_class, so we can accept
3194         "long" as well as "long int".
3195
3196 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
3197
3198         * gdb.trace/tfile.c (tohex, bin2hex): New.
3199         (write_error_trace_file): Hexify error description.
3200
3201 2010-03-25  Stan Shebs  <stan@codesourcery.com>
3202
3203         * gdb.trace/tfile.c: Generate an additional trace file, improve
3204         portability.
3205         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3206         files in a better way.
3207
3208 2010-03-25  Keith Seitz  <keiths@redhat.com>
3209
3210         * gdb.java/jprint.exp: XFAIL printing of static class members
3211         because of GCC debuginfo problem.
3212
3213 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
3214
3215         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3216
3217 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
3218
3219         * gdb.base/completion.exp: Allow long instead of long int.
3220         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3221         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
3222         variable p.
3223         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3224         * gdb.base/pointers.exp: Allow long instead of long int.
3225         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3226         * gdb.base/step-line.exp: Allow a directory before the source file name.
3227
3228 2010-03-24  Tom Tromey  <tromey@redhat.com>
3229
3230         PR breakpoints/9352:
3231         * gdb.base/default.exp: Update.
3232         * gdb.base/commands.exp: Update.
3233         * gdb.cp/extern-c.exp: Test setting commands on multiple
3234         breakpoints at once.
3235
3236 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
3237
3238         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3239         if gdb,nosignals.
3240         * gdb.base/watchpoints.c: Do not include unnecessary headers.
3241         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3242         exited".
3243
3244 2010-03-24  Stan Shebs  <stan@codesourcery.com>
3245
3246         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3247
3248 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
3249
3250         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3251         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3252         argument.  Handle "short" and "long".
3253         (Top level): Pass overprototyped output for old_fptr and xptr.
3254
3255 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
3256
3257         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3258         format strings and add casts to avoid compiler warnings.
3259
3260 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
3261
3262         * lib/trace-support.exp (gdb_trace_setactions):
3263         Don't expect whitespace after ">" prompt.
3264         * gdb.trace/actions.exp: Adjust for output changes.
3265         * gdb.trace/while-stepping.exp: Likewise.
3266
3267 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3268
3269         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3270         and r157645).
3271
3272 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3273
3274         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3275         New.
3276
3277 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
3278
3279         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3280         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3281
3282 2010-03-19  Stan Shebs  <stan@codesourcery.com>
3283
3284         * gdb.trace/ax.exp: New file.
3285
3286 2010-03-19  Doug Evans  <dje@google.com>
3287
3288         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3289         output from gcc.
3290
3291         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3292         named /usr/sbin/prelink<foo>.
3293
3294 2010-03-18  Stan Shebs  <stan@codesourcery.com>
3295
3296         * gdb.trace/circ.exp: Test circular-trace-buffer.
3297         * gdb.trace/tfile.exp: Update tstatus test.
3298
3299 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
3300
3301         * gdb.dwarf2/dw2-anonymous-func.S: New file.
3302         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3303
3304 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3305
3306         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3307
3308 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
3309
3310         * gdb.base/default.exp: Adjust the expected output of the finish
3311         and until commands when the inferior is not being run.
3312
3313 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
3314
3315         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3316         * gdb.cp/nsusing.exp: Ditto.
3317
3318 2010-03-15  Tom Tromey  <tromey@redhat.com>
3319
3320         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3321         * gdb.cp/userdef.cc (operator==): New function.
3322         (main): New locals mem1, mem2.
3323
3324 2010-03-15  Jie Zhang  <jie@codesourcery.com>
3325
3326         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3327         Declare and use new loadtimeout variable.
3328
3329 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
3330
3331         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3332         Use gdb_load later.
3333
3334 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
3335
3336         * gdb.base/solib-disc.c (main): Make format of fprintf a string
3337         literal.  Add missing endlines to prints to stderr.
3338
3339 2010-03-12  Tom Tromey  <tromey@redhat.com>
3340
3341         PR c++/9708:
3342         * gdb.cp/m-static.exp: Add regression test.
3343         * gdb.cp/m-static.cc (method): New method.
3344         (main): Call it.
3345
3346 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
3347
3348         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3349         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3350
3351 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
3352
3353         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3354
3355 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
3356
3357         * lib/gdb.exp (skip_stl_tests): New.
3358         (gdb_compile): Symbian needs -ldl.
3359         (shlib_target_file): New.
3360         (shlib_symbol_file): New.
3361         (gdb_load_shlibs): Use shlib_target_file.
3362         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3363         * gdb.cp/exception.exp: Use skip_stl_tests.
3364         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
3365         * gdb.cp/try_catch.exp: Use skip_stl_tests.
3366         * gdb.cp/mb-templates.exp: Ditto.
3367         * gdb.base/commands.exp: Relax regexes.
3368         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
3369         shlib_target_file and shlib_symbol_file.
3370         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
3371         sections.
3372         * gdb.base/ending-run.exp: Accept E32Main for symbian.
3373         * gdb.base/solib-disc.exp: Use
3374         shlib_target_file and shlib_symbol_file.
3375         * gdb.base/unload.exp: Don't skip on symbian.  Use
3376         shlib_target_file and shlib_symbol_file.
3377         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3378
3379 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
3380
3381         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3382         * gdb.trace/report.exp: Adjust for x86 and x86_64.
3383         Issue a tfind end before looking for a tracepoint frame.
3384         * gdb.trace/tfind.exp: Adjust tstatus output.
3385         Adjust disassembly output.
3386         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3387
3388 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3389
3390         * gdb.base/break-interp.exp: Create new displacement parameter value
3391         for the test_ld calls.
3392         (reach): New parameter displacement, verify its content.  New push of
3393         pf_prefix "reach-$func:".  Import global expect_out.
3394         (test_core): New parameter displacement, verify its content.  New push
3395         of pf_prefix "core:".  New command "set verbose on".  Import global
3396         expect_out.
3397         (test_attach): New parameter displacement, verify its content.  New
3398         push of pf_prefix "attach:".  New command "set verbose on".  Import
3399         global expect_out.
3400         (test_ld): New parameter displacement, pass it to the reach, test_core
3401         and test_attach calls and verify its content in the "ld.so exit" test.
3402         * gdb.base/prelink.exp: Remove gdb_exit and final return.
3403         (prelink): Update expected text, use gdb_test.
3404
3405 2010-03-10  Doug Evans  <dje@google.com>
3406
3407         * gdb.base/checkpoint.exp: Fix comment.
3408         Lengthen timeout while doing >600 checkpoints test.
3409         Rename duplicate "kill all one" test to keep test names unique.
3410
3411 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
3412
3413         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3414
3415 2010-03-08  Keith Seitz  <keiths@redhat.com>
3416
3417         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3418         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3419         (dm_type_long): New function.
3420         (dm_type_unsigned_short): New function.
3421         (dm_type_unsigned_long): New function.
3422         (myint): New typedef.
3423         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3424         long, unsigned shor and long, operator char*, and typedef.
3425         (test_lookup_operator_functions): Add operator char* test.
3426         (test_paddr_operator_functions): Likewise.
3427         (test_paddr_overloaded_functions): Use probe values for
3428         short, long, and unsigned short and long.
3429         (test_paddr_hairy_functions): If the demangler probe detected
3430         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3431         demangler.
3432         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3433         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3434         and "print null_pmf".
3435         Add test "ptype a.*pmf".
3436         * gdb.cp/overload.exp: Allow optional "int" to appear with
3437         "short" and "long".
3438         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3439         long expect value for men_overload1arg.
3440         Allow "int" to appear with "short" and "long".
3441         When testing "info break", add argument for main (void).
3442         Also allow "int" to appear with "short" and "long".
3443         Ditto with "unsigned" and "long long".
3444         * gdb.java/jmain.exp: Do not enclose methods names in single
3445         quotes.
3446         * gdb.java/jmisc.exp: Likewise.
3447         * gdb.java/jprint.exp: Likewise.
3448         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3449
3450         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
3451         * gdb.cp/exception.exp (backtrace after first throw)
3452         (backtrace after second throw): Allow a namespace before __cxa_throw.
3453         (backtrace after first catch, backtrace after second catch): Allow
3454         a namespace before __cxa_begin_catch.
3455
3456         * gdb.cp/cpexprs.exp: New file.
3457         * gdb.cp/cpexprs.cc: New file.
3458
3459         From Daniel Jacobowitz  <dan@codesourcery.com>
3460         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
3461         to use string_to_regexp.
3462         (ctor, dtor): New functions.  Use them to match constructor
3463         and destructor function types.
3464         (Top level): Use runto_main.
3465
3466 2010-03-05  Tom Tromey  <tromey@redhat.com>
3467
3468         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3469         gdb.target_charset.
3470         (pp_ns.to_string): Likewise.
3471
3472 2010-03-04  Keith Seitz  <keiths@redhat.com>
3473
3474         * gdb.cp/overload.exp: Test that the filename portion of a linespec
3475         can be quoted.  Test that both the filename and function/line
3476         portions can be quoted at the same time.
3477
3478 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
3479
3480         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3481
3482 2010-03-03  Doug Evans  <dje@google.com>
3483
3484         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3485         libc contains libpthread.
3486
3487         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3488         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3489         of gdb_compile.  Add another pattern to match android backtrace.
3490
3491 2010-03-03  Tom Tromey  <tromey@redhat.com>
3492
3493         PR gdb/11345:
3494         * gdb.base/printcmds.exp (test_printf): Add test.
3495
3496 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
3497
3498         * gdb.arch/amd64-byte.exp: New.
3499         * gdb.arch/amd64-dword.exp: Likewise.
3500         * gdb.arch/amd64-pseudo.c: Likewise.
3501         * gdb.arch/amd64-word.exp: Likewise.
3502         * gdb.arch/i386-byte.exp: Likewise.
3503         * gdb.arch/i386-pseudo.c: Likewise.
3504         * gdb.arch/i386-word.exp: Likewise.
3505
3506 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
3507
3508         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3509         types.  Add structreg, bitfields, and flags registers.
3510         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3511         registers.
3512
3513 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3514
3515         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
3516         (load_description): Set architecture if defined.
3517
3518 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
3519
3520         * gdb.python/py-frame.exp: Add read_var block tests.
3521         * gdb.python/py-frame.c (block): New function.
3522
3523 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3524             Daniel Jacobowitz  <dan@codesourcery.com>
3525
3526         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
3527
3528 2010-02-25  David S. Miller  <davem@davemloft.net>
3529
3530         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3531         fix logic for setting all_syscalls_numbers.
3532
3533 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
3534
3535         * Makefile.in: Add py-block and py-symbol.
3536         * gdb.python/py-symbol.exp: New File.
3537         * gdb.python/py-symtab.exp: New File.
3538         * gdb.python/py-block.exp: New File.
3539         * gdb.python/py-symbol.c: New File.
3540         * gdb.python/py-block.c: New File.
3541
3542 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
3543
3544         PR python/11314
3545         * lib/gdb.exp (skip_python_tests): New function.
3546         * gdb.python/py-cmd.exp: Use skip_python_tests.
3547         * gdb.python/py-frame.exp: Likewise.
3548         * gdb.python/py-function.exp: Likewise.
3549         * gdb.python/py-prettyprint.exp: Likewise.
3550         * gdb.python/py-template.exp: Likewise.
3551         * gdb.python/py-type.exp: Likewise.
3552         * gdb.python/py-value.exp: Likewise.
3553
3554 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
3555
3556         PR9605
3557
3558         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3559
3560 2010-02-19  Tom Tromey  <tromey@redhat.com>
3561
3562         PR c++/8693, PR c++/9496:
3563         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
3564         regression tests.
3565
3566 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
3567
3568         Fix compatibility with m68k as.
3569         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
3570         Use only /* comments */.
3571
3572 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3573
3574         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3575         * configure: Regenerate.
3576
3577 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
3578
3579         * gdb.python/py-type.exp: Check for Python support.
3580
3581 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
3582
3583         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3584         `regsub' syntax available.
3585
3586 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
3587
3588         * gdb.base/shmain.c (main): Remove printf call.
3589         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3590         * gdb.base/unload.c (main): Make format of fprintf a string
3591         literal.  Add missing endlines to prints to stderr.
3592         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3593
3594 2010-02-17  Tom Tromey  <tromey@redhat.com>
3595
3596         * gdb.java/jprint.java (jprint.props): New field.
3597         * gdb.java/jprint.exp (set_lang_java): Add regression test.
3598
3599 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
3600
3601         * gdb.base/charset.exp: Don't assume new `regsub' syntax
3602         available.
3603
3604 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3605
3606         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3607         creation to support remote host testing.
3608
3609 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3610
3611         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3612         Recognize "command not found".
3613
3614 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3615
3616         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3617         single-stepping.
3618
3619 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3620
3621         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3622         if arguments are not supported.
3623
3624 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3625
3626         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3627         be const or non-const.
3628
3629 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3630
3631         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3632         mi_send_resuming_command to send -exec-continue.
3633
3634 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3635
3636         * gdb.base/list.exp (test_list_filename_and_function): Add test
3637         with single quotes.
3638         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3639         matching.
3640         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3641         Add KFAIL'd tests for PR gdb/11289.
3642
3643 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3644
3645         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3646
3647 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3648
3649         * gdb.base/comp-dir/subdir/dummy.txt: New file.
3650         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3651         a temporary directory.
3652
3653 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
3654
3655         * gdb.base/charset.exp: Use a single regular expression to match
3656         show host-charset and show target-charset output.
3657
3658 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
3659
3660         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3661         "Illegal process-id" expect string more exact.
3662         (attach to digits-starting nonsense is prohibited): New.
3663
3664 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3665
3666         * gdb.base/prelink.exp (set verbose on): New.
3667
3668 2010-02-12  Tomas Holmberg  <th@virtutech.com>
3669
3670         * mi-reverse.exp: New file. Test for reverse option to the
3671         following MI commands: exec-continue, exec-finish, exec-next,
3672         exec-step, exec-next-instruction, exec-step-instruction.
3673
3674 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
3675
3676         * gdb.ada/ptype_tagged_param: New testcase.
3677
3678 2010-02-08  Tom Tromey  <tromey@redhat.com>
3679
3680         PR c++/8017:
3681         * gdb.cp/overload.exp: Add tests.
3682         * gdb.cp/overload.cc (struct K): New.
3683         (namespace N): New.
3684         (main): Call new functions.
3685         (K::staticoverload): Define.
3686
3687 2010-02-08  Chris Moller  <moller@mollerware.com>
3688
3689         PR gdb/10728
3690         * gdb.cp/pr10728-x.h: New file.
3691         * gdb.cp/pr10728-x.cc: New file.
3692         * gdb.cp/pr10728-y.cc: New file.
3693         * gdb.cp/pr10728.exp: New file.
3694         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3695
3696 2010-02-08  Chris Moller  <moller@mollerware.com>
3697
3698         PR gdb/9067
3699         * gdb.cp/pr9067.exp:  New
3700         * gdb.cp/pr9067.cc:   New
3701         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3702
3703 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
3704
3705         * lib/gdb.exp (gdb_test_timeout): New global variable.
3706         Set it to timeout if not already set.
3707         (gdb_init): Reset the value of timeout to gdb_test_timeout.
3708
3709 2010-02-05  Doug Evans  <dje@google.com>
3710
3711         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3712         user.
3713
3714 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
3715
3716         PR c++/7935:
3717         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3718
3719 2010-02-04  Tom Tromey  <tromey@redhat.com>
3720
3721         * gdb.cp/virtbase.exp: Make test case names unique.
3722
3723 2010-02-02  Tom Tromey  <tromey@redhat.com>
3724
3725         * gdb.cp/virtbase.exp: Add regression tests.
3726         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3727         (main): Instantiate RHC.
3728
3729 2010-02-02  Tom Tromey  <tromey@redhat.com>
3730
3731         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3732         type-printing change.
3733
3734 2010-02-02  Tom Tromey  <tromey@redhat.com>
3735
3736         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3737         * gdb.cp/virtbase.cc: New file.
3738         * gdb.cp/virtbase.exp: New file.
3739         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3740
3741 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3742
3743         PR libc/11214:
3744         * gdb.threads/current-lwp-dead.c: Include features.h.
3745         (HAS_NOMMU): New.
3746         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3747
3748 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
3749
3750         * gdb.base/symbol-without-target_section.exp,
3751         gdb.base/symbol-without-target_section.c: New.
3752
3753 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
3754
3755         * gdb.base/bigcore.exp: Reset increased timeout.
3756         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3757
3758 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
3759
3760         * gdb.base/gcore.exp (capture_command_output): Use
3761         gdb_test_multiple.
3762
3763 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
3764
3765         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3766         * gdb.arch/thumb2-it.exp (test_it_break): New function.
3767         (Top level): Call it.
3768
3769 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
3770
3771         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3772
3773 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
3774
3775         * gdb.base/call-strs.exp, gdb.base/default.exp,
3776         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3777         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3778         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3779         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3780         gdb.base/watchpoint-solib.exp: Save and restore timeout.
3781         * gdb.base/ending-run.exp: Correct restore of timeout.
3782         * gdb.base/page.exp: Remove unnecessary timeout setting.
3783
3784 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
3785
3786         * gdb.ada/rec_return: New testcase.
3787
3788 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
3789
3790         * gdb.ada/call_pn: New testcase.
3791
3792 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
3793
3794         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3795         (Top level): Use it to resume.
3796         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3797         the Thumb mode displaced stepping error as unsupported.
3798
3799 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
3800
3801         * gdb.cp/nsusing.exp: Added more tests.
3802         * gdb.cp/nsrecurs.exp: Ditto.
3803         * gdb.cp/nsusing.cc: Added test functions.
3804         * gdb.cp/nsrecurs.cc: Ditto.
3805
3806 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3807
3808         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3809         absolute directory pathnames in gdb.sum file.
3810
3811 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
3812
3813         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3814         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3815
3816 2010-01-26  Tom Tromey  <tromey@redhat.com>
3817
3818         PR exp/7643:
3819         * gdb.base/printcmds.exp (test_print_string_constants): Remove
3820         setup_kfail.
3821
3822 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
3823
3824         * gdb.cp/nsrecurs.exp: New test.
3825         * gdb.cp/nsrecurs.cc: New test program.
3826         * gdb.cp/nsstress.exp: New test.
3827         * gdb.cp/nsstress.cc: New test program.
3828         * gdb.cp/nsdecl.exp: New test.
3829         * gdb.cp/nsdecl.cc: New test program.
3830
3831 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
3832
3833         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3834         imported into file scope.
3835         Marked test as xfail.
3836         * gdb.cp/namespace-using.cc (marker5): New function.
3837         * gdb.cp/shadow.exp: New test.
3838         * gdb.cp/shadow.cc: New test program.
3839         * gdb.cp/nsimport.exp: New test.
3840         * gdb.cp/nsimport.cc: New test program.
3841
3842 2010-01-25  Tom Tromey  <tromey@redhat.com>
3843
3844         PR gdb/11049:
3845         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3846         with "set print null-stop on".
3847
3848 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3849
3850         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3851         Adjust it for DISASSEMBLY_OMIT_FNAME.
3852
3853 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
3854
3855         PR symtab/11199:
3856         * gdb.dwarf2/member-ptr-forwardref.exp,
3857         gdb.dwarf2/member-ptr-forwardref.S: New.
3858
3859 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3860
3861         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3862         (thread1_func): Protect thread1_tid with thread1_tid_cond by
3863         thread1_tid_mutex.  Remove gdbstop_mutex handling.
3864         (thread2_func): Protect thread2_tid with thread2_tid_cond by
3865         thread2_tid_mutex.  Remove gdbstop_mutex handling.
3866         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3867         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
3868         pthread_cond_wait conditionalizations by while loops.
3869
3870 2010-01-20  Tom Tromey  <tromey@redhat.com>
3871
3872         PR backtrace/10770:
3873         * gdb.dwarf2/pr10770.exp: New file.
3874         * gdb.dwarf2/pr10770.c: New file.
3875         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3876
3877 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
3878
3879         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3880         that target was removed, and the test always runs native anyway.
3881
3882 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
3883
3884         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3885         gdb.base/watchpoint-cond-gone-stripped.c: New.
3886
3887 2010-01-19  Tom Tromey  <tromey@redhat.com>
3888
3889         PR c++/8000:
3890         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
3891         existing tests.
3892         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3893         (main): Use AAA::SomeEnum.
3894
3895 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
3896
3897         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3898         (test_ignore_count): Declare line_callme_body global.
3899         (run to breakpoint with ignore count): Use line_callme_body.
3900         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3901         (set line_main_hello, set line_main_return): Reindent.
3902         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3903         New.
3904         (continue to callee4): Use line_callee4_body.
3905         (check *stopped from CLI command): Use line_callee4_next.
3906         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3907         (set line_main_hello, set line_main_return): Reindent.
3908         (set line_callee4_head, set line_callee4_body): New.
3909         (continue to callee4): Use line_callee4_body.
3910
3911 2010-01-18  Tom Tromey  <tromey@redhat.com>
3912
3913         PR c++/9680:
3914         * gdb.cp/casts.cc: Add new classes and variables.
3915         * gdb.cp/casts.exp: Test new operators.
3916
3917 2010-01-18  Tom Tromey  <tromey@redhat.com>
3918             Thiago Jung Bauermann  <bauerman@br.ibm.com>
3919
3920         * gdb.python/source2.py: New file.
3921         * gdb.python/source1: New file.
3922         * gdb.python/python.exp: Test "source" command.
3923
3924 2010-01-15  Stan Shebs  <stan@codesourcery.com>
3925
3926         * gdb.trace/tfile.c: New file.
3927         * gdb.trace/tfile.exp: New file.
3928
3929 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3930
3931         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3932
3933 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3934
3935         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3936
3937 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3938
3939         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3940         (libfunc): New parameter action.  Implement also selectable "sleep".
3941         * gdb.base/break-interp-main.c: Include assert.h.
3942         (libfunc): New parameter action.
3943         (main): New parameters argc and argv.  Assert argc.  Pass argv.
3944         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3945         (test_attach): New proc.
3946         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
3947         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
3948
3949 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3950
3951         * gdb.base/break-interp.exp (test_core): New proc.
3952         (test_ld): Call it.
3953
3954 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3955
3956         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3957         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
3958         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
3959         and gdb_compile_shlib.  Use new -Wl compiler options.
3960         (dl bt, main bt): New tests.
3961
3962 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3963
3964         Support PIEs with no symfile_objfile.
3965         * gdb.base/break-interp.exp: New argument at the test_ld calls.
3966         (test_ld): New parameter trynosym.
3967         (test_ld <$trynosym>): New block.
3968
3969 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3970
3971         * gdb.base/break-interp.exp: New file.
3972
3973 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
3974
3975         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3976         * gdb.python/py-prettyprint.py (pp_ls): New printer.
3977         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3978         test.
3979         * gdb.python/py-prettyprint.c: Define lazystring test structure.
3980         * gdb.python/py-mi.exp: Add lazy string test.
3981
3982 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
3983
3984         * lib/mi-support.exp (mi_check_thread_states): Handle
3985         core number in thread listing.
3986
3987 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
3988
3989         * gdb.base/maint.exp: Adjust the expected output for the
3990         "maint print type" test. Use gdb_test_multiple instead of
3991         gdb_sent/gdb_expect.
3992
3993 2010-01-11  Doug Evans  <dje@google.com>
3994
3995         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3996         from gdbserver_download.  All callers updated.
3997
3998         * gdb.server/ext-run.exp: "info os processes" requires xml support.
3999
4000 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4001
4002         Implement binary numbers parsing.
4003         * gdb.base/printcmds.exp (test_integer_literals_accepted)
4004         (test_integer_literals_rejected): New binary tests.
4005
4006 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4007
4008         * gdb.cell/configure: Regenerate.
4009
4010 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
4011
4012         * gdb.base/corefile.exp: Move the core finding block out and call it as
4013         core_find, new variable $corefile, replace corefile by $corefile and
4014         [file tail $corefile] for usage vs. test names resp.
4015         * lib/gdb.exp (core_find): Move it as a new function here.  New
4016         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
4017         $destcore.  Return "" on error.
4018
4019 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4020
4021         Workaround PR binutils/10802.
4022         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4023         (twice).
4024
4025 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
4026
4027         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4028
4029 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
4030
4031         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4032         call, to avoid interruption.
4033
4034 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4035
4036         * gdb.stabs/weird.def (args93): New.
4037
4038 2010-01-07  Doug Evans  <dje@google.com>
4039
4040         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4041
4042 2010-01-07  Tom Tromey  <tromey@redhat.com>
4043
4044         * gdb.base/source.exp: Use correct line number.
4045
4046 2010-01-05  Stan Shebs  <stan@codesourcery.com>
4047
4048         * gdb.trace/tracecmd.exp: Test ftrace.
4049
4050 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4051
4052         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4053
4054 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4055
4056         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4057         "uint_for_mi_testing".
4058
4059 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
4060
4061         Test indented comment in file being sourced.
4062         * gdb.base/commands.exp: Test indented comment in file being sourced.
4063
4064 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
4065
4066         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4067         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4068         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4069         notice.
4070
4071 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
4072
4073         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4074         notice.
4075
4076 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
4077
4078         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4079         missing $after_stopped and comma (,) expectation.
4080
4081 2009-12-31  Stan Shebs  <stan@codesourcery.com>
4082
4083         * gdb.trace/actions.exp: Test teval action.
4084
4085 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
4086
4087         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4088         (top level): Call test_watchpoint_in_big_blob.
4089         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4090         watchpoints.
4091         (func3): Write to buf.
4092
4093 2009-12-29  Stan Shebs  <stan@codesourcery.com>
4094
4095         * gdb.trace/actions.exp: Test default-collect.
4096
4097 2009-12-28  Stan Shebs  <stan@codesourcery.com>
4098
4099         * gdb.trace/tsv.exp: New file.
4100         * gdb.base/completion.exp: Update ambiguous info output.
4101
4102 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
4103
4104         * gdb.base/find.c (main): Reference search buffers.
4105         * gdb.base/included.c (main): Reference integer.
4106         * gdb.base/ptype.c (charfoo): Declare.
4107         (intfoo): Call charfoo.
4108         * gdb.base/scope0.c (useitp): New function.
4109         (usestatics): Use useitp.
4110         (useit): Add a type for val.
4111         * gdb.base/scope1.c (useit1): Take a pointer argument.
4112         (usestatics1): Update calls to useit1.
4113         * gdb.cp/call-c.cc: Declare foo.
4114         (main): Call foo.
4115         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4116         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4117         (main): Call C::ensureRefs and ensureOtherRefs.
4118         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4119         variables.
4120         (ensureOtherRefs): New function.
4121         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4122         * gdb.cp/templates.cc (main): Call t5i.value.
4123
4124 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4125
4126         Fix compatibility with G++-4.5.
4127         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4128         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4129         (uncaught return): Remove.
4130
4131 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
4132             Phil Muldoon  <pmuldoon@redhat.com>
4133
4134         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4135         (bp_location13, bp_location14, bp_location17, bp_location18)
4136         (marker3_proto, marker4_proto): New variables.
4137         (breakpoint info): Update output.
4138         (run until breakpoint at marker3, run until breakpoint at marker4): New
4139         tests.
4140
4141 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
4142
4143         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4144         Replace the printf call of Y by provided "y-set-1" label.  New block
4145         for the second shared library.
4146         * gdb.base/unload.exp: Compile also the second library, call
4147         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
4148         (single pending breakpoint info): Rename to ...
4149         (pending breakpoint info before run): ... this extended test.
4150         (libfile2, libname2, libsrcfile2, libsrc2)
4151         (lib_sl2): New variables.
4152         (exec_opts): Set also SHLIB_NAME2.
4153         (pending breakpoint info on first run at shrfunc1)
4154         (pending breakpoint info on second run at shrfunc1)
4155         (pending breakpoint info on second run at shrfunc2)
4156         (print y from libfile, print y from libfile2): New tests.
4157         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4158         * gdb.base/unloadshr2.c: New.
4159
4160 2009-12-22  Hui Zhu  <teawater@gmail.com>
4161
4162         * gdb.reverse/sigall-reverse.exp: Adjust.
4163
4164 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
4165
4166         PR gdb/10884
4167
4168         * gdb.mi/var-cmd.c (do_bitfield_tests): New
4169         (main): Call do_bitfield_tests.
4170         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4171
4172 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
4173
4174         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4175         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4176         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4177         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4178         gdb.modula2/unbounded1.c: Update copyright header.
4179
4180 2009-12-10  Chris Moller  <moller@mollerware.com>
4181
4182         PR gdb/9399
4183         * gdb.cp/virtfunc2.exp: New tests
4184         * gdb.cp/virtfunc2.cc: New tests
4185         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4186
4187 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
4188
4189         * gdb.reverse/i387-env-reverse.c: New file.
4190         * gdb.reverse/i387-env-reverse.exp: New file.
4191         * gdb.reverse/i387-stack-reverse.c: New file.
4192         * gdb.reverse/i387-stack-reverse.exp: New file.
4193
4194 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
4195
4196         * gdb.python/py-type.exp (test_range): New test.
4197
4198 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
4199
4200         PR python/10805
4201
4202         * gdb.python/py-type.exp: New file.
4203         * gdb.python/py-type.c: New file.
4204         * Makefile.in: Add py-type.
4205
4206 2009-12-03  Tom Tromey  <tromey@redhat.com>
4207
4208         * gdb.python/py-value.exp (test_parse_and_eval): New
4209         function.
4210
4211 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4212
4213        PR gdb/11022
4214
4215        * gdb.base/pr11022.exp: New test.
4216        * gdb.base/pr11022.c: New test.
4217
4218 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4219
4220         Fix spurious false FAILs.
4221         * gdb.base/structs.c (chartest): New.
4222         (main): Fill-in chartest.
4223         * gdb.base/structs.exp (anychar_re, first): New.
4224         (start_structs_test): Import global anychar_re and first.
4225         New gdb_test call "set print elements 300; ${testfile}"
4226         (start_structs_test <$first>): New block.
4227         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
4228
4229 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4230
4231         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4232
4233 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
4234
4235         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4236         Force $srcfile file.
4237         * gdb.base/foll-fork.c (callee): Comment out the printf call.
4238
4239 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4240
4241         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4242         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4243         * gdb.threads/watchthreads-reorder.exp: Likewise.
4244
4245 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
4246
4247         PR gdb/8704
4248
4249         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4250         "if", and "thread".  Correct matching in the previous test.
4251
4252 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
4253
4254         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4255
4256 2009-11-23  Michael Snyder  <msnyder@vmware.com>
4257
4258         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4259         * gdb.reverse-watch-precsave.exp: Ditto.
4260
4261 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
4262
4263         * gdb.asm/asm-source.exp: Adjust.
4264         * gdb.base/help.exp: Adjust.
4265
4266 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
4267
4268         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4269         (do_syscall_tests_without_xml): Set data-directory to
4270         /the/path/to/nowhere.
4271
4272 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
4273
4274         * gdb.threads/local-watch-wrong-thread.c,
4275         gdb.threads/local-watch-wrong-thread.exp: New files.
4276
4277 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
4278
4279         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4280         assume new `regsub' syntax available.
4281
4282 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4283
4284         * gdb.base/watchpoint-hw-hit-once.exp,
4285         gdb.base/watchpoint-hw-hit-once.c: New.
4286
4287 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4288
4289         * gdb.threads/watchthreads-reorder.exp,
4290         gdb.threads/watchthreads-reorder.c: New.
4291
4292 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
4293
4294         * gdb.xml/tdesc-regs.exp: Use for m68k.
4295
4296 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
4297
4298         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4299
4300 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
4301
4302         * lib/gdb.exp (current_target_name): New procedure.
4303         (gdb_wrapper_target): New variable.
4304         (gdb_wrapper_init): Set gdb_wrapper_target.
4305         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4306         wrapper.
4307
4308 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
4309
4310         * gdb.base/remote.exp: Delete the slowest load test.
4311         Do not load with fixed packet sizes.
4312
4313 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
4314
4315         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4316
4317 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
4318
4319         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
4320         srcfile when setting a breakpoint.
4321
4322 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
4323
4324         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4325         macros.
4326
4327 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
4328
4329         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4330         to be in memory.
4331         * gdb.base/display.c (force_mem): New.
4332         (do_loops): Use it.  Add breakpoint comments.
4333         (do_vars): Add a breakpoint comment.
4334         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
4335         line numbers.
4336
4337 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
4338
4339         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4340         instead of a bare "run".
4341
4342 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
4343
4344         * gdb.python/py-prettyprint.exp: Adjust.
4345
4346 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
4347
4348         * lib/cell.exp (skip_cell_tests): Clean up test files before
4349         returning.
4350
4351 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
4352
4353         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4354         and the breakpoint menu.  Do not call perror if a prompt is seen.
4355         Consume the following GDB prompt.
4356         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4357         * gdb.cp/namespace.exp: Use gdb_test.
4358         * gdb.cp/templates.exp: Use gdb_test.
4359         (test_template_breakpoints): Use gdb_test_multiple.
4360
4361 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
4362
4363         * gdb.base/break1.c (struct some_struct, values): Move earlier.
4364         (marker4): Reference values.
4365
4366 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
4367
4368         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4369         is missing.
4370
4371 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
4372
4373         * gdb.base/break.c (need_malloc): New.
4374         * gdb.base/constvars.c (main): Reference crass and crisp.
4375         * gdb.base/gdb1821.c (main): Reference bar.
4376         * gdb.cp/gdb1355.cc (main): Reference s1.
4377         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4378         (main): Call them.
4379         * gdb.cp/hang2.cc (dummy2): Define.
4380         * gdb.cp/hang3.cc (dummy3): Define.
4381         * gdb.cp/m-data.cc (main): Reference shadow.
4382
4383 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
4384             Nathan Froyd  <froydnj@codesourcery.com>
4385
4386         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4387         remote host.
4388
4389 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
4390
4391         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4392         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4393         * gdb.dwarf2/dw2-compressed.exp: Likewise.
4394         * gdb.dwarf2/dw2-intercu.exp: Likewise.
4395         * gdb.dwarf2/dw2-intermix.exp: Likewise.
4396         * gdb.dwarf2/dw2-producer.exp: Likewise.
4397         * gdb.dwarf2/mac-fileno.exp: Likewise.
4398         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4399         py-prettyprint.py to the remote host.
4400         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4401
4402 2009-11-11  Keith Seitz  <keiths@redhat.com>
4403
4404         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4405         use it instead of "Foo".
4406         * gdb.cp/classes.exp (do_tests): Add a test to access
4407         a method through a typedef'd class name.
4408
4409 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
4410
4411         * gdb.base/long_long.exp: Permit leading zeros on floating-point
4412         exponents.
4413         * gdb.base/pointers.exp: Likewise.
4414         * gdb.cp/ref-types.exp: Likewise.
4415
4416 2009-11-11  Keith Seitz  <keiths@redhat.com>
4417
4418         * gdb.cp/cplusfuncs.cc (class foo): Add operators
4419         new[] and delete[].
4420         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4421         "void".
4422         (probe_demangler): Remove all single-quoting of
4423         method and variable names.
4424         (info_func_regexp): Remove the word "void" from any
4425         occurrence of "(void)".
4426         (print_addr_2): Remove all single-quoting of
4427         method names.
4428         (print_addr_2_kfail): Likewise.
4429         (print_addr): Single-quote C function names before
4430         passing to print_addr_2.
4431         (test_paddr_operator_functions): Remove single-quoting
4432         for method names.
4433         Add tests for operator new[] and operator delete[].
4434
4435 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4436
4437         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4438
4439 2009-11-09  Keith Seitz  <keiths@redhat.com>
4440
4441         * gdb.cp/overload.exp: Add tests for resolving overloaded
4442         methods in expression parsing/evaluation.
4443
4444 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
4445
4446         * lib/gdb.exp (default_gdb_version): Use --version instead of
4447         --command.
4448
4449 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
4450
4451         * lib/gdb.exp (gdb_compile_test): New.
4452         (skip_ada_tests, skip_java_tests): New.
4453         (gdb_compile): Use gdb_compile_test for f77.
4454         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4455         * lib/java.exp (compile_java_from_source): Remove runtests check,
4456         use gdb_compile_test to record result.
4457         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4458         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4459         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4460         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4461         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4462         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4463         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4464         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4465         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4466         adjust gdb_compile invocations.
4467
4468 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
4469
4470         * Makefile.in (abs_builddir): New.
4471         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
4472         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4473         `$(abs_builddir)/site.exp'.
4474
4475 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
4476
4477         * config/m68k-emc.exp, lib/emc-support.exp,
4478         gdb.trace/gdb_c_test.c: Delete.
4479         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4480         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4481         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4482         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4483         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4484         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4485         casing for m68k-*-elf.
4486
4487 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
4488
4489         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4490         * gdb.arch/i386-prologue.exp: Likewise.
4491         * gdb.arch/i386-unwind.exp: Likewise.
4492
4493 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
4494
4495         * lib/gdb.exp (gdb_expect): Fix timeout typo.
4496
4497 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
4498
4499         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4500
4501 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
4502
4503         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4504
4505 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4506
4507         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4508
4509 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
4510
4511         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4512         * gdb.base/sepdebug2.c: New file.
4513
4514 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4515
4516         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4517         the modified warnings for catch syscall.  Verify if GDB was compiled
4518         with support for lib expat, and choose which tests to run depending
4519         on this.
4520
4521 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
4522
4523         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4524         that composite commands are parsed OK. And also test
4525         that breakpoint commands do work.
4526
4527 2009-10-23  Michael Snyder  <msnyder@vmware.com>
4528
4529         gdb.reverse/consecutive-precsave.exp: Change expect pattern
4530         to allow for new disassembly style.
4531
4532 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4533
4534         * gdb.asm/asm-source.exp: Adjust.
4535
4536 2009-10-22  Michael Snyder  <msnyder@vmware.com>
4537
4538         * gdb.reverse/break-precsave.exp: New test.
4539         * gdb.reverse/consecutive-precsave.exp: Ditto.
4540         * gdb.reverse/finish-precsave.exp: Ditto.
4541         * gdb.reverse/i386-precsave.exp: Ditto.
4542         * gdb.reverse/machinestate-precsave.exp: Ditto.
4543         * gdb.reverse/sigall-precsave.exp: Ditto.
4544         * gdb.reverse/solilb-precsave.exp: Ditto.
4545         * gdb.reverse/step-precsave.exp: Ditto.
4546         * gdb.reverse/until-precsave.exp: Ditto.
4547         * gdb.reverse/watch-precsave.exp: Ditto.
4548
4549 2009-10-22  Michael Snyder  <msnyder@vmware.com>
4550
4551         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4552         for gdb_expect.  Adjust one test's expect strings for the new
4553         format of disassemble.
4554         * gdb.reverse/finish-reverse.exp: Delete 'return'.
4555         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4556         gdb_test_multiple.
4557         * gdb.reverse/step-reverse.exp: Delete 'return'.
4558         * gdb.reverse/until-reverse.exp: Delete blank lines.
4559         * gdb.reverse/watch-reverse.exp: Delete blank lines.
4560
4561 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
4562
4563         * gdb.base/consecutive.exp: Adjust.
4564         * gdb.base/display.exp: Likewise.
4565         * gdb.base/pc-fp.exp: Likewise.
4566         * gdb.base/sigbpt.exp: Likewise.
4567
4568 2009-10-19  Michael Snyder  <msnyder@vmware.com>
4569
4570         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4571         * gdb.reverse/finish-reverse.c: Ditto.
4572         * gdb.reverse/sigall-reverse.c: Ditto.
4573         * gdb.reverse/solib-reverse.c: Ditto.
4574         * gdb.reverse/step-reverse.c: Ditto.
4575         * gdb.reverse/watch-reverse.c: Ditto.
4576
4577 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
4578             Stan Shebs  <stan@codesourcery.com>
4579
4580         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4581         * gdb.base/foll-exec.exp: Adjust to expect a process id before
4582         "Executing new program".
4583         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4584         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
4585         left listed after having been killed.
4586         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4587         * gdb.base/maint.exp: Adjust test.
4588
4589         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4590         * gdb.multi/Makefile.in: New.
4591         * gdb.multi/base.exp: New.
4592         * gdb.multi/goodbye.c: New.
4593         * gdb.multi/hangout.c: New.
4594         * gdb.multi/hello.c: New.
4595         * gdb.multi/bkpt-multi-exec.c: New.
4596         * gdb.multi/bkpt-multi-exec.exp: New.
4597         * gdb.multi/crashme.c: New.
4598
4599 2009-10-13  Tristan Gingold  <gingold@adacore.com>
4600
4601         * gdb.base/sepdebug.exp: Check debug info are found.
4602
4603 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
4604
4605         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4606         bits.
4607
4608 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
4609
4610         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4611
4612 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
4613
4614         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
4615         of the comments.
4616
4617 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
4618
4619         * gdb.base/annota1.exp: Remove obsolete match_max increase.
4620         * gdb.base/annota3.exp: Idem.
4621         * gdb.base/maint.exp: Idem.
4622
4623 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
4624
4625         * lib/gdb.exp (default_gdb_init): Set current value of match_max
4626         to default.
4627
4628 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
4629
4630         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4631         mingw and cygwin targets.
4632
4633 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
4634             Pedro Alves  <pedro@codesourcery.com>
4635
4636         * lib/gdb.exp (gdb_compile): Avoid adding
4637         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4638
4639 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
4640
4641         * gdb.base/shr1.c: Use %p in format string.
4642         * gdb.base/unload.c: Avoid warning in fprintf.
4643         * gdb.base/watchpoint-solib.c: Idem.
4644
4645 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
4646
4647         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4648         long type.
4649         (test_unlink): Correct printf string.
4650         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4651         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4652
4653 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4654
4655         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4656         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4657         * gdb.arch/ia64-breakpoint-shadow.S: New file.
4658
4659 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4660
4661         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4662         * gdb.objc/nondebug.exp: Likewise.
4663
4664 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4665
4666         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4667         target_info setting.
4668
4669         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4670         that detect new threads during "info threads".
4671
4672 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4673
4674         * gdb.threads/manythreads.c (main): Increase thread stack size
4675         to 2*PTHREAD_STACK_MIN.
4676         * gdb.threads/multi-create.c (main): Likewise.
4677         (create_function): Likewise.
4678
4679 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4680
4681         * gdb.base/dump.exp: Pass difference of pointer types instead
4682         of integer types as offset to restore in intarr3.srec case.
4683
4684 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4685
4686         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4687
4688 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4689
4690         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4691
4692 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
4693
4694         New test for two watchpoints, with disabling of
4695         the first inserted.
4696         * testsuite/gdb.base/watchpoints.c: New file.
4697         * testsuite/gdb.base/watchpoints.exp: New file.
4698
4699 2009-09-25  Tom Tromey  <tromey@redhat.com>
4700
4701         * gdb.base/charset.exp: Test utf-16 strings with Python.
4702
4703 2009-09-25  Tom Tromey  <tromey@redhat.com>
4704
4705         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4706         UCS-4.
4707         * gdb.base/charset.c (utf_32_string): Rename.
4708         (init_utf32): Rename.
4709         (main): Update.
4710
4711 2009-09-22  Tom Tromey  <tromey@redhat.com>
4712
4713         * gdb.python/py-function.exp: Add regression tests.
4714
4715 2009-09-21  Keith Seitz  <keiths@redhat.com>
4716
4717         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4718         with invalid operator.
4719
4720 2009-09-21  Keith Seitz  <keiths@redhat.com>
4721
4722         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4723         and destructor using typedef name of class.
4724         * gdb.cp/classes.cc (class Base1): Add a destructor.
4725         (base1): New typedef.
4726         (use_methods): Instanitate an object of type base1.
4727         * gdb.cp/templates.exp (test_template_typedef): New procedure.
4728         (do_tests): Call test_template_typedef.
4729         * gdb.cp/templates.cc (Baz::~Baz): New method.
4730         (intBazOne): New typedef.
4731         (main): Instantiate intBazOne.
4732
4733 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
4734
4735         PR python/10633
4736
4737         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4738         Function.
4739         (run_lang_tests): Add print elements test.
4740
4741 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
4742
4743         * gdb.python/py-value.exp (test_subscript_regression): New
4744         function.  Test for invalid subscripts.
4745         * gdb.python/py-value.c (main): Add test array, and pointer to it.
4746         (ptr_ref): New function.
4747
4748 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4749
4750         * gdb.base/default.exp: Fix "show convenience".
4751
4752 2009-09-15  Tom Tromey  <tromey@redhat.com>
4753
4754         * lib/mi-support.exp (mi_create_varobj): Update.
4755         (mi_create_floating_varobj): Likewise.
4756         (mi_create_dynamic_varobj): New proc.
4757         (mi_varobj_update): Update.
4758         (mi_varobj_update_with_type_change): Likewise.
4759         (mi_varobj_update_kv_helper): New proc.
4760         (mi_varobj_update_dynamic_helper): Rewrite.
4761         (mi_varobj_update_dynamic): New proc.
4762         (mi_list_varobj_children): Update.
4763         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4764         * gdb.python/python-prettyprint.py (pp_outer): New class.
4765         (pp_nullstr): Likewise.
4766         (lookup_function): Register new printers.
4767         * gdb.python/python-prettyprint.c (struct substruct): New type.
4768         (struct outerstruct): Likewise.
4769         (substruct_test): New function.
4770         (struct nullstr): New type.
4771         (string_1, string_2): New globals.
4772         (main): Add new tests.
4773         * gdb.python/python-mi.exp: Added regression tests.
4774         * gdb.mi/mi2-var-display.exp: Update.
4775         * gdb.mi/mi2-var-cmd.exp: Update.
4776         * gdb.mi/mi2-var-child.exp: Update.
4777         * gdb.mi/mi2-var-block.exp: Update.
4778         * gdb.mi/mi-var-invalidate.exp: Update.
4779         * gdb.mi/mi-var-display.exp: Update.
4780         * gdb.mi/mi-var-cmd.exp: Update.
4781         * gdb.mi/mi-var-child.exp: Update.
4782         * gdb.mi/mi-var-block.exp: Update.
4783         * gdb.mi/mi-break.exp: Update.
4784         * gdb.mi/gdb701.exp: Update.
4785
4786 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4787
4788         * Makefile.in: Inclusion of catch-syscall object.
4789         * gdb.base/catch-syscall.c: New file.
4790         * gdb.base/catch-syscall.exp: New file.
4791
4792 2009-09-12  Michael Snyder  <msnyder@vmware.com>
4793
4794         * gdb.reverse/step-reverse.exp: Explicitly check for targets
4795         that can support reverse debuggnig.
4796
4797 2009-09-11  Tom Tromey  <tromey@redhat.com>
4798
4799         * gdb.dwarf2/valop.S: New file.
4800         * gdb.dwarf2/valop.exp: New file.
4801
4802 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
4803
4804         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4805
4806 2009-09-10  Doug Evans  <dje@google.com>
4807
4808         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4809         Add $gdb_prompt to second breakpoint regexp.
4810
4811 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
4812
4813         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4814         names, add missing ones.
4815         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4816         * gdb.python/py-frame.c: Rename from python-frame.c.
4817         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
4818         testfile name.
4819         * gdb.python/py-function.exp: Rename from python-function.exp.
4820         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
4821         testfile name.
4822         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4823         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4824         Adjust testfile name.
4825         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4826         * gdb.python/py-template.cc: Rename from python-template.cc.
4827         * gdb.python/py-template.exp: Rename from python-template.exp.
4828         Adjust testfile name.
4829         * gdb.python/py-value.c: Rename from python-value.c.
4830         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
4831         testfile name.
4832
4833 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4834
4835         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4836         $bpt2address.
4837         (Second breakpoint address is valid on ia64)
4838         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4839
4840 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
4841
4842         * gdb.base/ending-run.exp: Restrict regular expression matching
4843         line number to require closing brace following.
4844
4845 2009-09-03  Doug Evans  <dje@google.com>
4846
4847         * gdb.base/store.exp (check_set): Fix typo in expected value message.
4848
4849 2009-09-02  Tom Tromey  <tromey@redhat.com>
4850
4851         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4852
4853 2009-09-02  Tom Tromey  <tromey@redhat.com>
4854
4855         * gdb.dwarf2/callframecfa.exp: New file.
4856         * gdb.dwarf2/callframecfa.S: New file.
4857
4858 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
4859
4860         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4861         gdb.base/solib-overlap-main.c: New.
4862
4863 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
4864
4865         PR gdb/10565
4866
4867         * gdb.base/bitfields.c (struct container, container): New.
4868         (main): Initialize it and call break5.
4869         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4870
4871 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
4872
4873         Support constant DW_AT_data_member_location by GCC PR debug/40659.
4874         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4875
4876 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
4877
4878         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4879
4880 2009-08-26  Michael Snyder  <msnyder@vmware.com>
4881
4882         * gdb.base/i386-reverse.c: New file.
4883         * gdb.base/i386-reverse.exp: New file.
4884         * gdb.base/Makefile.in: Add new files to be removed.
4885
4886 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
4887
4888         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4889         environment-pwd for remote host.
4890         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4891
4892 2009-08-24  Keith Seitz  <keiths@redhat.com>
4893
4894         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4895         Add two new C++ completer tests which limit the output to a
4896         given class.
4897
4898 2009-08-24  Michael Snyder  <msnyder@vmware.com>
4899
4900         * gdb.base/del.exp: Fix typo in comment.
4901         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4902
4903 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4904
4905         * configure: Regenerate.
4906         * gdb.hp/configure: Likewise.
4907         * gdb.hp/gdb.aCC/configure: Likewise.
4908         * gdb.hp/gdb.base-hp/configure: Likewise.
4909         * gdb.hp/gdb.compat/configure: Likewise.
4910         * gdb.hp/gdb.defects/configure: Likewise.
4911         * gdb.hp/gdb.objdbg/configure: Likewise.
4912         * gdb.stabs/configure: Likewise.
4913
4914 2009-08-19  Doug Evans  <dje@google.com>
4915
4916         * gdb.base/gdbvars.c: New file.
4917         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4918
4919 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
4920
4921         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4922         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4923
4924 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
4925
4926         * gdb.base/default.exp: Adjust "set language test": it's now an
4927         enum command.  Larger help string moved to "help set language".
4928         * gdb.base/help.exp: Adjust "help set language" expected output,
4929         now lists all known languages.
4930
4931 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
4932
4933         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4934         all frame arguments.
4935         * gdb.arch/altivec-regs.exp: Likewise.
4936
4937 2009-08-07  Tom Tromey  <tromey@redhat.com>
4938
4939         * gdb.base/setshow.exp: Add tests for changes to set language, set
4940         check range, and set check type.
4941
4942 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
4943
4944         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4945         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4946         Call it.
4947
4948 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4949
4950         * configure.ac: Run gdb.cell tests when appropriate.
4951         * configure: Regenerate.
4952         * lib/cell.exp: New file.
4953         * gdb.cell: New directory.
4954         * gdb.cell/configure.ac: New file.
4955         * gdb.cell/configure: New file.
4956         * gdb.cell/Makefile.in: New file.
4957         * gdb.cell/arch.exp: New file.
4958         * gdb.cell/break.c: New file.
4959         * gdb.cell/break.exp: New file.
4960         * gdb.cell/break-spu.c: New file.
4961         * gdb.cell/bt.c: New file.
4962         * gdb.cell/bt2-spu.c: New file.
4963         * gdb.cell/bt-spu.c: New file.
4964         * gdb.cell/bt.exp: New file.
4965         * gdb.cell/coremaker.c: New file.
4966         * gdb.cell/coremaker-spu.c: New file.
4967         * gdb.cell/core.exp: New file.
4968         * gdb.cell/gcore.exp: New file.
4969         * gdb.cell/data.c: New file.
4970         * gdb.cell/data.exp: New file.
4971         * gdb.cell/data-spu.c: New file.
4972         * gdb.cell/ea-cache.exp: New file.
4973         * gdb.cell/ea-cache.c: New file.
4974         * gdb.cell/ea-cache-spu.c: New file.
4975         * gdb.cell/ea-standalone.c: New file.
4976         * gdb.cell/ea-standalone.exp: New file.
4977         * gdb.cell/ea-test.c: New file.
4978         * gdb.cell/ea-test.exp: New file.
4979         * gdb.cell/f-regs.exp: New file.
4980         * gdb.cell/mem-access.c: New file.
4981         * gdb.cell/mem-access.exp: New file.
4982         * gdb.cell/mem-access-spu.c: New file.
4983         * gdb.cell/ptype.exp: New file.
4984         * gdb.cell/registers.exp: New file.
4985         * gdb.cell/size.c: New file.
4986         * gdb.cell/sizeof.exp: New file.
4987         * gdb.cell/size-spu.c: New file.
4988         * gdb.cell/solib.exp: New file.
4989         * gdb.cell/solib-symbol.exp: New file.
4990
4991 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4992
4993         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4994
4995 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
4996
4997         * gdb.base/float.exp: Handle VFP registers.
4998
4999 2009-07-14  Michael Snyder  <msnyder@vmware.com>
5000
5001         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5002         to bring gdb to the beginning of the calling line.
5003
5004         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5005         confusing the i386 epilogue unwinder.
5006
5007 2009-07-14  Stan Shebs  <stan@codesourcery.com>
5008
5009         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5010
5011 2009-07-14  Michael Snyder  <msnyder@vmware.com>
5012
5013         * gdb.reverse/step-reverse.exp (stepi into function call):
5014         Call instruction may not be first instruction in the line.
5015         (reverse stepi from a function call): Used wrong line number.
5016
5017 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5018
5019         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5020
5021 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5022
5023         Fix gdb.base/macscp.exp when using custom inputrc.
5024         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5025         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
5026         env(TERM) set.
5027         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5028         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5029
5030 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5031
5032         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5033         * gdb.base/annota1.exp (thread_test): Import global $testfile.
5034         Change the compilation target to match the testcase name.
5035         * gdb.base/sect-cmd.exp: Change the compilation target to match the
5036         testcase name.
5037         * a2-run.exp: Use for setup prepare_for_testing.  Change the
5038         compilation target to match the testcase name.
5039         * gdb.base/commands.exp: Likewise.
5040         * gdb.base/finish.exp: Likewise.
5041         * gdb.base/float.exp: Likewise.
5042         * gdb.base/info-target.exp: Likewise.
5043         * gdb.base/relational.exp: Likewise.
5044         * gdb.base/term.exp: Likewise.
5045         * gdb.base/until.exp: Likewise.
5046         * gdb.base/volatile.exp: Likewise.
5047         * gdb.base/whatis-exp.exp: Likewise.
5048
5049 2009-07-11  Hui Zhu  <teawater@gmail.com>
5050
5051         * gdb.base/help.exp (disassemble): Update expected help text.
5052
5053 2009-07-09  Tom Tromey  <tromey@redhat.com>
5054
5055         * lib/gdb.exp: Handle TRANSCRIPT.
5056         (remote_spawn, remote_close, send_gdb): New procs.
5057
5058 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
5059
5060         * gdb.python/python-prettyprint.c: Add counted null string
5061         structure.
5062         * gdb.python/python-prettyprint.exp: Print null string. Test for
5063         embedded nulls.
5064         * gdb.python/python-prettyprint.py (pp_ns): New Function.
5065         * gdb.python/python-value.exp (test_value_in_inferior): Add
5066         variable length string fetch tests.
5067         * gdb.python/python-value.c (main): Add strings for string fetch tests.
5068
5069 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5070
5071         * gdb.base/dump.exp (inaccessible memory is reported): New test.
5072
5073 2009-07-07  Tom Tromey  <tromey@redhat.com>
5074
5075         * gdb.base/call-rt-st.exp: Update for change to escape output.
5076         * gdb.base/callfuncs.exp: Likewise.
5077         * gdb.base/charset.exp: Likewise.
5078         * gdb.base/constvars.exp: Likewise.
5079         * gdb.base/long_long.exp: Likewise.
5080         * gdb.base/pointers.exp: Likewise.
5081         * gdb.base/printcmds.exp: Likewise.
5082         * gdb.base/setvar.exp: Likewise.
5083         * gdb.base/store.exp: Likewise.
5084         * gdb.cp/ref-types.exp: Likewise.
5085         * gdb.mi/mi-var-child.exp: Likewise.
5086         * gdb.mi/mi-var-display.exp: Likewise.
5087         * gdb.mi/mi2-var-display.exp: Likewise.
5088         * gdb.base/charset.exp: Test octal escape sequence length.
5089         Update for change to escape output.
5090
5091 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5092
5093         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5094
5095 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
5096
5097         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5098
5099 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
5100
5101         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5102         gdbserver increasing $portnum if "Can't bind address" has been seen.
5103
5104 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
5105
5106         * gdb.base/ending-run.exp: Add "step out of main" pattern for
5107         mingw32ce.
5108
5109 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
5110
5111         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5112         VFP format.
5113
5114 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
5115
5116         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5117         linux.  Adjust to use "inferior", "info inferiors", "detach
5118         inferior" and "kill inferior" instead of "restart", "info fork",
5119         "detach fork" and "delete fork".
5120         * gdb.base/ending-run.exp: Spell out "info".
5121         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5122         the "kill" command.
5123
5124 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5125
5126         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5127         change to prefix TLS offset in hex with 0x.
5128
5129 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5130
5131         * gdb.base/default.exp: Update test case for "x" changes.
5132
5133 2009-07-01  Tristan Gingold  <gingold@adacore.com>
5134
5135         * gdb.base/bigcore.exp: Make darwin untested.
5136
5137 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5138
5139         * gdb.base/completion.exp (directory completion): Create the directory.
5140         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5141         escapeuniquesub.
5142         (directory completion 2): Expect now ${escapeuniquesub}.
5143         (Glob remaining of directory test): Remove one excessive newline.
5144         Expect the real output.
5145
5146 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5147
5148         Fix `make check//%' target after `make check' has been ran.
5149         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
5150         a mkdir call.
5151         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5152         (%/.dir): Remove.
5153
5154 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5155
5156         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5157         the expected result record.
5158
5159 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5160
5161         Remove racy FAILs relying just on the timeouts.
5162         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5163         (annotation_level 2): Remove racy FAILs.
5164
5165 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5166
5167         gdb/10275
5168         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5169
5170 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
5171
5172         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5173
5174 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
5175
5176         * gdb.mi/mi-stack.exp: Testing symbolic options
5177         to -stack-list-locals and -stack-list-arguments.
5178
5179 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5180
5181         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5182
5183 2009-06-29  Tom Tromey  <tromey@redhat.com>
5184
5185         * dg-extract-results.sh: New file.
5186         * Makefile.in (FORCE_PARALLEL): New variable.
5187         (CHECK_TARGET): New conditional variable.
5188         (check): Use CHECK_TARGET.
5189         (DO_RUNTEST): New variable.
5190         (check-single): New target.
5191         (TEST_DIRS): New variable.
5192         (TEST_TARGETS): Likewise.
5193         (check-parallel): New target.
5194         (check-gdb.%): New pattern.
5195         (BASE1_FILES): New variable.
5196         (BASE2_FILES): Likewise.
5197         (check-gdb.base%): New pattern.
5198         (%/.dir): New pattern.
5199         * configure: Rebuild.
5200         * aclocal.m4 (AM_CONDITIONAL): New defun.
5201         * configure.ac: Check whether user is using GNU make.
5202         (GMAKE): New conditional.
5203
5204 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
5205
5206         * gdb.cp/namespace-nested-import.cc: New test.
5207         * gdb.cp/namespace-nested-import.exp: New test.
5208
5209 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
5210
5211         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5212         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5213         * gdb.opt/Makefile.in (EXECUTABLES): Update.
5214         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5215         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5216         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5217         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5218         gdb.opt/inline-markers.c: New files.
5219         * lib/gdb.exp (skip_inline_frame_tests): New function.
5220         (skip_inline_var_tests): New function.
5221
5222 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
5223
5224         * gdb.cp/exception.exp: Don't require $hex before inner frame in
5225         backtrace.
5226
5227 2009-06-27  Michael Snyder  <msnyder@vmware.com>
5228
5229         * gdb.reverse: New directory.
5230         * gdb.reverse/break-reverse.c: New test.
5231         * gdb.reverse/break-reverse.exp: New test.
5232         * gdb.reverse/consecutive-reverse.c: New test.
5233         * gdb.reverse/consecutive-reverse.exp: New test.
5234         * gdb.reverse/finish-reverse.c: New test.
5235         * gdb.reverse/finish-reverse.exp: New test.
5236         * gdb.reverse/machinestate.c: New test.
5237         * gdb.reverse/ms1.c: New test.
5238         * gdb.reverse/machinestate.exp: New test.
5239         * gdb.reverse/Makefile.in: New file.
5240         * gdb.reverse/shr2.c: New test.
5241         * gdb.reverse/solib-reverse.c: New test.
5242         * gdb.reverse/solib-reverse.exp: New test.
5243         * gdb.reverse/step-reverse.c: New test.
5244         * gdb.reverse/step-reverse.exp: New test.
5245         * gdb.reverse/until-reverse.c: New test.
5246         * gdb.reverse/ur1.c: New test.
5247         * gdb.reverse/until-reverse.exp: New test.
5248         * gdb.reverse/watch-reverse.c: New test.
5249         * gdb.reverse/watch-reverse.exp: New test.
5250         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5251         * configure: Regenerate.
5252
5253 2009-06-26  Doug Evans  <dje@google.com>
5254
5255         * gdb.base/psymtab.exp: Turn off pending breakpoints.
5256
5257 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
5258
5259         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5260         windows problem for 'file delete $binfile'.
5261
5262 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
5263
5264         * gdb.cp/namespace-using.exp: New test.
5265         * gdb.cp/namespace-using.cc: New test.
5266
5267 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
5268
5269         * gdb.ada/variant_record_packed_array: New testcase.
5270
5271 2009-06-23  Tom Tromey  <tromey@redhat.com>
5272
5273         * gdb.base/charset.exp (test_combination): Regression test.
5274         * gdb.base/charset.c (my_wchar_t): New typedef.
5275         (myvar): New global.
5276         (main): Set myvar.
5277
5278 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
5279
5280         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5281         target.
5282
5283 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5284
5285         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5286
5287 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5288
5289         * gdb.mi/gdb680.exp: Update test for error message.
5290
5291 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5292
5293         * gdb.base/annota1.exp: Allow multiple occurrences of the
5294         frames-invalid annotation.
5295         * gdb.cp/annota2.exp: Likewise.
5296
5297 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
5298
5299         * gdb.cp/gdb2495.cc: New file.
5300         * gdb.cp/gdb2495.exp: New file.
5301
5302 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
5303
5304         Report error on GDB crash during runto.
5305         * lib/gdb.exp (runto <eof>): New.
5306
5307 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
5308
5309         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5310         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5311         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5312         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5313         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5314         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5315         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5316         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5317         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5318         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5319         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5320         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5321         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5322         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5323         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5324         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5325         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5326         gdb.server/server-mon.exp, gdb.server/server-run.exp,
5327         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5328         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5329         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5330         gdb.trace/passcount.exp, gdb.trace/report.exp,
5331         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5332         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5333         gdb.trace/while-stepping.exp: Use a unique name for the compiled
5334         executable.
5335
5336 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
5337
5338         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5339         defined before referencing it.
5340
5341 2009-06-03  Doug Evans  <dje@google.com>
5342
5343         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5344         * gdb.arch/i386-see.c: Ditto.
5345
5346 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
5347
5348         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5349         (check_macro): Return 1 if undefined.
5350         If first test fails, check if macro debug information is available,
5351         and report unsupported test if no macro information is found.
5352
5353 2009-05-29  Doug Evans  <dje@google.com>
5354
5355         * gdb.threads/hand-call-in-threads.exp: New.
5356         * gdb.threads/hand-call-in-threads.c: New.
5357
5358 2009-05-29  Michael Snyder  <msnyder@vmware.com>
5359
5360         * gdb.base/break-always.exp: Change "1" to "on".
5361         Add confirmation check.
5362
5363 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
5364
5365         * gdb.threads/threxit-hop-specific.c: New.
5366         * gdb.threads/threxit-hop-specific.exp: New.
5367         * gdb.threads/thread-execl.c: New.
5368         * gdb.threads/thread-execl.exp: New.
5369
5370 2009-05-27  Tom Tromey  <tromey@redhat.com>
5371             Thiago Jung Bauermann  <bauerman@br.ibm.com>
5372
5373         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5374         (mi_child_regexp): Likewise.
5375         (mi_list_varobj_children_range): Likewise.
5376         (mi_get_features): Likewise.
5377         (mi_list_varobj_children): Rewrite.
5378         * gdb.python/python-mi.exp: New file.
5379
5380 2009-05-27  Tom Tromey  <tromey@redhat.com>
5381             Thiago Jung Bauermann  <bauerman@br.ibm.com>
5382             Phil Muldoon  <pmuldoon@redhat.com>
5383             Paul Pluzhnikov  <ppluzhnikov@google.com>
5384
5385         * gdb.python/python-prettyprint.exp: New file.
5386         * gdb.python/python-prettyprint.c: New file.
5387         * gdb.python/python-prettyprint.py: New file.
5388         * gdb.base/display.exp: print/r is now valid.
5389
5390 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5391             Tom Tromey  <tromey@redhat.com>
5392             Pedro Alves  <pedro@codesourcery.com>
5393             Paul Pluzhnikov  <ppluzhnikov@google.com>
5394
5395         * gdb.python/python-template.exp: New file.
5396         * gdb.python/python-template.cc: New file.
5397         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5398         tests.
5399         * gdb.python/python-value.exp (py_objfile_tests): New proc.
5400         Call it.
5401         (test_value_after_death): New proc.
5402         * gdb.python/python-value.c (PTR): New typedef.
5403         (main): New variable 'x'.
5404
5405 2009-05-27  Tom Tromey  <tromey@redhat.com>
5406
5407         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5408         tests.
5409         * gdb.python/python-value.exp (py_objfile_tests): New proc.
5410         Call it.
5411
5412 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
5413
5414         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5415
5416 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
5417
5418         * gdb.threads/fork-thread-pending.c: New.
5419         * gdb.threads/fork-thread-pending.exp: New.
5420
5421 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
5422
5423         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5424         * gdb.dwarf2/dw2-strp.S (a_string2): New.
5425
5426 2009-05-18  Jon Beniston  <jon@beniston.com>
5427
5428         * gdb.asm/asm-source.exp: Add lm32 target.
5429
5430 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
5431
5432         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
5433         `gdb_get_line_number'.  Call `callee' in both parent and child.
5434         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5435         `gdb_get_line_number' instead of hardcoding line numbers.
5436         (catch_fork_unpatch_child): New procedure to test detaching
5437         breakpoints from child fork.
5438         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5439         hardcoding line numbers.
5440         (do_fork_tests): Run `catch_fork_unpatch_child'.
5441
5442 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
5443
5444         * gdb.mi/mi-cmd-var.exp: Check that when varobj
5445         of structure type enters or leaves the scope, it
5446         is reported by -var-update.
5447
5448 2009-05-11  Doug Evans  <dje@sebabeach.org>
5449
5450         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5451         * gdb.threads/pending-step.c (main): Fix off-by-one error.
5452         * gdb.threads/schedlock.c (main): Fix off-by-one error.
5453
5454 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5455
5456         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5457
5458 2009-04-30  Doug Evans  <dje@google.com>
5459
5460         * gdb.threads/watchthreads2.exp: New testcase.
5461         * gdb.threads/watchthreads2.c: New testcase.
5462
5463 2009-04-29  Doug Evans  <dje@google.com>
5464
5465         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5466         * gdb.cp/mb-ctor.cc: Ditto.
5467         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5468         * gdb.cp/mb-inline.h (multi_line_foo): New function.
5469         * gdb.cp/mb-inline1.cc: Call it.
5470         * gdb.cp/mb-inline2.cc: Ditto.
5471         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5472         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5473
5474 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5475
5476         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5477         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
5478         Replace all uses of `decimal' by `nonzero'.
5479         (info macro FROM_COMMANDLINE): New test.
5480
5481 2009-04-27  Tom Tromey  <tromey@redhat.com>
5482
5483         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5484
5485 2009-04-27  Doug Evans  <dje@google.com>
5486
5487         * gdb.threads/watchthreads.c (main): Initialize args before starting
5488         the threads.  Plus formatting cleanup.
5489         * gdb.threads/watchthreads.exp: Avoid errant failures due to
5490         biased scheduling of one thread.
5491
5492 2009-04-27  Jerome Guitton  <guitton@adacore.com>
5493
5494         * gdb.cp/templates.cc (GetMax): New template.
5495         (main): Declare two instances of GetMax.
5496         * gdb.cp/templates.exp: Add new test.
5497
5498 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5499
5500         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5501
5502 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
5503
5504         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5505
5506 2009-04-15  Tom Tromey  <tromey@redhat.com>
5507
5508         * gdb.base/charset.exp: Add regression test.
5509
5510 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
5511
5512         * gdb.base/exe-lock.exp: New testcase.
5513
5514 2009-04-13  Tom Tromey  <tromey@redhat.com>
5515
5516         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5517         operator on Frame.
5518
5519 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5520
5521         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5522         * gdb.server/ext-attach.exp: Likewise.
5523
5524 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
5525
5526         Eliminate some sleep usage.
5527
5528         * gdb.mi/basics.c (do_nothing): New.
5529         (main): Use do_nothing instead of printf, so that
5530         not to introduce race condition between output of
5531         inferiour and output of gdb. Do not use sleep as it
5532         is not generally available on embedded targets.
5533
5534 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
5535
5536         * gdb.server/ext-attach.exp: Expect an optional process id after
5537         "Detached from remote process".
5538
5539 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5540
5541         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5542         gdb.dwarf2/dw2-unresolved.exp: New.
5543
5544 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
5545
5546         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
5547         mi_run_to_main.
5548
5549 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
5550
5551         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
5552         mi_run_to_main.  Skip thread exit test on remote targets.
5553         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
5554         mi_run_to_main.
5555         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
5556         mi_run_to_main.
5557         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5558         when expecting ^connected.  Detect when the target doesn't support
5559         non-stop mode.
5560         (mi_run_cmd): Detect if non-stop mode was requested by isn't
5561         supported.  Return -1 on error, 0 on success.
5562         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5563         (mi_runto): Return mi_runto_helper's result explicitly.
5564
5565 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
5566
5567         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5568
5569 2009-04-01  Tom Tromey  <tromey@redhat.com>
5570
5571         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5572         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5573         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5574         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5575
5576 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
5577             Jan Kratochvil  <jan.kratochvil@redhat.com>
5578
5579         PR gdb/931
5580         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5581         output.
5582         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
5583         for gdb/931.
5584         * dw2-strp.S (DW_AT_language): Change to C++.
5585         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5586
5587 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
5588
5589         * gdb.ada/tasks: New testcase.
5590
5591 2009-03-30  Stan Shebs  <stan@codesourcery.com>
5592
5593         * gdb.trace/actions.exp: Update to match new info trace format.
5594         * gdb.trace/deltrace.exp: Ditto.
5595         * gdb.trace/infotrace.exp: Ditto.
5596         * gdb.trace/passcount.exp: Ditto.
5597         * gdb.trace/save-trace.exp: Ditto.
5598         * gdb.trace/while-stepping.exp: Ditto.
5599         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5600
5601 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5602
5603         * gdb.python/python-frame.c: New file.
5604         * gdb.python/python-frame.exp: New file.
5605
5606 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5607
5608         * gdb.python/python-value.exp: Add tests for the address
5609         attribute.
5610
5611 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
5612
5613         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5614
5615 2009-03-26  Doug Evans  <dje@google.com>
5616
5617         * gdb.mi/mi-nonstop-exit.exp: New file.
5618         * gdb.mi/non-stop-exit.c: New file.
5619
5620 2009-03-26  Tom Tromey  <tromey@redhat.com>
5621
5622         Update for change to prologue skipping:
5623         * gdb.mi/mi2-simplerun.exp: Update.
5624         * gdb.mi/mi2-break.exp: Update.
5625         * gdb.mi/mi-simplerun.exp: Update.
5626         * gdb.mi/mi-break.exp: Update.
5627         * gdb.base/ending-run.exp: Update.
5628
5629 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5630
5631         * gdb.python/python-value.exp (test_value_in_inferior): Test
5632         gdb.Value.is_optimized_out attribute.
5633
5634 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5635
5636         * gdb.dwarf2/dw2-noloc-main.c: New file.
5637         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5638         (.text): Remove.
5639         (.data): New.
5640         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5641         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5642         (DW_TAG_subprogram func_cu1, noloc): Remove.
5643         (main): New.
5644         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5645         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
5646         (file_symbols): New procedure.
5647
5648 2009-03-25  Tom Tromey  <tromey@redhat.com>
5649
5650         * gdb.base/charset.exp (valid_target_charset): New proc.
5651         Use it to skip tests on invalid charsets.
5652
5653 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
5654
5655         * gdb.base/completion.exp: Add a test for directory completion.
5656
5657 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
5658
5659         Fix a racy FAIL.
5660         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5661         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5662
5663 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5664
5665         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5666         * gdb.python/python-function.exp: Add test for function returning
5667         a GDB value.
5668
5669 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5670
5671         * gdb.python/python-function.exp: New file.
5672
5673 2009-03-20  Tom Tromey  <tromey@redhat.com>
5674
5675         * gdb.base/store.exp: Update for change to escape output.
5676         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5677         to escape output.
5678         * gdb.base/pointers.exp: Update for change to escape output.
5679         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5680         to escape output.
5681         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5682         escape output.
5683         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5684         to escape output.
5685         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5686         escape output.
5687         * gdb.base/setvar.exp: Update for change to escape output.
5688         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5689         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5690         to escape output.
5691         (test_print_string_constants): Likewise.
5692         * gdb.base/charset.exp (valid_host_charset): Check size of
5693         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
5694         cases.  Handle "auto"-related output.
5695         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5696         (uvar, Uvar): New globals.
5697
5698 2009-03-19  Jerome Guitton  <guitton@adacore.com>
5699
5700         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5701         deltas.
5702         * gdb.ada/fixed_points.exp: Ditto.
5703
5704 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
5705
5706         * return-nodebug.c: Don't include stdio.h.
5707         (init): Delete.
5708         (func): Delete definition and provide extern declaration.
5709         (t): New.
5710         (main): Don't call printf.  Call func and store its result in t.
5711         * return-nodebug1.c: New.
5712         * return-nodebug.exp: Don't expect stdio output.  Instead, print
5713         the global variable t.  Drop printf formatters and cast types from
5714         foreach loop.  Don't use prepare_for_testing.  Compile
5715         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
5716         define FORMAT or CAST.
5717
5718 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5719
5720         * gdb.base/solib-display.exp: Disable test for remote targers.
5721
5722 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5723
5724         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5725
5726 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5727
5728         Fix a racy FAIL.
5729         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5730         code from `follow parent, print pids'.
5731         (`follow child, print pids', `follow parent, print pids'): Call it.
5732         Replace `gdb_test "break..."' by gdb_breakpoint.
5733
5734 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
5735
5736         * gdb.mi/mi-cli.exp: Adjust for output difference in
5737         sync and async modes.
5738
5739 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
5740
5741         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5742         that was checked in by mistake. Remove loading of ada.exp, since
5743         this is not necessary in this case.
5744
5745 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
5746
5747         * gdb.ada/ptype_arith_binop.exp: New testcase.
5748
5749 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
5750
5751         * gdb.ada/mod_from_name: New testcase.
5752
5753 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
5754
5755         * gdb.ada/tick_last_segv: New testcase.
5756
5757 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
5758
5759         * gdb.mi/mi-cli.exp: Remove debug print.
5760
5761 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
5762
5763         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5764         include the token in ^running and frame info in *stopped.
5765
5766 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5767
5768         * solib-display.exp: New file.
5769         * solib-display-main.c: New file.
5770         * solib-display-lib.c: New file.
5771
5772 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
5773
5774         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5775
5776 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
5777
5778         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5779         (list_and_check_macro): Use more specific test name.
5780         (next to definition): Make the test names unique.
5781
5782 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
5783
5784         * gdb.pascal/floats.exp: Accept approximate results everywhere.
5785
5786 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
5787
5788         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5789         notifications.
5790         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5791         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5792         * lib/mi-support.exp (library_loaded_re): New.
5793         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5794
5795 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
5796
5797         * gdb.gdb/observer.exp: Use test_notification observer, not
5798         normal_stop, everywhere.
5799         (test_normal_stop_notifications): Rename to...
5800         (test_notifications): ...this.
5801         (test_observer_normal_stop): Rename to...
5802         (test_observer): ...this.
5803
5804 2009-02-16  Doug Evans  <dje@google.com>
5805
5806         * gdb.arch/amd64-disp-step.S (test_int3): New test.
5807         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5808         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5809         (test_prefixed_syscall,test_int3): New tests.
5810         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5811         (test_prefixed_syscall,test_int3): New tests.
5812
5813 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
5814
5815         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5816         (mi_expect_interrupt): Likewise.
5817         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5818         response.
5819
5820 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
5821
5822         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5823         * gdb.base/pc-fp.exp (get_valueofx): Remove.
5824         Replace calls to get_valueofx by get_hexadecimal_valueof.
5825
5826 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
5827
5828         * lib/gdb.exp (get_valueof): Accept anything as a return value.
5829         (get_integer_valueof): New procedure.
5830         (get_sizeof): Use new get_integer_value_of.
5831         * gdb.base/sizeof.exp: Replace all uses of get_valueof
5832         by get_integer_valueof.
5833
5834 2009-02-13  Tom Tromey  <tromey@redhat.com>
5835
5836         * gdb.base/remote.exp (get_sizeof): Remove.
5837         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5838         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5839         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5840         * lib/gdb.exp (get_valueof): Move from long_long.exp.
5841         (get_sizeof): Likewise.
5842
5843 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
5844
5845         PR fortran/9806
5846         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5847
5848 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5849
5850         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5851
5852 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
5853
5854         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5855
5856 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
5857
5858         * gdb.python/python-cmd.exp: New file.
5859
5860 2009-02-06  Tristan Gingold  <gingold@adacore.com>
5861
5862         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5863
5864 2009-02-05  Tristan Gingold  <gingold@adacore.com>
5865
5866         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5867         pointer is dereferenced and use this signal name in regexp.
5868         * gdb.base/signull.exp: Ditto.
5869         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5870         * gdb.base/signull.c (main): Ditto.
5871
5872 2009-02-04  Tom Tromey  <tromey@redhat.com>
5873             Thiago Jung Bauermann  <bauerman@br.ibm.com>
5874
5875         * gdb.python/python-value.exp: Use `gdb.history' instead of
5876         `gdb.value_from_history'.
5877         (test_value_numeric_ops): Add test for conversion of enum constant.
5878         * gdb.python/python-value.c (enum e): New type.
5879         (evalue): New global.
5880         (main): Use argv.
5881
5882 2009-02-04  Jerome Guitton  <guitton@adacore.com>
5883
5884         * gdb.ada/uninitialized_vars: New test program.
5885         * gdb.ada/uninitialized_vars.exp: New testcase.
5886
5887 2009-02-02  Tom Tromey  <tromey@redhat.com>
5888
5889         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5890         * gdb.cp/pr2489.cc: Rename...
5891         * gdb.cp/pr9594.cc: ... to this.
5892
5893 2009-02-02  Tom Tromey  <tromey@redhat.com>
5894
5895         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5896         * gdb.cp/pr2489.cc: New file.
5897         * gdb.cp/cpcompletion.exp: New file.
5898
5899 2009-02-02  Tom Tromey  <tromey@redhat.com>
5900
5901         PR exp/9059:
5902         * gdb.cp/call-c.exp: Add regression test.
5903         * gdb.cp/call-c.cc (FooHandle): New typedef.
5904         (main): New variable 'handle'.
5905
5906 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
5907
5908         * lib/mi-support.exp (et_mi_thread_list)
5909         (check_mi_and_console_threads): Adjust for current thread in
5910         -thread-list-ids output.
5911
5912 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
5913
5914         * gdb.mi/mi-break.exp (test_disabled_creation): New.
5915         Call it.
5916
5917 2009-01-28  Doug Evans  <dje@google.com>
5918
5919         * gdb.arch/amd64-disp-step.S: New file.
5920         * gdb.arch/amd64-disp-step.exp: New file.
5921         * gdb.arch/i386-disp-step.S: New file.
5922         * gdb.arch/i386-disp-step.exp: New file.
5923
5924 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
5925
5926         * gdb.base/find.exp: Set newline variable
5927         using quotes instead of braces to fix cygwin failures.
5928
5929 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
5930
5931         * gdb.base/radix.exp: Add tests to ensure that that set
5932         input-radix 0 and set output-radix 0 are really rejected.
5933
5934 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
5935
5936         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5937         copyright years.
5938
5939 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
5940
5941         PR gdb/9664:
5942         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5943
5944 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
5945
5946         PR c++/9631:
5947         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5948
5949 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
5950
5951         * gdb.server/file-transfer.exp: Use EXEEXT variable for
5952         binfile definition to fix Windows OS failure.
5953
5954 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
5955
5956         PR gdb/9346
5957         * gdb.base/interrupt.c (sigint_handler): New.
5958         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
5959         on error.
5960         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5961         Test "signal SIGINT".
5962
5963 2009-01-19  Doug Evans  <dje@google.com>
5964
5965         * gdb.base/break.exp: Update expected gdb output.
5966         * gdb.base/sepdebug.exp: Ditto.
5967         * gdb.mi/mi-syn-frame.exp: Ditto.
5968         * gdb.mi/mi2-syn-frame.exp: Ditto.
5969         * gdb.base/call-signal-resume.exp: New file.
5970         * gdb.base/call-signals.c: New file.
5971         * gdb.base/unwindonsignal.exp: New file.
5972         * gdb.base/unwindonsignal.c: New file.
5973         * gdb.threads/interrupted-hand-call.exp: New file.
5974         * gdb.threads/interrupted-hand-call.c: New file.
5975         * gdb.threads/thread-unwindonsignal.exp: New file.
5976
5977 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
5978
5979         * gdb.base/define.exp: Test defining and hooking prefix commands.
5980         * gdb.python/python.exp: Update test for "show user" output.
5981
5982 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
5983
5984         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
5985         now the output exactly, using less wildcards.  Expect also the output
5986         of gfortran-4.3.  Update for the f-valprint.c modification from
5987         2008-04-22.
5988         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5989         Remove gdb_test test names where matching the command.
5990
5991 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
5992
5993         PR breakpoints/9681:
5994         * gdb.base/watchpoint.exp: Add regression test.
5995
5996 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
5997
5998         * gdb.threads/attach-into-signal.exp: Don't use
5999         gdb_suppress_entire_file.
6000         * gdb.threads/attach-stopped.exp: Ditto.
6001         * gdb.threads/attachstop-mt.exp: Ditto.
6002
6003 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
6004
6005         PR gdb/8812:
6006         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6007
6008 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
6009
6010         PR gdb/7536:
6011         * gdb.base/radix.exp: Add tests to ensure invalid input radices
6012         and unsupported output radices are really rejected.
6013
6014 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
6015
6016         * gdb.cp/punctuator.exp: Backslash the '$' signs.
6017
6018 2008-12-22  Tom Tromey  <tromey@redhat.com>
6019
6020         * gdb.cp/punctuator.exp: New file.
6021
6022 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6023
6024         * gdb.base/completion.exp (Completing non-existing component): New test.
6025
6026 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
6027
6028         Fix for PR gdb/8648.
6029         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6030         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6031         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6032         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6033
6034 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
6035
6036         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6037
6038 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
6039
6040         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6041         compiler actually generate code at the expected line number.
6042
6043 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
6044
6045         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6046
6047 2008-12-12  Tom Tromey  <tromey@redhat.com>
6048
6049         * gdb.base/commands.exp (redefine_hook_test): New proc.
6050         Call it.
6051
6052 2008-12-11  Tom Tromey  <tromey@redhat.com>
6053
6054         * gdb.base/macscp.exp: New regression test.
6055
6056 2008-12-11  Tom Tromey  <tromey@redhat.com>
6057
6058         * gdb.base/macscp.exp: Print "address.addr".
6059         * gdb.base/macscp1.c (struct outer): New struct.
6060         (address): New global.
6061
6062 2008-12-09  Tom Tromey  <tromey@redhat.com>
6063
6064         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6065         Call it.
6066
6067 2008-12-04  Doug Evans  <dje@google.com>
6068
6069         * gdb.server/ext-run.exp: Relax regexp for init program.
6070
6071 2008-12-03  Tristan Gingold  <gingold@adacore.com>
6072
6073         * gdb.base/macscp.exp: Generate an object file during compilation
6074         to work around Darwin dsymutil limitations.
6075
6076 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6077
6078         Test resolving external references to TLS variables.
6079         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6080         FILE2_THREAD_LOCAL.
6081         (testfile2, srcfile2): New variables.
6082         * gdb.threads/tls.c (file2_thread_local)
6083         (function_referencing_file2_thread_local): New.
6084         * gdb.threads/tls2.c: New file.
6085
6086 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
6087
6088         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6089         rather than integer, as integer might not be big enough when
6090         on 64bit targets.
6091
6092 2008-11-27  Jerome Guitton  <guitton@adacore.com>
6093
6094         * gdb.cp/formatted-ref.exp: Add equality test.
6095         * gdb.ada/formatted_ref.exp: Ditto.
6096
6097 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6098
6099         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6100         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6101
6102 2008-11-20  Andreas Schwab  <schwab@suse.de>
6103
6104         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6105         matching syscall entry point.
6106         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6107         (tcatch_vfork_then_child_follow): Likewise.  Finish through
6108         vfork even if we stopped at the syscall trampoline.
6109
6110 2008-11-20  Doug Evans  <dje@google.com>
6111
6112         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6113
6114 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6115
6116         * gdb.arch/ppc-dfp.exp: New file.
6117         * gdb.arch/ppc-dfp.c: New file.
6118
6119 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6120
6121         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6122
6123 2008-11-17  Doug Evans  <dje@google.com>
6124
6125         * gdb.mi/mi-syn-frame.exp: Update expected output.
6126         * gdb.mi/mi2-syn-frame.exp: Update expected output.
6127
6128 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
6129
6130         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6131         "thread N" results in =thread-selected.
6132         * lib/mi-support (mi_run_cmd, mi_expect_stop)
6133         (mi_send_resuming_command_raw): Be prepared for
6134         =thread-selected.
6135
6136 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
6137
6138         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6139         * lib/mi-support.exp: Likewise.
6140
6141 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
6142
6143         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6144         commands from the expected output for "help catch".
6145
6146 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
6147
6148         * gdb.ada/int_deref.exp: New testcase.
6149
6150 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
6151
6152         * gdb.mi/gdb2549.exp: New file.
6153
6154 2008-11-11  Doug Evans  <dje@google.com>
6155
6156         * gdb.base/callexit.exp: New file.
6157         * gdb.base/callexit.c: New file.
6158
6159 2008-11-10  Doug Evans  <dje@google.com>
6160
6161         * lib/gdb.exp (GDBFLAGS): Move -nx ...
6162         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
6163         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6164         (default_gdb_start,default_gdb_exit): Ditto.
6165         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6166         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6167         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6168         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6169         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6170         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6171
6172 2008-11-03  Andreas Schwab  <schwab@suse.de>
6173
6174         * gdb.base/hashline2.exp: Fix typo.
6175         * gdb.base/hashline3.exp: Likewise.
6176
6177 2008-10-30  Tom Tromey  <tromey@redhat.com>
6178
6179         * gdb.base/pointers.exp: Add test.
6180         * gdb.base/pointers.c (k, S): New typedefs.
6181         (instance): New global.
6182
6183 2008-10-30  Andreas Schwab  <schwab@suse.de>
6184
6185         * gdb.base/args.exp: Add tests for newlines.
6186
6187 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
6188
6189         gdb.base/foll-exec.exp: Update the expected output of a couple
6190         of "info breakpoints" tests.
6191
6192 2008-10-28  Tom Tromey  <tromey@redhat.com>
6193
6194         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6195
6196 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
6197
6198         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6199         gdb_start_cmd.
6200         Use runto_main before any test that requires execution.
6201
6202 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
6203
6204         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6205         instead of SIGINT.
6206
6207 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
6208
6209         * gdb.base/completion.exp: Update expected output following
6210         the addition of the "info tasks" command.
6211
6212 2008-10-22  Tom Tromey  <tromey@redhat.com>
6213
6214         * gdb.base/exprs.exp (test_expr): Add test for string
6215         concatenation.
6216
6217 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
6218
6219         * configure.ac: Output gdb.python/Makefile.
6220         * configure: Regenerate.
6221         * gdb.python/Makefile.in: New.
6222
6223 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
6224
6225         * gdb.base/foll-fork.exp: Adjust the expected output to match
6226         the new description for fork/vfork catchpoints in the "info
6227         breakpoints" output.
6228
6229 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
6230
6231         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6232
6233 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6234
6235         * gdb.python/python-value.c: New file.
6236         * gdb.python/python-value.exp: New file.
6237
6238 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
6239
6240         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6241
6242 2008-10-15  Denis Pilat  <denis.pilat@st.com>
6243
6244         * gdb.cp/mb-ctor.exp: Fix a typo.
6245
6246 2008-10-09  Tom Tromey  <tromey@redhat.com>
6247
6248         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6249         'fprintf' and 'stderr'.
6250
6251 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
6252
6253         * gdb.ada/ref_tick_size.exp: New testcase.
6254
6255 2008-10-06  Doug Evans  <dje@google.com>
6256
6257         * gdb.dwarf2/dw2-cu-size.exp: New file.
6258         * gdb.dwarf2/dw2-cu-size.S: New file.
6259
6260         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6261         .Ltype_int for clarity.
6262
6263 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6264
6265         PR gdb/2384:
6266         * gdb.cp/gdb2384.exp: Extended to test more cases.
6267         * gdb.cp/gdb2384.cc: Likewise.
6268         * gdb.cp/gdb2384-base.h: Likewise.
6269         * gdb.cp/gdb2384-base.cc: Likewise.
6270
6271 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6272
6273         * gdb.base/maint.exp (maint print type): Remove printing
6274         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6275
6276 2008-09-30  Tom Tromey  <tromey@redhat.com>
6277
6278         * gdb.base/macscp.exp: Add completion tests.
6279         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6280         (TWENTY_THREE): Likewise.
6281         (FORTY_EIGHT): Likewise.
6282
6283 2008-09-30  Tom Tromey  <tromey@redhat.com>
6284
6285         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6286         everywhere.
6287         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6288
6289 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6290
6291         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6292         testcase is derived from.  Fix racy dependency on an expected PID
6293         number.  No longer support the testcase on Linux kernel 2.4.x.
6294
6295 2008-09-27  Tom Tromey  <tromey@redhat.com>
6296
6297         * gdb.base/macscp.exp: Add tests for stringification, splicing,
6298         and varargs.
6299
6300 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
6301
6302         * lib/mi-support.exp (mi_expect_interrupt): New.
6303         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6304         from gdb.mi/mi-nonstop.exp.
6305         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6306         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6307         lib/mi-support.exp.
6308         Use mi_check_thread_states throughout.  Avoid ".*" and do not
6309         require an anchor after -exec-run.
6310
6311 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
6312
6313         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6314         stop is pending.  Avoid ".*" when two stops are pending.
6315         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6316         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6317         newlines in fullnames.
6318         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6319         (mi_expect_stop): Update comments.  Only anchor in sync mode.
6320         Do not match newlines.
6321         (mi_send_resuming_command_raw): Always return status.
6322         (mi_get_stop_line): Do not match more than one line by accident.
6323         Only anchor in sync mode.
6324         (mi_run_inline_test): If -exec-next fails, give up.
6325
6326 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6327
6328         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6329         on SPU.
6330
6331 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
6332
6333         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6334
6335 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
6336
6337         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6338         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6339         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6340         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6341         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6342         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6343         gdb.ada/interface.exp, gdb.ada/null_array.exp,
6344         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6345         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6346         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6347         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6348         Include the "= " sequence in the expected output of print tests.
6349
6350 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
6351
6352         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6353         description for boolean types.
6354
6355 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
6356
6357         * gdb.base/hook-stop-continue.c: New.
6358         * gdb.base/hook-stop-continue.exp: New.
6359
6360 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
6361
6362         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6363
6364 2008-09-08  Jerome Guitton  <guitton@adacore.com>
6365
6366         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6367         (stack_check_probe_2, stack_check_probe_loop_1)
6368         (stack_check_probe_loop_2): New functions.
6369         (main): Add call to these new functions.
6370         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6371         functions, check that the breakpoint is inserted at the appropriate
6372         location.
6373         (insert_breakpoint): Slightly refine this procedure so that it can
6374         be called several times in the test.
6375
6376 2008-09-08  Jerome Guitton  <guitton@adacore.com>
6377
6378         * gdb.base/stack-checking.c: New file.
6379         * gdb.base/stack-checking.exp: New file.
6380
6381 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6382
6383         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6384         * gdb.arch/altivec-regs.exp: Likewise.
6385         * gdb.arch/vsx-regs.exp: Likewise.
6386
6387 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6388
6389         * gdb.arch/ppc-fp.exp: New file.
6390         * gdb.arch/ppc-fp.c: New file.
6391
6392 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6393
6394         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6395         lest gcc-4.3.1 optimizes the whole thing away.
6396
6397 2008-09-04  Michael Snyder  <msnyder@vmware.com>
6398
6399         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6400         as "at" (for non-debug functions such as _start).
6401
6402 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6403
6404         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6405         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
6406         software watchpoints.
6407         * gdb.base/watch_thread_num.exp: Likewise.
6408
6409 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
6410
6411         * gdb.arch/i386-bp_permanent.exp: New test.
6412
6413 2008-08-24  Tom Tromey  <tromey@redhat.com>
6414
6415         * gdb.base/maint.exp: Update "maint print type".
6416
6417 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
6418
6419         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6420         support.  Adjust the order of "*running" notifications.
6421         * gdb.mi/non-stop.c: Don't cast from int to void* and
6422         back.
6423
6424 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
6425
6426         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6427         expect to find it in the "info frame" output.
6428
6429 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
6430
6431         * gdb.base/interp.exp: Always consume both prompts.
6432
6433 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
6434
6435         * gdb.base/pending.exp: Test pending breakpoints without symbols
6436         loaded.
6437
6438 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
6439
6440         * lib/mi-support.exp (mi_expect_stop): Produce
6441         more details on failures.
6442         * gdb.mi/mi-nonstop.exp: New.
6443         * gdb.mi/non-stop.c: New.
6444
6445 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
6446
6447         * gdb.mi/mi-async.exp: Use 'set target-async'.
6448         * lib/mi-support.exp: Use 'set/show target-async'.
6449
6450 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
6451
6452         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6453
6454 2008-08-17  Tom Tromey  <tromey@redhat.com>
6455
6456         * gdb.base/help.exp (help catch): Rewrite.
6457
6458 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
6459
6460         * gdb.base/define.exp: Test indented command documentation.
6461         * gdb.python/python.exp: Test indented multi-line command.
6462
6463 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
6464
6465         * testsuite/gdb.arch/vsx-regs.c: New source file.
6466         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6467         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6468
6469 2008-08-14  Tom Tromey  <tromey@redhat.com>
6470
6471         * gdb.base/macscp.exp: Add regression test for "macro define" or
6472         "macro undef" with no arguments.
6473
6474 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6475
6476         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6477
6478 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6479
6480         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6481
6482 2008-08-06  Tom Tromey  <tromey@redhat.com>
6483
6484         * gdb.python/python.exp: New file.
6485
6486 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
6487
6488         Fix for PR gdb/1543.
6489         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6490         $LOCATION.
6491         (location): New variable.
6492         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6493         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6494         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6495         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6496         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6497         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6498         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6499         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6500         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6501         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6502         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6503         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6504         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6505         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6506         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6507         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6508         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6509         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6510         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6511         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6512         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6513         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6514         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6515         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6516         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6517         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6518         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6519         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6520         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6521         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6522         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6523         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6524         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6525         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6526         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6527         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6528         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6529         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6530         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6531         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6532         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6533         gdb.base/type-opaque.exp, gdb.base/until.exp,
6534         gdb.base/value-double-free.c, gdb.base/varargs.exp,
6535         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6536         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6537         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6538         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6539         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6540         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6541         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6542         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6543         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6544         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6545         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6546         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6547         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6548         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6549         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6550         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6551         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6552         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6553         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6554         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6555         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6556         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6557         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6558         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6559         gdb.pascal/types.exp, gdb.stabs/weird.exp,
6560         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6561         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6562         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6563         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6564         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6565         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6566         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6567         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6568         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6569         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6570         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6571         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6572         lib/mi-support.exp, lib/trace-support.exp: Remove reference
6573         to bug-gdb@prep.ai.mit.edu .
6574
6575 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
6576
6577         * lib/mi-support.exp (mi_load_shlibs): New.
6578         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6579
6580 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
6581
6582         * lib/mi-support.exp (get_mi_thread_list)
6583         (check_mi_and_console_threads): New, moved from ...
6584         * gdb.mi/mi-pthread.exp: ...here.
6585         * gdb.mi/gdb669.exp (get_mi_thread_list)
6586         (check_mi_and_console_threads): Delete.
6587         * gdb.mi/mi2-pthread.exp: Likewise.
6588
6589 2008-07-28  Tom Tromey  <tromey@redhat.com>
6590
6591         * Makefile.in (just-check): Remove.  Move body to...
6592         (check): ... here.
6593
6594 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
6595
6596         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6597         Add a test for duplicated SIGINTs.
6598
6599 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
6600
6601         * gdb.threads/schedlock.exp (get_args): Update to work for any
6602         value of NUM.
6603         (Top level): Report the number of threads that did not resume.
6604
6605 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
6606
6607         * gdb.dwarf2/dw2-compressed.S: Also define __start.
6608
6609 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
6610
6611         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6612         non-MI prompt.
6613
6614 2008-07-26  Tom Tromey  <tromey@redhat.com>
6615
6616         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6617         (function_struct, function_struct_ptr): New globals.
6618         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6619         function pointer in a struct.
6620
6621 2008-07-26  Tom Tromey  <tromey@redhat.com>
6622
6623         * gdb.base/macscp.exp: Add test for macro lexing bug.
6624
6625 2008-07-18  Tom Tromey  <tromey@redhat.com>
6626
6627         * gdb.base/macscp.exp: Add macro tests.
6628
6629 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6630
6631         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6632
6633 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6634
6635         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6636
6637 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
6638
6639         * gdb.cp/class2.exp: fix for failure on spu-elf
6640
6641 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6642
6643         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6644
6645 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6646
6647         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6648
6649 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
6650
6651         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6652
6653 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
6654
6655         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6656         of regexp to account for changes made to GDB in the printing of
6657         byte vectors.
6658
6659 2008-07-11  Tom Tromey  <tromey@redhat.com>
6660
6661         * gdb.base/completion.exp: Add 'help' completion test.
6662
6663 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
6664
6665         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6666
6667 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
6668
6669         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6670
6671 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
6672
6673         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6674
6675 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
6676
6677         * gdb.base/fullname.exp: Restore pwd if compiling failed.
6678
6679 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
6680
6681         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6682
6683 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
6684
6685         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6686         previous commit.  Add a comment.
6687
6688 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
6689
6690         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6691
6692 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
6693
6694         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6695
6696 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
6697
6698         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6699         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6700         compiling an executable, link in an object that forces unbuffered
6701         output.
6702         * lib/set_unbuffered_mode.c: New file.
6703
6704 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6705
6706         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6707
6708 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
6709
6710         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6711         mi_expect_stop.
6712         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6713         Demand that *running is output.
6714         (detect_async): Perform checking every time.
6715         (mi_send_resuming_command): Extract everything into...
6716         (mi_send_resuming_command_raw): ...this.
6717         (mi_expect_stop): Don't accept any output before *stopped.
6718
6719 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
6720
6721         Robustify mi-simplerun.
6722         * gdb.mi/basics.c (main): Add a call to sleep.
6723         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6724         * gdb.mi/mi2-cli.exp: Likewise.
6725         * gdb.mi/mi-break.exp: Likewise.
6726
6727 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
6728
6729         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6730
6731 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
6732
6733         * gdb.mi/mi-console.exp: Adjust.
6734         * gdb.mi/mi-syn-frame.exp: Adjust.
6735         * gdb.mi/mi2-console.exp: Adjust.
6736         * gdb.mi/mi2-syn-frame.exp: Adjust.
6737         * lib/mi-support.exp (mi_run_cmd): Adjust.
6738         (mi_send_resuming_command): Adjust.
6739
6740 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
6741
6742         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6743         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6744         testing of stopped.
6745         * gdb.mi/mi2-syn-frame.exp: Likewise.
6746         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6747         (async, detect_async): New.
6748         (mi_expect_stop, mi_continue_to_line): Adjust expectation
6749         depending on if we're running in sync or async mode.
6750
6751 2008-06-09  Tom Tromey  <tromey@redhat.com>
6752
6753         * gdb.base/completion.exp: New tests for field name completion
6754         with spaces, and field name completion with '->'.
6755
6756 2008-06-06  Tom Tromey  <tromey@redhat.com>
6757
6758         * gdb.base/break1.c (struct some_struct): New struct.
6759         (values): New global.
6760         * gdb.base/completion.exp: Add field name completion test.
6761
6762 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6763
6764         * gdb.cp/call-c.exp: Test for incorrect handling of reference
6765         to pointer.
6766         * gdb.cp/call-c.cc: Likewise.
6767
6768 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
6769
6770         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6771         annotation.
6772
6773 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6774             Pedro Alves  <pedro@codesourcery.com>
6775
6776         * gdb.threads/execl.c, gdb.threads/execl1.c,
6777         gdb.threads/execl.exp: New tests.
6778
6779 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
6780             Daniel Jacobowitz  <dan@codesourcery.com>
6781
6782         * gdb.cp/exception.exp: Activate test, make it work with pending
6783         catchpoints.
6784
6785 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6786
6787         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6788
6789 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
6790
6791         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6792         now printed.
6793         * gdb.mi/mi2-var-cmd.exp: Likewise.
6794
6795 2008-05-27  Andreas Schwab  <schwab@suse.de>
6796
6797         * gdb.base/frame-args.exp: Handle arguments that are optimized
6798         out.
6799
6800 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
6801
6802         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6803         quiet for ppc32 and group options into a single variable.
6804
6805 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
6806
6807         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6808         of zero-size elements.
6809         * gdb.ada/null_array.exp: Test printing this new array.
6810
6811 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
6812
6813         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6814
6815 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
6816
6817         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6818         of the "finish" command.
6819
6820 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
6821
6822         * gdb.base/annota1.exp: Test for new annotation.
6823
6824 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
6825
6826         * gdb.base/fixsection.exp: New file.
6827         * gdb.base/fixsection0.c: New file.
6828         * gdb.base/fixsection1.c: New file.
6829
6830 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6831
6832         * gdb.base/annota1.exp: Accept printf@... in place of printf.
6833         * gdb.base/annota3.exp: Likewise.
6834
6835 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
6836
6837         * gdb.base/watch_thread_num.exp: Don't run tests that require
6838         watchpoints if the target doesn't support them.
6839
6840 2008-05-12  Doug Evans  <dje@google.com>
6841
6842         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6843
6844 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
6845
6846         * gdb.ada/assign_1.exp: New testcase.
6847
6848 2008-05-09  Doug Evans  <dje@google.com>
6849
6850         * gdb.base/find.exp: New file.
6851         * gdb.base/find.c: New file.
6852
6853 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
6854
6855         * gdb.base/commands.exp (watchpoint_command_test): Handle
6856         gdb,no_hardware_watchpoints.
6857         * gdb.base/float.exp: Allow ARM targets without floating point.
6858         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6859
6860 2008-05-06  Jerome Guitton  <guitton@adacore.com>
6861             Joel Brobecker  <brobecker@adacore.com>
6862
6863         * gdb.ada/lang_switch: New test program.
6864         * gdb.ada/lang_switch.exp: New testcase.
6865
6866 2008-05-05  Doug Evans  <dje@google.com>
6867
6868         * gdb.base/help.exp (disassemble): Update expected help text.
6869
6870 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
6871
6872         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6873
6874 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
6875
6876         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6877         different times.
6878
6879 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
6880
6881         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6882         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6883         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6884         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6885
6886 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
6887
6888         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6889         notification to appear.
6890
6891 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
6892
6893         * gdb.base/fullname.c: New file.
6894         * gdb.base/fullname.exp: New file.
6895         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6896
6897 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
6898
6899         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6900         expressions with macros.
6901
6902 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6903
6904         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6905
6906 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
6907
6908         * gdb.base/completion.exp: Handle lack of other symbols beginning
6909         with "a".
6910
6911         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6912
6913 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
6914
6915         * gdb.asm/asmsrc1.s: Add scratch space.
6916
6917 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6918             Daniel Jacobowitz  <dan@codesourcery.com>
6919
6920         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6921         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6922         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6923
6924 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
6925
6926         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6927
6928 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
6929
6930         * gdb.base/info-target.exp: New testcase.
6931
6932 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
6933
6934         * gdb.cp/hang.exp: Use .cc instead of .C.
6935         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6936         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6937
6938 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
6939
6940         * gdb.base/gdb1250.exp: Remove perror.
6941         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6942
6943 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
6944
6945         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6946         .2byte.
6947
6948 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
6949
6950         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
6951         (maybe_kfail): New.
6952
6953 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
6954
6955         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6956
6957 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
6958
6959         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6960         * gdb.mi/mi2-syn-frame.exp: Likewise.
6961         * lib/mi-support.exp: Likewise.
6962
6963 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
6964
6965         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6966         to specify regexp for the location to stop at.
6967         * gdb.base/break-always.c: New.
6968         * gdb.base/break-always.exp: New.
6969
6970 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
6971
6972         * lib/mi-support.exp (mi_runto_helper): Adjust
6973         for the original-location field.
6974         (mi_create_breakpoint, mi_list_breakpoints): New.
6975         * gdb.mi/mi-break.exp: Adjust.
6976         * gdb.mi/mi2-break.exp: Adjust.
6977         * gdb.mi/mi-pending.exp: Adjust.
6978         * gdb.mi/mi-simplerun.exp: Adjust.
6979         * gdb.mi/mi2-simplerun.exp: Adjust.
6980         * gdb.mi/mi-syn-frame.exp: Adjust.
6981         * gdb.mi/mi2-syn-frame.exp: Adjust.
6982         * gdb.mi/mi-until.exp: Adjust.
6983         * gdb.mi/mi2-until.exp: Adjust.
6984         * gdb.mi/mi-var-display.exp: Adjust.
6985         * gdb.mi/mi2-var-display.exp: Adjust.
6986         * gdb.mi/mi-watch.exp: Adjust.
6987         * gdb.mi/mi2-watch.exp: Adjust.
6988
6989 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
6990
6991         * aclocal.m4: Add override.m4.
6992         * configure: Regenerate.
6993
6994 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
6995
6996         * gdb.mi/var-cmd.c (do_at_tests): Verify that
6997         '-var-update --all-values' reports new value even the type
6998         of a variable object has changed.
6999
7000 2008-04-18  Craig Silverstein  <csilvers@google.com>
7001
7002         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7003         files.
7004
7005 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
7006
7007         * gdb.ada/atomic_enum: New test program.
7008         * gdb.ada/atomic_enum.exp: New testcase.
7009
7010 2008-04-17  Doug Evans  <dje@google.com>
7011
7012         * gdb.opt/Makefile.in: Fix whitespace.
7013
7014 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
7015
7016         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7017
7018 2008-04-17  Doug Evans  <dje@google.com>
7019
7020         * gdb.base/hashline1.exp: New testcase.
7021         * gdb.base/hashline2.exp: New testcase.
7022         * gdb.base/hashline2.exp: New testcase.
7023
7024 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
7025
7026         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7027
7028 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
7029
7030         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7031         temporary breakpoint to match "Temporary breakpoint".
7032         * gdb.base/break.exp (delete_breakpoints): Likewise.
7033         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7034         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7035         * gdb.base/display.exp: Likewise.
7036         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7037         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7038         * gdb.base/restore.exp (restore_tests): Likewise.
7039         * gdb.base/sepdebug.exp: Likewise.
7040         * gdb.base/watchpoint.exp: Likewise.
7041         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7042         * gdb.mi/mi-pending.exp: Likewise.
7043         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7044         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7045         * gdb.mi/mi-var-cmd.exp: Likewise.
7046         * gdb.mi/mi-var-display.exp: Likewise.
7047         * gdb.mi/mi2-cli.exp: Likewise.
7048         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7049         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7050         * gdb.mi/mi2-var-display.exp: Likewise.
7051         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7052         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7053         new "disp" field.
7054         (mi_expect_stop): Move after_reason argument to be really after
7055         reason. This is to support fix for PR2424.
7056
7057 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7058
7059         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7060
7061 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
7062
7063         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7064         field.  Add more floating varobj tests.
7065         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7066         field.
7067         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7068         (main): Call do_at_tests.
7069         * lib/mi-support.exp (mi_create_floating_varobj)
7070         (mi_varobj_update_with_type_change): New.
7071
7072 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
7073
7074         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7075         option of -var-evaluate-expression.
7076         * gdb.mi/mi2-var-display.exp: Likewise.
7077
7078 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
7079
7080         Introduce test setup helpers.
7081         * lib/gdb.exp (build_executable, clean_restart)
7082         (prepare_for_testing): New.
7083         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7084         * gdb.base/return.exp: Likewise.
7085         * gdb.base/ending-run.exp: Likewise.
7086
7087 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
7088
7089         * gdb.mi/mi-async.exp: New test for asynchronous Machine
7090         Interface (MI) responses.
7091
7092 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
7093
7094         * gdb.cp/breakpoint.cc: New code to test conditions involving
7095         member variables.
7096         * gdb.cp/breakpoint.exp: Test condition involving member
7097         variables.
7098
7099 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
7100
7101         * lib/mi-support.exp (mi_expect_stop): New.
7102         (mi_run_cmd): Change the
7103         token.  Use mi_send_resuming_command, use
7104         mi_expect_stop.
7105         (mi_execute_to_helper): Rename to mi_execute_to.
7106         (mi_send_resuming_command): Add more error patterns.
7107         (mi_wait_for_stop): Renamed to...
7108         (mi_get_stop_line): ...this.
7109         (mi_run_inline_test): Adjust.
7110
7111         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7112         * gdb.mi/mi-console.exp: Likewise.
7113         * gdb.mi/mi-pending.exp: Likewise.
7114         * gdb.mi/mi-simplerun.exp: Likewise.
7115         * gdb.mi/mi-stack.exp: Likewise.
7116         * gdb.mi/mi-stepi.exp: Likewise.
7117         * gdb.mi/mi-syn-frame.exp: Add comment.
7118         * gdb.mi/mi-until.exp: Likewise.
7119         * gdb.mi/mi-var-display.exp: Likewise.
7120         * gdb.mi/mi-watch.exp: Likewise.
7121         * gdb.mi/mi2-cli.exp: Likewise.
7122         * gdb.mi/mi2-console.exp: Likewise.
7123         * gdb.mi/mi2-simplerun.exp: Likewise.
7124         * gdb.mi/mi2-stack.exp: Likewise.
7125         * gdb.mi/mi2-stepi.exp: Likewise.
7126         * gdb.mi/mi2-until.exp: Likewise.
7127         * gdb.mi/mi2-var-display.exp: Likewise.
7128         * gdb.mi/mi2-watch.exp: Likewise.
7129
7130 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7131
7132         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7133
7134         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7135
7136 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
7137
7138         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7139         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7140         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7141         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7142         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7143         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7144         expect an mi error duplicated in stderr.
7145
7146 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
7147
7148         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7149         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7150         Add a couple of tests that verify the behavior when the new setting
7151         is set to "cancel" and "all".
7152         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7153         "ask" before we start the testing.
7154
7155 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
7156
7157         * gdb.cp/casts.cc: Add class reference variables.
7158         * gdb.cp/casts.exp: New test cases for up/down casting references.
7159
7160 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
7161
7162         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7163         instead of beginning to make an extra test pass.
7164         * gdb.mi/mi2-var-display.exp: Likewise.
7165
7166 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
7167
7168         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
7169
7170 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
7171             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7172
7173         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7174         value.  Add xfail for older kernels.
7175
7176 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
7177
7178         Bring mi-support in line with gdb.exp.
7179         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7180         (mi_gdb_start): New function.
7181
7182 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
7183
7184         * gdb.mi/mi-var-cmd.exp: Fix a typo.
7185
7186 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
7187
7188         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7189         * gdb.mi/mi2-var-display.exp: Likewise.
7190
7191 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
7192
7193         * lib/mi-support.exp (mi_create_varobj_checked): New.
7194         (mi_list_varobj_children): Allow to check for a
7195         value.
7196         (mi_list_array_varobj_children): New.
7197
7198         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7199         and mi_list_varobj_children, as opposed to hardcoding
7200         expected strings.
7201         * gdb.mi/gdb701.exp: Likewise.
7202         * gdb.mi/gdb792.exp: Likewise.
7203         * gdb.mi/mi-var-block.exp: Likewise.
7204         * gdb.mi/mi-var-cmd.exp: Likewise.
7205         * gdb.mi/mi-var-invalidate.exp: Likewise.
7206         * gdb.mi/mi2-var-block.exp: Likewise.
7207         * gdb.mi/mi2-var-child.exp: Likewise.
7208         * gdb.mi/mi2-var-cmd.exp: Likewise.
7209         * gdb.mi/mi2-var-display.exp: Likewise.
7210
7211 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7212
7213         Fix random false FAILs on i386.
7214         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7215
7216 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
7217
7218         PR gdb/544
7219         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7220
7221 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
7222
7223         PR gdb/544
7224         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7225
7226 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
7227
7228         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7229         fixed PR gdb/544.
7230
7231 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
7232
7233         * gdb.threads/fork-child-threads.exp: Test next over fork.
7234
7235 2008-03-21  Chris Demetriou  <cgd@google.com>
7236
7237         * gdb.base/break.exp (rbreak junk): New test for rbreak
7238         "Junk at end of arguments" issue.
7239
7240 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
7241
7242         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7243         *& to work on created array elements.
7244         (Top level): Test print $pc with a file.  Test string operations
7245         without a target.
7246         * gdb.base/ptype.exp: Do not expect *& to work on created array
7247         elements.
7248
7249 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
7250
7251         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7252         gdb.threads/staticthreads.exp: Update exit query.
7253
7254 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
7255
7256         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7257
7258 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
7259
7260         * gdb.base/watchpoint.c (global_ptr, func4): New.
7261         (main): Call func4.
7262         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7263         (test_inaccessible_watchpoint): New.
7264
7265 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
7266
7267         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7268         select the largest.
7269
7270 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
7271
7272         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7273         frames-invalid annotations.
7274
7275 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
7276
7277         * gdb.base/assign.exp: avoid same output for different tests.
7278
7279 2008-02-27  Doug Evans  <dje@google.com>
7280
7281         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7282         for bug 1738.
7283         (breakpoint_to_handler_entry): Ditto.
7284
7285 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
7286
7287         * gdb.base/ending-run.exp: Use the first line of code inside
7288         function body to test breakpoints.
7289         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7290         location where the breakpoint is inserted when using the line
7291         where a function is declared. Fix typo in the description of
7292         one of the tests.
7293         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7294
7295 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
7296
7297         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7298         tests.
7299
7300 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
7301
7302         * gdb.base/args.exp: avoid same output for tests
7303         with single quotes.
7304
7305 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
7306
7307         * gdb.base/annota1.exp: Adjust for 'info break'
7308         format changes.
7309         * gdb.base/annota3.exp: Likewise.
7310         * gdb.base/break.exp: Likewise.
7311         * gdb.base/condbreak.exp: Likewise.
7312         * gdb.base/pending.exp: Likewise.
7313         * gdb.base/sepdebug.exp: Likewise.
7314         * gdb.base/unload.exp: Likewise.
7315         * gdb.cp/ovldbreak.exp: Likewise.
7316         * gdb.mi/mi-pending.exp: Likewise.
7317
7318 2008-02-07  Doug Evans  <dje@google.com>
7319
7320         * gdb.cp/mb-inline.exp: New.
7321         * gdb.cp/mb-inline.h: New.
7322         * gdb.cp/mb-inline1.cc: New.
7323         * gdb.cp/mb-inline2.cc: New.
7324
7325 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
7326
7327         * gdb.pascal/floats.pas: New test program.
7328         * gdb.pascal/floats.exp: New testcase.
7329
7330 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7331
7332         * gdb.base/callfuncs.c (t_float_many_args): New function.
7333         (t_double_many_args): New function.
7334         * gdb.base/callfuncs.exp: Add tests for exceeding float
7335         and double parameters passed through the stack.
7336
7337 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
7338
7339         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7340         gdb.ada/complete/foo.adb: New files.
7341         * gdb.ada/complete.exp: New testcase.
7342
7343 2008-02-03  Doug Evans  <dje@google.com>
7344
7345         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7346
7347         * gdb.cp/gdb2384.exp: New file.
7348         * gdb.cp/gdb2384.cc: New file.
7349         * gdb.cp/gdb2384-base.h: New file.
7350         * gdb.cp/gdb2384-base.cc: New file.
7351
7352 2008-02-02  Doug Evans  <dje@google.com>
7353
7354         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7355
7356 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
7357
7358         * gdb.ada/sym_print_name: New test program.
7359         * gdb.ada/sym_print_name.exp: New testcase.
7360
7361 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
7362
7363         * gdb.ada/nested/hello.adb: New file.
7364         * gdb.ada/nested.exp: New testcase.
7365         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7366
7367 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
7368
7369         * gdb.mi/basic.c (return_1): New function.
7370         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7371         don't cause future evaluations of function to report
7372         creation of internal breakpoints.
7373
7374 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
7375
7376         * gdb.mi/mi-break.exp (test_error): New.
7377         Call it.
7378
7379 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
7380
7381         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7382         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7383
7384 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
7385
7386         * gdb.pascal/integers.pas: New test program.
7387         * gdb.pascal/integers.exp: New testcase.
7388
7389 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
7390
7391         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7392
7393 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
7394
7395         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7396         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7397
7398 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
7399
7400         * gdb.ada/formatted_ref: New test program.
7401         * gdb.ada/formatted_ref.exp: New testcase.
7402
7403         * gdb.cp/formatted-ref.cc: New file.
7404         * gdb.cp/formatted-ref.exp: New testcase.
7405
7406 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
7407
7408         * gdb.base/ptype.exp: Add testing of "ptype $pc".
7409
7410 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
7411
7412         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7413         (test_file_list_exec_source_file): Update to new macro-info field.
7414
7415 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
7416
7417         * gdb.ada/exprs: New test program.
7418         * gdb.ada/exprs.exp: New testcase.
7419
7420 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7421
7422         * dfp-test.c (DELTA, DELTA_B): New definitions.
7423         (double_val1, double_val2, double_val3, double_val4, double_val5,
7424         double_val6, double_val7, double_val8, double_val9, double_val10,
7425         double_val11, double_val12, double_val13, double_val14, dec32_val1,
7426         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7427         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7428         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7429         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7430         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7431         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7432         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7433         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7434         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7435         dec128_val16): New global variables.
7436         (decimal_dec128_align): New function.
7437         (decimal_mixed): Likewise.
7438         (decimal_many_args_dec32): Likewise.
7439         (decimal_many_args_dec64): Likewise.
7440         (decimal_many_args_dec128): Likewise.
7441         (decimal_many_args_mixed): Likewise.
7442         * dfp-test.exp: Add tests calling new inferior functions.
7443
7444 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
7445
7446         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7447         gdb.server/ext-run.exp: New files.
7448         * lib/gdbserver-support.exp (gdbserver_download): New.
7449         (gdbserver_start): New.  Update gdbserver expected
7450         output.
7451         (gdbserver_spawn): Use them.
7452         (gdbserver_start_extended): New.
7453
7454 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
7455
7456         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
7457         Run on GNU/Linux.
7458         (do_exec_tests): Check for systems which do not support catchpoints.
7459         Do not match START.
7460         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
7461         Run on GNU/Linux.  Enable verbose output.
7462         (check_fork_catchpoints): New.
7463         (explicit_fork_child_follow, catch_fork_child_follow)
7464         (tcatch_fork_parent_follow): Update expected messages.
7465         (do_fork_tests): Use check_fork_catchpoints.
7466         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
7467         Run on GNU/Linux.  Enable verbose output.
7468         (check_vfork_catchpoints): New.
7469         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7470         expected messages.
7471         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7472
7473 2008-01-29  Jim Blandy  <jimb@red-bean.com>
7474
7475         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7476         host' errors.
7477         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7478
7479 2008-01-29  Jim Blandy  <jimb@red-bean.com>
7480
7481         * gdb.threads/sigthread.c: Use barriers to ensure that
7482         child_thread and child_thread_two are always initialized before we
7483         start to use them.
7484
7485 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
7486
7487         * gdb.base/watchpoint-solib.exp: New.
7488         * gdb.base/watchpoint-solib.c: New.
7489         * gdb.base/watchpoint-solib-shr.c: New.
7490
7491 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
7492
7493         * gdb.base/gdb1056.exp: Add unsigned integer test.
7494
7495 2008-01-28  Doug Evans  <dje@google.com>
7496
7497         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7498
7499 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
7500
7501         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7502
7503         * gdb.base/expand-psymtabs.exp: Doc fix.
7504
7505 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
7506
7507         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7508
7509 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
7510
7511         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7512         -var-set-format.
7513
7514 2008-01-23  Chris Demetriou  <cgd@google.com>
7515
7516         * gdb.threads/thread_events.c: New testcase source file.
7517         * gdb.threads/thread_events.exp: New testcase expect file.
7518
7519 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
7520
7521         * lib/gdb.exp: Add the variable octal.
7522
7523         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7524         -var-set-format.
7525
7526 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
7527             Vladimir Prus  <vladimir@codesourcery.com>
7528
7529         * gdb.base/float.exp: Allow missing floating point for m68k and
7530         PowerPC.
7531
7532 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
7533
7534         * gdb.mi/basics.c: Setup for testing breakpoints
7535         ignore count.
7536         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7537         * gdb.mi/mi-cli.exp: Adjust.
7538         * gdb.mi/mi2-cli.exp: Adjust.
7539
7540 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
7541
7542         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7543         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
7544         with dummy_ptr's address.
7545         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7546         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7547         all targets.
7548         * gdb.mi/mi2-var-child.exp: Likewise.
7549
7550 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
7551
7552         * gdb.ada/null_array: New test program.
7553         * gdb.ada/null_array.exp: New testcase.
7554
7555 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
7556
7557         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7558         with required float modifiers.
7559
7560 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
7561
7562         * gdb.ada/funcall_param: New test program.
7563         * gdb.ada/funcall_param.exp: New testcase.
7564
7565 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
7566
7567         * gdb.ada/arrayparam: New test program.
7568         * gdb.ada/arrayparam.exp: New testcase.
7569
7570 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
7571
7572         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7573         landed.  Should also fix random failures in the test following it.
7574
7575 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7576
7577         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7578         for expressions with decimal float values.
7579         (test_dfp_conversions): New function to test casts to and from
7580         decimal float types.
7581         Call test_dfp_conversions.
7582         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7583         elements.
7584         (main): Initialize ds.float4 and ds.double8 elements.
7585         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
7586         string to new error message.
7587         (d64_set_tests): Likewise.
7588         (d128_set_tests): Likewise.
7589         Add tests for expressions with decimal float variables.  Add tests for
7590         conversions to and from decimal float types.
7591
7592 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
7593
7594         * gdb.ada/packed_tagged/comp_bug.adb: New file.
7595         * gdb.ada/packed_tagged.exp: New testcase.
7596
7597 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
7598
7599         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7600         gdb.ada/homonym/homonym_main.adb: New files.
7601         * gdb.ada/homonym.exp: New testcase.
7602
7603 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
7604
7605         * gdb.ada/packed_array.exp: Add testing of references to
7606         a packed array.
7607
7608 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
7609
7610         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7611         New files.
7612         * gdb.ada/type_coercion.exp: New testcase.
7613
7614 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
7615
7616         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7617         gdb.ada/tagged/foo.adb: New file.
7618         * gdb.ada/tagged.exp: New testcase.
7619
7620 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
7621
7622         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7623         gdb.ada/ptype_field/foo.adb: New files.
7624         * gdb.ada/ptype_field.exp: New testcase.
7625
7626 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
7627
7628         * gdb.ada/print_pc.exp: New testcase.
7629
7630 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
7631
7632         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7633         gdb.ada/taft_type/p.adb: New files.
7634         * gdb.ada/taft_type.exp: New testcase.
7635
7636 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
7637
7638         * gdb.ada/array_bounds/bar.adb: New file.
7639         * gdb.ada/array_bounds.exp: New testcase.
7640
7641 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
7642
7643         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7644         gdb.ada/arrayptr/foo.adb: New files.
7645         * gdb.ada/arrayptr.exp: New testcase.
7646
7647 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
7648
7649         * gdb.base/set-lang-auto.exp: New testcase.
7650
7651 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
7652
7653         * gdb.ada/fun_addr/foo.adb: New file.
7654         * gdb.ada/fun_addr.exp: New testcase.
7655
7656 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7657
7658         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7659         New files
7660
7661 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
7662
7663         * array_subscript_addr/p.adb: New file.
7664         * array_subscript_addr.exp: New testcase.
7665
7666 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
7667
7668         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7669         New files.
7670         * gdb.ada/str_cmp_ref.exp: New testcase.
7671
7672 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
7673
7674         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7675         gdb.ada/fun_in_declare/foo.adb: New files.
7676         * gdb.ada/fun_in_declare.exp: New testcase.
7677
7678 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
7679
7680         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7681         gdb.ada/ref_param/pck.ads: New files.
7682         * gdb.ada/ref_param.exp: New testcase.
7683
7684 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
7685
7686         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7687         gdb.ada/interface/foo.adb: New files.
7688         * gdb.ada/interface.exp: New testcase.
7689
7690 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
7691
7692         * gdb.base/multi-forks.exp: Consume all output from child
7693         processes before proceeding to next test.
7694
7695 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
7696
7697         * configure: Regenerated.
7698
7699 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
7700
7701         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7702         gdb.ada/fixed_cmp/fixed.adb: New files.
7703         * gdb.ada/fixed_cmp.exp: New testcase.
7704
7705 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
7706
7707         * gdb.ada/boolean_expr.exp: New testcase.
7708
7709 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
7710
7711         * gdb.base/multi-forks.exp: Doc fix.
7712
7713 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
7714
7715         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7716         * gdb.ada/char_param.exp: Do not compile our test program with
7717         -gnata, this is unnecessary.
7718         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7719
7720 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
7721
7722         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7723         gdb.ada/print_chars/foo.adb: New files.
7724         * gdb.ada/print_chars.exp: New testcase.
7725
7726 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
7727
7728         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7729         gdb.ada/char_param/foo.adb: New files.
7730         * gdb.ada/char_param.exp: New testcase.
7731
7732 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
7733
7734         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7735         hard-coding source line numbers into the test.
7736         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7737         gdb_get_line_number to find.
7738
7739 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
7740
7741         * gdb.base/ptype.c (highest): New struct type.
7742         (the_highest): New variable of that type.
7743         (main): Add dummy assignment to a field of variable the_highest.
7744         * gdb.base/ptype.exp: Test type printing of our new variable.
7745
7746 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
7747
7748         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7749         and record first explicitly generated thread number.
7750         Use that thread number for thread specific watchpoint test.
7751         Add iteration number to repetitive tests.
7752
7753 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7754             Jim Blandy  <jimb@codesourcery.com>
7755
7756         * gdb.base/expand-psymtabs.c: New testcase
7757         source file.
7758         * gdb.base/expand-psymtabs.exp: New testcase
7759         expect file.
7760
7761 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
7762
7763         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7764         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7765
7766 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
7767
7768         * gdb.ada/frame_args/foo.adb: New file.
7769         * gdb.ada/frame_args/pck.ads: New file.
7770         * gdb.ada/frame_args/pck.adb: New file.
7771         * gdb.ada/frame_args.exp: New testcase.
7772
7773 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
7774
7775         * gdb.base/frame-args.c: New file.
7776         * gdb.base/frame-args.exp: New testcase.
7777
7778 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
7779             Joseph Myers  <joseph@codesourcery.com>
7780
7781         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7782
7783 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
7784
7785         * gdb.mi/mi-pending.exp: New.
7786         * gdb.mi/mi-pending.c: New.
7787         * gdb.mi/mi-pendshr.c: New.
7788
7789 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
7790
7791         * gdb.base/default.exp: Update expected output for 'info catch'.
7792
7793 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
7794
7795         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7796         must be set to binary.
7797
7798 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
7799
7800         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7801
7802 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
7803
7804         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7805         gdb.mi/mi-file-transfer.exp: New.
7806
7807 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
7808
7809         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7810
7811 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
7812
7813         * gdb.trace/backtrace.exp: Fix a typo.
7814         * gdb.trace/circ.exp: Likewise.
7815         * gdb.trace/collection.exp: Likewise.
7816         * gdb.trace/limits.exp: Likewise.
7817         * gdb.trace/report.exp: Likewise.
7818         * gdb.trace/tfind.exp: Likewise.
7819         * gdb.trace/while-dyn.exp: Likewise.
7820
7821 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
7822
7823         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7824         objects of pointers that can't be dereferenced are now
7825         "noneditable".
7826
7827 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7828
7829         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7830         (target_cpu): Remove.
7831
7832 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
7833
7834         * gdb.base/ending-run.exp: Expect the list of cleared
7835         breakpoint to come in natural order, not the reversed one.
7836
7837 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
7838
7839         * gdb.mi/mi-var-child.c (do_child_deletion): New.
7840         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7841
7842 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
7843
7844         * gdb.base/printcmds.exp: New function
7845         test_printf_with_dfp.
7846
7847 2007-11-02  Doug Evans  <dje@google.com>
7848
7849         * gdb.disasm/t01_mov.s: Remove carriage returns.
7850         * gdb.disasm/t02_mova.s: Ditto.
7851         * gdb.disasm/t03_add.s: Ditto.
7852         * gdb.disasm/t04_sub.s: Ditto.
7853         * gdb.disasm/t05_cmp.s: Ditto.
7854         * gdb.disasm/t06_ari2.s: Ditto.
7855         * gdb.disasm/t07_ari3.s: Ditto.
7856         * gdb.disasm/t08_or.s: Ditto.
7857         * gdb.disasm/t09_xor.s: Ditto.
7858         * gdb.disasm/t10_and.s: Ditto.
7859         * gdb.disasm/t11_logs.s: Ditto.
7860         * gdb.disasm/t12_bit.s: Ditto.
7861         * gdb.disasm/t13_otr.s: Ditto.
7862
7863 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7864
7865         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7866
7867 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7868
7869         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7870         provide DFP support.
7871
7872 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
7873
7874         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7875         Test "set powerpc vector-abi".  Skip auto-detection tests for old
7876         toolchains.
7877
7878 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
7879
7880         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7881         with [string compare].
7882
7883 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
7884
7885         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7886         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7887
7888 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
7889
7890         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7891         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7892         * gdb.opt/Makefile.in: New makefile.
7893         * Makefile.in: Create new directory "gdb.opt".
7894         * configure.ac: Add "gdb.opt" directory.
7895         * configure: Regenerated.
7896
7897 2007-10-25  Doug Evans  <dje@google.com>
7898
7899         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7900         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7901
7902 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
7903             Thiago Jung Bauermann  <bauerman@br.ibm.com>
7904
7905         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7906         Floating Point expressions.
7907         * gdb.base/dfp-test.exp: new file adding tests for Decimal
7908         Floating Point variables.
7909         * gdb.base/dfp-test.c: new file containing program with Decimal
7910         Floating variables, used by gdb.base/dfp-test.exp.
7911
7912 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
7913
7914         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7915
7916 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7917
7918         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7919         compiling test case with GCC.
7920         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7921
7922 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7923
7924         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7925         format changes.
7926
7927 2007-10-18  Michael Snyder  <msnyder@specifix.com>
7928
7929         * gdb.base/dbx.exp: Add missing "-re " operator.
7930
7931 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
7932
7933         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7934         * configure.ac: Removed trailing spaces after backslash.
7935         * gdb.modula2: New directory.
7936         * gdb.modula2/Makefile.in: New file.
7937         * gdb.modula2/unbounded-array.exp: New file.
7938         * gdb.modula2/unbounded1.c: New file.
7939
7940 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
7941
7942         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7943
7944 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
7945
7946         * gdb.base/sigstep.c (main): Add checks for
7947         return values for setitimer call.
7948         Call setitimer again with itimer = ITIMER_REAL
7949         if first call to setitimer fails.
7950
7951 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
7952
7953         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7954         of $timeout.
7955
7956 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
7957
7958         * gdb.server/server-run.exp: Test for dynamic linker symbols.
7959
7960 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
7961
7962         * lib/gdb.exp (gdb_run_cmd): Move comment outside
7963         of gdb_expect call, to avoid interruption.
7964
7965 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
7966
7967         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7968         (v_unsigned_long_long, v_long_long_array)
7969         (v_signed_long_long_array, v_unsigned_long_long_array)
7970         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7971         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7972         [!NO_LONG_LONG]: New.
7973         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7974         v_long_long_member.
7975
7976         (v_long_long_func, v_signed_long_long_func)
7977         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7978         (main) [!NO_LONG_LONG]: Initialize long long variants.
7979
7980         * gdb.base/whatis.exp: If board file requests no_long_long, build
7981         test with NO_LONG_LONG defined.  Test long long, signed long long,
7982         and unsigned long long variants but only if board file doesn't
7983         disable it.
7984
7985 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
7986             Daniel Jacobowitz  <dan@codesourcery.com>
7987
7988         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7989         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7990         * configure: Regenerated.
7991         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7992         gdb.pascal/types.exp, lib/pascal.exp: New files.
7993
7994 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
7995
7996         * gdb.cp/classes.exp (do_tests): Always step to the line after the
7997         call.
7998         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7999         to return to the call.
8000         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8001         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8002         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8003         * gdb.mi/mi-until.exp (test_until): Likewise.
8004         * gdb.mi/mi2-until.exp (test_until): Likewise.
8005
8006 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
8007
8008         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8009         two-char array.
8010         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8011
8012 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
8013
8014         * gdb.threads/watchthreads.c (thread_function): Sleep between
8015         iterations.
8016         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8017         at once for S/390.  Generate matching fails and passes.
8018
8019 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
8020
8021         * gdb.mi/var-cmd.c (do_children_tests): Initialize
8022         the 'struct_declarations' variable to zeros.
8023
8024 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
8025
8026         * gdb.cp/mb-ctor.cc: New.
8027         * gdb.cp/mb-ctor.exp: New.
8028         * gdb.cp/mb-templates.cc: New.
8029         * gdb.cp/mb-templates.exp: New.
8030
8031 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
8032
8033         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8034
8035 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
8036
8037         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8038         targets.
8039         * configure: Regenerate.
8040
8041 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
8042
8043         * gdb.base/annota1.exp: Adjust for 'info break'
8044         format changes.
8045         * gdb.base/annota3.exp: Likewise.
8046         * gdb.base/break.exp: Likewise.
8047         * gdb.base/condbreak.exp: Likewise.
8048         * gdb.base/pending.exp: Likewise.
8049         * gdb.base/sepdebug.exp: Likewise.
8050         * gdb.base/unload.exp: Likewise.
8051         * gdb.base/ovldbreak.exp: Likewise.
8052
8053 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
8054
8055         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8056         messages.
8057         * gdb.base/chng-syms.exp: Likewise.
8058         * gdb.base/unload.exp: Likewise.
8059
8060 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
8061
8062         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8063
8064 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
8065
8066         * schedlock.c (NUM): Change to 1.
8067         (main): Use args[0] for the main thread.
8068         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
8069         regardless of the number of threads.
8070
8071 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
8072
8073         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8074         type down.
8075         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8076         test.
8077         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8078         watchpoint type down.
8079         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8080         test.
8081
8082 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
8083
8084         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8085         Move all the tests here and run them twice, once using software
8086         watchpoints and once using hardware watchpoints.
8087         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8088
8089 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
8090
8091         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8092         test.
8093
8094 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
8095
8096         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8097         build-id.
8098
8099         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8100         know about $ORIGIN.  Calculate output dir from $dest instead of
8101         using ${objdir}/{$subdir}.
8102
8103 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
8104
8105         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8106         gcore, before continuing with the test.
8107
8108 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
8109
8110         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8111         * gdb.mi/mi-watch.exp: Likewise.
8112
8113 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
8114             Jim Blandy  <jimb@codesourcery.com>
8115
8116         * gdb.arch/i386-sse.exp: Do not expect character constants.
8117         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8118         * gdb.base/display.exp: Allow print/s.
8119         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8120         and unsigned char array changes.
8121
8122 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
8123
8124         * gdb.base/display.exp: Add tests for printf %p.
8125
8126 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
8127
8128         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8129         the dll name to unicode.
8130
8131 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8132
8133         * gdb.base/default.exp (show version): Update the version text.
8134         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8135
8136 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8137
8138         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8139         New files.
8140
8141 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
8142
8143         * lib/gdb.exp (build_id_debug_filename_get): New function.
8144         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8145         Remove the generate DEBUG file for the future testcase runs.
8146         New testcase for the NT_GNU_BUILD_ID retrieval.
8147         Move the final testing step to ...
8148         (test_different_dir): ... a new function.
8149         New parameter XFAIL to XFAIL all the tests performed.
8150         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8151         New parameter TYPE to PF_PREFIX all the tests performed.
8152
8153 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
8154
8155         * gdb.mi/mi-var-cp.cc (path_expression): New
8156         function.
8157         * gdb.mi/mi-var-cp.exp: Run path exression tests.
8158
8159 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
8160
8161         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8162         to fit into SPU Local Store memory.
8163
8164 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
8165
8166         * gdb.base/default.exp: Adjust the expected output of "info
8167         warranty" after the switch to GPLv3.
8168
8169 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
8170
8171         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8172         to 30000 (from 20000).
8173
8174 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
8175
8176         Switch the license of all .exp files to GPLv3.
8177         Switch the license of all .f and .f90 files to GPLv3.
8178         Switch the license of all .s and .S files to GPLv3.
8179
8180 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
8181
8182         * configure.ac: Switch license to GPLv3.
8183
8184 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
8185
8186         Switch the licensing to GPLv3 for all .ads and .adb files.
8187
8188 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
8189
8190         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8191         and t_int_double.
8192         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8193
8194 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
8195
8196         * gdb.base/step-line.c: Switch license to GPL version 3, and
8197         update copyright year.
8198         * gdb.base/step-line.inp: Likewise.
8199
8200 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
8201
8202         * gdb.base/gdb1555.exp: Make expected output immune to formatting
8203         changes inside gdb1555.c.
8204         * gdb.base/pending.exp: Likewise.
8205
8206 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
8207
8208         * config/default.exp: New file.
8209
8210 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
8211
8212         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8213         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8214
8215 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
8216
8217         * gdb.base/dump.exp: Force the correct endianness for binary
8218         formats not carrying this information.
8219
8220 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
8221
8222         * gdb.threads/staticthreads.exp: Match .*sem_post.
8223
8224 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
8225
8226         * gdb.base/readline.exp (operate_and_get_next): Match the final
8227         prompt.
8228
8229 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
8230
8231         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8232         to restarting SID.
8233
8234 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
8235
8236         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8237         prior to `gdb_start'.
8238
8239 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
8240
8241         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
8242         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8243         Remove call to gdb_unload.
8244
8245 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
8246             Daniel Jacobowitz  <dan@codesourcery.com>
8247
8248         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8249         for __WIN32__.
8250         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
8251         * gdb.base/unload.exp: Use shared library test routines.
8252
8253 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
8254
8255         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8256         * gdb.base/solib-symbol-lib.c: Likewise.
8257         * gdb.base/solib-symbol-main.c: Likewise.
8258
8259 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
8260
8261         * config/gdbserver.exp (gdb_reconnect): New.
8262         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8263         gdb.base/solib-disc.exp: New files.
8264         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8265         remote debugging".
8266         (gdb_compile): Add shlib_load flag.
8267         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8268         port.
8269         (gdbserver_reconnect): New.
8270
8271 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
8272             Daniel Jacobowitz  <dan@codesourcery.com>
8273
8274         * gdb.base/annota3.exp: Test for if construct.
8275
8276 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
8277
8278         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8279
8280 2007-06-21  Chris Dearman  <chris@mips.com>
8281             Maciej W. Rozycki  <macro@mips.com>
8282
8283         * gdb.base/display.exp: Allow a newline after display/i.
8284         * gdb.base/pc-fp.exp: Likewise.
8285         * gdb.base/sigbpt.exp: Likewise.
8286
8287 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
8288
8289         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
8290         required features to be included.
8291
8292 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
8293
8294         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8295         in info threads output.
8296
8297 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8298             Markus Deuling  <deuling@de.ibm.com>
8299
8300         * gdb.arch/spu-info.exp: New testcase.
8301         * gdb.arch/spu-info.c: New file.
8302
8303 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
8304
8305         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8306         tpcs_offset.  Restore lr after the call.
8307         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8308
8309 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
8310
8311         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8312         (gdbserver_run): Kill any running gdbserver.
8313         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8314
8315 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
8316
8317         * gdb.base/sigbpt.exp: Preset segv_addr.
8318
8319 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
8320
8321         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8322         (gdb_compile_shlib): Likewise.
8323         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8324         (default_gdb_init): Clear cleanfiles.
8325         (gdb_finish): Delete recorded cleanfiles.
8326         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8327
8328         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8329         Do not use isnative.
8330         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8331         gdb.base/so-impl-ld.exp: Likewise.
8332         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
8333         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
8334         gdb_compile.
8335
8336 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
8337
8338         * config/unknown.exp: Remove.
8339
8340 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
8341
8342         * gdb.base/info-proc.exp: Check is_remote.
8343
8344 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
8345
8346         * gdb.base/gcore.exp: Initialize variable core_supported.
8347
8348 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
8349
8350         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8351
8352 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
8353
8354         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8355         * gdb.threads/print-threads.exp (test_all_threads): Allow
8356         negative and hexadecimal thread IDs.
8357
8358 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
8359
8360         * gdb.java/jprint.java (public): Avoid invalid call to static
8361         method.
8362
8363 2007-05-14  Denis Pilat  <denis.pilat@st.com>
8364
8365         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8366         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8367         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8368         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8369         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8370
8371 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8372
8373         * gdb.base/overlays.exp: Add support for targets with only code
8374         overlay support, not data overlay.  Support spu-*-* target in
8375         this mode.
8376         * gdb.base/ovlymgr.c: Provide stubs for spu target.
8377         * gdb.base/spu.ld: New file.
8378
8379 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
8380
8381         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8382
8383 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
8384
8385         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8386
8387 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
8388
8389         * gdb.java/jmain.exp: Handle demangled names with and without method
8390         signatures.
8391
8392 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
8393
8394         * gdb.mi/mi-syn-frame.c (main, foo, bar)
8395         (have_a_very_merry_interrupt): Remove calls to puts.
8396         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8397         inferior output.
8398         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
8399         test names.
8400
8401 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
8402             Daniel Jacobowitz  <dan@codesourcery.com>
8403
8404         * gdb.base/auxv.exp (core_works): Also check is_remote.
8405         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8406
8407 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
8408
8409         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8410         message, not the undefined 'module' variable.
8411         * gdb.base/siginfo.exp: Likewise.
8412         * gdb.base/sigstep.exp: Likewise.
8413         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8414         serialport.
8415         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8416
8417 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
8418
8419         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8420         target sim fails.  Return 0 otherwise.
8421         (gdb_load): Return prematurely if gdb_target_sim fails.
8422
8423 2007-04-16  Denis Pilat  <denis.pilat@st.com>
8424
8425         * gdb.base/setshow.exp: Reset height after having set it to 100.
8426
8427 2007-04-16  Denis Pilat  <denis.pilat@st.com>
8428
8429         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8430
8431 2007-04-16  Denis Pilat  <denis.pilat@st.com>
8432
8433         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8434
8435 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
8436
8437         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8438         tests. Run the frozen varobjs test.
8439         * gdb.mi/var-cmd.c (do_frozen_tests): New.
8440         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8441
8442 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8443
8444         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8445         gdb.base/type-opaque.exp: New files.
8446
8447 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
8448
8449         * gdb.mi/mi-var-child.c
8450         (do_children_tests): User char[2] instead of
8451         char so that automatic printing of pointers to char
8452         don't give unpredicable result.
8453         * gdb.mi/var-cmd.c (do_locals_test): Initialize
8454         local variables.
8455         * gdb.mi/mi-var-child.exp: Step to right line
8456         of do_children_tests.
8457         * gdb.mi/mi2-var-child.exp: Likewise.
8458         * gdb.mi/mi-var-cmd.exp: Step to right line of
8459         do_locals_tests.
8460         (do_children_tests): User char[2] instead of
8461         char so that automatic printing of pointers to char
8462         don't give unpredicable result.
8463         * gdb.mi/mi2-var-cmd.exp: Likewise.
8464         * lib/mi-support.exp (mi_continue_to_line):
8465         Pass test name to mi_wait_for_stop.
8466
8467 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
8468
8469         * gdb.asm/asm-source.exp: Remove d10v case.
8470         * lib/gdb.exp (skip_cplus_tests): Likewise.
8471         * gdb.asm/d10v.inc: Deleted.
8472
8473 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
8474
8475         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8476
8477 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
8478
8479         * config/netware.exp: Delete file.
8480
8481 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
8482
8483         * gdb.dwarf2/dw2-noloc.S: New file.
8484         * gdb.dwarf2/dw2-noloc.exp: New file.
8485
8486 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
8487
8488         * gdb.cp/method2.cc: New test.
8489         * gdb.cp/method2.exp: New test.
8490         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8491
8492 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
8493
8494         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8495
8496 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
8497
8498         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8499
8500 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
8501
8502         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8503         (gdb_load): Delete, replace with...
8504         (gdb_reload): ...this.
8505         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8506         * gdb.server/server-mon.exp: Likewise.
8507         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8508         (gdb_start_cmd): New.
8509         (gdb_file_cmd): Save the last loaded file.
8510         (gdb_reload): New.
8511         (gdb_gnu_strip_debug): Use transform.
8512         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8513         support here.  Use new $last_loaded_file.  Check mtime.
8514         (gdb_target_cmd): Handle ObjC failure case.
8515         (infer_host_exec): Delete.
8516         (gdbserver_load): Rename to...
8517         (gdbserver_run): ...this.  Simplify.
8518         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8519         (mi_gdb_load): Move most contents to a new function...
8520         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
8521         (mi_run_cmd): Use mi_gdb_target_load.
8522         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8523         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8524         Use gdb_run_cmd.
8525         * gdb.base/charsign.exp: Remove incorrect comment.
8526         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8527         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8528         gdb.base/start.exp: Use gdb_start_cmd.
8529
8530 2007-03-23  Nigel Stephens  <nigel@mips.com>
8531             Maciej W. Rozycki  <macro@mips.com>
8532
8533         * gdb.base/sigbpt.exp: Fix the message when skipping test.
8534         * gdb.base/signull.exp: Similarly.
8535
8536 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8537
8538         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8539         messages available to test cases (like chng-sym.exp).
8540
8541 2007-03-14  Andreas Schwab  <schwab@suse.de>
8542
8543         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8544         format changes.
8545
8546 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
8547
8548         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8549         (optimized_1): New.
8550         (main): Call optimized_1.
8551         (gdb2029): Correct typos.  Call gdb2029_marker.
8552         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
8553         for gdb2029.
8554
8555 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
8556
8557         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8558         as tabs.  Remove redundant test pattern.
8559
8560 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8561
8562         * gdb.base/long_long.exp: Accept optional symbol name in <...>
8563         for /a format output.
8564
8565 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
8566
8567         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8568         collect output incrementally.
8569
8570 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8571
8572         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8573         for -var-create lpcharacter test.
8574         * gdb.mi/mi2-var-cmd.exp: Likewise.
8575
8576 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8577
8578         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8579         pass on targets where address zero is readable.
8580
8581 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8582
8583         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8584         just a single architecture.
8585
8586 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8587
8588         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8589         (fetch_all_registers): New function, uses gdb_test_multiple and
8590         exp_continue to fetch inferior output line-by-line.
8591         Replace all uses of do_get_all_registers by fetch_all_registers.
8592
8593 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8594
8595         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8596         in target_info.
8597
8598 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
8599
8600         * gdb.threads/manythreads.exp: Use $message string for
8601         consistancy; add a default (timeout) case.
8602
8603 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
8604
8605         * gdb.base/watchpoint.exp: Fix truncated comment.
8606
8607 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
8608
8609         * Makefile.in: Remove spurious single-quotes from sed command.
8610
8611 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
8612
8613         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
8614         func.
8615         * gdb.mi/mi2-var-cmd.exp: Likewise.
8616
8617 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
8618
8619         * gdb.dwarf2/dw2-producer.S: New file.
8620         * gdb.dwarf2/dw2-producer.exp: New testcase.
8621
8622 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
8623
8624         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8625         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8626         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8627         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8628         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8629         Revert tests to use mi_gdb_test and include value field in output
8630         of -var-create.
8631
8632 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
8633
8634         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8635
8636 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
8637
8638         * gdb.base/maint.exp: Remove full paths from test names.
8639         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8640         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8641
8642 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
8643
8644         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8645
8646 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
8647
8648         * gdb.server/server-mon.exp: New test.
8649
8650 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
8651
8652         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8653
8654 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
8655
8656         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8657         register capitalization.
8658
8659 2007-02-13  Denis Pilat  <denis.pilat@st.com>
8660
8661         * gdb.mi/mi-var-invalidate.exp: New file.
8662
8663 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
8664
8665         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8666
8667 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
8668
8669         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8670
8671 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
8672
8673         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8674         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8675
8676 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
8677
8678         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8679         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8680         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8681         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8682         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8683         * gdb.mi/gdb792.exp, lib/mi-support.exp:
8684         Update tests to include value field in output of -var-create.
8685
8686 2007-02-08  Andreas Schwab  <schwab@suse.de>
8687
8688         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8689
8690 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
8691
8692         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8693         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8694
8695 2007-02-02  Denis Pilat  <denis.pilat@st.com>
8696
8697         * gdb.threads/threadapply.exp: check that frame is not changed by
8698         the thread apply all command.
8699
8700 2007-01-31  Andreas Schwab  <schwab@suse.de>
8701
8702         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8703
8704         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8705         in the dwarf sections.
8706         * gdb.dwarf2/mac-fileno.S: Likewise.
8707
8708         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8709         bspstore register on ia64.
8710
8711 2007-01-29  Andreas Schwab  <schwab@suse.de>
8712
8713         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8714         "frame-begin" annotation.
8715
8716         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8717         number of "frames-invalid" annotations.
8718
8719 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
8720
8721         * gdb.base/commands.exp: Call if_commands_test.
8722         (gdb_test_no_prompt, if_commands_test): New.
8723
8724 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
8725
8726         * gdb.threads/sigthread.c (NSIGS): Make bigger.
8727
8728 2007-01-27  Andreas Schwab  <schwab@suse.de>
8729
8730         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8731         .short/.int/.quad in the dwarf sections.
8732         * gdb.dwarf2/dw2-intercu.S: Likewise.
8733         * gdb.dwarf2/dw2-intermix.S: Likewise.
8734
8735 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
8736
8737         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8738         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8739         array.
8740         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8741         * gdb.base/setvar.exp: Likewise.
8742
8743 2007-01-26  Andreas Schwab  <schwab@suse.de>
8744
8745         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8746         test.
8747
8748         * gdb.base/multi-forks.exp ("restart $i"): Also match
8749         __kernel_syscall_via_break.
8750
8751 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
8752
8753         * lib/mi-support.exp (mi_delete_varobj): New.
8754         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8755         testcase.
8756         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8757         (main): Call the above.
8758         (reference_update_test, base_in_reference_test)
8759         (reference_to_pointer): Delete the created varobjs.
8760
8761 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
8762
8763         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8764         * configure: Regenerated.
8765         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8766         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8767         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8768         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8769         * lib/gdb.exp (gdb_skip_xml_test): New function.
8770
8771 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
8772
8773         * gdb.base/sigrepeat.exp: Correct error message.
8774
8775 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8776             Daniel Jacobowitz  <dan@codesourcery.com>
8777
8778         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8779         gdb.arch/i386-gnu-cfi-asm.S: New files.
8780
8781 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
8782
8783         * lib/gdb.exp: Abort on missing `site.exp'.
8784
8785 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
8786             Daniel Jacobowitz  <dan@codesourcery.com>
8787
8788         * gdb.base/included.c, gdb.base/included.exp,
8789         gdb.base/included.h: New files.
8790
8791 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
8792
8793         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8794         (maximize_rlimit): Reduce limits on 64-bit systems.
8795
8796 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
8797
8798         From Marcus Deuling <deuling@de.ibm.com>:
8799         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8800         every case.
8801
8802 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
8803
8804         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8805         (test_path_specification): Use objdir instead of srcdir to always
8806         get an absolute filename.
8807
8808 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
8809
8810         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8811
8812 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
8813
8814         * gdb.mi/mi-var-cp.cc (reference_update_tests):
8815         Make sure the variable we're using is in scope.
8816         (reference_to_pointer): Likewise.
8817
8818 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
8819
8820         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8821         has no debug information.
8822
8823 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
8824
8825         * gdb.base/annota1.exp: Remove extra send_gdb.
8826
8827 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
8828
8829         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8830
8831 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
8832
8833         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8834
8835 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
8836             Daniel Jacobowitz  <dan@codesourcery.com>
8837
8838         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8839         lcharacter or linteger change.  Correct duplicated test name.
8840         * gdb.mi/mi2-var-cmd.exp: Likewise.
8841
8842 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
8843
8844         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8845
8846 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
8847
8848         * gdb.base/nofield.c: New file.
8849         * gdb.base/nofield.exp: New testcase.
8850
8851 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
8852
8853         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8854
8855         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8856          test.
8857
8858 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8859
8860         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8861
8862 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8863
8864         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8865         when continuing.
8866
8867 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
8868
8869         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8870         Expect ".exe" extension.
8871
8872 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
8873
8874         * gdb.base/charset.exp: Add explicit filename to break.
8875         * gdb.base/dbx.exp: Add explicit filename to breaks.
8876
8877 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
8878
8879         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8880         * gdb.mi/mi2-file.exp: Likewise.
8881
8882 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
8883
8884         Implement specification of MI tests as comments
8885         in C and C++ sources.
8886         * lib/mi-support.exp (mi_autotest_data): New variable.
8887         (mi_autotest_source): New variable.
8888         (count_newlines, mi_prepare_inline_tests)
8889         (mi_get_inline_test, mi_continue_to_line)
8890         (mi_run_inline_test, mi_tbreak)
8891         (mi_send_resuming_command, mi_wait_for_stop): New functions.
8892         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8893         Run inline tests.
8894         * gdb.mi/mi-var-cp.cc: Define tests here.
8895
8896 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
8897
8898         Simplify usage of mi_continue_to.
8899         * lib/mi-support.exp (mi_runto_helper): Renamed
8900         from mi_runto, added new parameter 'run_or_continue'.
8901         (mi_runto): Use mi_runto_helper.
8902         (mi_continue_to): Accept just function name as parameter.
8903         Use mi_runto_helper.
8904         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8905         * gdb.mi/mi2-var-cmd.exp: Likewise.
8906
8907 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
8908
8909         Make this testcase a bit more realistic. The current code
8910         is too simplistic, and allows the compiler to optimize out
8911         some of the entities we need for this testcase.
8912         * gdb.ada/null_record/bar.ads (Void_Star): New type.
8913         (Do_Nothing): Add extra parameter.
8914         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8915         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8916         by using a variable of type Void_Star.
8917
8918 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
8919
8920         * gdb.ada/catch_ex/foo.adb: New file.
8921         * gdb.ada/catch_ex.exp: New testcase.
8922
8923 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
8924
8925         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8926         pass --image-base to linker.
8927
8928 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8929             Daniel Jacobowitz  <dan@codesourcery.com>
8930
8931         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
8932         secondary prompts.
8933
8934 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8935
8936         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8937         output.  Test the types of members and member pointers.
8938         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8939         gdb/2092.
8940         * gdb.cp/member-ptr.exp: Search for a comment instead of a
8941         statement.  Enable for GCC.  Update expected output for some tests
8942         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
8943         layout.
8944         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8945         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8946         (Diamond::vget_base): New.
8947         (main): Add new tests.
8948         * gdb.cp/printmethod.exp: Update expected output for member functions.
8949         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8950         print pEe->D::vg().
8951
8952 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8953
8954         * gdb.threads/tls.exp: Allow stops in sem_post.
8955
8956 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
8957
8958         * gdb.base/annota1.exp: Allow .*printf in backtraces.
8959         * gdb.base/annota3.exp: Likewise.
8960         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8961         again (instead of timing out).
8962         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8963         GCC bug 26475.
8964         * gdb.java/jmisc.exp: Adjust to work with method signatures including
8965         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
8966         test from jmisc1.exp.
8967         * gdb.java/jmisc1.exp: Delete.
8968         * gdb.java/jprint.exp: Adjust to work with method signatures including
8969         return types.
8970         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8971         * gdb.threads/linux-dp.exp: Don't be confused by program output.
8972         * lib/java.exp (compile_java_from_source): Pass the correct type
8973         to target_compile.
8974
8975 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
8976
8977         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8978         (stack_align_edx): New function.
8979         (stack_align_eax): New function.
8980         (main): Add calls to stack_align_edx and stack_align_eax.
8981         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8982         Add testing for the cases where the register used during a stack
8983         realignment is edx. Same for eax.
8984
8985 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
8986
8987         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8988         and generic PE targets.
8989
8990 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
8991
8992         * gdb.ada/array_return.exp: Update copyright date list.
8993
8994 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
8995
8996         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8997         (Create_Small_Float_Vector): New function.
8998         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8999         function body.
9000         * gdb.ada/array_return/p.adb: Use new type and function from
9001         package Pck.
9002         * gdb.ada/array_return.exp: Add a test verifying that GDB is
9003         able to print the value returned by a function returning an
9004         array of float.
9005
9006 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
9007
9008         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9009         The associated tests should be PASSing.
9010
9011 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
9012
9013         Test for base in references.
9014         * gdb.mi/mi-var-cp.cc: Add test code.
9015         * gdb.mi/mi-var-cp.exp: Test for bases in references.
9016         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9017         * gdb.mi/mi2-watch.exp: Likewise.
9018         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9019         (mi_list_varobj_children): New function.
9020
9021 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
9022
9023         * lib/mi-support.exp
9024         (mi_runto): Accept "()" after function name.
9025         (mi_create_varobj): New function.
9026         (mi_varobj_update): New function.
9027         (mi_Check_varobj_value): New function.
9028         * gdb.mi/mi-var-cp.exp: New file.
9029         * gdb.mi/mi-var-cp.cc: New file.
9030
9031 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
9032
9033         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9034         gdb.base/weaklib2.c: New files.
9035
9036 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
9037
9038         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9039         info.  Adjust test names.
9040
9041         * gdb.base/break.c (main): Move position of malloc.
9042         * gdb.base/break.exp: Revert mistaken checkin.
9043
9044 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
9045
9046         * gdb.mi/mi-var-cmd.exp: Check -var-update after
9047         assignement of arrays and function pointers.
9048         * gdb.mi/var-cmd.c: Add declaration necessary for above
9049         tests.
9050
9051 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
9052
9053         * gdb.base/break.c (main): Call malloc.
9054
9055         * gdb.threads/linux-dp.exp: Read thread table before and after
9056         creating each philosopher and verify it.
9057
9058 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
9059             Paul Brook  <paul@codesourcery.com>
9060             Daniel Jacobowitz  <dan@codesourcery.com>
9061
9062         * gdb.base/ending-run.exp: Flatten expect script stepping out of
9063         main to remove duplication.  Add start function of the form
9064         '_*start[1-9]*'. Add RVDS start function.
9065
9066 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
9067
9068         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9069
9070 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9071
9072         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9073         * gdb.asm/spu.inc: New file.
9074         * gdb.base/term.exp: Disable if [target_info exists noargs].
9075         * gdb.gdb/complaints.exp: Disable if ![isnative].
9076         * gdb.gdb/selftest.exp: Likewise.
9077         * gdb.gdb/observer.exp: Likewise.
9078         * gdb.gdb/xfullpath.exp: Likewise.
9079         * gdb.base/attach.exp: Disable on SPU target.
9080         * gdb.cp/bs145503.exp: Likewise.
9081         * gdb.cp/exception.exp: Likewise.
9082         * gdb.cp/userdef.exp: Likewise.
9083
9084 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
9085
9086         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9087
9088 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
9089
9090         * gdb.base/completion.exp: Fix completion tests for
9091         'info' and 'info '.
9092         * gdb.base/help.exp (help_test_raw, test_class_help)
9093         (test_prefix_command_help): Move...
9094         * lib/gdb.exp: Here.
9095         * gdb.base/main.exp: Adjust.
9096         * gdb.cp/maint.exp: Adjust.
9097         * gdb.trace/tracecmd.exp: Use test_help_class.
9098
9099 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
9100
9101         * gdb.stabs/weird.exp (print_weird_var): Use
9102         gdb_test_multiple instead of gdb_expect.
9103
9104 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
9105
9106         * gdb.base/help.exp (help_test_raw): New.
9107         (test_class_help): New.
9108         (test_prefix_command_help): New.
9109         Adjust testcases.
9110
9111 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
9112
9113         * gdb.base/constvars.c (main): Write to crass and crips, so that
9114         they are allocated by the compiler.
9115
9116 2006-10-27  Andreas Schwab  <schwab@suse.de>
9117
9118         * gdb.base/multi-forks.exp: Use "detach fork" instead of
9119         "detach-fork".
9120
9121 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
9122
9123         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9124         of patterns.
9125
9126 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
9127
9128         * gdb.base/sepdebug.exp: Remove debug format test.
9129         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9130         Handle no-symtab.
9131         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9132
9133 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
9134
9135         * gdb.threads/manythreads.c (thread_function, main): Don't cast
9136         int to pointer or pointer to int.
9137         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9138
9139 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
9140
9141         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9142
9143 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9144
9145         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9146
9147 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
9148
9149         PR c++/2116
9150         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9151
9152 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
9153
9154         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9155         the corresponding bug has been fixed in GDB (PR/2018).
9156
9157 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
9158
9159         * gdb.base/subst.exp: New testcase.
9160
9161 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
9162
9163         * gdb.ada/array_return/pck.ads: Add copyright notice.
9164         * gdb.ada/array_return/pck.adb: Likewise.
9165         * gdb.ada/array_return/p.adb: Likewise.
9166         * gdb.ada/exec_changed/first.adb: Likewise.
9167         * gdb.ada/exec_changed/second.adb: Likewise.
9168
9169 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
9170
9171         * gdb.ada/watch_arg/watch.adb: New file.
9172         * gdb.ada/watch_arg.exp: New testcase.
9173
9174 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
9175
9176         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9177         via string_to_regexp.
9178         * gdb.mi/mi2-basics.exp: Likewise.
9179
9180 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
9181
9182         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9183         Remove unused / obsolete files.
9184
9185 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
9186
9187         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9188
9189 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
9190
9191         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9192         HIGH_FRAME argument to -stack-list-arguments can be larger than
9193         the number of frames.
9194
9195 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
9196
9197         * gdb.base/args.c (main): Add breakpoint marker.
9198         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
9199         really test empty arguments.
9200         (args_load): Delete.
9201         (args_test): New.
9202
9203 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
9204
9205         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9206         check for one file.
9207
9208 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
9209
9210         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9211         HIGH_FRAME argument to -stack-list-locals can be larger than
9212         the number of frames.
9213
9214 2006-08-18  Fred Fish  <fnf@specifix.com>
9215
9216         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9217         '$' in front of skip_vmx_tests_saved when setting that.
9218
9219 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
9220
9221         * gdb.base/trace-commands.exp: New file.
9222
9223 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
9224             Daniel Jacobowitz  <dan@codesourcery.com>
9225
9226         * gdb.base/step-bt.exp: Make hexadecimal address optional in
9227         expected output of the backtrace commands.
9228
9229 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
9230
9231         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9232         untested followed by return combination.
9233         * gdb.arch/altivec-regs.exp: Likewise.
9234         * gdb.arch/e500-abi.exp: Likewise.
9235         * gdb.arch/e500-regs.exp: Likewise.
9236         * gdb.arch/gdb1291.exp: Likewise.
9237         * gdb.arch/gdb1431.exp: Likewise.
9238         * gdb.arch/gdb1558.exp: Likewise.
9239         * gdb.arch/i386-prologue.exp: Likewise.
9240         * gdb.arch/i386-unwind.exp: Likewise.
9241         * gdb.asm/asm-source.exp: Likewise.
9242         * gdb.base/a2-run.exp: Likewise.
9243         * gdb.base/advance.exp: Likewise.
9244         * gdb.base/all-bin.exp: Likewise.
9245         * gdb.base/annota1.exp: Likewise.
9246         * gdb.base/annota3.exp: Likewise.
9247         * gdb.base/args.exp: Likewise.
9248         * gdb.base/arithmet.exp: Likewise.
9249         * gdb.base/assign.exp: Likewise.
9250         * gdb.base/async.exp: Likewise.
9251         * gdb.base/attach.exp: Likewise.
9252         * gdb.base/bang.exp: Likewise.
9253         * gdb.base/bigcore.exp: Likewise.
9254         * gdb.base/bitfields.exp: Likewise.
9255         * gdb.base/bitfields2.exp: Likewise.
9256         * gdb.base/break.exp: Likewise.
9257         * gdb.base/call-sc.exp: Likewise.
9258         * gdb.base/call-strs.exp: Likewise.
9259         * gdb.base/callfuncs.exp: Likewise.
9260         * gdb.base/checkpoint.exp: Likewise.
9261         * gdb.base/chng-syms.exp: Likewise.
9262         * gdb.base/code-expr.exp: Likewise.
9263         * gdb.base/commands.exp: Likewise.
9264         * gdb.base/completion.exp: Likewise.
9265         * gdb.base/cond-expr.exp: Likewise.
9266         * gdb.base/condbreak.exp: Likewise.
9267         * gdb.base/consecutive.exp: Likewise.
9268         * gdb.base/constvars.exp: Likewise.
9269         * gdb.base/corefile.exp: Likewise.
9270         * gdb.base/cvexpr.exp: Likewise.
9271         * gdb.base/dbx.exp: Likewise.
9272         * gdb.base/define.exp: Likewise.
9273         * gdb.base/detach.exp: Likewise.
9274         * gdb.base/display.exp: Likewise.
9275         * gdb.base/dump.exp: Likewise.
9276         * gdb.base/ena-dis-br.exp: Likewise.
9277         * gdb.base/ending-run.exp: Likewise.
9278         * gdb.base/environ.exp: Likewise.
9279         * gdb.base/eval-skip.exp: Likewise.
9280         * gdb.base/exprs.exp: Likewise.
9281         * gdb.base/fileio.exp: Likewise.
9282         * gdb.base/finish.exp: Likewise.
9283         * gdb.base/float.exp: Likewise.
9284         * gdb.base/foll-exec.exp: Likewise.
9285         * gdb.base/foll-fork.exp: Likewise.
9286         * gdb.base/foll-vfork.exp: Likewise.
9287         * gdb.base/freebpcmd.exp: Likewise.
9288         * gdb.base/funcargs.exp: Likewise.
9289         * gdb.base/gcore.exp: Likewise.
9290         * gdb.base/gdb1090.exp: Likewise.
9291         * gdb.base/gdb1250.exp: Likewise.
9292         * gdb.base/huge.exp: Likewise.
9293         * gdb.base/info-proc.exp: Likewise.
9294         * gdb.base/interrupt.exp: Likewise.
9295         * gdb.base/jump.exp: Likewise.
9296         * gdb.base/langs.exp: Likewise.
9297         * gdb.base/lineinc.exp: Likewise.
9298         * gdb.base/list.exp: Likewise.
9299         * gdb.base/logical.exp: Likewise.
9300         * gdb.base/long_long.exp: Likewise.
9301         * gdb.base/macscp.exp: Likewise.
9302         * gdb.base/maint.exp: Likewise.
9303         * gdb.base/mips_pro.exp: Likewise.
9304         * gdb.base/miscexprs.exp: Likewise.
9305         * gdb.base/multi-forks.exp: Likewise.
9306         * gdb.base/opaque.exp: Likewise.
9307         * gdb.base/overlays.exp: Likewise.
9308         * gdb.base/pc-fp.exp: Likewise.
9309         * gdb.base/pointers.exp: Likewise.
9310         * gdb.base/printcmds.exp: Likewise.
9311         * gdb.base/psymtab.exp: Likewise.
9312         * gdb.base/ptype.exp: Likewise.
9313         * gdb.base/recurse.exp: Likewise.
9314         * gdb.base/relational.exp: Likewise.
9315         * gdb.base/relocate.exp: Likewise.
9316         * gdb.base/remote.exp: Likewise.
9317         * gdb.base/reread.exp: Likewise.
9318         * gdb.base/restore.exp: Likewise.
9319         * gdb.base/return.exp: Likewise.
9320         * gdb.base/return2.exp: Likewise.
9321         * gdb.base/scope.exp: Likewise.
9322         * gdb.base/sect-cmd.exp: Likewise.
9323         * gdb.base/sep.exp: Likewise.
9324         * gdb.base/sepdebug.exp: Likewise.
9325         * gdb.base/setshow.exp: Likewise.
9326         * gdb.base/setvar.exp: Likewise.
9327         * gdb.base/sigall.exp: Likewise.
9328         * gdb.base/sigbpt.exp: Likewise.
9329         * gdb.base/signals.exp: Likewise.
9330         * gdb.base/signull.exp: Likewise.
9331         * gdb.base/sizeof.exp: Likewise.
9332         * gdb.base/solib.exp: Likewise.
9333         * gdb.base/step-line.exp: Likewise.
9334         * gdb.base/step-test.exp: Likewise.
9335         * gdb.base/structs.exp: Likewise.
9336         * gdb.base/structs2.exp: Likewise.
9337         * gdb.base/term.exp: Likewise.
9338         * gdb.base/twice.exp: Likewise.
9339         * gdb.base/until.exp: Likewise.
9340         * gdb.base/varargs.exp: Likewise.
9341         * gdb.base/volatile.exp: Likewise.
9342         * gdb.base/watchpoint.exp: Likewise.
9343         * gdb.base/whatis-exp.exp: Likewise.
9344         * gdb.base/whatis.exp: Likewise.
9345         * gdb.cp/ambiguous.exp: Likewise.
9346         * gdb.cp/annota2.exp: Likewise.
9347         * gdb.cp/annota3.exp: Likewise.
9348         * gdb.cp/bool.exp: Likewise.
9349         * gdb.cp/breakpoint.exp: Likewise.
9350         * gdb.cp/casts.exp: Likewise.
9351         * gdb.cp/class2.exp: Likewise.
9352         * gdb.cp/classes.exp: Likewise.
9353         * gdb.cp/cplusfuncs.exp: Likewise.
9354         * gdb.cp/ctti.exp: Likewise.
9355         * gdb.cp/derivation.exp: Likewise.
9356         * gdb.cp/exception.exp: Likewise.
9357         * gdb.cp/gdb1355.exp: Likewise.
9358         * gdb.cp/hang.exp: Likewise.
9359         * gdb.cp/inherit.exp: Likewise.
9360         * gdb.cp/local.exp: Likewise.
9361         * gdb.cp/m-data.exp: Likewise.
9362         * gdb.cp/m-static.exp: Likewise.
9363         * gdb.cp/member-ptr.exp: Likewise.
9364         * gdb.cp/method.exp: Likewise.
9365         * gdb.cp/misc.exp: Likewise.
9366         * gdb.cp/namespace.exp: Likewise.
9367         * gdb.cp/overload.exp: Likewise.
9368         * gdb.cp/ovldbreak.exp: Likewise.
9369         * gdb.cp/pr-1023.exp: Likewise.
9370         * gdb.cp/pr-1210.exp: Likewise.
9371         * gdb.cp/pr-574.exp: Likewise.
9372         * gdb.cp/printmethod.exp: Likewise.
9373         * gdb.cp/psmang.exp: Likewise.
9374         * gdb.cp/ref-params.exp: Likewise.
9375         * gdb.cp/ref-types.exp: Likewise.
9376         * gdb.cp/rtti.exp: Likewise.
9377         * gdb.cp/templates.exp: Likewise.
9378         * gdb.cp/try_catch.exp: Likewise.
9379         * gdb.cp/userdef.exp: Likewise.
9380         * gdb.cp/virtfunc.exp: Likewise.
9381         * gdb.disasm/am33.exp: Likewise.
9382         * gdb.disasm/h8300s.exp: Likewise.
9383         * gdb.disasm/mn10300.exp: Likewise.
9384         * gdb.disasm/sh3.exp: Likewise.
9385         * gdb.disasm/t01_mov.exp: Likewise.
9386         * gdb.disasm/t02_mova.exp: Likewise.
9387         * gdb.disasm/t03_add.exp: Likewise.
9388         * gdb.disasm/t04_sub.exp: Likewise.
9389         * gdb.disasm/t05_cmp.exp: Likewise.
9390         * gdb.disasm/t06_ari2.exp: Likewise.
9391         * gdb.disasm/t07_ari3.exp: Likewise.
9392         * gdb.disasm/t08_or.exp: Likewise.
9393         * gdb.disasm/t09_xor.exp: Likewise.
9394         * gdb.disasm/t10_and.exp: Likewise.
9395         * gdb.disasm/t11_logs.exp: Likewise.
9396         * gdb.disasm/t12_bit.exp: Likewise.
9397         * gdb.disasm/t13_otr.exp: Likewise.
9398         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9399         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9400         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9401         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9402         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9403         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9404         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9405         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9406         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9407         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9408         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9409         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9410         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9411         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9412         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9413         * gdb.mi/gdb701.exp: Likewise.
9414         * gdb.mi/gdb792.exp: Likewise.
9415         * gdb.mi/mi-basics.exp: Likewise.
9416         * gdb.mi/mi-break.exp: Likewise.
9417         * gdb.mi/mi-cli.exp: Likewise.
9418         * gdb.mi/mi-console.exp: Likewise.
9419         * gdb.mi/mi-disassemble.exp: Likewise.
9420         * gdb.mi/mi-eval.exp: Likewise.
9421         * gdb.mi/mi-file.exp: Likewise.
9422         * gdb.mi/mi-read-memory.exp: Likewise.
9423         * gdb.mi/mi-regs.exp: Likewise.
9424         * gdb.mi/mi-return.exp: Likewise.
9425         * gdb.mi/mi-simplerun.exp: Likewise.
9426         * gdb.mi/mi-stack.exp: Likewise.
9427         * gdb.mi/mi-stepi.exp: Likewise.
9428         * gdb.mi/mi-syn-frame.exp: Likewise.
9429         * gdb.mi/mi-until.exp: Likewise.
9430         * gdb.mi/mi-var-block.exp: Likewise.
9431         * gdb.mi/mi-var-child.exp: Likewise.
9432         * gdb.mi/mi-var-cmd.exp: Likewise.
9433         * gdb.mi/mi-var-display.exp: Likewise.
9434         * gdb.mi/mi-watch.exp: Likewise.
9435         * gdb.mi/mi2-basics.exp: Likewise.
9436         * gdb.mi/mi2-break.exp: Likewise.
9437         * gdb.mi/mi2-cli.exp: Likewise.
9438         * gdb.mi/mi2-console.exp: Likewise.
9439         * gdb.mi/mi2-disassemble.exp: Likewise.
9440         * gdb.mi/mi2-eval.exp: Likewise.
9441         * gdb.mi/mi2-file.exp: Likewise.
9442         * gdb.mi/mi2-read-memory.exp: Likewise.
9443         * gdb.mi/mi2-regs.exp: Likewise.
9444         * gdb.mi/mi2-return.exp: Likewise.
9445         * gdb.mi/mi2-simplerun.exp: Likewise.
9446         * gdb.mi/mi2-stack.exp: Likewise.
9447         * gdb.mi/mi2-stepi.exp: Likewise.
9448         * gdb.mi/mi2-syn-frame.exp: Likewise.
9449         * gdb.mi/mi2-until.exp: Likewise.
9450         * gdb.mi/mi2-var-block.exp: Likewise.
9451         * gdb.mi/mi2-var-child.exp: Likewise.
9452         * gdb.mi/mi2-var-cmd.exp: Likewise.
9453         * gdb.mi/mi2-var-display.exp: Likewise.
9454         * gdb.mi/mi2-watch.exp: Likewise.
9455         * gdb.stabs/exclfwd.exp: Likewise.
9456         * gdb.stabs/weird.exp: Likewise.
9457         * gdb.threads/gcore-thread.exp: Likewise.
9458         * gdb.trace/actions.exp: Likewise.
9459         * gdb.trace/backtrace.exp: Likewise.
9460         * gdb.trace/circ.exp: Likewise.
9461         * gdb.trace/collection.exp: Likewise.
9462         * gdb.trace/deltrace.exp: Likewise.
9463         * gdb.trace/infotrace.exp: Likewise.
9464         * gdb.trace/limits.exp: Likewise.
9465         * gdb.trace/packetlen.exp: Likewise.
9466         * gdb.trace/passc-dyn.exp: Likewise.
9467         * gdb.trace/passcount.exp: Likewise.
9468         * gdb.trace/report.exp: Likewise.
9469         * gdb.trace/save-trace.exp: Likewise.
9470         * gdb.trace/tfind.exp: Likewise.
9471         * gdb.trace/tracecmd.exp: Likewise.
9472         * gdb.trace/while-dyn.exp: Likewise.
9473         * gdb.trace/while-stepping.exp: Likewise.
9474
9475 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
9476
9477         * gdb.base/step-bt.c: New file.
9478         * gdb.base/step-bt.exp: New testcase.
9479
9480 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
9481
9482         * config/monitor.exp (gdb_load): Remove support for obsolete
9483         download-write-size.
9484         * gdb.base/remote.exp: Likewise.  Update all callers of
9485         gdb_timed_load.
9486
9487 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
9488
9489         * cursal.exp: Pass binfile to gdb_load.
9490
9491 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
9492
9493         * gdb.base/cursal.exp: Add "" to gdb_load call.
9494
9495 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
9496
9497         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9498         NetBSD/ELF targets.
9499
9500 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
9501
9502         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9503         operator*.
9504
9505 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
9506
9507         * gdb.base/completion.exp: Update for change in "file" behavior.
9508         * gdb.stabs/weird.exp: Likewise.
9509         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9510         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
9511
9512 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
9513
9514         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9515         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9516
9517 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
9518
9519         * gdb.base/default.exp: Update source command error message.
9520         * gdb.base/help.exp: Update 'help source' message.
9521
9522 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
9523
9524         * gdb.cp/bs15503.exp: Update comment for no longer crashing
9525         test.
9526
9527 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
9528
9529         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9530
9531 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
9532
9533         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9534
9535 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
9536
9537         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9538
9539 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
9540
9541         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9542         *-*-openbsd* from targets for wich we expect ARM FPA floating
9543         point format.
9544
9545 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
9546
9547         * gdb.cp/annota3.exp: Expect frame-begin annotation.
9548
9549 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
9550
9551         * gdb.base/annota3.exp: Expect frame-begin annotation.
9552
9553 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
9554
9555         * gdb.base/help.exp: Adjust "help unset" test to accept
9556         any list of unset commands.
9557
9558 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
9559             Daniel Jacobowitz  <dan@codesourcery.com>
9560
9561         * gdb.cp/ref-params.exp: New test.
9562         * gdb.cp/ref-params.cc: New source file.
9563         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9564
9565 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
9566
9567         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9568         spaces/tabs in regular expressions since they might not be there.
9569
9570 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
9571
9572         * gdb.base/ifelse.exp: New file.
9573
9574 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
9575
9576         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9577         line.
9578         * gdb.base/huge.exp: Loop over compilation to find a size that
9579         is acceptable.
9580         * gdb.base/remote.exp: Correct expected strings.
9581         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9582
9583 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
9584
9585         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9586
9587 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
9588
9589         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
9590         native.
9591
9592 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
9593
9594         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9595         enable stabs testing.
9596
9597 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
9598
9599         * gdb.base/auxv.exp: Intercept undefined command messages before
9600         gdb_test_multiple does.
9601
9602 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
9603
9604         * Makefile.in (host_alias): Remove.
9605         (target_alias): Use @target_noncanonical@.
9606         (site.exp): Don't set host_alias.
9607         * aclocal.m4: Remove contents.  Include acx.m4.
9608         * configure: Regenerated.
9609         * configure.ac: Use ACX_NONCANONICAL_TARGET.
9610
9611 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
9612
9613         * lib/gdb.exp (gdb_load_cmd): New.
9614
9615         * gdb.base/fileio.c: Add system(NULL) test.
9616         * gdb.base/fileio.exp: Check it.
9617
9618         * gdb.base/break.c: Add 10a breakpoint at }
9619         * gdb.base/break.exp: Add test for breakpoint at }
9620         * gdb.cp/anon-union.cc: Add code at end of function.
9621         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9622         * gdb.mi/var-cmd.c: Add code at end of function.
9623         * gdb.mi/mi-var-display.exp: Adjust end of next.
9624         * gdb.mi/mi2-var-display.exp: Likewise.
9625         * gdb.base/fileio.c: Add stop function and insert calls at
9626         stopping places.
9627         * gdb.base/fileio.exp: Breakpoint stop function and remove
9628         explicit line number references.
9629
9630 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
9631
9632         * gdb.base/del.exp (test_delete_alias): New function.
9633         Now check that both "del" and "d" work as aliases for "delete".
9634
9635 2006-05-18  Fred Fish  <fnf@specifix.com>
9636
9637         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9638         required.  Check for spurious output after program exits normally.
9639
9640 2006-05-17  Fred Fish  <fnf@specifix.com>
9641
9642         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9643         gdb_load, so it works in the simulator.
9644
9645 2006-05-11  Fred Fish  <fnf@specifix.com>
9646
9647         * gdb.base/bang.exp: Ignore unexpected output between the
9648         "program exited normally" and the gdb prompt, as many other
9649         tests do.
9650
9651 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
9652
9653         * gdb.base/help.exp: Make "delete checkpoint" part option for
9654         "help d" and "help delete" tests.
9655
9656 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9657
9658         * gdb.mi/mi-basics.exp: Add missing serial number to
9659         expected output in some mi_gdb_test statements.
9660         * gdb.mi/mi2-basics.exp: Likewise.
9661
9662 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
9663
9664         * gdb.base/del.c: New file.
9665         * gdb.base/del.exp: New testcase.
9666
9667 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
9668
9669         * gdb.base/break.exp: Do not assume a breakpoint on
9670         main will actually be in $srcfile when optimizing.
9671         * gdb.base/savedregs.exp: Do not require that the dummy
9672         frame location match up to a symbol and source file location.
9673         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9674         will get printed without a mi_cmd_data_list_register_values prefix.
9675         (*-data-list-register-*): Correct regular expressions to expect the new
9676         pseudo d? floating point registers.
9677         * gdb.mi/mi2-regs.exp: Likewise.
9678
9679 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
9680
9681         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9682         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9683         is allocated by the compiler.
9684         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9685         anons, e, anone to force their allocation by the compiler.
9686
9687 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
9688
9689         * gdb.base/help.exp: Update expected text for help d and
9690         help delete.
9691
9692 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
9693
9694         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9695         NetBSD/ELF targets.
9696
9697 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
9698
9699         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9700         single-step breakpoint fails; make this a KFAIL on
9701         sparc*-*-openbsd*.
9702         * gdb.base/siginfo.exp: Likewise.
9703         * gdb.base/sigstep.exp (advance, advancei): Likewise.
9704
9705 2006-04-26  Michael Snyder  <msnyder@redhat.com>
9706
9707         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9708         which may have to consume output from other forks.
9709         Add tests to make sure that "delete fork" succeeded.
9710
9711 2006-04-20  Michael Snyder  <msnyder@redhat.com>
9712
9713         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
9714         Add support for the Renesas M32C and M16C.
9715
9716         * gdb.asm/asm-source.exp: Add m32c target.
9717         * gdb.asm/m32c.inc: Support for m32c target.
9718
9719 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
9720
9721         * gdb.base/commands.exp (recursive_source_test): New test.
9722
9723 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
9724
9725         * gdb.base/float.exp: Add pattern for sparc targets.
9726
9727 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
9728
9729         * gdb.base/commands.exp (stray_arg0_test): New test.
9730
9731 2006-03-30  Paul Brook  <paul@codesourcery.com>
9732
9733         * gdb.mi/mi-until.exp: kfail broken until command.
9734         * gdb.mi/mi2-until.exp: Ditto.
9735
9736 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
9737
9738         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9739
9740 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
9741
9742         * gdb.base/prelink.exp: Anchor tested-for regular expression
9743         on gdb prompt.
9744
9745 2006-03-07  Paul Brook  <paul@codesourcery.com>
9746
9747         * gdb.base/assign.exp: Correct fail message.
9748
9749 2006-03-07  Paul Brook  <paul@codesourcery.com>
9750
9751         * lib/compiler.c: Extract armcc version number.
9752         * lib/compiler.cc: Ditto.
9753
9754 2006-03-07  Paul Brook  <paul@codesourcery.com>
9755
9756         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9757         additional_flags=-w.
9758         * gdb.arch/altivec-regs.exp: Ditto.
9759         * gdb.arch/e500-abi.exp: Ditto.
9760         * gdb.arch/e500-regs.exp: Ditto.
9761         * gdb.base/all-bin.exp: Ditto.
9762         * gdb.base/annota1.exp: Ditto.
9763         * gdb.base/annota3.exp: Ditto.
9764         * gdb.base/args.exp: Ditto.
9765         * gdb.base/arithmet.exp: Ditto.
9766         * gdb.base/assign.exp: Ditto.
9767         * gdb.base/async.exp: Ditto.
9768         * gdb.base/bang.exp: Ditto.
9769         * gdb.base/break.exp: Ditto.
9770         * gdb.base/call-rt-st.exp: Ditto.
9771         * gdb.base/completion.exp: Ditto.
9772         * gdb.base/cond-expr.exp: Ditto.
9773         * gdb.base/condbreak.exp: Ditto.
9774         * gdb.base/consecutive.exp: Ditto.
9775         * gdb.base/define.exp: Ditto.
9776         * gdb.base/display.exp: Ditto.
9777         * gdb.base/ena-dis-br.exp: Ditto.
9778         * gdb.base/environ.exp: Ditto.
9779         * gdb.base/eval-skip.exp: Ditto.
9780         * gdb.base/info-proc.exp: Ditto.
9781         * gdb.base/jump.exp: Ditto.
9782         * gdb.base/logical.exp: Ditto.
9783         * gdb.base/long_long.exp: Ditto.
9784         * gdb.base/maint.exp: Ditto.
9785         * gdb.base/miscexprs.exp: Ditto.
9786         * gdb.base/pc-fp.exp: Ditto.
9787         * gdb.base/pointers.exp: Ditto.
9788         * gdb.base/relational.exp: Ditto.
9789         * gdb.base/reread.exp: Ditto.
9790         * gdb.base/sect-cmd.exp: Ditto.
9791         * gdb.base/sep.exp: Ditto.
9792         * gdb.base/sepdebug.exp: Ditto.
9793         * gdb.base/until.exp: Ditto.
9794         * gdb.base/whatis-exp.exp: Ditto.
9795         * gdb.cp/annota2.exp: Ditto.
9796         * gdb.cp/annota3.exp: Ditto.
9797         * gdb.trace/actions.exp: Ditto.
9798         * gdb.trace/backtrace.exp: Ditto.
9799         * gdb.trace/circ.exp: Ditto.
9800         * gdb.trace/collection.exp: Ditto.
9801         * gdb.trace/deltrace.exp: Ditto.
9802         * gdb.trace/infotrace.exp: Ditto.
9803         * gdb.trace/limits.exp: Ditto.
9804         * gdb.trace/packetlen.exp: Ditto.
9805         * gdb.trace/passc-dyn.exp: Ditto.
9806         * gdb.trace/passcount.exp: Ditto.
9807         * gdb.trace/report.exp: Ditto.
9808         * gdb.trace/save-trace.exp: Ditto.
9809         * gdb.trace/tfind.exp: Ditto.
9810         * gdb.trace/tracecmd.exp: Ditto.
9811         * gdb.trace/while-dyn.exp: Ditto.
9812         * gdb.trace/while-stepping.exp: Ditto.
9813         * lib/gdb.exp: Ditto.
9814         (gdb_compile): Handle nowarning option.
9815
9816 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
9817
9818         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9819         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
9820         Rename executable to prelinkt.  Don't re-prelink if we didn't
9821         get a core file.  Test prelink -u exit status to tell whether
9822         prelinking failed.  Use gdb_test_multiple.
9823
9824 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
9825
9826         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9827         (do_tests): Call it.
9828
9829 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
9830
9831         * gdb.base/prelink.exp: New test.
9832         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9833
9834 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
9835
9836         * gdb.fortran/derived-type.f90: New file.
9837         * gdb.fortran/derived-type.exp: New testcase.
9838
9839 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
9840
9841         * gdb.base/default.exp: Allow ';' as a directory separator.
9842
9843 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
9844
9845         * gdb.base/help.exp (help add-symbol-file): Update.
9846
9847 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
9848
9849         * gdb.base/help.exp (help load): Update expected results.
9850
9851 2006-02-19  Fred Fish  <fnf@specifix.com>
9852
9853         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9854         specifix hex value as part of results.
9855         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9856
9857 2006-02-16  Fred Fish  <fnf@specifix.com>
9858
9859         * gdb.base/whatis.c: Define variables using typedefs char_addr,
9860         ushort_addr, and slong_addr, so the typedefs are not optimized
9861         away.
9862         * gdb.base/whatis.exp: Add tests using type name for struct type,
9863         union type, enum type, and typedef.
9864
9865 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
9866
9867         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9868
9869 2006-02-13  Jim Blandy  <jimb@redhat.com>
9870
9871         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9872         case where it takes two "next" commands to skip past the init
9873         call.
9874
9875 2006-02-12  Fred Fish  <fnf@specifix.com>
9876
9877         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9878         to handle cases where it takes two "next" commands to skip
9879         past the init call.
9880
9881 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
9882
9883         * gdb.ada/array_return.exp: Mark the last test as expected to fail
9884         on hppa32 targets.
9885
9886 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
9887
9888         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9889         field.
9890
9891 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
9892
9893         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9894
9895 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
9896
9897         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9898         files.
9899
9900 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
9901
9902         * gdb.cp/maint.exp: Set complaints to a positive value.
9903
9904 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
9905
9906         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
9907         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
9908         function name.
9909
9910 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
9911
9912         * gdb.base/checkpoint.c: Update copyright notice.  Include
9913         <stdlib.h>.
9914
9915 2006-01-04  Jim Blandy  <jimb@redhat.com>
9916
9917         * gdb.asm/asm-source.exp: Independently provide default values for
9918         asm-flags and debug-flags.  Use 'string equal' to do the
9919         comparison, not the implicit expr's '==' operator.  Remove
9920         now-unneeded assignments to asm-flags.  In h8300 case, place
9921         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9922
9923 2006-01-04  Michael Snyder  <msnyder@redhat.com>
9924
9925         * gdb.base/checkpoint.c: New file.
9926         * gdb.base/checkpoint.exp: New file.
9927         * gdb.base/multi-fork.c: New file.
9928         * gdb.base/multi-fork.exp: New file.
9929         * gdb.base/pi.txt: New file (data for checkpoint.c test).
9930
9931 2006-01-04  Fred Fish  <fnf@specifix.com>
9932
9933         * gdb.base/ptype.c (foo): Add typedef.
9934         (intfoo): Add function.
9935         * gdb.base/ptype1.c: New file.
9936         * gdb.base/ptype.exp: Handle compilation and linking with two
9937         source files.  Test that proper type for "foo" is found based
9938         on source context rather than first match found in symtabs.
9939
9940 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
9941
9942         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9943         * gdb.asm/openbsd.inc: Indent commands.
9944
9945 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
9946
9947         * gdb.base/freebpcmd.exp: Increase timeout.
9948
9949         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9950
9951 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
9952
9953         * gdb.base/default.exp: Update check for "show version".
9954
9955 2005-12-09  Randolph Chung  <tausq@debian.org>
9956
9957         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9958         * gdb.asm/pa64.inc: New file.
9959
9960 2005-12-09  Randolph Chung  <tausq@debian.org>
9961
9962         * gdb.asm/common.inc: Indent commands.
9963         * gdb.asm/asmsrc1.s: Likewise.
9964         * gdb.asm/asmsrc2.s: Likewise.
9965
9966 2005-12-09  Randolph Chung  <tausq@debian.org>
9967
9968         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9969         (get_addr_of_sym): Remove duplicate print.
9970         (gen_core): xfail hppa*-*-hpux*, update expected output.
9971         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9972         * gdb.arch/pa64-nullify.s: New file.
9973
9974 2005-12-09  Randolph Chung  <tausq@debian.org>
9975
9976         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9977
9978 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
9979
9980         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9981         code generation for these functions.
9982         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9983         error message.
9984
9985 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
9986
9987         * gdb.base/help.exp (help b, help br, help bre, help brea)
9988         (help break): Update the expected message.
9989
9990 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
9991
9992         * gdb.asm/m68hc11.inc: Setup the data section.
9993         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9994         script for this test.
9995         (m6812-*-*): Likewise.
9996
9997 2005-11-09  Randolph Chung <tausq@debian.org>
9998
9999         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10000
10001 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
10002
10003         * gdb.base/break.exp: Fix a comment typo.
10004
10005 2005-11-03  Jim Blandy  <jimb@redhat.com>
10006
10007         Checked in by Elena Zannoni  <ezannoni@redhat.com>
10008
10009         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10010
10011 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
10012
10013         * gdb.arch/gdb1558.c: Include stdio.h.
10014
10015 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
10016
10017         * gdb.asm/asm-source.exp: Use -e instead of --entry.
10018
10019 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
10020
10021         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10022
10023 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
10024
10025         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10026         vscr" tests to better match output.
10027
10028 2005-10-12  Jim Blandy  <jimb@redhat.com>
10029
10030         * gdb.base/structs.exp (any): New function.
10031         (test_struct_returns): Don't make any assumptions at all about
10032         what value the function returns when GDB can't set the return
10033         value.
10034
10035 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
10036
10037         * gdb.ada/arrayidx/p.adb: New file.
10038         * gdb.ada/arrayidx.exp: New testcase
10039
10040 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
10041
10042         * gdb.ada/array_return/pck.ads: New file.
10043         * gdb.ada/array_return/pck.adb: New file.
10044         * gdb.ada/array_return/p.adb: New file.
10045         * gdb.ada/array_return.exp: New testcase.
10046
10047 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
10048
10049         * gdb.base/arrayidx.c: New file.
10050         * gdb.base/arrayidx.exp: New testcase.
10051
10052 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
10053
10054         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10055         frames-invalid and breakpoints-invalid are no longer generated
10056         with level 3 so don't expect them in the output.
10057
10058 2005-09-27  Bob Rossi  <bob@brasko.net>
10059
10060         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10061         from test.  Escape the | in mi_gdb_test call.
10062         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10063         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10064         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10065         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10066         expected regex's in mi_gdb_test calls.
10067         * lib/mi-support.exp: Remove arbitrary .* from tests.
10068         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10069         Fully anchor GDB/MI expected results in mi_gdb_test.
10070         * lib/gdb.exp (string_to_regexp): Escape the ] character.
10071         * gdb.base/sizeof.exp: Remove escape character. Correct test.
10072
10073 2005-09-26  Paul Brook  <paul@codesourcery.com>
10074
10075         * long_long.exp: Exclude eabi targets from arm FPA float format test.
10076
10077 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
10078
10079         * bfp-test.c: New file.
10080         * bfp-test.exp: New testcase.
10081
10082 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
10083
10084         * gdb.fortran/subarray.exp: New testcase to test the evaluation
10085         of subarray and substring variable.
10086         * gdb.fortran/subarray.f: New source file for the test of subarray
10087         and substring variable evaluation.
10088         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10089         of string constant.
10090
10091 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
10092
10093         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10094         copyright dates.
10095
10096 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
10097
10098         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10099         powerpc altivec' test with an almost identical 'info vector' test.
10100
10101 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
10102
10103         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10104         vscr" tests to match output.
10105
10106 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
10107
10108         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10109         output.
10110
10111 2005-09-11  Bob Rossi  <bob@brasko.net>
10112
10113         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10114         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10115         commands that return an MI output command and an asyncronous MI output
10116         command.
10117         * gdb.mi/mi-console.exp: Ditto.
10118
10119 2005-09-11  Bob Rossi  <bob@brasko.net>
10120
10121         * gdb.mi/mi-var-child.c: Include <string.h>.
10122
10123 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
10124
10125         * killed.exp: Correct gdb_expect syntax.
10126
10127 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
10128
10129         * lib/mi-support.exp (mi_gdb_load): Fix typo.
10130
10131 2005-08-02  Bob Rossi  <bob@brasko.net>
10132
10133         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10134         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10135         Change tests to inferior-tty-set/show.
10136         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10137         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10138         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10139         inferior.  Use mi_gdb_test to get GDB and Inferior output.
10140         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10141         descriptor.
10142         (mi_inferior_tty_name): Add inferior PTY file name.
10143         (mi_gdb_start): Add INFERIOR_PTY parameter.
10144         (mi_gdb_test): Add IPATTERN parameter.
10145
10146 2005-08-02   Bob Rossi  <bob@brasko.net>
10147
10148         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10149         parameter to mi_gdb_test.
10150         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10151
10152 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
10153
10154         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10155         struct_declarations.
10156         * gdb.mi/mi-var-child.exp: Step over the initialization of
10157         struct_declarations.
10158
10159 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
10160
10161         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10162         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10163         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10164         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10165         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10166         file.
10167
10168 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
10169
10170         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10171         (do_children_tests): Assign values to the extra elements.
10172
10173         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10174         them for tests for "-var-update --no-values" and
10175         "-var-update --all-values".
10176         Add test for "-var-list-children --simple-values".
10177
10178         * gdb.mi/basics.c (callee4): Add integer array D[3]...
10179
10180         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10181         "-stack-list-locals --simple-values"  Improve doc strings and
10182         comments.
10183
10184 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
10185
10186         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10187         *-*-openbsd*.
10188         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10189
10190         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10191         sigaltsatck'.
10192
10193 2005-07-14  Bob Rossi  <bob@brasko.net>
10194
10195         * gdb.base/default.exp (tty): Changed output of command.
10196         * gdb.base/help.exp (help tty): Ditto.
10197
10198 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
10199
10200         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10201
10202 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
10203
10204         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10205         -stack-select-frame without arguments.
10206         (test_stack_frame_listing): Add test for newly implemented command
10207         -stack-info-frame.
10208
10209 2005-07-06  Bob Rossi  <bob@brasko.net>
10210
10211         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10212         command.
10213         (Copyright): Update copyright.
10214
10215 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
10216
10217         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10218         tests to evaluate exponentiation expression.
10219
10220 2005-06-29  Andreas Schwab  <schwab@suse.de>
10221
10222         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10223         main to avoid warnings.
10224
10225         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10226
10227 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
10228
10229         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10230         -stack-select-frame without arguments.
10231         (test_stack_frame_listing): Add test for newly implemented command
10232         -stack-info-frame.
10233
10234 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
10235
10236         * gdb.fortran/array-element.f: New file.
10237         * gdb.fortran/array-element.exp: New testcase.
10238
10239 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
10240
10241         * gdb.base/bigcore.exp: Correct checks for systems which can
10242         not dump a large core file.
10243
10244 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
10245
10246         * gdb.base/relocate.c: Add a copyright notice.
10247         (dummy): Remove.
10248         * gdb.base/relocate.exp: Test printing the values of variables
10249         from a relocatable file.
10250
10251 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
10252
10253         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10254         excess MI output after an error.
10255
10256 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
10257
10258         * gdb.arch/alpha-step.c: New file.
10259         * gdb.arch/alpha-step.exp: New testcase.
10260
10261 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
10262             Dennis Brueni  <dennis@slickedit.com>
10263
10264         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10265         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10266         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10267         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10268         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10269         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10270         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10271
10272 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
10273             Wu Zhou  <woodzltc@cn.ibm.com>
10274
10275         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
10276         IBM's xlc compiler.
10277         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10278         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10279
10280 2005-05-13  Jim Blandy  <jimb@redhat.com>
10281
10282         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10283         calling gdb_suppress_entire_file.
10284         * gdb.base/charset.exp: Same.
10285         * gdb.base/call-rt-st.exp: Same.
10286
10287 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
10288
10289         * lib/gdb.exp (fullname_syntax): Added global regex.
10290         (fullname_syntax_POSIX): Ditto.
10291         (fullname_syntax_UNC): Ditto.
10292         (fullname_syntax_DOS_CASE): Ditto.
10293         (fullname_syntax_DOS): Ditto.
10294         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10295         fullname_syntax variable to scope and use it.
10296         (test_file_list_exec_source_files): Ditto.
10297         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10298
10299 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
10300
10301         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10302
10303 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
10304
10305         * lib/gdb.exp (skip_altivec_tests): New function, based on
10306         check_vmx_hw_available from the GCC testsuite.
10307         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10308         * lib/gdb.arch/altivec-regs.exp: Likewise.
10309
10310 2005-05-02  Jim Blandy  <jimb@redhat.com>
10311
10312         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10313         calling gdb_suppress_entire_file.
10314
10315 2005-04-30  Randolph Chung  <tausq@debian.org>
10316
10317         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10318         Slightly relax "sem_post" name checking.
10319
10320 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
10321
10322         * gdb.base/unload.exp: Use new shared library infrastructure.
10323
10324 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
10325
10326         * gdb.base/so-impl-ld.exp: Use new shared library
10327         infrastructure.
10328
10329 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
10330
10331         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10332         * gdb.asm/h8300.inc: New file.
10333
10334 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
10335
10336         * gdb.base/shlib-call.exp: Change to use new shared library
10337         infrastructure.
10338
10339 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
10340
10341         * gdb.base/pending.exp: Change to use new shared library
10342         infrastructure.
10343
10344 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
10345
10346         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10347         use test_compiler_info instead of gcc_compiled, and update copyright.
10348
10349 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
10350
10351         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10352         shared objects being adjusted and update copyright years.
10353
10354 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
10355
10356         * ChangeLog: Correct some 2003-01-13 dates.
10357         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10358         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10359         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10360         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10361         gdb.trace/tfind.exp: Update copyright years.
10362
10363 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
10364             Daniel Jacobowitz  <dan@codesourcery.com>
10365
10366         * lib/gdb.exp (gdb_compile): Handle shlib=.
10367         (gdb_compile_shlib): New function.
10368
10369 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
10370
10371         * lib/gdb.exp (test_compiler_info): Give argument a default value.
10372
10373 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
10374
10375         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10376         gdb.server.
10377         * configure.ac: Likewise.
10378         * configure: Regenerated.
10379         * gdb.gdbserver/Makefile.in: Moved to...
10380         * gdb.server/Makefile.in: ... here.
10381         * gdb.gdbserver/server.c: Moved to...
10382         * gdb.server/server.c: ... here.
10383         * gdb.gdbserver/server-run.exp: Moved to...
10384         * gdb.server/server-run.exp: ... here.
10385
10386 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
10387
10388         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10389         * configure.ac: Create gdb.gdbserver/Makefile.
10390         * configure: Regenerated.
10391         * lib/gdbserver-support.exp: New file, derived from
10392         config/gdbserver.exp.
10393         * config/gdbserver.exp: Use gdbserver-support.exp.
10394         * gdb.gdbserver/Makefile.in: New file.
10395         * gdb.gdbserver/server.c: New file.
10396         * gdb.gdbserver/server-run.exp: New file.
10397
10398 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
10399
10400         * lib/gdb.exp (test_compiler_info): Return compiler_info
10401         if no arguments are given.
10402
10403 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
10404
10405         * gdb.arch/altivec-abi.exp: Check for compiler and set
10406         use altivec' flag accordingly.
10407         * gdb.arch/altivec-regs.exp: Likewise.
10408
10409 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
10410
10411         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10412
10413 2005-03-27  Andreas Schwab  <schwab@suse.de>
10414
10415         * gdb.base/bigcore.c (main): Add missing mode argument in open
10416         call.
10417
10418 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
10419
10420         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10421         downloads.
10422         * config/gdbserver.exp (gdb_load): Likewise.
10423
10424 2005-03-14  Paul Brook  <paul@codesourcery.com>
10425
10426         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10427         targets.
10428
10429 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
10430
10431         * gdb.dwarf2/dup-psym.S: New file.
10432         * gdb.dwarf2/dup-psym.exp: New testcase.
10433
10434 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
10435
10436         * gdb.ada/exec_changed/first.adb: New file.
10437         * gdb.ada/exec_changed/second.adb: New file.
10438         * gdb.ada/exec_changed.exp: New testcase.
10439
10440 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
10441
10442         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10443         (A2): New class.
10444         (main): Test operator+.
10445         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
10446         breakpoint test.
10447
10448         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10449         * gdb.base/signull.exp: Disable if gdb,nosignals.
10450         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10451         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10452         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10453         * gdb.mi/mi2-console.exp: Likewise.
10454         * gdb.trace/collection.exp (run_trace_experiment): Consume the
10455         continue output at start.
10456         (gdb_collect_locals_test): Robustify regexp.
10457         * gdb.trace/passc-dyn.exp: Fix comment typo.
10458         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10459
10460 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
10461
10462         * gdb.asm/asm-source.exp: Add iq2000 case.
10463         * gdb.asm/iq2000.inc: New file.
10464
10465 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
10466
10467         * gdb.base/command.exp: Change hardcoded value to regular expression.
10468         * gdb.base/float.exp: Add powerpc to the list of targets checked.
10469
10470 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
10471
10472         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10473         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10474         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10475         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10476         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10477
10478 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
10479
10480         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10481         changes.
10482
10483 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
10484
10485         * lib/compiler.c: Add test for IBM's xlc compiler.
10486         * lib/compiler.cc: Likewise.
10487
10488 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
10489
10490         * gdb.ada/fixed_points.exp: Create compilation object directory
10491         before running the test.
10492         * gdb.ada/null_record.exp: Likewise.
10493         * gdb.ada/packed_array.exp: Likewise.
10494         * gdb.ada/start.exp: Likewise.
10495
10496 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
10497
10498         * gdb.ada/packed_array/pa.adb: New file.
10499         * gdb.ada/packed_array.exp: New testcase.
10500
10501 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
10502
10503         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10504         files.
10505
10506         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10507         on *-*-openbsd*.  Correctly match whitespace in regukar
10508         expressions.
10509
10510 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
10511
10512         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10513         PR exp/1821
10514         * gdb.base/gdb1821.c: New test file.
10515         * gdb.base/gdb1821.exp: New test file.
10516
10517 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
10518
10519         * gdb.base/start.c: New file.
10520         * gdb.base/start.exp: New testcase.
10521
10522 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
10523
10524         * gdb.ada/start/dummy.adb: New file.
10525         * gdb.ada/start.exp: New testcase.
10526
10527 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
10528
10529         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10530         for printing symbols and statistics.
10531         Add test for using relative pathnames in "maint print msymbols" test.
10532         Mark "maint info sections DATA" XFAIL on Cygwin.
10533         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10534         tests.
10535
10536 2005-02-09  Andreas Schwab  <schwab@suse.de>
10537
10538         Committed by Andrew Cagney  <cagney@gnu.org>
10539         * gdb.base/remotetimeout.exp: New file.
10540
10541 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
10542
10543         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10544
10545 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
10546
10547         * gdb.ada/gnat_ada.gpr: New file.
10548         * gdb.ada/gnat_ada.gin: Delete, no longer used.
10549         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10550         * configure.ac: No longer generate gnat_ada.gpr.
10551         * configure: Regenerate.
10552         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10553         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10554         * gdb.ada/null_record/bar.ads: Likewise.
10555         * gdb.ada/null_record/bar.adb: Likewise.
10556         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10557         * gdb.ada/null_record.exp (testdir): New variable.
10558         (testfile): executable is now in testdir subdirectory.
10559         (srcfile): Use full path to the main compilation unit.
10560         * gdb.ada/fixed_points.exp: Same changes as above.
10561
10562 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
10563
10564         * gdb.base/interp.exp: New test.
10565
10566 2005-01-24  Andrew Cagney  <cagney@gnu.org>
10567
10568         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10569
10570 2005-01-19  Andrew Cagney  <cagney@gnu.org>
10571
10572         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10573         configure.ac not configure.in.
10574
10575         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10576         of powerpc*-*-*.
10577         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10578         * gdb.base/list.exp (test_list_function)
10579         (test_list_filename_and_function): Ditto.
10580         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10581
10582 2005-01-16  Andrew Cagney  <cagney@gnu.org>
10583
10584         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10585
10586         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10587
10588 2005-01-14  Andrew Cagney  <cagney@gnu.org>
10589
10590         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10591         * gdb.mi/mi2-var-cmd.exp: Ditto.
10592
10593 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
10594
10595         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10596
10597 2005-01-07  Andrew Cagney  <cagney@gnu.org>
10598
10599         * configure.ac: Rename configure.in, require autoconf 2.59.
10600         * configure: Re-generate.
10601         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10602         * gdb.stabs/configure: Re-generate.
10603         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10604         * gdb.hp/configure: Re-generate.
10605         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10606         autoconf 2.59.
10607         * gdb.hp/gdb.objdbg/configure: Re-generate.
10608         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10609         autoconf 2.59.
10610         * gdb.hp/gdb.defects/configure: Re-generate.
10611         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10612         autoconf 2.59.
10613         * gdb.hp/gdb.compat/configure: Re-generate.
10614         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10615         autoconf 2.59.
10616         * gdb.hp/gdb.base-hp/configure: Re-generate.
10617         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10618         autoconf 2.59.
10619         * gdb.hp/gdb.aCC/configure: Re-generate.
10620
10621 2004-12-15  Jim Blandy  <jimb@redhat.com>
10622
10623         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10624         under NPTL when there is debugging info available for libpthread.
10625
10626 2004-12-13  Jerome Guitton  <guitton@gnat.com>
10627
10628         * gdb.ada/fixed_points.c: New file.
10629         * gdb.ada/fixed_points.exp: New file.
10630
10631 2004-12-03  Randolph Chung  <tausq@debian.org>
10632
10633         * gdb.arch/pa-nullify.exp: New file.
10634         * gdb.arch/pa-nullify.s: New file.
10635
10636 2004-11-30  Randolph Chung  <tausq@debian.org>
10637
10638         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10639         instead of "tbug".  Fix regexp to work properly with gdb_test.
10640
10641 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
10642
10643         * gdb.base/bitfields2.exp: New test.
10644         * gdb.base/bitfields2.c: New file.
10645
10646 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
10647
10648         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10649
10650 2004-11-16  Randolph Chung  <tausq@debian.org>
10651
10652         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10653
10654 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
10655
10656         * gdb.threads/threadapply.exp: Correct "macro details" test.
10657
10658 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
10659
10660         * gdb.threads/threadapply.exp: New test.
10661         * gdb.threads/threadapply.c: New file.
10662
10663 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
10664
10665         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10666         frames.
10667
10668 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
10669
10670         * gdb.base/cursal.exp: New file.
10671         * gdb.base/cursal.c: New file.
10672
10673 2004-11-03  Andrew Cagney  <cagney@gnu.org>
10674
10675         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10676
10677 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
10678
10679         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10680         NetBSD/ELF targets.
10681
10682 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
10683
10684         * gdb.threads/bp_in_thread.c: New file, copied from
10685         pthread_cond_wait.c.
10686         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10687         file, rather than reusing the .c file from another testcase.
10688
10689 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
10690
10691         * gdb.ada/null_record.exp: Check where we stopped after
10692         sending the start command, instead of where the associated
10693         temporary breakpoint was inserted.
10694
10695 2004-10-14  Andrew Cagney  <cagney@gnu.org>
10696
10697         * gdb.mi/gdb701.c (main): Return 0.
10698
10699 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
10700
10701         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10702
10703 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
10704
10705         * gdb.threads/schedlock.c: Add comment markers to use to find
10706         line numbers.
10707         * gdb.threads/schedlock.exp: Adjust regex to handle the new
10708         comments.
10709         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10710         breakpoint lines.
10711
10712 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
10713
10714         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10715
10716 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
10717
10718         * configure.in: Add gdb.dwarf2.
10719         * configure: Regenerated.
10720         * Makefile.in: Add gdb.dwarf2.
10721         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10722         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10723         gdb.dwarf2/file1.txt: New files.
10724
10725 2004-10-11  Orjan Friberg  <orjanf@axis.com>
10726
10727         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10728         of "run", since the latter doesn't work with remote targets.  Adjust
10729         the breakpoint numbering accordingly.
10730         * gdb.threads/pthread_cond_wait.exp: Ditto.
10731
10732 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
10733
10734         * gdb.base/overlays.exp: Update copyright years.
10735
10736 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
10737
10738         * gdb.base/overlays.exp: Disable if target is Linux.
10739
10740 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
10741
10742         * config/gdbserver.exp (gdb_load): Use right filename on remote.
10743
10744 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
10745
10746         * gdb.asm/asm-source.exp: Add m32r-linux target.
10747         * gdb.asm/m32r-linux.inc: New file.
10748
10749 2004-09-24  Andrew Cagney  <cagney@redhat.com>
10750             David Anderson <anderson@redhat.com>
10751
10752         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10753         command fails, assume things will work.
10754         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10755         (_GNU_SOURCE): Define.
10756         (print_unsigned, print_hex): Change parameter to "long long".
10757         (print_byte_count): New function, use to print byte counts.
10758         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10759         O_LARGEFILE.
10760         (main): Compute an upper bound on a corefile in max_core_size.
10761         Limit memory chunk size to max_core_size.  Limit total memory
10762         allocated to max_core_size.
10763
10764 2004-09-23  Andrew Cagney  <cagney@gnu.org>
10765
10766         * gdb.base/bigcore.exp: Replace the code that creates a corefile
10767         from a separate process with code that creates a corefile by
10768         making the inferior dump core.
10769
10770 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
10771
10772         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10773         block.
10774
10775 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
10776
10777         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10778         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
10779         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10780         Likewise.
10781
10782 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
10783
10784         * gdb.java/jprint.exp: New test case for java inferior call.
10785         * gdb.java/jprint.java: Ditto.
10786
10787 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
10788
10789         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10790
10791 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
10792
10793         * gdb.threads/killed.c: Include <stdlib.h>.
10794         * gdb.threads/pthreads.c: Likewise.
10795
10796 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
10797
10798         * gdb.threads/killed.c: Add copyright notice.
10799
10800 2004-09-10  Jason Molenda  (jmolenda@apple.com)
10801
10802         * gdb.base/define.exp: Two new tests to verify zero space chars
10803         after 'if' and 'while' commands in a user-defined command is correctly
10804         parsed.
10805
10806 2004-09-08  Andrew Cagney  <cagney@gnu.org>
10807
10808         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
10809         delivery test with duplicate at end of file.
10810
10811 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
10812
10813         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10814
10815 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
10816
10817         * config/hppro.exp: Removed.
10818
10819 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
10820
10821         * config/sparclet.exp: Removed.
10822
10823 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
10824
10825         * config/udi.exp: Removed.
10826
10827 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
10828
10829         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10830         of "exp_continue".
10831         (advancei): Likewise.
10832
10833 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
10834
10835         * gdb.base/unload.exp: Fix so messages aren't duplicated.
10836
10837 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
10838
10839         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10840         to check for nodebug in executable.
10841         * gdb.gdb/observer.exp (setup_test): Likewise.
10842         * gdb.gdb/selftest.exp (test_with_self): Likewise.
10843         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10844
10845 2004-09-01  Andrew Cagney  <cagney@gnu.org>
10846
10847         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10848         files.
10849
10850 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
10851
10852         * gdb.base/unload.exp: Fix expected warning message to match
10853         latest format.
10854
10855 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
10856
10857         * gdb.base/call-rt-st.exp: Fix typos.
10858
10859 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
10860
10861         * gdb.threads/thread_check.exp: New testcase.
10862         * gdb.threads/thread_check.c: New testcase.
10863
10864 2004-08-31  Andrew Cagney  <cagney@gnu.org>
10865
10866         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10867         (skip_to_handler_entry): New procedures.  Test stepping into a
10868         handler when the breakpoint is at the handler's entry point.
10869
10870 2004-08-30  Andrew Cagney  <cagney@gnu.org>
10871
10872         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10873         gdb/1757.
10874
10875 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
10876
10877         With code from Manoj Iyer <manjo@austin.ibm.com>:
10878         * lib/gdb.exp (gdb_file_cmd): Return more information in the
10879         return value.  Add an arm for "no debugging symbols found".
10880         Change a stray "error" to "perror".
10881         (gdb_run_cmd): Adapt to new return value.
10882         * gdb.base/remote.exp: Adapt to new return value.
10883         * gdb.gdb/complaints.exp: Likewise.
10884         * gdb.gdb/observer.exp: Likewise.
10885         * gdb.gdb/selftest.exp: Likewise.
10886         * gdb.gdb/xfullpath.exp: Likewise.
10887
10888 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
10889
10890         * gdb.threads/bp_in_thread.exp: New testcase.
10891
10892 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
10893
10894         Fix PR testsuite/1735.
10895         * gdb.threads/schedlock.c (thread_function): Add a cast
10896         to suppress a gcc warning.
10897         * gdb.threads/thread-specific.c (thread_function): Likewise.
10898
10899 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
10900
10901         * gdb.base/unload.c: Include <stdlib.h>.
10902
10903 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
10904
10905         From Paul Gilliam <pgilliam@us.ibm.com>:
10906         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10907         synchronized after the "return".
10908
10909 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
10910
10911         * gdb.mi/basics.c: Include <stdio.h>.
10912         * gdb.mi/pthreads.c: Include <stdlib.h>.
10913         * gdb.mi/var-cmd.c: Include <stdlib.h>.
10914
10915 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
10916
10917         * gdb.threads/schedlock.c: Add copyright notice.
10918
10919 2004-08-25  Andrew Cagney  <cagney@gnu.org>
10920
10921         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10922         (skip_over_handler, breakpoint_over_hander): New test procedures.
10923         (advance, advancei): Add a proper prefix, do not use
10924         rerun_to_main.
10925         * gdb.base/sigstep.c (main): Change to use an infinite loop.
10926
10927 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
10928
10929         * gdb.mi/basics.c: Add copyright notice.
10930         * gdb.mi/var-cmd.c: Add copyright notice.
10931
10932 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
10933
10934         * lib/gdb.exp: Remove signed_keyword_not_used.
10935         * lib/compiler.c: Likewise.
10936         * lib/compiler.cc: Likewise.
10937
10938 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
10939
10940         * gdb.base/whatis.c: Remove conditional disabling of "signed".
10941         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10942
10943 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
10944
10945         * gdb.base/whatis.c: Add copyright notice.
10946
10947 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
10948
10949         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
10950         it to skip the breakpoints encoded in the inline assembly.
10951
10952 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
10953
10954         * Makefile.in: Add gdb.fortran.
10955
10956 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
10957
10958         * gdb.base/call-sc.exp (test_scalar_returns):
10959         Fix cut-and-paste glitch in "Make fun return now".
10960
10961 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
10962
10963         * configure.in: Add gdb.fortran.
10964         * configure: Regenerate.
10965         * gdb.fortran/Makefile.in: New file.
10966         * lib/gdb.exp (skip_fortran_tests): New procedure.
10967
10968 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
10969
10970         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
10971         reference to bug-gnu@prep.ai.mit.edu.
10972         * gdb.mi/mi-var-child.exp: Likewise.
10973         * gdb.mi/mi-var-cmd.exp: Likewise.
10974         * gdb.mi/mi-var-display.exp: Likewise.
10975         * gdb.mi/mi2-var-block.exp: Likewise.
10976         * gdb.mi/mi2-var-child.exp: Likewise.
10977         * gdb.mi/mi2-var-cmd.exp: Likewise.
10978         * gdb.mi/mi2-var-display.exp: Likewise.
10979
10980 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
10981
10982         * gdb.base/unload.c (main): Make local variable msg const.
10983
10984 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
10985
10986         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
10987         to bug-gnu@prep.ai.mit.edu.
10988         * gdb.mi/mi-disassemble.exp: Likewise.
10989         * gdb.mi/mi-eval.exp: Likewise.
10990         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
10991         default line number.
10992         * gdb.mi/mi-return.exp: Likewise.
10993         * gdb.mi/mi-simplerun.exp: Likewise.
10994         * gdb.mi/mi-stack.exp: Likewise.
10995         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
10996         number with explicit range test.
10997         * gdb.mi/mi-watch.exp: Likewise.
10998         * gdb.mi/mi2-break.exp: Likewise.
10999         * gdb.mi/mi2-cli.exp: Likewise.
11000         * gdb.mi/mi2-disassemble.exp: Likewise.
11001         * gdb.mi/mi2-eval.exp: Likewise.
11002         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
11003         default line number.
11004         * gdb.mi/mi2-return.exp: Likewise.
11005         * gdb.mi/mi2-simplerun.exp: Likewise.
11006         * gdb.mi/mi2-stack.exp: Likewise.
11007         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
11008         number with explicit range test.
11009         * gdb.mi/mi2-watch.exp: Likewise.
11010
11011 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
11012
11013         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11014         * gdb.cp/m-static.exp: Likewise.
11015         * gdb.cp/rtti.exp: Likewise.
11016
11017 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
11018
11019         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11020
11021 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
11022
11023         * ChangeLog: Prefix Local Variables with semi-colons and indent
11024         the reference to older ChangeLog files, to fix fontification in
11025         Emacs.
11026
11027 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
11028
11029         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11030         * gdb.mi/mi2-break.exp: Likewise.
11031
11032 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
11033
11034         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11035
11036 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
11037
11038         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11039
11040 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
11041
11042         * gdb.cp/classes.exp: Remove unused declarations.  Just let
11043         test names default instead of providing special names.  Remove
11044         extraneous demangler test.
11045
11046 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
11047
11048         * gdb.base/unload.exp: New test for breakpoints in dynamically
11049         loaded libraries.
11050         * gdb.base/unload.c: Ditto.
11051         * gdb.base/unloadshr.c: Ditto.
11052
11053 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
11054
11055         * gdb.cp/classes.exp (test_ptype_class_objects): Call
11056         cp_test_ptype_class.
11057         (test_enums): Likewise.
11058
11059 2004-08-10  Andrew Cagney  <cagney@gnu.org>
11060
11061         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11062         files.
11063
11064 2004-08-10  Andrew Cagney  <cagney@gnu.org>
11065
11066         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11067         init_malloc call.
11068
11069 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
11070
11071         * ChangeLog: Add copyright notice.  The notice is copied
11072         from emacs 21.3 top level ChangeLog.
11073
11074 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
11075
11076         * lib/cp-support.exp: New file.
11077         * lib/cp-support.exp (cp_test_type_class): New function.
11078         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11079         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11080         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11081         cp_test_ptype_class.
11082
11083 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
11084
11085         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11086         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11087         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11088         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11089         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11090         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11091         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11092         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11093         gdb.mi/mi2-watch.exp: Update copyright years.
11094
11095 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
11096
11097         * gdb.base/sigaltstack.exp: Provide proper anchoring.
11098
11099 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
11100
11101         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11102         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11103         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11104         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11105         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11106         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11107         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11108         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11109         gdb.mi/mi-watch.exp: Update copyright years.
11110
11111 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
11112
11113         PR gdb/1738
11114         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11115         from a breakpoint with a pending signal.
11116
11117 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
11118
11119         PR gdb/1736
11120         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11121         * gdb.base/sigaltstack.exp (finish_test): Consume output until
11122         the prompt.
11123         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11124
11125 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
11126
11127         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11128
11129 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
11130
11131         PR gdb/1736
11132         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
11133         for i?86-*-linux*.
11134
11135 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
11136
11137         * gdb.arch/i386-prologue.exp: Compile without debug information.
11138
11139 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
11140
11141         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11142         rather than asking gdb to search.
11143
11144 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
11145
11146         * gdb.base/gcore.c: Include <string.h>.
11147
11148 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
11149
11150         * gdb.base/gcore.c: Add copyright notice.
11151
11152 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
11153
11154         * gdb.base/freebpcmd.c: Include <stdio.h>.
11155         * gdb.base/long_long.c: Include <string.h>.
11156         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11157         * gdb.base/siginfo.c: Include <string.h>.
11158         * gdb.base/sigstep.c: Include <string.h>.
11159
11160 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
11161
11162         * gdb.base/complex.c: Include <stdlib.h>.
11163
11164 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
11165
11166         * gdb.base/complex.c: Add copyright notice.
11167
11168 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
11169
11170         * gdb.base/charset.c: Include <stdlib.h>.
11171
11172 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
11173
11174         * gdb.base/auxv.c: Include <stdlib.h>.
11175
11176 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
11177
11178         * gdb.base/auxv.c: Add copyright notice.
11179
11180 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
11181
11182         * gdb.base/coremaker.c: Add copyright notice.
11183         * gdb.base/coremaker2.c: Add copyright notice.
11184
11185 2004-08-04  Andrew Cagney  <cagney@gnu.org>
11186
11187         * gdb.base/store.exp: Update copyright.
11188         (check_set, up_set, check_struct, up_struct): Add a prefix to test
11189         names, do not import gdb_prompt.
11190
11191 2004-08-01  Andrew Cagney  <cagney@gnu.org>
11192
11193         Fix PR testsuite/1729.
11194         * gdb.base/dump.exp: Add test name to callers of capture_value, do
11195         not use capture_value with value 4.
11196         (capture_value): Add optional test name parameter.
11197         (test_reload_saved_value, test_restore_saved_value): Use $msg as
11198         the prefix, pass to capture_value.
11199
11200 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
11201
11202         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11203         * gdb.arch/i386-prologue.c (standard): New prototype and function.
11204         (main): Call new function.
11205
11206 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
11207
11208         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11209
11210 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
11211
11212         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11213
11214 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
11215
11216         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11217         Accept more values of vtbl pointer.  Remove some messages
11218         about "obsolete gcc or gdb".
11219
11220 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
11221
11222         * gdb.cp/classes.exp: Accept more varieties of ptype output.
11223
11224 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
11225
11226         * gdb.base/asm-source.exp: Properly convert target board
11227         debug flags from gcc format to binutils format.
11228
11229 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
11230
11231         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11232         gdb1718".  PR backtrace/1718 partially fixed.
11233
11234 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
11235
11236         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11237
11238 2004-07-26  Nick Clifton  <nickc@redhat.com>
11239
11240         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
11241         good default value for a specific architecture is available then
11242         set it to that value.  Otherwise default to the -gstabs switch.
11243         Remove the -g... switches from the asm-flags variable.  Allow the
11244         target board info to override the value if it wants to.  Pass the
11245         switch on the assembler command line.
11246
11247 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
11248
11249         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11250         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11251         (main): Call new function.
11252
11253 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
11254
11255         Test for PR exp/1715.
11256         * gdb.base/radix.exp: Refactor common procedures.  Make all
11257         test names unique.  Change XFAIL to KFAIL.
11258
11259 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
11260
11261         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11262         * gdb.ada/gnat_ada.gin: ... to here.
11263         * configure.in: Use gnat_ada.gin.
11264         * configure: Regenerate.
11265
11266 2004-07-20  Andrew Cagney  <cagney@gnu.org>
11267
11268         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11269         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
11270         XFAILs.  Clean up test messages and comments.  Check backtraces.
11271         Delete re-sync code.
11272
11273 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
11274
11275         Fix PR cli/740.
11276         * gdb.base/annota1.exp: Honor gdb,nosignals.
11277         * gdb.base/annota3.exp: Likewise.
11278
11279 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
11280
11281         * lib/java.exp: Update copyright notice.
11282
11283 2004-07-19  Andrew Cagney  <cagney@gnu.org>
11284
11285         * gdb.base/selftest.exp: Copy file from here ...
11286         * gdb.gdb/selftest.exp: ... to here.
11287
11288 2004-07-16  Andrew Cagney  <cagney@redhat.com>
11289
11290         * lib/insight-support.exp: Delete file.
11291         * lib/java.exp (java_init): Fix copyright.
11292
11293 2004-07-16  Andrew Cagney  <cagney@gnu.org>
11294
11295         * gdb.base/restore.c: Append "prologue" to comments marking the a
11296         function's prologue.
11297         * gdb.base/restore.exp: Update copyright, re-indent.
11298         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
11299         callerN" prefix where needed.  Update patterns that match a
11300         function's prologue.
11301
11302 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
11303
11304         * gdb.base/restore.c: Add copyright notice.
11305
11306 2004-07-16  Andrew Cagney  <cagney@gnu.org>
11307
11308         * gdb.base/logical.exp: Update copyright.
11309         (evaluate): New procedure.  Use to re-implement tests using
11310         several tables.
11311
11312 2004-07-14  Martin Hunt  <hunt@redhat.com>
11313
11314         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11315         which fixes some problems where init.tcl was not found.
11316
11317 2004-07-13  Andrew Cagney  <cagney@gnu.org>
11318
11319         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11320         (check_sizeof, check_valueof): Do not include the output in the
11321         test name.  Use gdb_test.
11322         (get_valueof): Use gdb_test_multiple.
11323
11324         * gdb.base/step-test.exp: Update copyright.  Use
11325         gdb_test_multiple.  Ensure that test names do not include
11326         architecture dependent output.
11327
11328         * gdb.gdb/observer.exp: Update copyright.
11329         (setup_test): Use gdb_test_multiple.
11330         (attach_first_observer, attach_second_observer)
11331         (attach_third_observer, detach_first_observer)
11332         (detach_second_observer, detach_third_observer)
11333         (reset_counters, check_counters): Make $message a prefix.
11334         (test_normal_stop_notifications): Add "args" parameter - a list of
11335         init functions to be called.  Make $message a prefix,
11336         (test_observer_normal_stop): Change the message prefixes so that
11337         they are unique, pass the attach / detach procedures to
11338         test_normal_stop_notifications.
11339
11340         * gdb.base/signull.exp (test_segv): Prefix all tests with
11341         "${name}".  Clean up test messages.
11342
11343         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11344
11345         * gdb.base/ena-dis-br.exp: Update copyright.
11346         (break_at): New function.  Replace send_gdb with gdb_test,
11347         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
11348         ignore count, not stopped at bpt", with KFAIL.
11349
11350 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
11351
11352         * gdb.base/attach.exp: Remove cleanupfile handling.
11353
11354 2004-07-12  Andrew Cagney  <cagney@gnu.org>
11355
11356         * gdb.base/annota1.exp: Cleanup corefile test name.
11357         * gdb.base/annota3.exp: Ditto.
11358
11359 2004-07-12  Andrew Cagney  <cagney@gnu.org>
11360
11361         * gdb.base/signals.exp: Clean up copyright, re-indent.
11362
11363         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11364         gdb_test and gdb_test_multiple.
11365
11366 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
11367
11368         * gdb.java/jmain.exp: Fix expected line number for main to
11369         break at.  Set XFAIL for break at main test since gcj does not
11370         provide line number info for first statement in main.
11371
11372 2004-07-08  Andrew Cagney  <cagney@gnu.org>
11373
11374         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
11375
11376         * gdb.base/sigbpt.exp: Make the common part of each test name a
11377         prefix instead of suffix.
11378
11379 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
11380
11381         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11382         test from test_tbreak_creation_and_listing to
11383         test_file_list_exec_source_file
11384         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11385         Changed name of test from test_tbreak_creation_and_listing to
11386         test_file_list_exec_source_file
11387
11388 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
11389
11390         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11391         the jmisc() constructor instead of <init>.
11392         * gdb.java/jmisc1.exp: Ditto.
11393
11394 2004-07-07  Andrew Cagney  <cagney@gnu.org>
11395
11396         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11397         corrupting the PC.
11398
11399 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
11400
11401         * gdb.cp/templates.exp: Accept whitespace change in demangler
11402         output.
11403
11404 2004-07-06  Andrew Cagney  <cagney@gnu.org>
11405
11406         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11407
11408 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
11409
11410         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11411         * lib/compiler.cc: Likewise.
11412
11413 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
11414
11415         * lib/compiler.cc: Work around string preprocessing problem
11416         with old hp c++ compiler.
11417         * lib/compiler.c: Likewise.
11418
11419 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
11420
11421         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
11422         directives to conditionalize symbol prefixing.
11423         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11424         additional_flags handling.  Add underscore prefix for Cygwin.
11425         * gdb.arch/i386-unwind.c: Use preprocessor directives to
11426         conditionalize symbol prefixing.
11427         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11428         additional_flags handling.  Add underscore prefix for Cygwin.
11429
11430 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
11431
11432         * gdb.base/bigcore.exp: Skip test on Cygwin.
11433
11434 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
11435
11436         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11437         formats for "info register".  Use gdb_test_multiple.  Fix
11438         the "invalid register" test.
11439
11440 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
11441
11442         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
11443         PID for Cygwin.  Add Cygwin specific strings to check for in some
11444         tests.
11445         (do_attach_tests): Add a test for user interaction when attaching
11446         to a process with no matching symbol table already loaded.
11447
11448 2004-06-26  Andrew Cagney  <cagney@gnu.org>
11449
11450         Test PR java/1567 and PR java/1565.
11451         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11452         * gdb.java/jmisc2.exp: Delete file.
11453
11454 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
11455
11456         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11457
11458 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
11459
11460         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11461         attach process.
11462
11463 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
11464
11465         * gdb.cp/pr-1553.exp: Remove.
11466
11467 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
11468
11469         * gdb.cp/pr-1553.cc: Remove.
11470         * gdb.cp/pr-1553.exp: Disable this test.
11471
11472 2004-06-20  Jim Blandy  <jimb@redhat.com>
11473
11474         Fix PR testsuite/1680.
11475         * gdb.arch/i386-sse.exp: Properly quote curly braces in
11476         regular expressions.
11477
11478 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
11479
11480         Fix PR testsuite/1679.
11481         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11482         Issue an UNSUPPORTED result instead.
11483
11484 2004-06-18  Jim Blandy  <jimb@redhat.com>
11485
11486         * gdb.base/charset.exp: Only send a control-C if we see a new
11487         prompt and incomplete command.
11488
11489 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
11490
11491         * gdb.cp/pr-574.cc: Add copyright notice.
11492
11493 2004-06-17  Jim Blandy  <jimb@redhat.com>
11494
11495         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11496         cases where the regexp has no groups; this grabs random text from
11497         the previous test suite, whatever that was.
11498
11499 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
11500
11501         * gdb.cp/printmethod.cc: Add copyright notice.
11502
11503 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
11504
11505         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11506
11507 2004-06-16  Andrew Cagney  <cagney@gnu.org>
11508
11509         * gdb.base/signull.c: Update copyright.  Include <string.h>.
11510         (bowler): Replace data_pointer with data_read
11511         and data_write cases.  Add code_descriptor case.
11512         (zero, desc): New array and pointer.
11513         (data, code): Change to simple pointers.
11514         * gdb.base/signull.exp: Fix probe pattern matching a function
11515         descriptor SIGSEGV.  Replace data_pointer with data_read and
11516         data_write tests.
11517
11518 2004-06-16  Andrew Cagney  <cagney@gnu.org>
11519
11520         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11521
11522 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
11523
11524         * gdb.base/long_long.c: Add copyright notice.
11525
11526 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
11527
11528         * gdb.base/long_long.exp: Remove reference to
11529         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
11530         to gdb_breakpoint and gdb_continue_to_breakpoint.
11531
11532 2004-06-14  Jim Blandy  <jimb@redhat.com>
11533
11534         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11535         endian case.
11536
11537 2004-06-14  Andrew Cagney  <cagney@gnu.org>
11538
11539         * gdb.base/gcore.exp (capture_command_output): Delete the always
11540         passing tests containing inferior values.
11541         * gdb.base/ending-run.exp: Do not include the breakpoint address
11542         in the test message.  Update copyright.
11543         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11544         size in the test name, use gdb_test_multiple.  Update copyright.
11545
11546 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
11547
11548         * gdb.cp/ref-types.cc: Add copyright notice.
11549
11550 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
11551
11552         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11553         hp_aCC_compiler.
11554         * lib/compiler.cc: Likewise.
11555         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11556         'set' commands.  Log diagnostics for other lines.  Set
11557         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11558
11559 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
11560
11561         * gdb.cp/try_catch.cc: Add copyright notice.
11562
11563 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
11564
11565         * gdb.cp/userdef.cc: Add copyright notice.
11566
11567 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
11568
11569         * gdb.cp/virtfunc.cc: Add copyright notice.
11570
11571 2004-06-11  Randolph Chung  <tausq@debian.org>
11572
11573         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11574         problem.
11575
11576 2004-06-10  Andrew Cagney  <cagney@gnu.org>
11577
11578         * lib/compiler.cc, lib/compiler.c: Append either
11579         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11580         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11581         instead of gcc-3-3.
11582
11583 2004-06-09  Andrew Cagney  <cagney@gnu.org>
11584
11585         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11586         gdb/1455, bug is specific to "long long" and "double".
11587
11588         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11589         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11590         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
11591         fixed.
11592
11593 2004-06-09  Andrew Cagney  <cagney@gnu.org>
11594
11595         * gdb.base/structs.exp (test_struct_returns): Replace
11596         "return_value_unknown" and "finish_value_unknown" by
11597         "return_value_known" and "finish_value_known".  Instead of
11598         "return_value_unknown" iff "finish_value_unknown", check
11599         "return_value_known" implies "finish_value_known".
11600
11601 2004-06-08  Martin Hunt  <hunt@redhat.com>
11602
11603         * gdb.base/float.exp: Add pattern for mips targets.
11604
11605 2004-06-08  Randolph Chung  <tausq@debian.org>
11606
11607         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11608         message for unknown architectures more clear.
11609
11610 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
11611
11612         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11613         start the execution of the program.
11614
11615 2004-06-07  Jim Blandy  <jimb@redhat.com>
11616
11617         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11618         * gdb.arch/i386-cpuid.h: New helper file.
11619
11620 2004-06-07  Randolph Chung  <tausq@debian.org>
11621
11622         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11623         has started.
11624
11625 2004-06-04  Roland McGrath  <roland@redhat.com>
11626
11627         Fix PR gdb/1647.
11628         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11629         differently to be robust to output buffering differences.
11630
11631 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
11632
11633         * gdb.threads/pthreads.exp: Update copyright years.
11634         (check_control_c): Change asynchronous 'after' to synchronous.
11635
11636 2004-06-04  Roland McGrath  <roland@redhat.com>
11637
11638         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11639         next gdb prompt.
11640
11641 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
11642
11643         Fix PR gdb/1636.
11644         * gdb.threads/manythreads.exp: Change asynchronous 'after'
11645         calls to synchronous.
11646
11647 2004-05-26  Jim Blandy  <jimb@redhat.com>
11648
11649         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11650
11651 2004-05-24  Randolph Chung  <tausq@debian.org>
11652
11653         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11654         * gdb.asm/pa.inc: New file.
11655
11656 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
11657
11658         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11659
11660 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
11661             Daniel Jacobowitz  <drow@mvista.com>
11662
11663         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11664         GDB prompt.
11665
11666 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11667
11668         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11669         setjmp/longjmp.  Use sigaction instead of signal.
11670
11671 2004-05-19  J. Brobecker  <brobecker@gnat.com>
11672             Michael Snyder  <msnyder@redhat.com>
11673
11674         * gdb.threads/pthread_cond_wait.c: New file.
11675         * gdb.threads/pthread_cond_wait.exp: New testcase.
11676
11677 2004-05-13  Andrew Cagney  <cagney@redhat.com>
11678
11679         * gdb.base/signull.exp, gdb.base/signull.c: New files.
11680         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11681
11682 2004-05-11  Andrew Cagney  <cagney@redhat.com>
11683
11684         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
11685         fixed but revealed gdb/1639.
11686
11687 2004-05-10  Andrew Cagney  <cagney@redhat.com>
11688
11689         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11690         func1" and "next to 2nd alarm", kernel bug avoided.
11691
11692 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
11693
11694         PR external/1568
11695         * gdb.base/bigcore.exp: Check the size of the dumped core file.
11696         XFAIL if it is smaller than bytes_allocated.
11697         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11698         (main): Make chunks_allocated unsigned.  Correct comment.
11699
11700 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
11701
11702         * gdb.arch/powerpc-aix-prologue.c: New file.
11703         * gdb.arch/powerpc-aix-prologue.exp: New file.
11704
11705 2004-05-07  Jim Blandy  <jimb@redhat.com>
11706
11707         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11708         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11709
11710 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
11711
11712         * gdb.base/sep.exp: No longer setup_kfail when the program was
11713         built with dwarf2.
11714
11715 2004-05-05  Jim Ingham  <jingham@apple.com>
11716
11717         * gdb.base/pending.exp: Make sure pending breakpoints
11718         preserve the ignore count.
11719
11720 2004-04-27  Jerome Guitton  <guitton@gnat.com>
11721
11722         * i386-prologue.exp: Add testcase for jump instruction as first
11723         instruction of the real code.
11724         * i386-prologue.c (jump_at_beginning): New function.
11725
11726 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
11727
11728         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11729         x86_64-*-*.
11730
11731 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
11732
11733         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11734         i*86-*-*.
11735
11736 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
11737
11738         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11739         expression that checks the return type.
11740
11741 2004-04-23  Andrew Cagney  <cagney@redhat.com>
11742
11743         * gdb.base/call-sc.exp: New test of scalar call/return values.
11744         * gdb.base/call-sc.c: Ditto.
11745
11746 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11747
11748         * gdb.threads/manythreads.c: Reduce thread stack size.
11749
11750 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
11751
11752         * gdb.threads/manythreads.c: Add copyright notice.
11753
11754 2004-04-23  Andrew Cagney  <cagney@redhat.com>
11755
11756         * gdb.base/siginfo.exp: Better handle step out of signal.
11757         * gdb.base/sigstep.exp: Ditto.
11758
11759 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
11760             Daniel Jacobowitz  <drow@mvista.com>
11761
11762         * gdb.threads/manythreads.c: New testcase.
11763         * gdb.threads/manythreads.exp: Ditto.
11764
11765 2004-04-22  Jim Blandy  <jimb@redhat.com>
11766
11767         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11768         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11769
11770 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
11771
11772         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11773
11774 2004-04-21  Andrew Cagney  <cagney@redhat.com>
11775
11776         * gdb.base/sigstep.c: New file.
11777         * gdb.base/sigstep.exp: New file.
11778
11779 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
11780
11781         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11782         call to observer_notify_normal_stop.
11783
11784 2004-04-15  Andrew Cagney  <cagney@redhat.com>
11785
11786         * gdb.base/siginfo.c: New file.
11787         * gdb.base/siginfo.exp: New file.
11788
11789 2004-04-12  J. Brobecker  <brobecker@gnat.com>
11790
11791         * gdb.base/sep.exp: Fix typo in comment.
11792
11793 2004-04-12  J. Brobecker  <brobecker@gnat.com>
11794
11795         * gdb.base/sep.c: New file.
11796         * gdb.base/sep-proc.c: New file.
11797         * gdb.base/sep.exp: New testcase.
11798
11799 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
11800
11801         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11802         support.
11803
11804 2004-04-05  Andrew Cagney  <cagney@redhat.com>
11805
11806         * gdb.base/sigaltstack.c: New file.
11807         * gdb.base/sigaltstack.exp: New file.
11808
11809 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
11810
11811         * gdb.base/foll-fork.exp: Update the expected output for
11812         "help set follow-fork-mode", to match a change that was made
11813         to the help of this variable on 2004-01-13.
11814
11815 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
11816
11817         * lib/ada.exp: Add copyright notice.
11818         * bar.ads: Likewise.
11819         * bar.adb: Likewise.
11820         * null_record.adb: Likewise.
11821         * null_record.exp: Likewise.
11822         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11823
11824 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
11825
11826         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11827         * configure: Regenerate.
11828
11829 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
11830
11831         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11832         to build the application. Remove the message printed when in
11833         verbose mode, redundant with the UNSUPPORTED message above.
11834
11835 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
11836
11837         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11838         * gdb.ada (null_record.exp): New testcase.
11839
11840 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
11841
11842         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11843
11844 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
11845
11846         * gdb.ada: New subdirectory.
11847         * gdb.ada/Makefile.in: New file.
11848         * gdb.ada/gnat_ada.gpr.in: New file.
11849
11850 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
11851
11852         * lib/ada.exp: New file.
11853
11854 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
11855
11856         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11857         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11858
11859 2004-03-22  Andrew Cagney  <cagney@redhat.com>
11860
11861         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11862         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11863         Problem identified by Ulrich Weigand.
11864
11865 2004-03-17  David Carlton  <carlton@kealia.com>
11866
11867         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11868         PR c++/826.
11869
11870 2004-03-16  Roland McGrath  <roland@redhat.com>
11871
11872         * gdb.base/auxv.exp: New file.
11873         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11874
11875 2004-03-12  David Carlton  <carlton@kealia.com>
11876
11877         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
11878         * gdb.cp/pr-1553.cc: Ditto.
11879         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11880         pass branch.
11881
11882 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
11883
11884         * gdb.cp/templates.exp: Accept more template types.
11885
11886 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
11887
11888         From Corinna Vinschen with modifications.
11889         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11890         local variable obj_with_enum.
11891         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11892         results with obj_with_enum.
11893
11894 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
11895
11896         * gdb.cp/classes.cc: New file, copied from misc.cc.
11897         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11898
11899 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
11900
11901         * gdb.cp/misc.cc: Add copyright notice.
11902
11903 2004-03-05  David Carlton  <carlton@kealia.com>
11904
11905         * gdb.cp/rtti.exp: Add 'print *obj3' test.
11906         * gdb.cp/rtti.h: Update copyright.
11907         (namespace n2::n3): New.
11908         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11909         (n2::n3::func3): New.
11910         (main): Call n2::n3::func3.
11911         * gdb.cp/rtti2.cc: Update copyright.
11912         (n2::create3): New.
11913
11914 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
11915
11916         * gdb.asm/openbsd.inc: Fix typo.
11917
11918 2004-03-03  Fred Fish  <fnf@redhat.com>
11919
11920         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11921         "val" instead of unused "size".  Update copyright year.
11922
11923 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
11924
11925         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
11926         to use unsigned char.
11927         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11928         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11929
11930 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
11931
11932         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11933         line of output.
11934
11935 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
11936
11937         * gdb.base/relocate.c (dummy): Initialize.
11938
11939 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
11940
11941         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
11942         a breakpoint at exit.
11943
11944 2004-02-27  Fred Fish  <fnf@redhat.com>
11945
11946         * gdb.base/chng-syms.exp: Add expect condition to match failing
11947         case that isn't a timeout.
11948
11949 2004-02-27  Andrew Cagney  <cagney@redhat.com>
11950
11951         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11952         support.
11953
11954 2004-02-26  Fred Fish  <fnf@redhat.com>
11955
11956         * gdb.arch/gdb1431.c: Remove.
11957         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11958         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11959         of "until" incorrectly.
11960
11961 2004-02-26  J. Brobecker  <brobecker@gnat.com>
11962
11963         * gdb.cp/class2.cc (empty): New class.
11964         (refer): New function.
11965         (main): Declare an object of type empty and use it.
11966         * gdb.cp/class2.exp: Print the value of an object of type empty.
11967
11968 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
11969
11970         * gdb.base/langs.exp: Update query string to match the
11971         new nquery format used for pending breakpoints.
11972
11973 2004-02-26  Andrew Cagney  <cagney@redhat.com>
11974
11975         Fix PR i18n/1570.
11976         * gdb.base/charset.c: Update copyright notice.
11977         (main, init_string): Remove the escape character '\e' tests.
11978         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11979         * gdb.base/charset.exp (valid_host_charset): Ditto.
11980         * gdb.base/setvar.exp: Ditto.
11981
11982 2004-02-24  Andrew Cagney  <cagney@redhat.com>
11983
11984         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11985         mmapped data in core file" PASS and FAIL messages consistent.
11986
11987         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11988         setting a breakpoint.  Work around PR java/1565.
11989
11990 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
11991
11992         * lib/gdb.exp (gdb_breakpoint): Update query string to match
11993         new nquery format.
11994         * gdb.base/pending.exp: Ditto.
11995
11996 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
11997
11998         * configure.in: Run stabs tests on *BSD.
11999         * configure: Regenerated.
12000
12001 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
12002
12003         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12004
12005 2004-02-20  Fred Fish  <fnf@redhat.com>
12006
12007         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12008         blank in test for "returns short", for consistency with other
12009         "returns xxx" tests.  Update copyright year.
12010
12011 2004-02-19  Fred Fish  <fnf@redhat.com>
12012
12013         New testcase for PR breakpoint/1558.
12014         * gdb.arch/gdb1558.exp: New file.
12015         * gdb.arch/gdb1558.c: New file.
12016
12017 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
12018
12019         * gdb.base/nodebug.exp: Fix typo.
12020
12021 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12022
12023         Committed by Jim Blandy  <jimb@redhat.com>.
12024
12025         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12026
12027         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12028
12029         * gdb.base/float.exp: Support s390*-*-* targets.
12030
12031 2004-02-17  Adam Fedor  <fedor@gnu.org>
12032
12033         * gdb.base/gdb1555.exp: New file.
12034         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12035
12036 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
12037
12038         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12039
12040 2004-02-16  Fred Fish  <fnf@redhat.com>
12041
12042         * gdb.arch/gdb1291.c: Remove
12043         * gdb.arch/gdb1291.s: New test input file.
12044         * gdb.arch/gdb1291.exp: Expand test to check case that should not
12045         fail.  Test for correct result, known incorrect result, other
12046         failures and timeouts.
12047
12048 2004-02-16  Andrew Cagney  <cagney@redhat.com>
12049
12050         * gdb.base/bigcore.exp: New file.
12051         * gdb.base/bigcore.c: New file.
12052
12053 2004-02-13  Andrew Cagney  <cagney@redhat.com>
12054
12055         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12056         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12057         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12058         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12059         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12060         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12061         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12062         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12063         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12064         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12065
12066 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
12067
12068         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12069         executed is an alloc instruction.
12070
12071 2004-02-11  David Carlton  <carlton@kealia.com>
12072
12073         * gdb.cp/breakpoint.exp: New.
12074         * gdb.cp/breakpoint.cc: New.
12075
12076 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
12077
12078         Partial fix for PR gdb/1543.
12079         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12080         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12081         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12082         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12083         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12084         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12085         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12086         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12087         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12088         to bug-gdb@prep.ai.mit.edu .
12089         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12090         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12091         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12092         Likewise.
12093
12094 2004-02-10  Andrew Cagney  <cagney@redhat.com>
12095
12096         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12097         using gdb_internal_error_resync.
12098
12099 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
12100
12101         * gdb.threads/thread-specific.exp: Stop early if no threads are
12102         found.
12103
12104 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
12105
12106         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12107
12108 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
12109
12110         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12111         breakpoints.
12112
12113 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
12114
12115         * config/sim.exp (gdb_load): Handle $arg == "".
12116         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12117         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12118
12119 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
12120
12121         * gdb.base/maint.exp: Update test to reflect
12122          obstack changes.
12123
12124 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
12125
12126         * gdb.base/pendshr.c (pendfunc): New function that calls
12127         pendfunc1.
12128         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12129
12130 2004-02-04  Fred Fish  <fnf@redhat.com>
12131
12132         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12133         function symbols and update copyright years.
12134         * gdb.arch/gdb1291.c: Ditto.
12135
12136 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
12137
12138         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12139
12140 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
12141
12142         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12143
12144 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
12145
12146         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12147
12148 2004-02-02  Fred Fish  <fnf@redhat.com>
12149
12150         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12151         remote targets.  Update copyright years.
12152
12153 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
12154
12155         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12156         support.
12157         * gdb.base/langs.exp: Fix test which attempts to create
12158         breakpoint on non-existent function to handle new pending
12159         support.
12160         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12161         a breakpoint.
12162         * gdb.base/pending.exp: New test.
12163         * gdb.base/pending.c: New file.
12164         * gdb.base/pendshr.c: Ditto.
12165
12166 2004-02-02  David Carlton  <carlton@kealia.com>
12167
12168         * gdb.cp/overload.exp: Add overloadNamespace tests.
12169         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12170         (overloadNamespace, XXX): New.
12171         (main): Call XXX::marker2.
12172
12173 2004-02-01  Fred Fish  <fnf@redhat.com>
12174
12175         * gdb.base/dump.exp: Use runto_main instead of "runto main".
12176         * gdb.base/finish.exp: Ditto.
12177         * gdb.base/gcore.exp: Ditto.
12178         * gdb.base/huge.exp: Ditto.
12179         * gdb.base/info-proc.exp: Ditto.
12180         * gdb.base/return2.exp: Ditto.
12181         * gdb.threads/gcore-thread.exp: Ditto.
12182
12183 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
12184
12185         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12186
12187 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
12188
12189         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12190         that opening the file succeeds on OpenBSD.
12191
12192 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
12193
12194         * gdb.threads/thread-specific.c: New file.
12195         * gdb.threads/threads-specific.exp: New test script.
12196         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12197         to expect_out.
12198
12199 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
12200
12201         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
12202         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12203         only on the "print_small_structs from print_long_arg_list" test.
12204
12205 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
12206
12207         * gdb.base/completion.exp: Kill a stray backslash.
12208
12209         From Jim Ingham <jingham@apple.com>:
12210         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12211         agrees with the result from sending a tab.
12212
12213 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
12214
12215         * gdb.base/chng-syms.exp: Remove stray newline.
12216
12217 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
12218
12219         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12220         *-*-openbsd*.
12221         * gdb.asm/openbsd.inc: New file.
12222
12223 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
12224
12225         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
12226         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12227         *-*solaris2*.  Remove commented out default settings for
12228         asm-flags.  Replace gdb_compile with target_link.
12229
12230 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
12231
12232         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
12233         for all tests.  Remove old hp-ux and cygnus xfail cases.
12234
12235 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
12236
12237         * gdb.base/chng-syms.exp: New file.
12238         * gdb.base/chng-syms.c: New file.
12239
12240 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
12241
12242         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
12243         Provide arms for current output in all my configurations.
12244
12245 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
12246
12247         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12248         * lib/compiler.cc: Likewise.
12249         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12250         get the right preprocessor.  Eval the output directly.  Remove
12251         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
12252         hp_f77_compiler and hp_f90_compiler completely.
12253         (gdb_preprocess): Delete.
12254         (get_compiler): Delete.
12255
12256 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
12257
12258         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12259         <string.h>.
12260
12261 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
12262
12263         * gdb.mi/mi-stack.exp: Update copyright.
12264
12265 2004-01-23  David Carlton  <carlton@kealia.com>
12266
12267         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
12268         test for cp_lookup_transparent_type.
12269         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
12270         call them.
12271
12272 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
12273
12274         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
12275         after -var-update.
12276
12277 2004-01-23  David Carlton  <carlton@kealia.com>
12278
12279         * gdb.cp/namespace.cc (C::ensureRefs): New.
12280         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12281
12282 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
12283
12284         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12285         case "-stack-list-locals 2".
12286         * gdb.mi/mi-var-child.exp: Test for case
12287         "-var-list-children --all-values NAME".
12288
12289 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
12290
12291         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12292
12293 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
12294
12295         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12296         used with gdb_test_multiple.
12297
12298         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12299         read at address 0.  This fixes PR testsuite/1504.
12300
12301 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
12302
12303         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12304         Remove downloading, guessing the host executable, the calls to
12305         gdb_file_cmd and gdb_target_cmd, and "load" support.
12306         (infer_host_exec): New function broken out from gdb_load.
12307         (gdb_load): New wrapper for gdbserver_gdb_load.
12308         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12309         gdb_target_cmd.  Use -target-select.
12310         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12311         Download binaries to the host.  Clear last_mi_remote_file when
12312         we load a new binary.
12313         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
12314         call gdbserver_gdb_load and mi_gdb_target_cmd.
12315
12316 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
12317
12318         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12319         type patterns.
12320
12321 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
12322
12323         * gdb.cp/templates.exp: Fix typo in test name of
12324         "print Foo<volatile char*>::foo".
12325
12326 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
12327
12328         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12329
12330 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
12331
12332         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12333         (clean mostlyclean): Remove empty rm.
12334
12335 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
12336
12337         * gdb.base/setvar.exp: Add copyright years.
12338
12339 2004-01-14  David Carlton  <carlton@bactrian.org>
12340
12341         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
12342         PR c++/1511 and update coment.
12343         * gdb.cp/templates.exp: Update patterns to match current output.
12344         If changes involve something other than whitespace, KFAIL
12345         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12346
12347 2004-01-14  David Carlton  <carlton@kealia.com>
12348
12349         * gdb.cp/namespace.exp: Add tests involving classes defined within
12350         namespaces.
12351         * gdb.cp/namespace.cc (C::CClass): New.
12352         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12353
12354 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
12355
12356         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12357         what debug info we have. Print a better message if something goes
12358         wrong while producing the separate debug info file.
12359
12360 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
12361
12362         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12363
12364 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
12365
12366         * gdb.base/callfuncs.c: Add copyright notice.
12367
12368 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
12369
12370         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12371         inheritance.  PR gdb/1498, PR gcc/13539.
12372
12373 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
12374
12375          * gdb.threads/gcore-thread.exp: Prefix name of binary with
12376          test specific name.
12377          * gdb.mi/gdb669.exp: Ditto.
12378          * gdb.mi/mi-pthreads.exp: Ditto.
12379          * gdb.mi/mi1-pthreads.exp: Ditto.
12380          * gdb.mi/mi2-pthreads.exp: Ditto.
12381
12382 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
12383
12384         * gdb.cp/member-ptr.cc: Add copyright notice.
12385
12386 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
12387
12388         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
12389         some patterns for recent versions of gcc and hpacc.  Delete
12390         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
12391         Delete tests that access a NULL pointer-to-member-data.  This
12392         script is still disabled for gcc.
12393
12394 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
12395
12396         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12397         escaped correctly.
12398
12399 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
12400
12401         * gdb.base/sepdebug.exp: New file.
12402         * gdb.base/sepdebug.c: New file.
12403         * lib/gdb.exp (separate_debug_filename): New procedure.
12404         (gdb_gnu_strip_debug): New procedure.
12405
12406 2004-01-12  Andrew Cagney  <cagney@redhat.com>
12407
12408         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
12409         * gdb.mi/ChangeLog-1999-2003: New file.
12410
12411 2004-01-12  Andrew Cagney  <cagney@redhat.com>
12412
12413         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
12414         "Renaming a directory to a non-empty directory returns ENOTEMPTY
12415         or EEXIST", treat EBUSY as an XFAIL.
12416
12417 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
12418
12419         * gdb.base/scope.exp: Remove obsolete setup_xfail for
12420         hp_cc_compiler.
12421
12422 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
12423
12424         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12425         decorations.
12426
12427 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
12428
12429         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12430         and "(aCC)" decorations.  Remove obsolete doco about old
12431         test results.
12432
12433 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
12434
12435         * gdb.cp/exception.exp: Fix typo in doco.
12436
12437 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
12438
12439         * gdb.base/gdb1476.exp: Fix typo.
12440
12441 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
12442
12443         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12444         file.
12445
12446 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
12447
12448         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12449         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12450         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
12451         for recent version of gdb.  Delete second half, which was a copy
12452         of the first half with different build flags.  This test is
12453         still disabled because it is still not ready for production.
12454
12455 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
12456
12457         * gdb.cp/exception.cc: Add copyright notice.
12458         * gdb.cp/exception.exp: Add a notice that this file is broken
12459         because of line number changes caused by addition of copyright
12460         notice.
12461
12462 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
12463
12464         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12465         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12466
12467 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
12468
12469         * gdb.cp/classes.exp: Accept gnu abi 2.
12470         * gdb.cp/derivation.exp: Likewise.
12471         * gdb.cp/overload.exp: Likewise.
12472         * gdb.cp/virtfunc.exp: Likewise.
12473
12474 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
12475
12476         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12477         semicolon after end of function.
12478
12479 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12480
12481         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12482         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
12483         boilerplate code for compiling and running the program under
12484         test.  Add some string method tests.
12485
12486 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12487
12488         * gdb.cp/bs15503.cc: Add copyright notice.
12489         * gdb.cp/bs15503.exp: Adjust line number.
12490
12491 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12492
12493         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12494         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12495
12496 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12497
12498         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12499         hp_cc_compiler.
12500
12501 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12502
12503         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12504         * gdb.cp/ctti.exp: Use the marker instead of "next".
12505         With gcc, run further before bailing.
12506
12507 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12508
12509         * gdb.cp/cttiadd.cc: Add copyright notice.
12510         * gdb.cp/cttiadd1.cc: Likewise.
12511         * gdb.cp/cttiadd2.cc: Likewise.
12512         * gdb.cp/cttiadd3.cc: Likewise.
12513
12514 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12515
12516         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
12517         Use gdb_test, gdb_test_multiple.  Use floating-point values that
12518         have exact representations in IEEE-ish formats.
12519
12520 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12521
12522         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12523         compilers.  Delete duplicate call to get_compiler_info.
12524         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12525         * gdb.base/volatile.exp: Likewise.
12526
12527 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
12528
12529         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12530         memory at address 0.
12531
12532 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
12533
12534         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12535         to test for hp-ux assembler.  Fix copyright years.
12536
12537 2004-01-07  Andrew Cagney  <cagney@redhat.com>
12538
12539         * gdb.base/fileio.c (strerrno): Add "EBUSY".
12540
12541 2004-01-07  Andrew Cagney  <cagney@redhat.com>
12542
12543         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12544         when creating the read-only file.  From analysis by Roland McGrath
12545         and Elena Zannoni.
12546
12547 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
12548
12549         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12550
12551 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
12552
12553         * gdb.base/cvexpr.c: Be type-safe with function pointers and
12554         data pointers.
12555
12556 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
12557
12558         * gdb.cp/m-static.exp: Compile one source file at a time.
12559         Delete unused call to get_compiler_info.
12560
12561 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
12562
12563         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12564         * gdb.base/call-rt-st.exp: Likewise.
12565         * gdb.base/nodebug.exp: Likewise.
12566         * gdb.base/volatile.exp: Likewise.
12567         * gdb.cp/ref-types.exp: Likewise.
12568         * gdb.cp/templates.exp: Likewise.
12569
12570 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
12571
12572         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12573
12574 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
12575
12576         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12577         hppa*-hp-hpux*.
12578
12579 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
12580
12581         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12582         x86_64-*-*.
12583
12584         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12585         sparc64-*-* and sparc*-solaris2*.
12586
12587 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
12588
12589         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12590         return ${tests}" test.  The ${tests} already mentions the
12591         filename.
12592
12593 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
12594
12595         * gdb.cp/local.exp: Accept gcc abi 2.
12596
12597 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
12598
12599         * gdb.cp/templates.exp: Accept gcc abi 2.
12600
12601 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
12602
12603         * lib/compiler.cc: Remove supports_template_debugging.
12604         * gdb.cp/templates.exp: Do not test supports_template_debugging.
12605
12606 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
12607
12608         * gdb.cp/namespace.exp: Accept gcc abi 2.
12609
12610 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
12611
12612         * gdb.cp/method.exp: Accept gcc abi 2.
12613
12614 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
12615
12616         * gdb.cp/classes.exp: Generate identical results as old version.
12617         * gdb.cp/derivation.exp: Likewise.
12618         * gdb.cp/overload.exp: Likewise.
12619         * gdb.cp/virtfunc.exp: Likewise.
12620
12621 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
12622
12623         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12624         mysterious bug with sourceware version of expect.
12625
12626 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
12627
12628         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
12629         current versions of gcc, including gcc abi 2.  Remove gratuitous
12630         restart of test program.  Use gdb_test_multiple and gdb_test for
12631         all tests.  Add patterns to xfail missing "const" in "const char *"
12632         and kfail PR gdb/1155.
12633
12634 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
12635
12636         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
12637         current versions of gcc, including gcc abi 2.  Remove gratuitous
12638         restart of test program.  Use gdb_test_multiple and gdb_test for
12639         all tests.  Add patterns to kfail PR gdb/1498.
12640
12641 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
12642
12643         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
12644         current versions of gcc, including gcc abi 2.  Use "breakpoint"
12645         and "continue" instead of restarting the target program.  Use
12646         gdb_test_multiple and gdb_test for all tests.
12647
12648 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
12649
12650         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
12651         for *-*-solaris2*.
12652
12653 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
12654
12655         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
12656         current versions of gcc, including gcc abi 2.  Use "breakpoint"
12657         and "continue" instead of restarting the target program several
12658         times.  Use gdb_test_multiple and gdb_test for all tests.
12659
12660 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
12661
12662         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12663         source files.
12664
12665 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
12666
12667         * gdb.base/environ.exp: Handle compiling test case from multiple
12668         source files.
12669
12670 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
12671
12672         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12673
12674 2003-12-17  Jim Blandy  <jimb@redhat.com>
12675
12676         * gdb.base/freebpcmd.c: Add copyright notice.
12677
12678         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12679
12680 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
12681
12682         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12683
12684 2003-12-13  Jim Blandy  <jimb@redhat.com>
12685
12686         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12687
12688 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
12689
12690         * gdb.asm/frv.inc: New file.
12691         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12692
12693 2003-12-09  Fred Fish  <fnf@redhat.com>
12694
12695         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12696         functions to break1.c and leave prototypes behind.  Add more
12697         "set breakpoint NN here" comments.
12698         * gdb.base/break1.c: New file.
12699
12700         * gdb.base/break.exp: Handle compiling test case from multiple
12701         source files and change source file references as needed.
12702         * gdb.base/completion.exp: Ditto.
12703         * gdb.base/condbreak.exp: Ditto.
12704         * gdb.base/define.exp: Ditto.
12705         * gdb.base/ena-dis-br.exp: Ditto.
12706         * gdb.base/info-proc.exp: Ditto.
12707         * gdb.base/maint.exp: Ditto.
12708         * gdb.base/until.exp: Ditto.
12709
12710         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12711         hardcoded line numbers.
12712         * gdb.base/define.exp: Ditto.
12713         * gdb.base/ena-dis-br.exp: Ditto.
12714         * gdb.base/maint.exp: Ditto.
12715         * gdb.base/until.exp: Ditto.
12716
12717         * gdb.base/completion.exp: Use "break1" for completion tests since
12718         "break" is no longer a unique prefix.
12719
12720 2003-12-06  Andrew Cagney  <cagney@redhat.com>
12721
12722         * gdb.base/structs.exp (test_struct_returns): When applicable, set
12723         "return_value_unimplemented".  When an unimplemented struct return
12724         architecture, report incorrect values as a KFAIL
12725
12726 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
12727
12728         * gdb.cp/rtti.exp: Accept new wording of warning from
12729         cp_lookup_rtti_type.
12730
12731 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
12732
12733         Partial fix for PR testsuite/1456.
12734         * gdb.base/scope.exp (test_at_main): Replace references to
12735         gcc_compiled with calls to test_compiler_info.
12736         (test_at_foo): Likewise.
12737         (test_at_bar): Likewise.
12738
12739 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
12740
12741         Partial fix for PR testsuite/1456.
12742         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12743         to test_compiler_info.
12744
12745 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
12746
12747         * gdb.base/so-impl-ld.exp: Update copyright notice.
12748
12749 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
12750
12751         Partial fix for PR testsuite/1456.
12752         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12753         to test_compiler_info.
12754
12755 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
12756
12757         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12758         from current versions of gdb.  Clean up regular expressions.
12759         Delete redundant timeout case.
12760
12761 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
12762
12763         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12764         from current versions of gdb.  Clean up regular expressions.
12765         Delete redundant timeout case.
12766
12767 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
12768
12769         Partial fix for PR testsuite/1456.
12770         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12771         gcc_compiled with call to test_compiler_info.
12772
12773 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
12774
12775         Partial fix for PR testsuite/1456.
12776         * gdb.base/list.exp (test_list_function): Delete unused declaration
12777         of gcc_compiled.
12778
12779 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
12780
12781         Partial fix for PR testsuite/1456.
12782         * gdb.base/complex.exp: Replace reference to gcc_compiled with
12783         call to test_compiler_info.
12784
12785 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
12786
12787         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
12788         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
12789         it to create the appropriate note.inc.
12790         * gdb.asm/asmsrc1.s: Include "note.inc".
12791         * gdb.asm/netbsd.inc: New file.
12792         * gdb.asm/empty.inc: New file.
12793
12794 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
12795
12796         Partial fix for PR testsuite/1456.
12797         * gdb.base/constvars.exp: Replace references to gcc_compiled with
12798         calls to test_compiler_info.
12799
12800 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
12801
12802         Partial fix for PR testsuite/1456.
12803         * gdb.base/volatile.exp: Replace references to gcc_compiled with
12804         calls to test_compiler_info.
12805
12806 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
12807
12808         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12809         pattern for the KFAILs.
12810
12811 2003-11-25  Adam Fedor  <fedor@gnu.org>
12812
12813         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12814         * gdb.objc/objcdecode.m: New file.
12815
12816 2003-11-25  Adam Fedor  <fedor@gnu.org>
12817
12818         * gdb.objc/nondebug.exp: Test for PR objc/1236.
12819         * gdb.objc/nondebug.m: New file.
12820
12821 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
12822
12823         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12824         NetBSD as it does on FreeBSD.  Modelled on a similar change by
12825         Mark Kettenis on 2003-05-30.
12826         (link-flags): Set to "--entry _start" regardless of target.
12827         Special linker flags are to be appended to $link-flags.
12828         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12829
12830 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
12831
12832         * gdb.cp/method.exp: Accept output of new demangler.
12833
12834 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
12835
12836         * gdb/class2.exp: New file.
12837         * gdb/class2.cc: New file.
12838
12839 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
12840
12841         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12842         of new demangler.
12843
12844 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
12845
12846         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12847         of gdb_test "run".
12848
12849 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
12850
12851         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
12852         "continue" into "run".
12853
12854 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
12855
12856         Partial fix for PR testsuite/1456.
12857         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12858         call to test_compiler_info.
12859         * gdb.cp/ctti.exp: Likewise.
12860         * gdb.cp/derivation.exp: Likewise.
12861         * gdb.cp/member-ptr.exp: Likewise.
12862         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12863         reference to gcc_compiled.
12864
12865 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
12866
12867         Fix PR testsuite/1463.
12868         * gdb.base/structs.exp (start_structs_test): Call
12869         get_debug_format before using the debug format.
12870
12871 2003-11-22  Andrew Cagney  <cagney@redhat.com>
12872
12873         * lib/gdb.exp (gdb_test_multiple): Add simple example.
12874         * gdb.base/structs.exp: Use gdb_test_multiple.
12875
12876 2003-11-20  Andrew Cagney  <cagney@redhat.com>
12877
12878         * gdb.base/structs.exp: Handle and recover from internal errors.
12879         Replace "foo${n}" with "foo<n>" in test messages.
12880
12881         * gdb.base/structs.exp: Update copyright.  Rewrite.
12882         * gdb.base/structs.c: Update copyright.  Rewrite.
12883
12884         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12885         resync count exceeded.
12886
12887         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12888         from the internal error.
12889         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12890         Original from Jim Blandy.
12891         (gdb_test_multiple): Use gdb_internal_error_resync.
12892
12893 2003-11-19  Andrew Cagney  <cagney@redhat.com>
12894
12895         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12896         KFAIL.
12897
12898 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
12899
12900         New testcase for PR backtrace/1435.
12901         * gdb.arch/i386-unwind.exp: New file.
12902         * gdb.arch/i386-unwind.c: New file.
12903
12904 2003-11-17  Andrew Cagney  <cagney@redhat.com>
12905
12906         * lib/gdb.exp (compiler_info): New global.
12907         (test_compiler_info): New function.
12908         (get_compiler_info): Set compiler_info.
12909         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
12910         "compiler_info" to gcc-<major>-<minor>.
12911
12912 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
12913
12914         * gdb.trace/configure: Remove.
12915
12916 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
12917
12918         * gdb.base/break.c: Add comments to aid finding line numbers for
12919         breakpoints.
12920         * gdb.base/break.exp: Remove all references to explicit line
12921         numbers.
12922
12923 2003-11-11  Nick Clifton  <nickc@redhat.com>
12924
12925         * gdb.base/shreloc.exp: Do not run for targets which do not
12926         support shared objects.
12927
12928 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
12929
12930         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12931         Don't run tests if nofileio flag is given.
12932
12933 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
12934
12935         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12936         as well as 'Watchpoint'.
12937
12938 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
12939
12940         Reported by Jim Ingham <jingham@apple.com>:
12941         * gdb.base/annota1.exp: Match at least one occurrence of the
12942         signal handler annotation.
12943
12944 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
12945
12946         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12947         as well as 'Watchpoint'.
12948
12949 2003-11-05  Michael Chastain  <mec@shout.net>
12950
12951         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12952
12953 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
12954
12955         * gdb.arch/gdb1291.c: New test file.
12956         * gdb.arch/gdb1291.exp: New test script.
12957         * gdb.arch/gdb1431.c: New test file.
12958         * gdb.arch/gdb1431.exp: New test script.
12959
12960 2003-10-22  Michael Chastain  <mec@shout.net>
12961
12962         * gdb.mi/pthreads.c: Add copyright notice.
12963
12964 2003-10-22  Michael Chastain  <mec@shout.net>
12965
12966         * gdb.threads/pthreads.c: Add copyright notice.
12967
12968 2003-10-20  Michael Chastain  <mec@shout.net>
12969
12970         * gdb.base/gdb1056.exp: New test script.
12971
12972 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
12973
12974         * gdb.threads/killed.exp: Use gdb_run_cmd.
12975
12976 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
12977
12978         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12979         create a core file.
12980         * gdb.threads/gcore-thread.exp: Likewise.
12981
12982 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
12983
12984         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12985         type, based on char type.
12986         (struct bit_flags_short_t): New bitfield type, based on short type.
12987         (init_bit_flags_char): New fuction.
12988         (init_bit_flags_short): Ditto.
12989         (print_bit_flags_char): Ditto.
12990         (print_bit_flags_short): Ditto.
12991         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12992
12993 2003-10-11  Michael Chastain  <mec@shout.net>
12994
12995         * gdb.base/call-rt-st.exp: Update copyright year.
12996
12997 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
12998
12999         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13000         * gdb.disasm/sh3.s: Ditto.
13001
13002 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
13003
13004         * gdb.threads/switch-threads.exp: New test.
13005         * gdb.threads/switch-threads.c: New source file.
13006
13007 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
13008
13009         * gdb.base/ending-run.exp: Add sh specific case.
13010
13011 2003-10-06  Andrew Cagney  <cagney@redhat.com>
13012
13013         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13014         * gdb.disasm/mn10200.exp: Delete obsolete file.
13015
13016 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
13017
13018         * ChangeLog: Correct an entry command.exp -> commands.exp.
13019         * gdb.base/commands.exp (bp_deleted_in_command_test)
13020         (temporary_breakpoint_commands): Check noargs.
13021
13022 2003-09-25  David Carlton  <carlton@kealia.com>
13023
13024         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
13025         of some print tests, where appropriate.  Add tests for C::D::cd,
13026         E::ce, F::cXfX, G::XgX.
13027         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13028
13029 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
13030
13031         * lib/java.exp (java_init): Import target_alias before using it.
13032
13033 2003-09-25  David Carlton  <carlton@kealia.com>
13034
13035         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13036
13037 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
13038
13039         * gdb.base/selftest.exp: Accomodate more instruction reordering
13040         weirdness.
13041
13042 2003-09-17  Michael Chastain  <mec@shout.net>
13043
13044         * gdb.cp/gdb1355.exp: New file.
13045         * gdb.cp/gdb1355.c: New file.
13046
13047 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
13048
13049         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13050         * gdb.asm/sh.inc: New file.
13051
13052 2003-09-11  David Carlton  <carlton@kealia.com>
13053
13054         * gdb.cp/namespace.exp: Add tests for namespace types.
13055         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13056         (test_namespace): New.
13057
13058 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
13059
13060         * gdb.base/relocate.exp: Handle new gdb output at startup.
13061         * gdb.stabs/weird.exp: Ditto.
13062
13063 2003-09-08  Michael Chastain  <mec@shout.net>
13064
13065         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13066
13067 2003-09-07  Michael Chastain  <mec@shout.net>
13068
13069         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13070         'parse error'.
13071
13072 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
13073
13074         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13075
13076 2003-08-30  Michael Chastain  <mec@shout.net>
13077
13078         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13079         * gdb.gdb/observer.exp: Ditto.
13080         * gdb.gdb/xfullpath.exp: Ditto.
13081
13082 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
13083
13084         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13085         *-*-*bsd*.
13086
13087 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
13088
13089         * gdb.base/dump.exp: Skip for ia64.
13090
13091 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
13092
13093         * gdb.asm/asm-source.exp: Add ia64 support.
13094         * gdb.asm/ia64.inc: New file.
13095
13096 2003-08-22  Michael Chastain  <mec@shout.net>
13097
13098         * gdb.cp: New directory.
13099         * gdb.cp/*: Copy from gdb.c++/*.
13100         * gdb.c++/*: Remove.
13101         * Makefile.in: Change gdb.c++ to gdb.cp.
13102         * configure.in:  Ditto.
13103         * configure: Regnerate.
13104
13105 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
13106
13107         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13108         * gdb.arch/i386-prologue.c (gdb1338): Add function.
13109
13110 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
13111
13112         * mi-var-display.exp (-var-list-children weird): Accept function
13113         pointers with argument types.
13114         * mi1-var-display.exp (-var-list-children weird): Likewise.
13115         * mi2-var-display.exp (-var-list-children weird): Likewise.
13116
13117 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
13118
13119         * gdb.base/annota3.exp: Add missing newline.
13120
13121 2003-08-06  Michael Chastain  <mec@shout.net>
13122
13123         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13124
13125 2003-08-12  Michael Snyder  <msnyder@redhat.com>
13126
13127         * gdb.base/float.exp: Add test for SH.
13128
13129 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
13130
13131         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13132
13133 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
13134
13135        * gdb.base/completion.exp: Remove reduntant completion test
13136        on filename.
13137
13138 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
13139
13140         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13141         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13142         gdb.trace/save-trace.exp: Make sure that full pathnames are
13143         escaped correctly.
13144
13145 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
13146
13147         * configure.in: Don't generate config.h from config.hin.
13148         * configure: Regenerate.
13149         * config.hin: Remove file.
13150         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13151         * gdb.threads/pthreads.c: Ditto.
13152
13153 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
13154
13155         From Kei Sakamoto <sakamoto.kei@renesas.com>:
13156         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13157         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13158         Replace ld24 with seth/add3.
13159
13160 2003-08-02  Andrew Cagney  <cagney@redhat.com>
13161
13162         * gdb.base/annota3.exp: New file.
13163         * gdb.base/annota3.c: New file.
13164         * gdb.c++/annota3.exp: New file.
13165         * gdb.c++/annota3.cc: New file.
13166
13167 2003-07-29  Michael Chastain  <mec@shout.net>
13168
13169         * gdb.threads/tls.c (spin): Check errno only if sem_wait
13170         actually failed.
13171         (do_pass): Likewise.
13172         * gdb.threads/tls.exp: Always initialize no_of_threads.
13173
13174 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
13175
13176         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13177         pattern.
13178         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13179         * gdb.threads/tls.exp: Recognize one case of the host library not
13180         supporting TLS.
13181
13182 2003-07-27  Andrew Cagney  <cagney@redhat.com>
13183
13184         * gdb.base/fileio.exp: Use SH when running commands using
13185         remote_exec.
13186
13187 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
13188
13189         From Kei Sakamoto <sakamoto.kei@renesas.com>:
13190         * gdb.base/relocate.c (dummy): New padding array.
13191
13192 2003-07-22  Michael Snyder  <msnyder@redhat.com>
13193
13194         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13195
13196         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13197         patterns to be more general, accepting old and new output.
13198         Some output chars (such as '+') also must be quoted.
13199         Some addresses are displayed numerically instead of
13200         symbolically.
13201
13202 2003-07-23  Michael Snyder  <msnyder@redhat.com>
13203
13204         * gdb.base/return2.exp: Don't test long-long return.
13205
13206         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13207         * gdb.disasm/t01_mov.exp: Ditto.
13208         * gdb.disasm/t02_mova.s: Ditto.
13209         * gdb.disasm/t02_mova.exp: Ditto.
13210         * gdb.disasm/t03_add.s: Ditto.
13211         * gdb.disasm/t03_add.exp: Ditto.
13212         * gdb.disasm/t04_sub.s: Ditto.
13213         * gdb.disasm/t04_sub.exp: Ditto.
13214         * gdb.disasm/t05_cmp.s: Ditto.
13215         * gdb.disasm/t05_cmp.exp: Ditto.
13216         * gdb.disasm/t06_ari2.s: Ditto.
13217         * gdb.disasm/t06_ari2.exp: Ditto.
13218         * gdb.disasm/t07_ari3.s: Ditto.
13219         * gdb.disasm/t07_ari3.exp: Ditto.
13220         * gdb.disasm/t08_or.s: Ditto.
13221         * gdb.disasm/t08_or.exp: Ditto.
13222         * gdb.disasm/t09_xor.s: Ditto.
13223         * gdb.disasm/t09_xor.exp: Ditto.
13224         * gdb.disasm/t10_and.s: Ditto.
13225         * gdb.disasm/t10_and.exp: Ditto.
13226         * gdb.disasm/t11_logs.s: Ditto.
13227         * gdb.disasm/t11_logs.exp: Ditto.
13228         * gdb.disasm/t12_bit.s: Ditto.
13229         * gdb.disasm/t12_bit.exp: Ditto.
13230         * gdb.disasm/t13_otr.s: Ditto.
13231         * gdb.disasm/t13_otr.exp: Ditto.
13232
13233 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
13234
13235         * gdb.threads/tls.exp :Add kfail for 'info address' case.
13236
13237 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
13238
13239         * gdb.threads/tls.c : New file.
13240         * gdb.threads/tls.exp : New file.
13241         * gdb.threads/tls-main.c : New file.
13242         * gdb.threads/tls-shared.c : New file.
13243         * gdb.threads/tls-shared.exp : New file.
13244
13245 2003-07-22  Andreas Schwab  <schwab@suse.de>
13246
13247         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13248
13249 2003-07-20  Andreas Schwab  <schwab@suse.de>
13250
13251         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13252         due to insn reordering.
13253
13254 2003-07-15  Andrew Cagney  <cagney@redhat.com>
13255
13256         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13257
13258 2003-07-15  Michael Chastain  <mec@shout.net>
13259
13260         * gdb.base/gdb1250.exp: New file.
13261         * gdb.base/gdb1250.c: New file.
13262
13263 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
13264
13265         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13266         expansion of size_t to 'unsigned long', not only to 'unsigned'.
13267
13268 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
13269
13270         * gdb.threads/tls.c: New file.
13271         * gdb.threads/tls.exp: New file.
13272         * gdb.threads/tls-main.c: New file.
13273         * gdb.threads/tls-shared.c: New file.
13274         * gdb.threads/tls-shared.exp: New file.
13275
13276 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
13277
13278         * gdb.base/annota1.exp: Make sure that we properly escape the
13279         full path of the source file. Xfail more permissive patterns,
13280         due to a compiler debug info problem.
13281
13282 2003-07-07  Andreas Schwab  <schwab@suse.de>
13283
13284         * gdb.asm/m68k.inc: New file.
13285         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13286
13287         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13288         arguments"): Also match negative number.
13289
13290         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13291
13292 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
13293
13294         * gdb.base/store.c (charest): New typedef.
13295         (add_char): Rename to add_charest, update.
13296         (wack_char): Rename to wack_charest, update types.  Return l + r
13297         to keep r live across the call.
13298         (wack_short, wack_int, wack_long, wack_longest, wack_float)
13299         (wack_double, wack_doublest): Return l + r to keep r live across
13300         the call.
13301         * gdb.base/store.exp: Accomodate store.c changes.
13302
13303 2003-06-30  David Carlton  <carlton@kealia.com>
13304
13305         * gdb.c++/maint.exp (test_invalid_name): New.
13306         (test_first_component): Add tests for invalid names.
13307
13308 2003-06-29  Michael Chastain  <mec@shout.net>
13309
13310         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13311         output of '<VTT for class>' for virtual base classes.
13312
13313 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
13314
13315         * gdb.base/completion.exp: Tab-complete "complet" instead of
13316         "compl".
13317         * gdb.base/complex.exp, gdb.base/complex.c: New files.
13318
13319 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
13320
13321         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13322         * gdb.base/volatile.exp: Likewise.
13323
13324 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
13325
13326         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13327         gdb/1265.
13328
13329 2003-06-28  Michael Chastain  <mec@shout.net>
13330             Daniel Jacobowitz  <drow@mvista.com>
13331
13332         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13333         initial line count of 'captured_main' from 26 to 32.
13334         (test_with_self): Allow xmalloc call to be interleaved with the
13335         preceding two lines.
13336
13337 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
13338
13339         * gdb.base/bang.exp: New testcase.
13340
13341 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
13342
13343         * gdb.base/langs.exp: Add some tests for the "minimal" language
13344         support.
13345
13346 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
13347
13348         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13349         the testcase.
13350
13351 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
13352
13353         * gdb.base/relocate.exp: Test add-symbol-file with a variable
13354         offset.
13355
13356 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
13357
13358         * gdb.c++/pr-1210.cc: New file.
13359         * gdb.c++/pr-1210.exp: New file.
13360
13361 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
13362
13363         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13364         000-exec-continue.
13365
13366 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
13367
13368         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13369         on *-*-*bsd* instead of *-*-freebsd*.
13370
13371 2003-06-14  Andrew Cagney  <cagney@redhat.com>
13372
13373         * gdb.base/store.exp: Test longest and doublest.  Test all
13374         parameters.  Weaken return statement match.
13375         * gdb.base/store.c: Add longest and doublest - aka long long and
13376         long double functions.  Put all parameters into local register
13377         variables.  Use negative values.
13378
13379 2003-06-14  Andrew Cagney  <cagney@redhat.com>
13380
13381         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
13382         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
13383         exit status.
13384         * gdb.base/fileio.exp: Disable target when nointerrupts and
13385         noinferiorio, instead of limiting it to remote.  Use remote_exec
13386         instead of system.
13387
13388 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
13389
13390         * gdb.base/float.exp: Add ia64 support.
13391
13392 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
13393
13394         * gdb.base/fileio.exp: Run only on remote targets.
13395
13396 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
13397
13398         * gdb.base/fileio.c: New file, testing File-I/O.
13399         * gdb.base/fileio.exp: Ditto.
13400
13401 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
13402
13403         * gdb.base/shreloc.exp: New file, check symbol values obtained from
13404         shared objects after relocation at load time (gdb PR/1132).
13405         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13406         as above, part of the shared object relocation test.
13407
13408 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
13409
13410         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13411         fully filled history list.
13412         * gdb.base/gdb_history: New file.
13413
13414         * gdb.base/signals.exp: XFAIL "continue to func1" on
13415         i*86-*-freebsd*.
13416
13417         * gdb.base/attach.exp: When trying to attach to a nonexistent
13418         process, make it possible to specify the PID based on the target,
13419         and do so for *-*-freebsd*.
13420
13421 2003-06-02  Richard Henderson  <rth@redhat.com>
13422
13423         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13424
13425 2003-06-02  Richard Henderson  <rth@redhat.com>
13426
13427         * gdb.base/selftest.exp: Next over lim_at_start initialization.
13428
13429 2003-06-02  Richard Henderson  <rth@redhat.com>
13430
13431         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13432
13433 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
13434
13435         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13436         of globalvar.
13437
13438 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
13439
13440         * gdb.asm/asm-source.exp: Check for memory read errors in
13441         disassembler test on *BSD too.
13442
13443 2003-06-01  Richard Henderson  <rth@redhat.com>
13444
13445         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13446         for .frame.
13447         (gdbasm_call): Lose ldgp.
13448         (gdbasm_startup): Add frame information.
13449         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13450
13451 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
13452
13453         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13454         i?86-*-*.
13455
13456 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
13457
13458         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13459         FreeBSD.
13460
13461 2003-05-29  Richard Henderson  <rth@redhat.com>
13462
13463         * gdb.asm/alpha.inc: New file.
13464         * gdb.asm/asm-source.exp: Use it.
13465
13466 2003-05-29  Jim Blandy  <jimb@redhat.com>
13467
13468         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13469         'core.PID'.
13470
13471 2003-05-22  Jim Blandy  <jimb@redhat.com>
13472
13473         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13474         backtrace.
13475
13476 2003-05-20  David Carlton  <carlton@math.stanford.edu>
13477
13478         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13479         this time.
13480
13481 2003-05-19  David Carlton  <carlton@bactrian.org>
13482
13483         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13484         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13485
13486 2003-05-19  David Carlton  <carlton@bactrian.org>
13487
13488         * gdb.c++/namespace.exp: Add namespace scope and anonymous
13489         namespace tests.
13490         Bump copyright date.
13491         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13492         (main): Call C::D::marker2.
13493         * gdb.c++/namespace1.cc: New file.
13494
13495 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
13496
13497         Roland McGrath  <roland@redhat.com>
13498         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13499         there is no manager thread.
13500
13501 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
13502
13503         * gdb.threads/schedlock.exp: Remove assumption that all threads
13504         will run in a particular small time slice.  Also ensure we break
13505         in one of the child threads rather than the main thread.
13506
13507 2003-05-07  Jim Blandy  <jimb@redhat.com>
13508
13509         Add support for assembly source testing on the s390x.
13510         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13511         architecture.
13512         * gdb.asm/s390x.inc: New file.
13513
13514         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13515         succession of 'if' statements.
13516
13517 2003-05-05  Andrew Cagney  <cagney@redhat.com>
13518
13519         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13520
13521 2003-05-05  Andrew Cagney  <cagney@redhat.com>
13522
13523         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13524         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13525
13526 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
13527
13528         * gdb.base/charset.exp: Update based on new behavior of set/show
13529         charset commands.
13530
13531 2003-05-01  Andrew Cagney  <cagney@redhat.com>
13532
13533         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13534         variable do not give memory errors.
13535
13536 2003-04-30  Adam Fedor  <fedor@gnu.org>
13537
13538         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13539         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13540         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13541         gdb.objc/basicclass.m: : New files
13542
13543         * lib/gdb.exp (gdb_compile_objc): New procedure.
13544
13545 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
13546
13547         * gdb.base/signals.exp: Make backtrace tests more specific.
13548
13549 2003-04-23  David Carlton  <carlton@bactrian.org>
13550
13551         * gdb.c++/maint.exp (test_first_component): Add tests for
13552         'operator' in more locations.
13553
13554 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
13555
13556         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13557
13558 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
13559
13560         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13561         func marke' instead. Update test name.
13562
13563 2003-04-15  David Carlton  <carlton@math.stanford.edu>
13564
13565         * gdb.c++/maint.exp: New file.
13566
13567 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
13568
13569         * gdb.threads/schedlock.c: Change type of thread function argument
13570         to long, to avoid warnings on 64-bit platforms.
13571
13572 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
13573
13574         * gdb.base/attach.exp: Add new message from ptrace in case of
13575         attaching to nonexistent process.
13576
13577 2003-04-11  Jim Blandy  <jimb@redhat.com>
13578
13579         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13580         gdb.c++/userdef.cc: Place comments on the lines to which the
13581         marker function might return.
13582         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13583         gdb.c++/userdef.exp: Look for those comments to check that we've
13584         returned to the right place, instead of checking line numbers.
13585
13586 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
13587
13588         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13589         match on sourcefile name, instead of directory name.
13590
13591 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
13592
13593         * gdb.base/completion.exp: Use string_to_regexp to match the
13594         working directory name.
13595
13596 2003-04-09  Jim Blandy  <jimb@redhat.com>
13597
13598         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13599         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13600         after an inferior function call, report the failure, but allow the
13601         test to continue.
13602
13603 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
13604
13605         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13606         with -DPROTOTYPES.
13607
13608 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
13609
13610         * gdb.base/break.exp: Revert last patch.
13611
13612 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
13613
13614         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13615         with -DPROTOTYPES.
13616
13617 2003-04-02  Andrew Cagney  <cagney@redhat.com>
13618
13619         * gdb.base/callfuncs.exp: Make "print add" messages unique.
13620         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13621         matching directories by the name breakpoint.
13622         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13623         Make "continue to marker1" consistent.
13624         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13625         message consistent.
13626         * lib/gdb.exp: Put "the program is no longer running", and "the
13627         program exited" in parenthesis.
13628         * lib/mi-support.exp: Ditto.
13629
13630 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
13631
13632         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13633
13634 2003-03-29  Andrew Cagney  <cagney@redhat.com>
13635
13636         * gdb.base/sizeof.c (main): Print the value of '\377'.
13637         * gdb.base/sizeof.exp: Check the sign of '\377'.
13638
13639 2003-03-27  Michael Chastain  <mec@shout.net>
13640
13641         * gdb.base/gdb1090.exp: New file.
13642         * gdb.base/gdb1090.cc: New file.
13643
13644 2003-03-27  J. Brobecker  <brobecker@gnat.com>
13645
13646         * gdb.gdb/observer.exp: New regression test.
13647
13648 2003-03-27  Michael Chastain  <mec@shout.net>
13649
13650         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13651         * gdb.base/ptype.exp: Likewise.
13652
13653 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
13654
13655         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13656
13657 2003-03-26  Michael Chastain  <mec@shout.net>
13658
13659         * gdb.base/ptype.exp: Actually use some typedef'd types.
13660
13661 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
13662
13663         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13664         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13665
13666 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
13667
13668         * gdb.base/default.exp: Fix regular expression.
13669
13670 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
13671
13672         * gdb.base/args.exp: Fix regular expression.
13673
13674 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
13675
13676         * gdb.base/help.exp: Allow Win32 child process.
13677
13678 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
13679
13680         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13681         when stepping out of main().
13682
13683 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
13684
13685         * gdb.base/default.exp: Check for win32 specific message when calling
13686         "run" without executable.
13687
13688 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
13689
13690         * gdb.base/args.exp: Expect .exe in output.
13691
13692 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
13693
13694         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13695         Cygwin native.
13696
13697 2003-03-17  Andrew Cagney  <cagney@redhat.com>
13698
13699         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
13700         vector registes.
13701         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13702         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13703
13704 2003-03-17  David Carlton  <carlton@math.stanford.edu>
13705
13706         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13707         test, for PR breakpoints/38.
13708         Call test_watchpoint_and_breakpoint.
13709         * gdb.base/watchpoint.c (func3): New function.
13710         (main): Call func3.
13711
13712 2003-03-04  David Carlton  <carlton@math.stanford.edu>
13713
13714         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13715         Garply<Garply<char> >:: garply".
13716         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13717         with respect to PR c++/1111; note also PR c++/1113.
13718         (test_template_breakpoints): KFAIL "constructor breakpoint" with
13719         respect to PR c++/1062.
13720         KFAIL "destructor breakpoint" with respect to PR c++/1112.
13721
13722 2003-03-03  David Carlton  <carlton@math.stanford.edu>
13723
13724         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13725         with respect to PR c++/57.
13726         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13727         c++/826.
13728         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13729         respect to PR c++/57.
13730
13731 2003-03-03  David Carlton  <carlton@math.stanford.edu>
13732
13733         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13734         respect to PR c++/33 into FAILs.
13735
13736 2003-03-03  Michael Chastain  <mec@shout.net>
13737
13738         * configure.in: Update copyright years.
13739
13740 2003-03-03  Michael Chastain  <mec@shout.net>
13741
13742         * Makefile.in: Update copyright years.
13743
13744 2003-02-28  David Carlton  <carlton@math.stanford.edu>
13745
13746         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13747         print class instead of struct and/or superfluous protection
13748         specifiers, as long as the resulting output is equivalent to the
13749         source code.
13750         Delete FIXME from end of messages on tests that don't need
13751         fixing.
13752
13753 2003-02-28  David Carlton  <carlton@math.stanford.edu>
13754
13755         * gdb.c++/templates.exp (do_tests): Allow const in the two
13756         Foo<volatile char *>::foo tests.
13757
13758 2003-02-27  Michael Snyder  <msnyder@redhat.com>
13759
13760         * gdb.base/restore.c (main): Return zero, so exit code
13761         will be consistant.
13762
13763 2003-02-26  David Carlton  <carlton@math.stanford.edu>
13764
13765         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13766         char *>::foo" test with respect to PR c++/33.  Create a new test
13767         which is identical to that one except that it doesn't put the
13768         space between the "char" and the "*"; KFAIL it, too.
13769
13770 2003-02-26  David Carlton  <carlton@math.stanford.edu>
13771
13772         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13773         template types into either PASSes or KFAILs (corresponding to PR
13774         c++/57).  Tweak indentation.  Update copyright.
13775
13776 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
13777
13778         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13779
13780 2003-02-13  Michael Chastain  <mec@shout.net>
13781
13782         * gdb.base/exprs.exp: Remove i960 remnants.
13783         * gdb.base/funcargs.exp: Likewise.
13784         * gdb.base/list.exp: Likewise.
13785         * gdb.base/ptype.exp: Likewise.
13786
13787 2003-02-14  David Carlton  <carlton@math.stanford.edu>
13788
13789         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13790         pEe->D::vg()" from XFAIL to KFAIL.
13791
13792 2003-02-13  Jason Molenda  (jmolenda@apple.com)
13793
13794         * gdb.base/maint.exp: Update maint print statistics regexp to include
13795         new entries.
13796
13797 2003-02-13  Michael Chastain  <mec@shout.net>
13798
13799         * gdb.c++/inherit.exp: Remove call to get_debug_format.
13800
13801 2003-02-12  Michael Chastain  <mec@shout.net>
13802
13803         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13804         * gdb.c++/inherit.exp: Likewise.
13805         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13806         * gdb.c++/templates.exp: Likewise.
13807         * gdb.c++/virtfunc.exp: Likewise.
13808
13809 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
13810
13811         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13812         why the code is written that way.
13813
13814 2003-02-05  Michael Chastain  <mec@shout.net>
13815
13816         * gdb.base/dump.exp: Add missing copyright line.
13817
13818 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
13819
13820         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13821         at the beginning so the breakpoint doesn't get set on the loop.
13822
13823 2003-02-05  Michael Chastain  <mec@shout.net>
13824
13825         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13826         output for configurations with gcc 2.95.3.
13827
13828 2003-02-05  Keith Seitz  <keiths@redhat.com>
13829             Andrew Cagney  <ac131313@redhat.com>
13830
13831         * gdb.mi/mi-cli.exp: New file.
13832
13833 2003-02-04  Michael Chastain  <mec@shout.net>
13834
13835         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13836         Call perror and then continue.
13837
13838 2003-02-03  Michael Chastain  <mec@shout.net>
13839
13840         * gdb.c++/pr-1023.cc: New file.
13841         * gdb.c++/pr-1023.exp: New file.
13842
13843 2003-02-05  Jim Blandy  <jimb@redhat.com>
13844
13845         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13846         it's local to foobar.  Check for it there, and check that it's not
13847         present in main.
13848         * gdb.c++/local.cc (marker2): New function.
13849         (foobar): Call marker1.
13850         (main): Call marker2 instead of marker1.
13851
13852 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
13853
13854         * gdb.disasm/mn10200.exp: Obsolete file.
13855         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13856         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13857         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13858
13859 2003-02-04  David Carlton  <carlton@math.stanford.edu>
13860
13861         * gdb.c++/overload.exp: Test intToChar(1).
13862         * gdb.c++/overload.cc (intToChar): New.
13863         (main): Call intToChar.
13864
13865 2003-02-03  David Carlton  <carlton@math.stanford.edu>
13866
13867         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13868         'might_kfail' arg.
13869         KFAIL some of the continue_to_bp_overloaded calls, according to
13870         PR c++/1025.
13871
13872 2003-02-01  Michael Chastain  <mec@shout.net>
13873
13874         * gdb.base/advance.c (marker1): New marker function.
13875         * gdb.base/advance.exp: When the 'advance' command lands on the
13876         return breakpoint, it can legitimately stop on either the
13877         current line or the next line.  Accommodate both outcomes.
13878         * gdb.base/until.exp: Likewise.
13879
13880 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
13881
13882         2002-11-10 Jason Molenda (jason-cl@molenda.com):
13883         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13884         now a list, not a tuple.
13885         * gdb.mi/mi-var-display.exp: Ditto.
13886         * gdb.mi/gdb792.exp: Ditto.
13887
13888 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
13889
13890         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13891         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13892         stack backtraces.
13893         * gdb.mi/mi-syn-frame.c: Part of same.
13894
13895 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
13896
13897         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13898         gdb.mi/mi1-pthreads.exp: Return instead of calling
13899         gdb_suppress_entire_file.
13900
13901 2003-02-01  Mark Salter  <msalter@redhat.com>
13902
13903         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13904
13905 2003-01-31  Mark Salter  <msalter@redhat.com>
13906
13907         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13908         Support empty arg.
13909
13910 2003-01-30  Michael Chastain  <mec@shout.net>
13911
13912         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13913         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
13914         has been fixed in gdb/readline on 2003-01-09.
13915
13916 2003-01-29  Michael Snyder  <msnyder@redhat.com>
13917
13918         * gdb.base/maint.exp: Allow for leading underscore in symbol.
13919         * gdb.base/display.exp: Allow for leading underscore in symbol.
13920         * gdb.base/args.exp: Skip if target does not support args passing.
13921
13922 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
13923
13924         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13925         gdb_test.  Accept a list of expect arguments as the third
13926         parameter.
13927         (gdb_test): Use it.
13928
13929 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
13930
13931         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13932         allow for different test tree configurations.  Update some
13933         tescases accordingly.
13934         * gdb.arch/altivec-regs.exp: Ditto.
13935         * gdb.asm/asm-source.exp: Ditto.
13936         * gdb.base/advance.exp: Ditto.
13937         * gdb.base/display.exp: Ditto.
13938         * gdb.base/long_long.exp: Ditto.
13939         * gdb.base/mips_pro.exp: Ditto.
13940         * gdb.base/overlays.exp: Ditto.
13941         * gdb.base/relocate.exp: Ditto.
13942         * gdb.base/setshow.exp: Ditto.
13943         * gdb.base/step-line.exp: Ditto.
13944         * gdb.base/step-test.exp: Ditto.
13945         * gdb.base/until.exp: Ditto.
13946         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13947
13948 2003-01-17  David Carlton  <carlton@math.stanford.edu>
13949
13950         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13951         corresponding to PR c++/945.
13952         Update copyright.
13953
13954 2003-01-17  David Carlton  <carlton@math.stanford.edu>
13955
13956         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13957         corresponding to PR c++/68.
13958
13959 2003-01-17  David Carlton  <carlton@math.stanford.edu>
13960
13961         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13962         (test_paddr_hairy_functions): Call print_addr_2_kfail for
13963         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
13964
13965 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
13966
13967         * gdb.base/break.exp: Fix change of default location, because of
13968         removal of until tests.
13969         * gdb.base/help.exp: Update test for new 'until' help message.
13970         Add test for help on 'advance'.
13971         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13972
13973 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
13974
13975         * gdb.base/default.exp: Adapt "info float" test for recent changes
13976         to that command.  Add test for "info vector".
13977         * gdb.base/float.exp: New file.  Add test for "info float" that
13978         resembles the old test in gdb.base/default.exp.
13979
13980 2003-01-15  David Carlton  <carlton@math.stanford.edu>
13981
13982         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13983
13984 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
13985
13986         * gdb.base/break.exp: Move the tests of until command from here...
13987         * gdb.base/until.exp: ... to here. New file. Add other tests.
13988         * gdb.base/advance.c: New file.
13989         * gdb.base/advance.exp: New file.
13990
13991 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
13992
13993         * gdb.base/args.c: New file.
13994         * gdb.base/args.exp: New file.
13995
13996 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
13997
13998         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13999
14000 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
14001
14002         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14003
14004 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
14005
14006         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
14007         dates.
14008
14009 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
14010
14011         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14012
14013 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
14014
14015         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14016         (ptype &*"foo").
14017         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14018
14019 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
14020
14021         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14022         * gdb.mi/mi1-console.exp: Likewise.
14023
14024 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
14025
14026         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14027         * gdb.mi/mi1-console.exp: Likewise.
14028
14029 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
14030
14031         * gdb.c++/overload.exp: Remove some fixed XFAILs.
14032
14033 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
14034
14035         * gdb.base/detach.exp: New test.
14036
14037 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
14038
14039         * Makefile.in (ALL_SUBDIRS): New variable.
14040         (subdirs, clean, distclean): Use it.
14041         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
14042         regenerating Makefile, since it is generated from the top level.
14043         * gdb.asm/Makefile.in: Likewise.
14044         * gdb.base/Makefile.in: Likewise.
14045         * gdb.c++/Makefile.in: Likewise.
14046         * gdb.disasm/Makefile.in: Likewise.
14047         * gdb.java/Makefile.in: Likewise.
14048         * gdb.mi/Makefile.in: Likewise.
14049         * gdb.threads/Makefile.in: Likewise.
14050         * gdb.trace/Makefile.in: Likewise.
14051
14052 2003-01-09  David Carlton  <carlton@math.stanford.edu>
14053
14054         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14055         Add copyright year 2003.
14056
14057 2003-01-06  Michael Chastain  <mec@shout.net>
14058
14059         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14060         When selecting a thread, 'line' and 'file' are optional.
14061         * gdb.mi/mi1-pthreads.exp: Likewise.
14062
14063 2003-01-06  Andreas Schwab  <schwab@suse.de>
14064
14065         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14066         failures.
14067
14068 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
14069
14070         Fix PR gdb/844
14071         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14072         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14073
14074         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
14075         instead of calling gdb_suppress_entire_file.
14076         * gdb.threads/print-threads.exp: Likewise.
14077         * gdb.threads/schedlock.exp: Likewise.
14078
14079         * gdb.threads/killed.exp: Return instead of calling
14080         gdb_suppress_entire_file.
14081         * gdb.threads/linux-dp.exp: Likewise.
14082         * gdb.threads/pthreads.exp: Likewise.
14083
14084 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
14085
14086         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14087         stabs.
14088         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14089         * gdb.base/whatis.exp: Always allow (void) after function names.
14090
14091 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
14092
14093         * gdb.c++/casts.exp: Correct regexp.
14094
14095 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
14096
14097         * configure.in: Call AC_CONFIG_HEADER.  Don't call
14098         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14099         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
14100         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
14101         aforementioned directories in the AC_OUPUT call.
14102         * config.hin: New file.
14103         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14104         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14105         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14106         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14107         pass -I$objdir instead of -I$objdir/$subdir in compilation.
14108         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14109         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14110         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14111         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14112         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14113         gdb.threads/configure.in, gdb.threads/configure,
14114         gdb.threads/config.in, gdb.trace/configure.in,
14115         gdb.trace/configure: Removed.
14116
14117 2003-01-03  Michael Chastain  <mec@shout.net>
14118
14119         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14120         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14121
14122 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
14123
14124         * gdb.base/store.exp: Fix regular expressions.
14125
14126 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
14127
14128         * configure.in: Rewrite.
14129         * configure: Regenerated.
14130
14131 2003-01-03  David Carlton  <carlton@math.stanford.edu>
14132
14133         * gdb.base/psymtab.exp: New file.
14134         * gdb.base/psymtab1.c: Ditto.
14135         * gdb.base/psymtab2.c: Ditto.
14136
14137 2002-12-23  Adam Fedor  <fedor@gnu.org>
14138
14139         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14140
14141 2002-12-23  David Carlton  <carlton@math.stanford.edu>
14142
14143         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14144         and current_directory initialization.
14145
14146 2002-12-22  Jim Blandy  <jimb@redhat.com>
14147
14148         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14149         rather than as part of the output file name.
14150
14151         * gdb.base/attach.exp: There's no need to copy the test program to
14152         /tmp; that was only ever necessary on HP/UX, and this test is
14153         entirely disabled there anyway.
14154
14155 2002-12-21  Jim Blandy  <jimb@redhat.com>
14156
14157         * gdb.c++/psmang.exp: Doc fix.
14158
14159         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14160         test.
14161
14162 2002-12-20  David Carlton  <carlton@math.stanford.edu>
14163
14164         * gdb.c++/annota2.exp: KFAIL annotate-quit.
14165
14166 2002-12-18  Michael Chastain  <mec@shout.net>
14167
14168         * gdb.c++/annota2.exp: Add copyright year 2002.
14169
14170 2002-12-17  David Carlton  <carlton@math.stanford.edu>
14171
14172         * gdb.c++/try_catch.cc: Add marker comments.
14173         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14174         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14175         * gdb.c++/m-static.cc: Ditto.
14176         * gdb.c++/m-static1.cc: Ditto.
14177         * gdb.c++/try_catch.cc: Ditto.
14178
14179 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
14180
14181         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14182         to see whether we are using the new -environment-directory
14183         command which resets via -r or the old version of the command
14184         which may prompt the user.  Part of fix for gdb/741.
14185
14186 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
14187
14188         * gdb.fortran/types.exp: Update obsolete comment.
14189         * gdb.fortran/exprs.exp: Ditto.
14190         * lib/gdb.exp: Delete obsolete code.
14191         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14192         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14193         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14194         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14195         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14196         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14197         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14198         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14199         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14200         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14201         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14202         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14203         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14204         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14205         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14206         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14207         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14208         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14209         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14210         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14211         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14212         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14213         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14214         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14215         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14216         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14217         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14218         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14219         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14220         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14221         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14222         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14223         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14224         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14225         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14226         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14227         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14228
14229 2002-12-11  David Carlton  <carlton@math.stanford.edu>
14230
14231         * gdb.c++/m-data.exp: Add test for members that shadow global
14232         variables: see PR gdb/804.
14233         * gdb.c++/m-data.cc: Ditto.
14234
14235 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
14236
14237         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14238
14239 2002-12-06  David Carlton  <carlton@math.stanford.edu>
14240
14241         * gdb.base/store.c: Don't declare functions static.
14242
14243 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
14244
14245         * gdb.base/store.exp, gdb.base/store.c: New files.
14246
14247 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
14248
14249         * gdb.base/selftest.exp: Update for current gdb.
14250
14251 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
14252
14253         * gdb.base/maint.exp: Only dump symbols from one source file
14254         or objfile.
14255
14256 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
14257
14258         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14259         function call.
14260
14261 2002-11-25  Jim Blandy  <jimb@redhat.com>
14262
14263         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14264         function appearing in error message.
14265
14266 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
14267
14268         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14269
14270 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
14271
14272         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14273         for mi1 and current mi is in correct format.  New mi startup message
14274         should be in mi console format.  This is part of fix for PR gdb/604.
14275
14276 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
14277
14278         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14279         which explicitly prints the zero offset as "+0".
14280
14281 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
14282
14283         * gdb.threads/schedlock.c (args): Make unsigned.
14284
14285 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
14286
14287         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
14288         numbers.  Allow "foo2|selected stack frame".
14289         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14290         * gdb.asm/asmsrc2.s: Likewise.
14291         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
14292         comments.
14293         * gdb.asm/mips.inc: New file.
14294
14295 2002-10-18  Adam Fedor  <fedor@gnu.org>
14296
14297         * gdb.base/default.exp: Update expected output to include 'ObjC'.
14298         * gdb.base/help.exp: Likewise.
14299
14300 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
14301
14302         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14303         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14304
14305 2002-10-02  Jim Blandy  <jimb@redhat.com>
14306
14307         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14308
14309 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
14310
14311         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14312         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14313         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14314         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14315         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14316         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14317         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14318
14319 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
14320
14321         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14322         * mi0-disassemble.exp, mi0-eval.exp: Delete.
14323         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14324         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14325         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14326         * mi0-var-block.exp, mi0-var-child.exp: Delete.
14327         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14328
14329 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
14330
14331         * gdb.base/annota1.exp (info break): Make directory components of
14332         path optional since not all compilers emit this debug information.
14333
14334         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14335         step ends up stepping out of the function instead of stopping on
14336         the epilogue.
14337
14338 2002-09-26  Keith Seitz  <keiths@redhat.com>
14339
14340         * lib/insight-support.exp (gdbtk_start): Figure out where
14341         the insight executable is based on where gdb is. Use this
14342         executable to start insight instead of gdb.
14343
14344 2002-09-25  Andrew Cagney  <cagney@redhat.com>
14345
14346         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14347
14348 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
14349
14350         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14351         test_isolated_complaints.
14352         (test_empty_complaint): New function.
14353         (test_empty_complaints): New function.  Check no output when no
14354         complaints.
14355
14356 2002-09-19  Jim Blandy  <jimb@redhat.com>
14357
14358         * gdb.base/charset.exp, gdb.base/charset.c: New files.
14359
14360 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
14361
14362         * gdb.gdb/complaints.exp: New file.
14363
14364 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
14365
14366         * gdb.base/maint.exp: Check `help maint internal-warning'.
14367
14368 2002-09-18  David Carlton  <carlton@math.stanford.edu>
14369
14370         * gdb.c++/m-static.exp: Remove breakpoints depending on line
14371         numbers, and replace them by a single breakpoint after the
14372         constructors are all finished.
14373         Add test 4.
14374         * gdb.c++/m-static.cc: Add test 4.
14375         * gdb.c++/m-static.h: New file.
14376         * gdb.c++/m-static1.cc: New file.
14377
14378         * gdb.c++/printmethod.exp: New file.
14379         * gdb.c++/printmethod.cc: New file.
14380
14381         * gdb.c++/pr-574.exp: New file.
14382         * gdb.c++/pr-574.cc: New file.
14383
14384 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
14385
14386         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14387         embedded targets which never actually exit.
14388
14389 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
14390
14391         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14392         "don't step after run" as unresolved or unsupported, instead of xfail.
14393
14394 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
14395
14396         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14397         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14398         Add newline to expected string in "step out of main (status wrapper)"
14399         case.
14400
14401 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
14402
14403         * lib/gdb.exp (rerun_to_main): Allow restarting application.
14404         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14405
14406 2002-09-17  Tom Tromey  <tromey@redhat.com>
14407
14408         * gdb.base/printcmds.exp (test_print_string_constants): Expect
14409         \000, not \0, in double-quoted string.
14410
14411 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
14412
14413         * gdb.base/commands.exp: Don't expect a "Program exited normally"
14414         string after running the commands execution on breakpoint tests.
14415
14416 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
14417
14418         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14419
14420 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
14421
14422         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14423
14424 2002-09-10  Keith Seitz  <keiths@redhat.com>
14425
14426         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14427         runto proc.
14428         (mi_run_to_main): Use mi_runto.
14429         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14430
14431 2002-09-10  Keith Seitz  <keiths@redhat.com>
14432
14433         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14434         regexp for stopping at main. Could have multiple event notifications.
14435         Don't assume that main was declared with no parameters.
14436         (mi_next): Use mi_step_to.
14437         (mi_step): Use mi_next_to.
14438
14439 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
14440
14441         * gdb.base/default.exp: Fix expected string in `info float' test.
14442
14443 2002-09-09  Ben Elliston  <bje@redhat.com>
14444
14445         * config/mips.exp: Update comments.
14446         * config/mips-idt.exp: Likewise.
14447         * config/nind.exp: Likewise.
14448         * config/slite.exp: Likewise.
14449         * config/sparclet.exp: Likewise.
14450         * config/udi.exp: Likewise.
14451         * config/vx.exp: Likewise.
14452         * config/vxworks29k.exp: Likewise.
14453
14454 2002-09-05  Jim Blandy  <jimb@redhat.com>
14455
14456         * gdb.threads/killed.exp: Fix test failure message.
14457
14458 2002-09-04  Keith Seitz  <keiths@redhat.com>
14459
14460         * lib/mi-support.exp: Update copyright.
14461         (mi_gdb_test): Increase the priority of the expected pattern
14462         so that it matches gdb_test.
14463
14464 2002-09-03  Keith Seitz  <keiths@redhat.com>
14465
14466         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14467         Use integer comparison instead of string comparison for testing
14468         whether binary was built.
14469
14470 2002-09-03  Jim Blandy  <jimb@redhat.com>
14471
14472         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14473
14474 2002-08-29  Jim Blandy  <jimb@redhat.com>
14475
14476         * gdb.threads/pthreads.exp: Move the portable thread compilation
14477         code into a function in lib/gdb.exp, and call that from here.
14478         * lib/gdb.exp (gdb_compile_pthreads): New function.
14479
14480 2002-08-29  Keith Seitz  <keiths@redhat.com>
14481
14482         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14483         expect_out so that callers can get at it.
14484
14485 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
14486
14487         * gdb.threads/print-threads.c: New file.
14488         * gdb.threads/print-threads.exp: New file.
14489         * gdb.threads/schedlock.c: New file.
14490         * gdb.threads/schedlock.exp: New file.
14491
14492 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
14493
14494         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14495         not altivec.c.
14496
14497 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
14498
14499         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14500         targets.  The problem should be fixed now.
14501
14502 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
14503
14504         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14505         2002-07-24 change that removes final dots from error messages.
14506
14507 2002-08-13  Tom Tromey  <tromey@redhat.com>
14508
14509         * gdb.base/readline.exp: New file.
14510
14511 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
14512
14513         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14514         supress message.
14515
14516 2002-08-01  Andrew Cagney  <cagney@redhat.com>
14517
14518         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14519         CHILL_FOR_TARGET and CHILL_LIB.
14520         * configure.in (configdirs): Remove gdb.chill.
14521         * configure: Regenerate.
14522         * lib/gdb.exp: Obsolete references to chill.
14523         * gdb.fortran/types.exp: Ditto.
14524         * gdb.fortran/exprs.exp: Ditto.
14525
14526 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
14527
14528         * gdb.base/shlib-call.exp (additional_flags): Conditionally
14529         set Irix-specific compile and link flags.
14530
14531 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
14532
14533         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14534         source files.  The ``-o'' option doesn't work with the ``-E'' option
14535         when using the Irix compiler.
14536
14537 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
14538
14539         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14540         Improve support for reusing an exec file.  Copy exec file
14541         to target, and run gdbserver on the target instead of on the host.
14542
14543 2002-07-18  Jim Blandy  <jimb@redhat.com>
14544
14545         * gdb.base/ending-run.exp: Don't expect to see the program end in
14546         some orderly fashion when we're running on a real stand-alone
14547         board.
14548
14549         * gdb.base/interrupt.exp: Correct logic for skipping tests on
14550         targets that don't support interrupts.
14551
14552 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
14553
14554         * gdb.base/attach.exp: Add patterns to match output from /proc-based
14555         systems.
14556         Move comments in expect statements to inside the actions, so that they
14557         don't get matched against.
14558
14559 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
14560
14561         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14562         function when asleep" test.
14563
14564 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
14565
14566         * gdb.base/page.exp: Rewrite to handle problems with very long
14567         `info set' output.  Update copyright.
14568
14569 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
14570
14571         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14572         gdb.threads-hp.
14573         * gdb.hp/configure: Regenerate.
14574         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14575         * gdb.hp/gdb.threads-hp/configure: Delete file.
14576         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14577
14578 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
14579
14580         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14581         setlocale, bindtextdomain and textdomain.
14582
14583 2002-06-11  Jim Blandy  <jimb@redhat.com>
14584
14585         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14586         preprocessor macro information is present.
14587
14588         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14589         tests.
14590
14591 2002-06-06  Michael Snyder  <msnyder@redhat.com>
14592
14593         * gdb.base/overlays.exp: Record addresses of overlay
14594         functions in TCL variables rather than in GDB variables,
14595         to avoid having GDB convert them to pointers (with loss
14596         of information).
14597
14598         * gdb.base/d10v.ld: Merge in several years worth of
14599         default linker script changes.
14600         * gdb.base/long_long.exp: Add check for sizeof (long double).
14601
14602 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
14603
14604         * gdb.asm/asm-source.exp: Add x86-64 target.
14605         * gdb.asm/x86_64.inc: New.
14606
14607 2002-05-30  Michael Chastain  <mec@shout.net>
14608
14609         From Benjamin Kosnik <bkoz@redhat.com>:
14610         * gdb.c++/m-static.cc: New file.
14611         * gdb.c++/m-static.exp: New file.
14612
14613 2002-05-28  Michael Snyder  <msnyder@redhat.com>
14614
14615         * gdb.base/call-ar-st.exp: Allow for reduced floating point
14616         precision.
14617
14618 2002-05-27  Michael Chastain  <mec@shout.net>
14619
14620         From Benjamin Kosnik <bkoz@redhat.com>:
14621         * gdb.c++/m-data.cc: New file.
14622         * gdb.c++/m-data.exp: New file.
14623
14624 2002-05-27  Michael Chastain  <mec@shout.net>
14625
14626         From Benjamin Kosnik <bkoz@redhat.com>:
14627         * gdb.c++/try_catch.cc: New file.
14628         * gdb.c++/try_catch.exp: New file.
14629
14630 2002-05-27  Michael Chastain  <mec@shout.net>
14631
14632         * gdb.c++/local.exp: Accept more nested types in output.
14633
14634 2002-05-26  Michael Chastain  <mec@shout.net>
14635
14636         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14637
14638 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
14639
14640         * lib/gdb.exp (gdb_wrapper_init): Just because
14641         gdb_wrapper_file exists, this does not mean that the file
14642         should not be rebuilt.  That is what gdb_wrapper_initialized
14643         is for.
14644         (default_gdb_init): Reset gdb_wrapper_initialized.
14645
14646 2002-05-23  Michael Snyder  <msnyder@redhat.com>
14647
14648         * gdb.base/all-bin.exp: Revise previous patch by just reducing
14649         the precision of the floating point test results.
14650         * gdb.base/call-rt-st.exp: Ditto.
14651
14652         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14653         * gdb.base/call-rt-st.exp: Ditto.
14654
14655 2002-05-19  Michael Chastain  <mec@shout.net>
14656
14657         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14658
14659 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
14660
14661         * configure.in (configdirs): Add gdb.arch.
14662         * configure: Regenerate.
14663
14664 2002-05-17  Jim Blandy  <jimb@redhat.com>
14665
14666         * gdb.base/completion.exp: Recognize the more detailed error
14667         messages produced by the macro expander's lexical analyzer.
14668
14669 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
14670
14671         * gdb.arch/altivec-abi.c: New file.
14672         * gdb.arch/altivec-abi.exp: New file.
14673         * gdb.arch/altivec-regs.c: New file.
14674         * gdb.arch/altivec-regs.exp: New file.
14675
14676 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
14677
14678         * gdb.base/maint.exp (maint print type): Update for new type
14679         structure.
14680
14681 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
14682
14683         * gdb.arch: New directory.
14684         * gdb.arch/configure.in: New file.
14685         * gdb.arch/configure: New file.
14686         * gdb.arch/Makefile.in: New file.
14687
14688 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
14689
14690         * gdb.asm/asm-source.exp: Add v850 as supported target.
14691         * gdb.asm/v850.inc: New file.
14692
14693 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
14694
14695         * gdb.c++/annota2.exp (annotate-quit): Add comment.
14696
14697 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
14698
14699         * gdb.base/break.exp: Check 'break "marker2"'.
14700
14701 2002-05-10  Michael Snyder  <msnyder@redhat.com>
14702
14703         * gdb.base/long_long.exp: Fix typo.
14704
14705 2002-05-10  Jim Blandy  <jimb@redhat.com>
14706
14707         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
14708         a bug.
14709
14710         * gdb.base/printcmds.exp (test_integer_literals_rejected):
14711         Recognize more detailed error message produced by the macro
14712         expander's lexical analyzer.
14713         * lib/gdb.exp (test_print_reject): Same.
14714
14715 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
14716
14717         * gdb.c++/method.exp: Fix typo.
14718
14719 2002-05-08  Michael Snyder  <msnyder@redhat.com>
14720
14721         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14722         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14723         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14724         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14725         Add iftarget clause for strongarm.
14726
14727 2002-05-06  Michael Snyder  <msnyder@redhat.com>
14728
14729         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14730         (gdb_continue_to_end): Accept output from status wrapper.
14731         * gdb.base/ending-run.exp: Add case for output from status wrapper.
14732         Clean up fail messages to match pass messages.
14733
14734         Enable the "needs_status_wrapper" testsuite feature.
14735         * lib/gdb.exp (gdb_wrapper_init): New procedure.
14736         (gdb_compile): Conditionally call gdb_wrapper_init.
14737         * gdb.base/a2-run.exp: Recognize output from status wrapper.
14738         * gdb.c++/method.exp: Recognize output from status wrapper.
14739
14740 2002-05-06  Ben Elliston  <bje@redhat.com>
14741 From Graydon Hoare  <graydon@redhat.com>
14742
14743         * config/sid.exp: Include support for "rawsid" protocol.
14744
14745 2002-05-03  Jim Blandy  <jimb@redhat.com>
14746
14747         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14748         * gdb.c++/hang3.C: New file.
14749
14750 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
14751
14752         * gdb.base/default.exp: Remove obsolete code.
14753         * gdb.c++/misc.exp: Ditto.  Update copyright.
14754         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
14755         * gdb.base/whatis.exp: Ditto.  Update copyright.
14756         * gdb.base/scope.exp: Ditto.  Update copyright.
14757         * gdb.base/ptype.exp: Ditto.  Update copyright.
14758         * gdb.base/printcmds.exp: Ditto.  Update copyright.
14759         * gdb.base/opaque.exp: Ditto.  Update copyright.
14760         * gdb.base/list.exp: Ditto.
14761         * gdb.base/funcargs.exp: Ditto.  Update copyright.
14762         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14763         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14764         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14765         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14766         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14767         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14768
14769 2002-05-02  Michael Snyder  <msnyder@redhat.com>
14770
14771         * gdb.base/watchpoint.exp: Add xscale target.
14772         * gdb.base/long_long.exp: Add xscale target.
14773         * gdb.base/default.exp: Add xscale target.
14774
14775 2002-05-01  Jim Blandy  <jimb@redhat.com>
14776
14777         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14778         gdb.c++/hang.exp: New test.
14779
14780 2002-05-01  Fred Fish  <fnf@redhat.com>
14781
14782         * gdb.base/completion.exp: Handle completions of "./Make" for
14783         more than one completion possibility, as is the case when we
14784         build and test in the source tree.
14785
14786 2002-04-29  Anthony Green  <green@redhat.com>
14787
14788         * gdb.java/jmisc1.exp: New file.
14789         * gdb.java/jmisc2.exp: New file.
14790
14791 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
14792
14793         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14794
14795 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
14796
14797         * gdb.base/help.exp: Change 'help status' to allow for target
14798         dependent output differences.
14799
14800 2002-04-22  Michael Chastain  <mec@shout.net>
14801
14802         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14803
14804 2002-04-22  Michael Chastain  <mec@shout.net>
14805
14806         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14807
14808 2002-04-17  David S. Miller  <davem@redhat.com>
14809
14810         * gdb.asm/sparc64.inc: New file.
14811         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14812
14813 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
14814
14815         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14816         instruction file directly into the build tree.  Clean up at end of
14817         test.
14818
14819 2002-04-18  David S. Miller  <davem@redhat.com>
14820
14821         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14822         handle 64-bit platforms correctly.
14823         * gdb.base/maint.exp: Likewise.
14824
14825 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
14826
14827         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14828         ``-fpic'' when compiling files comprising a shared library, but
14829         it does need additional linker flags in order to find shared
14830         libraries at run time.
14831
14832 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
14833
14834         * gdb.base/cvexpr.c (use): New function.
14835         (main): Invoke use() on all global variables to prevent
14836         some linkers from deleting these otherwise unused symbols.
14837
14838 2002-04-17  Michael Chastain  <mec@shout.net>
14839 From David S. Miller  <davem@redhat.com>
14840
14841         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14842         handle 64-bit platforms correctly.
14843
14844 2002-04-12  Michael Snyder  <msnyder@redhat.com>
14845 From Jim Blandy  <jimb@redhat.com>
14846         * gdb.base/foo.c (foox): Remove section attribute; the linker
14847         script can handle this instead.
14848         * gdb.base/bar.c (barx): Same.
14849         * gdb.base/baz.c (bazx): Same.
14850         * gdb.base/grbx.c (grbxx): Same.
14851
14852         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14853         manager doesn't automatically unmap overlays unnecessarily.
14854
14855 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
14856
14857         * gdb.base/ending-run.exp: Fix pattern for Mips targets
14858         stepping out of main.
14859
14860 2002-04-09  Michael Chastain  <mec@shout.net>
14861
14862         * gdb.c++/local.cc (main): Move call to marker1() inside nested
14863         scope so that the nested scope tests will make sense.
14864         * gdb.c++/local.exp: Write patterns that actually work with gcc
14865         (the HP patterns "were never known to work with gcc").
14866         Keep the old aCC patterns too.
14867
14868 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
14869
14870         * gdb.base/attach.exp: Correct target board test.
14871
14872 2002-04-08  Michael Chastain  <mec@shout.net>
14873
14874         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14875         in a const method.  Add some xfail and fail cases for configurations
14876         that do not emit the "const ...".
14877
14878 2002-04-07  Michael Chastain  <mec@shout.net>
14879
14880         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14881         Accept "A * const" and "const A * const" as type of "this".
14882         Fix spelling of getFunky throughout.  Make messages uniform.
14883
14884 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
14885
14886         Work around for PR gdb/285:
14887         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14888
14889 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
14890
14891         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14892         instructions file at run time instead of configure time.
14893         Sometimes we run the test in a directory that is not the one we
14894         configured in.
14895         * gdb.asm/configure.in: Delete creation of symlink.
14896         * gdb.asm/configure: Regenerate.
14897
14898 2002-04-05  J. Brobecker  <brobecker@gnat.com>
14899
14900         * gdb.gdb/xfullpath.exp: New test, to exercise the new
14901         xfullpath () function.
14902
14903 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
14904
14905         * gdb.asm/Makefile.in: Correct dependencies.
14906
14907         * gdb.asm/powerpc.inc: New file.
14908         * gdb.asm/asm-source.exp: Add PowerPC.
14909         * gdb.asm/configure.in: Likewise.
14910         * gdb.asm/configure: Regenerated.
14911
14912 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
14913
14914         * gdb.base/relocate.exp: New file.
14915         * gdb.base/relocate.c: New file.
14916
14917 2002-04-04  Fred Fish  <fnf@redhat.com>
14918
14919         * gdb.base/step-test.exp: Update comment regarding stopping in
14920         memcpy/bcopy calls inserted as part of the compiler runtime.
14921
14922 2002-04-04  Michael Snyder  <msnyder@redhat.com>
14923
14924         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14925
14926 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
14927
14928         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14929         (gdb_expect): Remove $notransfer hack.
14930
14931 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
14932
14933         * gdb.c++/classes.exp ("calling method for small class"): Match
14934         updated register output.
14935
14936 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
14937
14938         Fix PR gdb/452
14939         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14940         when finished.  Make gdb_file_cmd send "exec-file" when
14941         appropriate.
14942
14943 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
14944
14945         * gdb.base/attach.exp: Remove extra setup_xfail.
14946
14947 2002-03-26  Michael Snyder  <msnyder@redhat.com>
14948
14949         * gdb.base/default.exp: Add tests for dump, append, and restore.
14950         * gdb.base/help.exp: Add tests for dump, append, and restore.
14951         * gdb.base/dump.exp: New file, test dump, append and restore.
14952         * gdb.base/dump.c: New file.
14953
14954 2002-03-27  Michael Snyder  <msnyder@redhat.com>
14955
14956         * gdb.base/help.exp: Modify expect strings to reflect
14957         clean-ups in help messages.
14958
14959 2002-03-26  Fred Fish  <fnf@redhat.com>
14960
14961         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14962         have debugging info for those functions and the compiler uses them
14963         internally to copy structs around.
14964
14965 2002-03-26  Fred Fish  <fnf@redhat.com>
14966
14967         * gdb.base/list.exp: Revert the change made yesterday and add note
14968         about why we don't list the default lines for remote targets.
14969
14970 2002-03-25  Michael Snyder  <msnyder@redhat.com>
14971
14972         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14973
14974 2002-03-25  Fred Fish  <fnf@redhat.com>
14975
14976         * gdb.base/list.exp: This test works on remote targets so remove
14977         the short circuit for remote targets.  Update copyright.
14978
14979 2002-03-25  Fred Fish  <fnf@redhat.com>
14980
14981         * gdb.base/attach.exp: Fix logic error that was suppressing this
14982         test for all non hppa*-*-hpux* targets, instead of the hp target.
14983         Move comments closer to the suppression point.  Also now need to
14984         check that we are running natively.
14985
14986 2002-03-22  Michael Snyder  <msnyder@redhat.com>
14987
14988         * gdb.base/default.exp: Add test for gcore.  Update copyright.
14989         * gdb.base/help.exp: Add test for gcore.  Update copyright.
14990
14991 2002-03-06  Fred Fish  <fnf@redhat.com>
14992
14993         * gdb.base/funcargs.c:  Remove extraneous ';' character.
14994         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14995
14996 2002-03-04  Michael Chastain  <mec@shout.net>
14997
14998         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14999         accommodate gcc v3 function signature.
15000         * gdb.mi/mi0-var-cmd-exp: Ditto.
15001
15002 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
15003
15004         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15005         ``GNU/Linux'' or ``Linux kernel''
15006         * testsuite/gdb.threads/pthreads.c: Ditto.
15007
15008 2002-02-24  Michael Chastain  <mec@shout.net>
15009
15010         * gdb.threads/pthreads.c (thread1): Add a return statement.
15011         (thread2): Likewise.
15012         (foo): Likewise.
15013
15014 2002-02-23  Michael Chastain  <mec@shout.net>
15015
15016         * gdb.threads/linux-dp.c (philosopher): Add a return statement
15017         to placate gcc.
15018
15019 2002-02-23  Michael Chastain  <mec@shout.net>
15020
15021         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15022         test "ptype bint".  The test passes on all my stabs configurations.
15023
15024 2002-02-21  Jim Blandy  <jimb@redhat.com>
15025
15026         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15027         filename at a time, and watch for the ones we want to see.
15028
15029         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15030         types of pointers to prototyped functions.
15031
15032 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
15033
15034         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
15035         signed, unsigned and straight char.
15036         (padding_char, padding_short, padding_int, padding_long,
15037         padding_long_long, padding_float, padding_double,
15038         padding_long_double): New global variables.
15039         (fill, fill_structs): New functions.
15040
15041         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
15042         for correctly sized writes.  Update copyright.
15043         (get_valueof): New procedure.
15044         (get_sizeof): Call get_valueof.
15045         (check_valueof): New procedure.
15046         (check_padding): New procedure.
15047
15048 2002-02-20  Michael Chastain  <mec@shout.net>
15049
15050         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15051         to setup_xfail.  Document some of the remaining calls.
15052
15053 2002-02-18  Michael Chastain  <mec@shout.net>
15054
15055         * gdb.c++/userdef.exp: Update copyright year.
15056
15057 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
15058
15059         * gdb.c++/userdef.exp: Test overloaded operators properly.
15060         Remove xfails.
15061
15062 2002-02-14  Michael Snyder  <msnyder@redhat.com>
15063
15064         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15065
15066 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
15067
15068         * gdb.base/a2-run.exp: Check for a remote target properly.
15069         * gdb.base/annota1.exp: Likewise.
15070         * gdb.base/list.exp: Likewise.
15071         * gdb.base/reread.exp: Likewise.
15072         * gdb.base/scope.exp: Likewise.
15073         * gdb.base/shlib-call.exp: Likewise.
15074         * gdb.base/term.exp: Likewise.
15075         * gdb.c++/annota2.exp: Likewise.
15076
15077 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
15078
15079         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15080
15081 2002-02-10  Michael Chastain  <mec@shout.net>
15082
15083         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15084         (call_after_alloca): Ditto.
15085
15086 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
15087
15088         * gdb.base/ending-run.exp: Guard "cont" test with
15089         gdb_skip_stdio_test.
15090
15091 2002-02-06  Jim Blandy  <jimb@redhat.com>
15092
15093         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15094         from here...
15095         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15096         To here.  Disable this test on non-HP platforms.  Add big comment.
15097
15098 2002-02-04  Michael Snyder  <msnyder@redhat.com>
15099
15100         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
15101           other than d10v and m32r.
15102
15103 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
15104
15105         * gdb.base/default.exp: Rewrite test patterns to reduce time
15106         taken to match them.
15107
15108 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
15109
15110         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15111         Allow a start function above main.
15112         * gdb.threads/linux-dp.exp: Fix copyright date.
15113
15114 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
15115
15116         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15117         (check_philosopher_stack): Check for manager thread before checking
15118         for a just-starting thread.
15119
15120 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
15121
15122         From Neil Booth <neil@daikokuya.demon.co.uk>:
15123         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15124         warnings.
15125
15126 2002-01-21  Fred Fish  <fnf@redhat.com>
15127
15128         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15129         not caller.
15130
15131 2002-01-21  Jim Blandy  <jimb@redhat.com>
15132
15133         * gdb.base/reread.exp: Check that GDB properly re-reads the
15134         executable file when it changes while no inferior is running.
15135
15136 2002-01-21  Fred Fish  <fnf@redhat.com>
15137
15138         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15139         optionally accept the "shlib events" variation.
15140
15141 2002-01-21  Jim Blandy  <jimb@redhat.com>
15142
15143         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15144         call `fflush' after every `printf', so that the output is produced
15145         at predictable points, regardless of whatever buffering does (or
15146         doesn't) take place.
15147         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15148         at different points.
15149
15150 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
15151
15152         * gdb.c++/inherit.exp: Update copyright years.
15153         * gdb.c++/method.exp: Likewise.
15154
15155 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
15156
15157         * gdb.c++/classes.exp: Update for improved v3 support and skipping
15158         artificial methods/arguments.
15159         * gdb.c++/derivation.exp: Likewise.
15160         * gdb.c++/inherit.exp: Likewise.
15161         * gdb.c++/method.exp: Likewise.
15162         * gdb.c++/virtfunc.exp: Likewise.
15163
15164 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
15165
15166         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15167         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15168         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15169         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15170         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15171         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15172
15173 2002-01-17  Jim Blandy  <jimb@redhat.com>
15174
15175         * gdb.asm/asm-source.exp (info symbol): Take another shot at
15176         anchoring the pattern matching the entry point symbol's name.
15177
15178 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
15179
15180         * gdb.base/maint.exp: Update ``maint internal-error'' to match
15181         continue/quit query.  Update copyright.
15182
15183 2002-01-14  Michael Snyder  <msnyder@redhat.com>
15184
15185         * gdb.base/gcore.exp: Remove extra debugging output.
15186
15187 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
15188
15189         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15190         for slightly dubious v2 mangled string.
15191
15192 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
15193
15194         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15195
15196 2002-01-10  Jason Merrill  <jason@redhat.com>
15197
15198         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15199
15200         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15201         constructors.
15202         * gdb.c++/derivation.exp: Likewise.
15203         * gdb.c++/templates.exp: Likewise.
15204         * gdb.c++/virtfunc.exp: Likewise.
15205
15206 2002-01-10  Michael Snyder  <msnyder@redhat.com>
15207
15208         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15209
15210 2002-01-08  Michael Snyder  <msnyder@redhat.com>
15211
15212         * gdb.base/gcore.exp: New test for generate-core-file command.
15213         * gdb.base/gcore.c: Testcase for above.
15214         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15215
15216 2002-01-08  Jason Merrill  <jason@redhat.com>
15217
15218         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15219
15220 2002-01-07  Fred Fish  <fnf@redhat.com>
15221
15222         * gdb.c++/overload.exp: Remove unconditional xfails for:
15223         print foo_instance1.overloadargs(1)
15224         print foo_instance1.overloadargs(1, 2)
15225         print foo_instance1.overloadargs(1, 2, 3)
15226         print foo_instance1.overloadargs(1, 2, 3, 4)
15227         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15228         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15229         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15230         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15231         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15232         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15233         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15234         print foo_instance1.overload1arg()
15235         print foo_instance1.overload1arg((char)arg2)
15236         print foo_instance1.overload1arg((signed char)arg3)
15237         print foo_instance1.overload1arg((unsigned char)arg4)
15238         print foo_instance1.overload1arg((int)arg7)
15239         print foo_instance1.overload1arg((unsigned int)arg8)
15240         print foo_instance1.overload1arg((float)arg11)
15241         print foo_instance1.overload1arg((double)arg12)
15242
15243 2002-01-07  Michael Snyder  <msnyder@redhat.com>
15244
15245         * gdb.base/huge.exp: New test.  Print a very large target data object.
15246         (skip_huge_test): New test variable.  Define if you want to skip this
15247         test.  The test reads an 8 megabyte data object from the target, so it
15248         might be very time consuming on remote targets with a slow connection.
15249         * gdb.base/huge.c: New file.  Test case for above.
15250
15251 2002-01-07  Fred Fish  <fnf@redhat.com>
15252
15253         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15254         g_instance.bfoo, and g_instance.cfoo.
15255
15256 2002-01-07  Jeffrey A Law  <law@redhat.com>
15257
15258         * gdb.base/break.c (multi_line_if_conditional): New function.
15259         (multi_ilne_while_conditional): Likewise.
15260         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15261         IF or WHILE condition puts the breakpoint at the start of
15262         the condition.
15263
15264         * gdb.base/selftest.exp (backtrace through signal handler): Remove
15265         hppa*-*-hpux* expected failure.
15266         * gdb.base/structs.exp (do_function_calls): Similarly.
15267
15268         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15269         watchpoints.
15270
15271 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
15272
15273         Fix PR gdb/66.
15274         * gdb.base/structs.exp: Replace skip for a29k with skip for
15275         gdb,cannot_call_functions.
15276         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15277         * gdb.base/callfuncs.exp: Ditto.
15278         * gdb.base/call-rt-st.exp: Ditto.
15279         * gdb.base/call-strs.exp: Ditto.
15280         * gdb.base/callfwmall.exp: Ditto.
15281         * gdb.base/scope.exp: Obsolete xfail a29k.
15282         * gdb.c++/misc.exp: Ditto.
15283         * gdb.c++/cplusfuncs.exp: Ditto.
15284         * gdb.base/ptype.exp: Ditto.
15285         * gdb.base/printcmds.exp: Ditto.
15286         * gdb.base/opaque.exp: Ditto.
15287         * gdb.base/list.exp: Ditto.
15288         * gdb.base/funcargs.exp: Ditto.
15289         * gdb.base/default.exp: Ditto.
15290
15291 2002-01-04  Michael Snyder  <msnyder@redhat.com>
15292
15293         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15294         * gdb.base/maint.exp: Add tests for maint info sections options.
15295
15296 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
15297
15298         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15299
15300 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
15301
15302         * gdb.asm/arm.inc: New file.
15303         * gdb.asm/asm-source.exp: Add arm targets.
15304         * gdb.asm/configure.in: Ditto.
15305         * gdb.asm/configure: Recreated from configure.in.
15306
15307 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
15308
15309         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15310         with HP's compiler.
15311         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15312         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15313         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15314         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15315
15316         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15317         either HP's compilers or GCC.
15318
15319         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15320         a SIGBUS or SIGSEGV.
15321
15322         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15323
15324         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15325         can be compiled with either HP's compiler or GCC.
15326
15327         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15328         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15329         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15330
15331         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15332         to match current gdb output.  Update due to using auto-solib-limit
15333         for limiting instead of overloading auto-solib-add.
15334         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15335         test program.
15336
15337         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15338         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15339         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15340         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15341         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15342         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15343         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15344         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15345         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15346         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15347         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15348         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15349         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15350
15351         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15352         a SIGTRAP to the inferior.
15353
15354 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
15355
15356         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15357         Substitute call to target_link by call to gdb_compile.
15358
15359 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
15360
15361         * gdb.base/break.exp: Fix HP specific search string when testing
15362         backtracing in a called function.
15363
15364         * gdb.base/constvars.exp: Only set lang to C++ if we're
15365         compiling the test with HP's compilers.
15366         * gdb.base/volatile.exp: Similarly.
15367
15368 2001-12-19  Jim Blandy  <jimb@redhat.com>
15369
15370         * gdb.base/printcmds.exp: Expect the null character to be printed
15371         as '\0', and the '\013' to be printed as '\v'.
15372         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15373         * gdb.base/setvar.exp: Same.
15374
15375 2001-12-17  Jim Blandy  <jimb@redhat.com>
15376
15377         * gdb.base/completion.exp: Rather than completing very long
15378         filenames, which can make the readline library produce output we
15379         don't recognize, cd to the directory first, and then complete
15380         using nice, short relative paths.
15381
15382         * gdb.base/completion.exp: On some systems, there is, in fact, a
15383         variable named `b' in scope, since GDB treats all static
15384         variables as being in scope.  So use `no_var_named_this'
15385         instead of `b'.
15386
15387         * gdb.base/corefile.exp: Recognize the message saying that GDB
15388         can't find the core file's registers as a failure.
15389
15390 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
15391
15392         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15393         test expect string more specific.
15394
15395 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
15396
15397         * gdb.asm/asm-source.exp: Add support for xstormy16.
15398         * gdb.asm/configure.in: Ditto.
15399         * gdb.asm/configure: Rebuild.
15400         * gdb.asm/xstormy16.inc: New file.
15401
15402 2001-12-10  Fred Fish  <fnf@redhat.com>
15403
15404         * gdb.base/maint.exp: Update to match changes in type dumping code.
15405
15406 2001-12-10  Jim Blandy  <jimb@redhat.com>
15407
15408         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15409         matching the entry point symbol's name at the beginning of the
15410         line.
15411
15412 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
15413
15414         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15415         gdb.c++/inherit.exp, gdb.c++/method.exp,
15416         gdb.c++/namespace.exp, gdb.c++/templates.exp,
15417         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15418         and class layout support.
15419
15420 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
15421
15422         * gdb.c++/classes.exp: Add test for static member function.
15423         * gdb.c++/misc.cc: Add class with static member function.
15424
15425 2001-12-07  Jim Blandy  <jimb@redhat.com>
15426
15427         If GDB says it can't find the struct the function returned, report
15428         those tests as `unsupported'.
15429         * gdb.base/call-rt-st.exp (print_struct_call): New function.
15430         Rewrite subsequent tests to use it.
15431
15432         If GDB says it can't find the struct the function returned, report
15433         those tests as `unsupported'.
15434         * gdb.base/structs.exp (call_struct_func): New function.
15435         (do_function_calls): Use call_struct_func to call the functions
15436         returning structs.
15437
15438         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15439         whether functions are prototyped or not, so we can't possibly pass
15440         arguments to t_float_values2 properly.
15441
15442         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15443         value of `timeout' for targets other than the mips*tx39-*.
15444
15445 2001-12-06  Michael Snyder  <msnyder@redhat.com>
15446
15447         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15448         and detect whether the start symbol has a leading underscore.
15449
15450 2001-12-04  Jim Blandy  <jimb@redhat.com>
15451
15452         * gdb.base/completion.exp: Clarify indentation.
15453
15454 2001-12-03  Jim Blandy  <jimb@redhat.com>
15455
15456         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15457         variables on the S/390, not `.word'.
15458
15459 2001-11-30  Jim Blandy  <jimb@redhat.com>
15460
15461         Add assembly-source tests for s390-ibm-linux.
15462         * gdb.asm/s390.inc: New file.
15463         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15464         the S/390 architecture.
15465         * gdb.asm/configure: Regenerated.
15466
15467 2001-11-30  Michael Snyder  <msnyder@redhat.com>
15468
15469         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15470         next, info source, info sources, info line, global and static
15471         variables, and static functions.
15472         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15473         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15474         * gdb.asm/asmsrc1.s: Add a static function and some variables.
15475         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15476         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15477         (gdbasm_leave): Restore frame pointer.
15478         (gdbasm_startup): Copy stack set-up from crt0.S.
15479
15480 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
15481
15482         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
15483         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15484         to a local (non-static) variable. Copy tstruct.a to a static buffer
15485         and return a pointer to that buffer.
15486         * gdb.base/callfwmall.c (t_structs_a): Ditto.
15487
15488 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
15489
15490         * gdb.asm/configure.in: Fix recognition of ix86 target.
15491         * gdb.asm/configure: Regenerate.
15492
15493 2001-11-21  Michael Snyder  <msnyder@redhat.com>
15494
15495         * gdb.asm/sparc.inc: New file.
15496         * gdb.asm/asm-source.exp: Recognize sparc target.
15497         * gdb.asm/configure.in: Recognize sparc target.
15498         * gdb.asm/configure: Regenerate.
15499
15500 2001-11-21  Michael Snyder  <msnyder@redhat.com>
15501
15502         * gdb.asm/m32r.inc: New file.
15503         * gdb.asm/asm-source.exp: Recognize m32r target.
15504         * gdb.asm/configure.in: Recognize m32r target.
15505         * gdb.asm/configure: Regenerate.
15506
15507 2001-11-20  Michael Snyder  <msnyder@redhat.com>
15508
15509         * gdb.asm/i386.inc: New file.
15510         * gdb.asm/asm-source.exp: Recognize ix86 target.
15511         * gdb.asm/configure.in: Recognize ix86 target.
15512         * gdb.asm/configure: Regenerate.
15513
15514         * gdb.c++/namespace.exp: Fix quotes in output messages.
15515
15516 2001-11-14  Michael Snyder  <msnyder@redhat.com>
15517
15518         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
15519         qualifier in a type cast expression, to designate an address
15520         in the instruction space (Harvard architecture).
15521
15522 2001-11-13  Michael Snyder  <msnyder@redhat.com>
15523
15524         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15525         Tests for expressions using 'const' and 'volatile'.
15526
15527 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
15528
15529         * gdb.asm/asm-sources.exp: Allow defining linker flags.
15530
15531 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
15532
15533         * lib/mi-support.exp (mi_run_to_helper): Move comments
15534         outside of gdb_expect.
15535
15536 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
15537
15538         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15539         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15540         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15541         mi0_run_to): New functions.
15542         * gdb.mi/mi-simplerun.exp: Use them.
15543         * gdb.mi/mi0-simplerun.exp: Likewise.
15544         * gdb.mi/mi-var-cmd.exp: Likewise.
15545         * gdb.mi/mi0-var-cmd.exp: Likewise.
15546
15547 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
15548
15549         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15550         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15551
15552 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
15553
15554         * gdb.base/restore.exp: Include $expected value in restored test
15555         message.
15556
15557 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
15558
15559         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15560         implemented.
15561
15562 2001-11-08  Michael Snyder  <msnyder@redhat.com>
15563
15564         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15565         Add pass/fail message for stop at breakpoint in call dummy function.
15566
15567 2001-11-07  Michael Snyder  <msnyder@redhat.com>
15568
15569         * gdb.c++/templates.exp (test_template_breakpoints):
15570         If we get an overload menu, but it does not match what
15571         we expect, we still need to issue the "cancel" command.
15572         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15573         making the whitespace optional.  Argument for "new" may be
15574         "unsigned" as well as "unsigned int/long".
15575         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15576         making the whitespace optional.  Also replace "(void) with
15577         "((void|)), making the keyword "void" optional.
15578         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15579         making the whitespace optional.  Also replace "(void) with
15580         "((void|)), making the keyword "void" optional.
15581         * gdb.base/callfuncs.c (t_float_values): This function must
15582         _not_ be prototyped, and the following function (t_float_values2)
15583         must be prototyped (if the compiler supports it), so that GDB
15584         can be tested against both cases.  Usually one case involves
15585         promotion of float to double, while the other does not.
15586         * gdb.base/callfwmall.c: Ditto.
15587         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15588         includes a stack frame for "start".
15589
15590 2001-11-05  Jim Blandy  <jimb@redhat.com>
15591
15592         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
15593         pointers are 32 bits long, and that offsets of relocs are always
15594         stored in the data (REL-style), and not in the reloc entry itself
15595         (RELA-style).
15596         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15597         stabs.
15598
15599 2001-11-01  Michael Snyder  <msnyder@redhat.com>
15600
15601         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15602         and regular expression operators by using quoting.
15603
15604 2001-10-31  Michael Snyder  <msnyder@redhat.com>
15605
15606         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15607         depending on what the symbol table contains.
15608         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15609         the output of the ptype command.  Similarly, accept both "const &"
15610         and "const&".
15611
15612 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
15613
15614         * gdb.base/miscexprs.c (main): Add usage of preprocessor
15615         symbol `STORAGE' to allow to choose the storage class of
15616         the local datastructures.
15617         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15618         compiler directive.
15619
15620 2001-10-30  Michael Snyder  <msnyder@redhat.com>
15621
15622         * gdb.base/jump.exp: Allow it to run for all targets.
15623
15624 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
15625
15626         * gdb.base/call-ar-st.c (print_double_array): Match for loop
15627         with new double_array size.
15628         (main): Change storage class of all local variables to static.
15629         Reduce size of double_array to 9.
15630         * gdb.base/call-ar-st.exp:  Increase timeout value.
15631         Change expected output for double array to match new size in
15632         call-ar-st.c.
15633
15634 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
15635
15636         * gdb.base/ending-run.exp: Create identical output when passing
15637         `step to end of run' case.  Add regular expression branch satisfying
15638         Stormy16 target.
15639
15640 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
15641
15642         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15643         that we catch the expected failure under Linux/x86.
15644
15645 2001-10-29  Orjan Friberg  <orjanf@axis.com>
15646
15647         * gdb.base/setvar.exp: Escape curly braces.
15648         * gdb.stabs/weird.exp: Ditto.
15649
15650 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
15651
15652         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15653         * gdm.mi/mi0-hack-cli.exp: Likewise.
15654
15655 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
15656
15657         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15658         messages.
15659
15660 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
15661
15662         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15663         checking MI enabled.
15664
15665 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
15666
15667         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15668
15669 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
15670
15671         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15672         if gdb child process crashes, just signal an error.
15673
15674 2001-10-02  Jim Blandy  <jimb@redhat.com>
15675
15676         * lib/gdb.exp (test_xfail_format): Simplify.
15677
15678         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15679         front of the variable name `format'.  Simplify `if'.
15680
15681 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
15682
15683         * gdb.threads/pthreads.exp: Wait for output and delay
15684         before sending ^C.
15685
15686 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
15687
15688         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
15689         some incorrect output instead of timing out.
15690         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
15691
15692 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
15693
15694         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15695         check to allow additional `int'.
15696
15697 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
15698
15699         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15700         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15701
15702 2001-09-27  Michael Snyder  <msnyder@redhat.com>
15703
15704         * lib/gdb.exp (test_debug_format): New proc.
15705         (setup_xfail_format): Use new proc test_debug_format.
15706         * gdb.base/constvars.exp (local_compiler_xfail_check): New
15707         proc; use new service proc test_debug_format.
15708         Replace all other "gcc_compiled" tests with this test.
15709         * gdb.base/volatile.exp (local_compiler_xfail_check): New
15710         proc; use new service proc test_debug_format.
15711         Replace all other "gcc_compiled" tests with this test.
15712
15713 2001-09-27  Michael Snyder  <msnyder@redhat.com>
15714
15715         * gdb.base/cvexpr.exp: New file.
15716         * gdb.base/cvexpr.c: New file
15717         Test for expressions using const and volatile keywords.
15718
15719 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
15720
15721         * gdb.base/constvars.exp: Check for different orders of keywords
15722         and additional "int" strings in output.
15723
15724 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
15725
15726         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15727         responses from "help maint".
15728
15729 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
15730
15731         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15732         to localhost:NNN instead of :NNN, in case Xvfb is listening
15733         only on TCP.
15734
15735 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
15736
15737         * gdb.base/recurse.exp: When checking leaving the watchpoint
15738         scope, recognize when gdb is in function's epilogue and pass.
15739
15740 2001-09-18  Keith Seitz  <keiths@redhat.com>
15741
15742         * lib/insight-support.exp (_gdbtk_export_target_info): Add
15743         support for running tests against sid targets.
15744         (gdbtk_done): Ditto.
15745
15746 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
15747
15748         * gdb.base/ending-run.c (main): Set stdout buffersize
15749         to the same reasonable value for any target.
15750         * gdb.base/ending-run.exp: Add a regular expression
15751         to make testsuite happy on Sanyo Stormy16 target.
15752
15753 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
15754
15755         * gdb.base/display.c (do_loops): Add float variable `f'.
15756         Increment f in loop.
15757         * gdb.base/display.exp: Increment timeout by 60 seconds.
15758         Change float display test to use variable `f'.
15759
15760 2001-09-17  Jim Blandy  <jimb@redhat.com>
15761
15762         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15763         overflowing the limited breakpoint tables on some ROM monitors
15764         (like the ROM68K).
15765
15766 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
15767
15768         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15769         the "-ac" (disable access control) flag.
15770
15771 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
15772
15773         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15774         ints.
15775
15776 2001-08-30  Keith Seitz  <keiths@redhat.com>
15777
15778         * lib/gdb.exp: Move all insight-related functionality into
15779         separate file.
15780         * lib/insight-support.exp: New file.
15781
15782 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
15783
15784         * config/sid.exp (sid_start): Never set sid verbosity; disable
15785         expect_background {} that consumed its stdout; tolerate </dev/null.
15786         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
15787
15788 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
15789
15790         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15791         CLI jump command to start it.
15792         (mi_run_to_main): Fail immediatly when unexpected output.
15793
15794 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
15795
15796         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15797         beginning of function.  Fix PR gdb/191.
15798
15799 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
15800
15801         * config/sid.exp (sid_start): Don't warn if we cannot figure out
15802         what to force sid endianness to.
15803
15804 2001-08-15  Keith Seitz  <keiths@redhat.com>
15805
15806         * lib/gdb.exp (gdbtk_start): Don't set environment
15807         variables for TCL_LIBRARY and friends. Insight will
15808         now figure these out for itself.
15809
15810 2001-08-02  Michael Snyder  <msnyder@redhat.com>
15811
15812         * gdb.base/completion.exp: Remove the symbol "a64l" from
15813         the expect string; this is target-specific, and not related
15814         to what is being tested.
15815
15816 2001-08-02  Dave Brolley  <brolley@redhat.com>
15817
15818         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15819
15820 2001-07-25  Michael Snyder  <msnyder@redhat.com>
15821
15822         * gdb.base/consecutive.exp: New file.  Test stepping over
15823         breakpoints on consecutive instructions.
15824         * gdb.base/consecutive.c: New file.
15825
15826         * gdb.base/call-rt-st.exp: Use double-backslash to quote
15827         curly braces in regular expressions.
15828
15829 2001-07-25  Michael Snyder  <msnyder@redhat.com>
15830
15831         * gdb.base/ending-run.exp: Accept "Program exited normally" as
15832         legitimate output from stepping out of main.
15833
15834 2001-07-22  Keith Seitz  <keiths@redhat.com>
15835
15836         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15837         the empty string, do not run the tests.
15838
15839 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15840
15841         * gdb.base/long_long.exp: Detect size of pointer.  Take into
15842         account 2-byte pointers when testing for p/a results.
15843
15844 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15845
15846         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15847         and defined to 1K for m68hc11.
15848         (random_data): Reduce table to 1K for embedded platforms (68hc11).
15849         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15850         (sizeof_random_data): New variable to tell the size of the data table;
15851         don't test past this size; always run to main.
15852
15853 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15854
15855         * gdb.base/return2.exp: return of long long and double fails for
15856         68HC11; don't execute these tests on that platform.
15857         * gdb.base/return.exp: Return of a double fails for 68hc11.
15858
15859 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15860
15861         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15862         tests that print a float.
15863         * call-rt-st.exp: Likewise.
15864
15865 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
15866
15867         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15868         running this test on Linux.
15869
15870 2001-06-24  Michael Chastain  <chastain@redhat.com>
15871
15872         * gdb.base/arithmet.exp: Remove some tests to make all test names
15873         unique.
15874
15875 2001-07-03  Michael Snyder  <msnyder@redhat.com>
15876
15877         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15878         the output of the ptype command.
15879
15880 2001-07-02  Michael Snyder  <msnyder@redhat.com>
15881
15882         * gdb.base/completion.exp: Don't assume that break.c is the only
15883         source file that may contain functions named "marker".
15884         * gdb.base/corefile.exp: Quote the curly braces in regexp.
15885
15886 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
15887
15888         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15889         of files to delete.
15890
15891         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15892         * gdb.disasm/h8300s.exp: New file.
15893         gdb.disasm/h8300s.s: Likewise.
15894
15895 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
15896
15897         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15898         empty breakpoint tables.
15899
15900 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
15901
15902         * lib/mi-support.exp: Update args=... part of stop-reason
15903         patterns. Accept either a list or a tuple.
15904
15905 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
15906
15907         * lib/mi-support.exp: Remove local emacs variable defining
15908         change-log-default-name.
15909
15910 2001-06-22  Michael Chastain  <chastain@redhat.com>
15911
15912         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15913         This is operationally compatible with the previous version.
15914
15915 2001-06-13  Jim Blandy  <jimb@redhat.com>
15916
15917         * lib/gdb.exp (gdb_test): Doc fix.
15918
15919 2001-06-10  Michael Chastain  <chastain@redhat.com>
15920
15921         * gdb.base/exprs.exp: Remove a duplicate test.
15922
15923 2001-06-06  Jim Blandy  <jimb@redhat.com>
15924
15925         * gdb.base/return2.exp (main): Use values to test float and double
15926         returns that are not NaN's, to avoid being confused by IEEE
15927         comparison rules.
15928
15929 2001-06-04  Michael Snyder  <msnyder@redhat.com>
15930
15931         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15932         non-zero if control_c fails.  Terminate the test on failure,
15933         rather than wait for 12 more tests to time out.
15934
15935 2001-06-06  Jim Blandy  <jimb@redhat.com>
15936
15937         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15938         Don't forget to match the GDB prompt.
15939
15940         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15941
15942 2001-06-04  Jim Blandy  <jimb@redhat.com>
15943
15944         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15945         command.
15946
15947 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
15948
15949         * gdb.base/annota1.exp (info break): Match four or more spaces
15950         after "Address".
15951
15952 2001-05-31  Michael Chastain  <chastain@redhat.com>
15953
15954         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15955         (dm_type_int_star): Likewise.
15956         (dm_type_long_star): Likewise.
15957         (dm_type_void_star): Likewise.
15958
15959 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
15960
15961         * gdb.base/completion.exp (INPUTRC): Set this environment variable
15962         to a known value in order to get consistent results regardless
15963         of the setting of INPUTRC or the presence or contents of .inputrc.
15964
15965 2001-05-24  Michael Snyder  <msnyder@redhat.com>
15966
15967         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15968         Don't require that the main thread and the manager thread are the
15969         first in the list.
15970
15971         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15972         debugging.  If test fails, issue an "unsupported" not a "fail".
15973
15974 2001-05-24  Jim Blandy  <jimb@redhat.com>
15975
15976         Don't assume that short is shorter than int.
15977         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15978         assume that shorts are smaller than ints.  On a 16-bit machine,
15979         this isn't true.
15980         ("print unsigned char == (~0)"): Add test that verifies that ~0,
15981         an int, is not equal to ~0 stored in an unsigned char.  This tests
15982         the same thing that the previous test meant to, but works on
15983         16-bit machines, too.
15984         ("print unsigned char != (~0)"): Same test, complemented.
15985
15986 2001-05-24  Michael Snyder  <msnyder@redhat.com>
15987
15988         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15989         test for (full_coverage == 0).  This makes the test run faster,
15990         and prevents dejagnu getting out of step.
15991
15992 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
15993
15994         * gdb.base/finish.exp (finish_void): Revise pattern for
15995         stopping on the call statement to not permit stopping at
15996         the start of the instructions comprising the call sequence.
15997
15998 2001-05-19  Michael Chastain  <chastain@redhat.com>
15999
16000         * gdb.base/callfuncs.exp: Make all test names unique.
16001         * gdb.base/commands.exp: Make all test names unique.
16002         * gdb.base/condbreak.exp: Make all test names unique.
16003         * gdb.base/dbx.exp: Make all test names unique.
16004         * gdb.base/default.exp: Make all test names unique.
16005         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
16006         and TIMEOUT messages to their corresponding PASS message.
16007         * gdb.base/ending-run.exp: Make all test names unique.
16008         * gdb.base/long_long.exp: Remove duplicate test.
16009
16010 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
16011
16012         * gdb.base/finish.exp (finish_void): Allow "finish" command to
16013         stop on the call statement as well as the statement after the
16014         call.
16015
16016 2001-05-21  Michael Snyder  <msnyder@redhat.com>
16017
16018         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16019
16020 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
16021
16022         * gdb.base/completion.exp: Revamp test. Make it execute on all
16023         platforms.
16024
16025 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
16026
16027         * config/gdbserver.exp (gdb_load): Handle the case
16028         in which the arguments to gdbserver are given in the
16029         baseboard configuration file.
16030         Also handle the case in which the server needs to do a
16031         load.
16032
16033 2001-05-07  Keith Seitz <keiths@cygnus.com>
16034
16035         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16036         set up the display for testing.
16037         (gdbtk_start): Convert all paths to paths that tcl will like.
16038         Export target information to environment.
16039         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16040         necessary.
16041         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16042         (to_tcl_path): New proc to convert a given pathname into
16043         a path acceptible as an argument to a tcl command.
16044         (_gdbtk_export_target_info): New proc to export target info
16045         into the environment for gdbtk testing.
16046         (gdbtk_done): New proc to signal end-of-test.
16047
16048 2001-05-06  Jim Blandy  <jimb@redhat.com>
16049
16050         * restore.c: Make the code of caller0 correspond to its comment.
16051
16052 2001-05-03  Michael Snyder  <msnyder@redhat.com>
16053
16054         * config/sid.exp (gdb_target_sid): Check for error messages.
16055         On error or timeout, don't make expect exit (which will terminate
16056         all subsequent tests); instead just make gdb exit.
16057         (gdb_load): Check for error messages.  On error or timeout,
16058         return a negative value.
16059
16060 2001-04-24  Jim Blandy  <jimb@redhat.com>
16061
16062         * gdb.c++/templates.exp: If we see the prompt for the overload
16063         list, but we haven't recognized any of the longer patterns,
16064         arrange for this test to fail, not hang.
16065
16066         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16067         variations.
16068
16069 2001-04-22  Michael Chastain  <chastain@redhat.com>
16070
16071         * gdb.c++/local.exp: Use the 'runto' library function.
16072         * gdb.c++/namespace.exp: Likewise.
16073         * gdb.c++/overload.exp: Likewise.
16074
16075 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
16076
16077         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16078         * gdb.base/step-line.exp: New file.  Test step/next in presence of
16079         #line directives.
16080         * gdb.base/step-line.c: New file.  Test program for the above.
16081         * gdb.base/step-line.inp: New file.  We pretend that this file has
16082         been transformed by some other tool into step-line.c.
16083
16084 2001-03-21  Jim Blandy  <jimb@redhat.com>
16085
16086         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16087         unmangled operator names.
16088
16089 2001-03-20  Jim Blandy  <jimb@redhat.com>
16090
16091         * gdb.threads/linux-dp.exp: Recognize an additional message
16092         generated by GDB when it doesn't understand how to debug threads
16093         on the target system.
16094
16095 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
16096
16097         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16098
16099 2001-03-12  Michael Chastain  <chastain@redhat.com>
16100
16101         * gdb.c++/derivation.exp: Use the 'runto' library function.
16102
16103 2001-03-12  Michael Chastain  <chastain@redhat.com>
16104
16105         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16106
16107 2001-02-24  Michael Chastain  <chastain@redhat.com>
16108
16109         * gdb.c++/ref-types.exp: Change handwritten code to library
16110         function 'runto'.
16111
16112 2001-03-16  Orjan Friberg  <orjanf@axis.com>
16113
16114         * gdb.base/signals.exp: Set count to 0 explicitly.
16115
16116 2001-03-15  Mark Salter  <msalter@redhat.com>
16117
16118         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16119         (gdb_target_monitor): Add check of gdb_target_cmd return value.
16120         (gdb_load): Add support for additional target_info: gdb_download_size
16121         and gdb_load_timeout.
16122
16123 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
16124
16125         * gdb.base/annota1.exp: Move test of isnative to earlier in the
16126         file -- to prevent failing when the compile fails but we have no
16127         intention of running the tests anyway.
16128
16129         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16130         tests if set.
16131
16132         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16133         integers.
16134
16135         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16136         * gdb.c++/namespace.exp: Ditto.
16137
16138 2001-03-07  Orjan Friberg  <orjanf@axis.com>
16139
16140         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16141         * gdb.base/pointers.exp: Relax pattern match of decimals.
16142
16143 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
16144
16145         * Makefile.in, config/abug.exp, config/cfdbug.exp,
16146         config/cpu32bug.exp, config/dve.exp, config/est.exp,
16147         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16148         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16149         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16150         config/sh.exp, config/sid.exp, config/slite.exp,
16151         config/sparclet.exp, config/udi.exp, config/unknown.exp,
16152         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16153         config/vxworks.exp, config/vxworks29k.exp,
16154         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16155         gdb.base/all-bin.exp, gdb.base/annota1.exp,
16156         gdb.base/arithmet.exp, gdb.base/assign.exp,
16157         gdb.base/async.exp, gdb.base/attach.exp,
16158         gdb.base/bitfields.exp, gdb.base/bitops.exp,
16159         gdb.base/break.exp, gdb.base/call-ar-st.exp,
16160         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16161         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16162         gdb.base/commands.exp, gdb.base/completion.exp,
16163         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16164         gdb.base/constvars.exp, gdb.base/corefile.exp,
16165         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16166         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16167         gdb.base/ending-run.exp, gdb.base/environ.exp,
16168         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16169         gdb.base/finish.exp, gdb.base/foll-exec.exp,
16170         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16171         gdb.base/funcargs.exp, gdb.base/help.exp,
16172         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16173         gdb.base/logical.exp, gdb.base/long_long.exp,
16174         gdb.base/maint.exp, gdb.base/mips_pro.exp,
16175         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16176         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16177         gdb.base/pointers.exp, gdb.base/printcmds.exp,
16178         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16179         gdb.base/regs.exp, gdb.base/relational.exp,
16180         gdb.base/remote.exp, gdb.base/reread.exp,
16181         gdb.base/restore.exp, gdb.base/return2.exp,
16182         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16183         gdb.base/selftest.exp, gdb.base/setshow.exp,
16184         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16185         gdb.base/sigall.exp, gdb.base/signals.exp,
16186         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16187         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16188         gdb.base/step-test.exp, gdb.base/structs.c,
16189         gdb.base/structs.exp, gdb.base/structs2.exp,
16190         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16191         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16192         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16193         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16194         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16195         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16196         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16197         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16198         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16199         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16200         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16201         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16202         gdb.fortran/types.exp, gdb.java/jmisc.exp,
16203         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16204         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16205         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16206         gdb.trace/circ.exp, gdb.trace/collection.exp,
16207         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16208         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16209         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16210         gdb.trace/report.exp, gdb.trace/save-trace.exp,
16211         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16212         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16213         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16214         notices.
16215
16216 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
16217
16218         * gdb.base/varargs.c (find_max_double): Fix printf format string:
16219         first arg is int not float.
16220
16221 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
16222
16223         * gdb.base/reread.exp: Unsupported for non-native targets;
16224         doesn't work for remote debugging.
16225
16226 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
16227
16228         From  Drew Moseley  <dmoseley@redhat.com>
16229         * gdb.base/ending-run.exp: Properly handle the BSP state when
16230         stepping past the end of main.
16231
16232 2001-02-19  John Moore  <jmoore@redhat.com>
16233
16234         * gdb.base/commands.exp (infrun_breakpoint_command_test):
16235         Converted HPUX fix for non-expected items following multiple
16236         step commands into general solution for all platforms.
16237
16238 2001-02-18  Michael Chastain  <chastain@redhat.com>
16239
16240         * gdb.c++/classes.exp (do_tests): Change runto statements
16241         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
16242         statements demangler agnostic.
16243         * gdb.c++/virtfunc.exp (do_tests): Likewise.
16244         (gdb_virtfunc_restart): Likewise.
16245
16246 2001-02-14  Michael Chastain  <chastain@redhat.com>
16247
16248         * gdb.c++/inherit.exp (do_tests): Change runto statements
16249         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
16250         statements demangler agnostic.
16251
16252 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
16253
16254         * gdb.threads/pthreads.exp: Unify pass/fail messages for
16255         ``continue to bkpt at common_routine in thread 2'' and ``stopped
16256         before calling common_routine 15 times'' tests.
16257
16258 2001-02-11  Michael Chastain  <chastain@redhat.com>
16259
16260         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16261         Helps the test script figure out which demangler is in use.
16262         (dm_type_foo_ref): Ditto.
16263         (dm_type_int_star): Ditto.
16264         (dm_type_long_star): Ditto.
16265         (dm_type_unsigned_int): Ditto.
16266         (dm_type_void): Ditto.
16267         (dm_type_void_star): Ditto.
16268         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16269         Probe the gdb demangler and set variables to accommodate
16270         formatting differences.
16271         (info_func_regexp): New function.  Same as info_func, but
16272         matches against a regexp.
16273         (info_func): Match against a literal string.
16274         (print_addr_2): New function.  Match against a literal string,
16275         which can be different from the input to gdb.
16276         (print_addr): Simply call print_addr_2 with the same argument twice.
16277         (test_lookup_operator_functions): Use demangler formatting variables.
16278         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
16279         the tests in the same order as the C++ class declaration.
16280         (test_paddr_operator_functions): Ditto.
16281         (test_paddr_overloaded_functions): Ditto.
16282         (test_paddr_hairy_functions): Use demangler formatting variables.
16283         Add reference to gdb/19 for related tests.
16284         (do_tests): Call probe_demangler.
16285
16286 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
16287
16288         * gdb.c++/templates.cc (printf): Remove unused function definition.
16289
16290 2001-01-26  Felix Lee  <flee@redhat.com>
16291
16292         * sid.exp (sid_exit): Pass host, not target, to remote_close.
16293
16294 2001-01-25  matthew green  <mrg@redhat.com>
16295
16296         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16297         up sid.
16298         (sid_exit): Call `remote_pop_conn' after GDB is gone.
16299
16300 2001-01-25  matthew green  <mrg@redhat.com>
16301
16302         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16303         Deprecate $sid_spawn_id.
16304         (sid_exit): Remove code necessary only for `spawn.'
16305
16306 2001-01-25  matthew green  <mrg@redhat.com>
16307
16308         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16309
16310 2001-01-28  Michael Chastain  <chastain@redhat.com>
16311
16312         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16313         to call when tests fail.  It takes gdb out of the overloaded
16314         function choice menu back to the main prompt, so that the test
16315         program stays synchronized.
16316         (set_bp_overloaded): New proc to collect all the common
16317         code for setting a breakpoint on an overloaded name.  Calls
16318         take_gdb_out_of_choice_menu when needed.
16319         (menu_overload1arg): New variable to collect the repeated
16320         instances of the expected menu for an overloaded name.  Change
16321         the regular expression to handle changes in g++ type encoding:
16322         "void" can be either "void" or "", and "unsigned int" can be
16323         either "unsigned int" or "unsigned".
16324         (continue_to_bp_overloaded): Change regular expressions to handle
16325         changes in g++ type encoding.
16326         (no proc): Call take_gdb_out_of_choice_menu when needed.
16327         Remove redundant calls to "info break".  Accept either "canceled"
16328         or "cancelled".  Change regular expressions in "info break"
16329         calls to handle changes in g++ type encoding.  Give all tests
16330         unique strings.
16331
16332 2001-01-17  Ben Elliston  <bje@redhat.com>
16333
16334         * config/sid.exp: New file.
16335
16336 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
16337
16338         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16339
16340 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
16341
16342         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16343         Add a RE to accept a non-ascii char if one is ever presented.
16344
16345 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
16346
16347         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16348
16349 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
16350
16351         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16352         in regexp.  One '\' does not suffice on Linux.
16353
16354 2000-12-09  Michael Chastain  <chastain@redhat.com>
16355
16356         * gdb.base/break.exp (test_clear_command): Use a marker function
16357         rather than 'main' for the test function.  Also move this
16358         test to an execution point where the marker function names are
16359         guaranteed to be bound to functions.  (Executing tests after a
16360         'finish' from main runs into name conflicts with local names
16361         in __libc_start_main).
16362
16363 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
16364
16365         * gdb.base/finish.exp: New test for gdb's "finish" command.
16366         * gdb.base/return2.exp: New test for gdb's "return" command.
16367         * gdb.base/return2.c: New source file for above.
16368
16369 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
16370
16371         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16372         * gdb.base/miscexprs.exp: Ditto.
16373         * gdb.base/pointers.exp:  Ditto.
16374         * gdb.c++/derivation.exp: Ditto.
16375         * gdb.c++/local.exp:      Ditto.
16376         * gdb.c++/namespace.exp:  Ditto.
16377         * gdb.c++/overload.exp:   Ditto.
16378         * gdb.c++/ref-types.exp:  Ditto.
16379
16380 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
16381
16382         * gdb.base/constvars.exp: Test result of "up" command.
16383         * gdb.base/miscexprs.exp: Ditto.
16384         * gdb.base/pointers.exp:  Ditto.
16385         * gdb.base/scope.exp:     Ditto.
16386         * gdb.c++/derivation.exp: Ditto.
16387         * gdb.c++/local.exp:      Ditto.
16388         * gdb.c++/namespace.exp:  Ditto.
16389         * gdb.c++/overload.exp:   Ditto.
16390         * gdb.c++/ref-types.exp:  Ditto.
16391
16392 2000-11-22  Michael Chastain  <chastain@redhat.com>
16393
16394         * mips_pro.exp: Accept either "middle -> top -> main" or
16395         "middle -> main" in the backtrace, because gcc can optimize
16396         tail calls to jumps.  Remove setup_xfail for the hppa case.
16397         Add a comment with the original warning messages from PR 3016,
16398         which was filed in 1993, to preserve them for posterity.
16399
16400 2000-11-17  Nick Duffek  <nsd@redhat.com>
16401
16402         * lib/gdb.exp (gdb_test): Override timeout with board info.
16403
16404 2000-11-17  Nick Duffek  <nsd@redhat.com>
16405
16406         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
16407         the second kill and detach messages.
16408
16409 2000-11-17  Nick Duffek  <nsd@redhat.com>
16410
16411         * configure.in: Add AC_EXEEXT.
16412         * configure: Regenerate.
16413         * Makefile.in (just-check): Export EXEEXT.
16414         * lib/gdb.exp ($EXEEXT): Import from environment.
16415         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
16416         expect "maint dump-me" on Cygwin.
16417         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16418         $EXEEXT.
16419
16420 2000-11-17  Nick Duffek  <nsd@redhat.com>
16421
16422         * gdb.base/break.exp: Test backtrace and finish from called
16423         function on all platforms, not just HP-UX.
16424
16425 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
16426
16427         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16428         code from gdb_target_monitor, so it can be used independantly
16429         for gdbserver.  Also comment out an unnecessary PUTS.
16430
16431 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
16432
16433         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16434         * gdb.base/corefile.exp: Expect the message "Program is being
16435         debugged already" when we send the "corefile" command, since
16436         the preceeding gdb_load may have connected gdb to a remote target.
16437         * gdb.base/display.exp: Disable hardware watchpoints if new
16438         board info variable "no_hardware_watchpoints" is true.
16439         Replace single-letter commands with more readable ones.
16440         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16441         if new board info variable "no_hardware_watchpoints" is true.
16442         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16443         to see if stdio (printf) testing is possible.
16444         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16445         board info variable "no_hardware_watchpoints" is true.  Use new
16446         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16447
16448 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
16449
16450         From Orjan Friberg  <orjanf@axis.com>:
16451         * gdb.base/printcmds.exp: Escape curly braces followed by a number
16452         in array print pattern match.
16453
16454 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
16455
16456         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16457         spelling "cancelled" to U.S. spelling "canceled" to match changes
16458         made to gdb.
16459         * gdb.c++/ovldbreak.exp: Ditto.
16460
16461 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
16462
16463         * gdb.base/callfuncs.c (main):  Moved to end of file, call
16464         t_double_values to initialize the FPU before inferior calls are made.
16465         * gdb.base/callfuncs.exp:  Test for register preservation after calling
16466         inferior functions.  Add tests for continuining, finishing and
16467         returning from a stop in a call dummy.
16468
16469 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
16470
16471         * gdb.base/commands.exp: Break up long lines, and re-indent.
16472
16473 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
16474
16475         * config/gdbserver.exp:  Rewritten from the ground up, to make it
16476         compatible with the current dejagnu tree, and to make it work with
16477         the new "gdbserver" in libremote.
16478
16479 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
16480
16481         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16482         * gdb.base/varargs.exp: Skip entire test if no printf support.
16483         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16484         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16485
16486 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
16487
16488         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
16489         no floating point support.
16490         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
16491         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16492         * gdb.base/call-rt-st.exp: Ditto.
16493         * gdb.base/call-strs.exp: Ditto.
16494
16495 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
16496
16497         * gdb.base/sizeof.c: include <stdio.h>.
16498
16499         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16500         'finish', otherwise uncaptured gdb_prompt would potentially
16501         throw remaining test points out of sync.
16502
16503 2000-07-26  Scott Bambrough <scottb@netwinder.org>
16504
16505         * gdb.base/recurse.exp: Run tests for all targets.
16506         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16507         gnu-oldld case on ARM.
16508         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16509         for ARM targets.
16510
16511 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
16512
16513         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16514         * gdb.java/configure: Rebuild.
16515
16516 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
16517
16518         * gdb.java/jv-exp.exp: New file.
16519
16520 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
16521
16522         * configure: Rebuilt.
16523         * configure.in (configdirs): Add gdb.java.
16524         * gdb.java/jmisc.java: New file.
16525         * gdb.java/jmisc.exp: New file.
16526         * gdb.java/Makefile.in: New file.
16527         * gdb.java/configure: Rebuilt.
16528         * gdb.java/configure.in: New file.
16529         * lib/java.exp: New file.
16530
16531 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16532
16533         * gdb.base/exprs.exp: Test casts to a pointer including over and
16534         underflow.
16535
16536 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16537
16538         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
16539         and the compilers sizes.
16540
16541 2000-07-09  Nick Duffek  <nsd@redhat.com>
16542
16543         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16544         (use_methods): New function.
16545         (main): Call use_methods().
16546         * gdb.c++/classes.exp (test_method_param_class): New procedure.
16547         (do_tests): Call test_method_param_class.
16548
16549 2000-07-09  Nick Duffek  <nsd@redhat.com>
16550
16551         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16552         spelling.
16553         (test_enums): New procedure.  Move enum tests from end of script
16554         to here.  Set breakpoint on function name instead of line number.
16555         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16556         (enums2): New marker function.
16557         (enums1): New function.
16558         (main): Call enums1().  Move enum tests to enums1().
16559
16560 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16561
16562         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16563         compile/link program.  Update line numbers.
16564         * gdb.asm/d10v.inc: Define ``startup''.
16565         * gdb.asm/asmsrc1.s: Add definition of _start.
16566
16567 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16568
16569         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16570
16571 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16572
16573         * gdb.base/maint.exp: Add 'maint print architecture' item to output
16574         of 'help maint print' command.
16575
16576 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16577
16578         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16579         they use gdb_expect_list.
16580
16581 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16582
16583         * gdb.base/commands.exp: Use ``set remote
16584         memory-read-packet-size'' instead of ``set endian big'' to test
16585         long commands.
16586
16587 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
16588
16589         * gdb.c++/templates.exp (do_tests): Make all of these work under
16590         g++, and stop skipping them.
16591
16592         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16593         work under g++.
16594
16595         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16596         initialization.
16597
16598 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
16599
16600         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16601         the regular expression: accept an (almost) arbitrary sequence of
16602         "frames-invalid" and "breakpoints-invalid" messages both before
16603         and after the "starting" message.
16604
16605 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
16606
16607         * gdb.c++/local.exp: This test has never been known to work with g++.
16608
16609 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
16610
16611         * gdb.base/annota1.exp (annotate-signal-handler-caller):
16612         Relax the regular expression a little, make it pass on Solaris 8.
16613
16614 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
16615
16616         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16617         a call, do not require that gdb stop on the line after the call.
16618         Instead, it is permissible for gdb to stop on the line of the
16619         call itself.
16620
16621 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
16622
16623         * gdb.base/break.exp (bp on small function, optimized file):
16624         Add a second pass pattern.  The behavior differs here between stabs
16625         and dwarf for one-line functions.  Stabs preserves two line symbols
16626         (one before the prologue and one after) with the same line number,
16627         but dwarf regards these as duplicates and discards one of them.
16628         Therefore the address after the prologue (where the breakpoint is)
16629         has no exactly matching line symbol, and GDB reports the breakpoint
16630         as if it were in the middle of a line rather than at the beginning.
16631
16632 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
16633
16634         * gdb.base/interrupt.exp: Make "pass" message say "send"
16635         rather than "send_gdb" (for consistancy).
16636
16637 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16638
16639         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
16640         * gdb.c++/templates.cc: Properly check for GCC version number.
16641         * lib/compiler.cc: Likewise
16642
16643 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
16644
16645         * gdb.base/break.exp: When compiled with -O2 optimization,
16646         gdb may not stop at the first line of main, due to code motion.
16647
16648 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
16649
16650         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16651         This test depends on parsing the printf output from the target.
16652         Since the sparclet stub doesn't do stdio, this will never work.
16653         * gdb.base/call-rt-st.exp: ditto.
16654         * gdb.base/call-strs: ditto.
16655
16656 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
16657
16658         * gdb.base/miscexprs.exp: make sizeof long array test portable.
16659
16660         * gdb.base/ending-run.exp: After connecting to a remote target,
16661         but before running, the target will appear to be in a random
16662         location.  Specify both a file and a line for breakpoints.
16663         Also, the function that calls main may be called 'init'
16664         rather than 'start'.
16665
16666 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16667
16668         * gdb.base/help.exp: Update output for add-symbol-file command.
16669
16670 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
16671
16672         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16673         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16674
16675 2000-04-07  J.T. Conklin  <jtc@redback.com>
16676
16677         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16678
16679         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16680
16681 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
16682
16683         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16684         values that can be represented exactly.
16685         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16686         above change, and to not check against the directory part of the source
16687         file name.
16688         (step into print_long_arg_list): Likewise.
16689         (print print_small_structs from print_long_arg_list): Likewise.
16690         (print print_long_arg_list): Likewise.
16691
16692 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16693
16694         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16695
16696 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16697
16698         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16699
16700 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
16701
16702         * gdb.base/commands.exp (deprecated_command_test): Add test for
16703         deprecate with no arguments.
16704
16705 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
16706
16707         * gdb.base/break.exp: Add new test for setting breakpoints on
16708         optimized code so we can test breakpoints work even when function
16709         prologues may be optimized away
16710
16711 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16712
16713         From David Whedon <dwhedon@gordian.com>
16714         * gdb.base/commands.exp : Added command deprecator tests.
16715
16716 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
16717
16718        * gdb.base/help.exp: Added test for new apropos command.
16719
16720 2000-03-21  Kevin Buettner <kevinb@redhat.com>
16721
16722         * gdb.base/pointers.c (usevar): New function.
16723         (main): Make sure that global variables v_int_pointer2, rptr,
16724         and y are all referenced someplace in the program by calling
16725         usevar() on them.  [Some linkers delete symbols which are
16726         never referenced.  The space remains, but there's no way to
16727         get a (symbolic) handle on the variable from the debugger.]
16728
16729 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16730
16731         * gdb.base/printcmds.c: Add typedeffed arrays.
16732
16733         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16734         procedure to test arrays that are typedef'd.
16735
16736 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
16737
16738         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16739         the library directories.
16740
16741 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
16742
16743         * configure.in (configdirs): Add sub directory gdb.mi.
16744         * configure: Re-generate.
16745
16746         * gdb.mi: New directory.
16747
16748 2000-02-25  Scott Bambrough <scottb@netwinder.org>
16749
16750         * gdb.base/long_long.exp: Correct test suite failure when printing
16751         a long long value as a double on ARM platforms.
16752
16753 2000-02-16  Jim Blandy  <jimb@redhat.com>
16754
16755         * gdb.base/break.exp ("breakpoint line number"): Make sure the
16756         default source file is set properly before running this test.
16757
16758 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16759
16760         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16761         gdbtk/library directory, not in gdbtcl2.
16762
16763 2000-02-04  Jim Blandy  <jimb@redhat.com>
16764
16765         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16766         backslash from regexp pattern.
16767
16768         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16769         procedure.  Use it to run all the "continue to bp overloaded"
16770         tests.  Note that this changes the names of the tests slightly.
16771         If the breakpoint hit message includes a hex PC value, because
16772         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16773         from the real source code, still consider that a pass.
16774
16775         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16776         XFAIL here if the breakpoint message contains a hex address.  Note
16777         similar change on 1999-11-02.
16778
16779         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16780
16781         * gdb.base/ptype.exp: Establish a default source file before
16782         calling get_debug_format.
16783
16784 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16785
16786         * gdb.base/watchpoint.exp: Remove duplication of test messages.
16787
16788 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16789
16790         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16791         of successive stepi commands -- while in the prologue we should see
16792         the function entry bracket.
16793
16794 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16795
16796         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16797         reach __change_mode() when stepping through the end of main().
16798
16799 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16800
16801         * gdb.base/default.exp: Fix expected pattern.
16802         * gdb.base/help.exp: Same.
16803
16804 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16805
16806         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16807         Don't use xfail's because that affects only the following test.
16808
16809         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16810         solaris or linux.
16811
16812         * gdb.base/selftest.exp: Update to reflect changes to main.c.
16813
16814 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
16815
16816         * gdb.base/display.exp: Some yacc parsers like to say
16817         "A syntax error" rather than "A parse error".  Accept both.
16818
16819 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16820
16821         * gdb.base/default.exp: Remove OS dependent string from "target
16822         remote" test.
16823         * gdb.base/help.exp: Same for "help target remote" test.
16824
16825 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16826
16827         From Jim Kingdon <kingdon@redhat.com>:
16828
16829         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16830         prompt (cleanup rather than necessity, but still might keep output
16831         from spilling to next test).
16832
16833 2000-01-02  Fred Fish  <fnf@cygnus.com>
16834
16835         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16836         AIX, which defines them in <sys/types.h>.
16837
16838 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
16839
16840         * gdb.base/default.exp: Match arm* etc instead of arm in "info
16841         float" test.
16842
16843 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
16844
16845         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16846
16847         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16848         outermost frame disallowed".
16849
16850 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16851
16852         * gdb.base/setvar.exp: New tests for setting the value of a struct
16853         with a constant list.
16854
16855 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16856
16857         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16858         require the user to type a cast before setting the value of a struct.
16859
16860 1999-12-06  Jim Blandy  <jimb@cygnus.com>
16861
16862         * gdb.base/default.exp: Expect the new 'info float' command on
16863         all i386 platforms.
16864
16865         * gdb.threads/linux-dp.exp: Expand our ability to recognize
16866         LinuxThreads libraries that don't support debugging.
16867
16868 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
16869
16870         * gdb.base/remote.c: Fill the buffer with truely random data.
16871         Change the buffer type to ``unsigned char'' to simplify size
16872         arithmetic.
16873
16874         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
16875         stub only handles 400-1 byte packets.  Verify that the download
16876         worked.
16877
16878 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16879
16880         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16881         tests, using UNRESOLVED for the untested cases.  Also, does not wait
16882         for a timeout if the prompt was received before a recognizable pattern.
16883
16884 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
16885
16886         * lib/gdb.exp (gdb_expect_list): Fix spelling.
16887
16888 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16889
16890         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16891         watchpoints.
16892
16893 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
16894
16895         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16896
16897         * gdb.c++/local.exp: Be more flexible in recognizing local class
16898         name mangling.  Don't allow horribly truncated method names.
16899         * gdb.c++/derivation.exp: Expect protected inheritance.
16900         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16901         * gdb.c++/virtfunc.exp: Likewise.
16902         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
16903         when printing a nested enum.
16904
16905 1999-11-22  Jim Blandy  <jimb@cygnus.com>
16906
16907         * gdb.base/step-test.exp: Properly await GDB's response to setting
16908         a breakpoint on the call to large_struct_by_value.
16909
16910         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16911         just because we have debug info for the `start' function.
16912
16913 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
16914
16915         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16916         "Unknown signal" messages, which indicate (on LinuxThreads) that
16917         GDB doesn't know how to debug threads on this system.  This is
16918         better than hanging while philosopher 0 dumps chatter into gdb.log.
16919
16920 1999-11-18  Tom Tromey  <tromey@cygnus.com>
16921
16922         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16923
16924 1999-11-18  Fred Fish  <fnf@cygnus.com>
16925
16926         * gdb.base/coremaker2.c: Add sample program for generating
16927         cores that is more self contained than coremaker.c.  Eventually
16928         I'll add more code to this and tie it into the testsuite.
16929
16930 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
16931
16932         * gdb.base/dollar.exp: Remove, now in gdb.hp.
16933
16934 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
16935
16936         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16937         from $srcdir/lib/.
16938         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16939         and gdb.c++/.
16940
16941         * gdb.c++/derivation.exp: remove redundant get compiler info code.
16942
16943         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16944         'continue with watch' test point.
16945
16946 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
16947
16948         Merged from p2linux-990323-branch:
16949
16950         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16951
16952 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
16953
16954         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16955         {limit,fixed}''.  Test ``set download-write-size''.
16956
16957 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
16958
16959         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16960         gdb_expect_list.
16961
16962 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
16963
16964         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16965
16966 1999-11-03  Mark Salter  <msalter@cygnus.com>
16967
16968         * gdb.base/break.exp: Fix "stub continue" pattern.
16969
16970 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
16971
16972         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16973
16974 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
16975
16976         * gdb.base/display.exp ("finish"): Add timeout clause.
16977
16978         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16979         plain prompt clause, so this doesn't have to time out in order to
16980         fail.
16981
16982         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16983         breakpoint hit messages include an address.
16984
16985         * gdb.base/display.exp: Don't forget to escape parens in regular
16986         expressions.  Unix regexp notatation sucks.
16987
16988 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
16989
16990         * gdb.base/annota1.exp: Test for annotate-signalled: change output
16991         order for 'signalled' message.
16992
16993 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
16994
16995         From Jimmy Guo  <guo@cup.hp.com>:
16996         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16997         * gdb.base/annota1.c: Add code for tests to work with.
16998
16999 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
17000
17001         * gdb.base/remote.exp: New test for remote downloading settings.
17002         * gdb.base/remote.c: New file with large .data.
17003
17004 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
17005
17006         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17007         for LinuxThreads support, merged from the Code Fusion branch.
17008
17009 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
17010
17011         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17012         containing exp_continue into a while within an expect.  Don't
17013         attempt a start more than three times.  Check return value from
17014         gdb_load.
17015
17016 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
17017
17018         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17019         a pass case.
17020
17021 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
17022
17023         * gdb.base/break.c (main): Added a statement that we can step
17024         off of.
17025         * gdb.base/break.exp: Added tests for setting a breakpoint
17026         at an offset and stepping onto a breakpoint.
17027
17028 1999-10-01  Fred Fish  <fnf@cygnus.com>
17029
17030         * gdb.base/help.exp (help add-symbol-file): Update to match current
17031         gdb output.
17032
17033 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
17034
17035         * gdb.base/break.exp: Code locations are in hex, don't forget!
17036         (For HP-UX.)
17037
17038 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
17039
17040         * condbreak.exp: Use break.c as test program.
17041         * condbreak.c: Remove, redundant with break.c.
17042
17043 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
17044
17045         * config/monitor.exp (gdb_target_monitor): Disable X- and
17046         Z-packets if the target needs it.
17047
17048 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
17049
17050         * gdb.c++/overload.exp: Added tests for listing overloaded
17051         functions with function pointers in the arg, explicitly calling
17052         out the version you want.
17053
17054 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
17055
17056         * long_long.exp: Add variations of test cases that work for
17057         targets with 16-bit ints and 32-bit doubles.
17058
17059 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
17060
17061         * break.c (main): Compare a possibly-uninitialized argc with an
17062         unlikely value that fits in 16 bits.
17063
17064 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
17065
17066         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17067         0xfeeb, don't want negative numbers if ints are 16 bits.
17068
17069         * lib/gdb.exp (skip_cplus_tests): New proc.
17070         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17071         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17072         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17073         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17074         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17075         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17076         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17077         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17078
17079         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17080
17081 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
17082
17083         * gdb.base/corefile.exp (up): Allow a parameter to appear
17084         in the frame that we're going up to.
17085
17086         From Jim Blandy <jimb@cygnus.com>:
17087
17088         * gdb.base/default.exp (info float): Expect some output now.
17089
17090         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17091         returning floating-point values to fail on the x86.
17092         * gdb.base/callfwmall.exp (do_function_calls): Same.
17093
17094         * gdb.base/list.exp (test_listsize): Correct expectations for
17095         listing line 1 with listsize 2.  Also, listing a single line
17096         works now, as does listing three lines.  [Kevin's note: There
17097         were a number of other cases fixed too where the expectations
17098         differed...]
17099
17100 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
17101
17102         * gdb.base/selftest.exp: Add case for when version prints as
17103         constant string instead of char pointer.
17104
17105 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
17106
17107         * gdb.base/ending-run.exp: Add Solaris case for what happens when
17108         stepping out of main.
17109
17110         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17111         G++ used.
17112
17113         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17114         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17115
17116         * gdb.c++/ovldbreak.exp: Update match string in test that
17117         includes a warning of multiple breakpoints.
17118
17119 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
17120
17121         * gdb.base/display.exp: Improve precision of step-after-finish
17122         added yesterday.
17123
17124         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17125         test.
17126
17127         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17128         configs when using G++, not just hppa*.
17129
17130 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17131
17132         * gdb.base/async.c: New file.
17133         * gdb.base/async.exp: New file.
17134
17135 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
17136
17137         * gdb.base/break.exp: Tweak PA specific tests to properly handle
17138         PA64.
17139
17140 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
17141
17142         * gdb.base/display.exp: "finish" can leave us mid-line on many
17143         targets, deal with it.  Add a small constant to main, instead of
17144         1000 since main+1000 may not be a valid address in the target.
17145
17146         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17147         on hpux11.
17148
17149         * gdb.base/attach.exp: Handle another hpux11 error message variant
17150         when attaching to a process that does not exist.
17151
17152 1999-08-19  J.T. Conklin  <jtc@redback.com>
17153
17154         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17155         characters in 'continue to 1241' test.
17156
17157 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
17158
17159         * gdb.base/call-ar-st.exp: Add a shorter match case for the
17160         stop in print_long_arg_list, define and use a whitespace
17161         variable in print_small_structs test, add an XFAIL for Solaris.
17162         * gdb.base/dbx.exp: XFAIL func commands until somebody is
17163         interested enough to fix.
17164
17165 1999-08-13  Keith Seitz  <keiths@cygnus.com>
17166
17167         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17168         (dbx_gdb_load): Remove. Use gdb_load instead, since that
17169         proc knows about targets other than the natives.
17170         (test_assign): Use "gdb_run_cmd" to "run" the target.
17171         Check that we've actually hit the breakpoint at main.
17172         When we attempt to assign a value to a local variable, check
17173         that the variable is in the current scope, i.e., don't use
17174         a test with an empty result.
17175
17176 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
17177
17178         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17179         command.
17180
17181 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
17182
17183         From Jimmy Guo <guo@cup.hp.com> and others at HP:
17184         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17185         gdb.compat, gdb.threads-hp.
17186         gdb.hp/configure, gdb.hp/configure.in: New files.
17187         gdb.hp/Makefile.in: Recurse into new subdirs.
17188         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17189         gdb.hp/gdb.objdbg: New directory, tests for debugging info
17190         in object files.
17191         gdb.hp/tools: New directory, aux tools for HP-specific tests.
17192
17193 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
17194
17195         * gdb.base/display.exp: Help expect by putting a newline in the
17196         funky printf, remove a bogus p/a test.
17197
17198 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17199
17200         * gdb.base/display.exp: Make sure that when we say 'run', we are
17201         connected to the target. This is necessary when running not
17202         natively.
17203
17204 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
17205
17206         * gdb.base/step-test.exp: Removed some extraneous messages.
17207
17208         * gdb.base/long_long.exp: Don't run memory examination tests
17209         on little-endian targets (they will need a different set of
17210         results to match).
17211
17212 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
17213
17214         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17215         until somebody decides to fix GDB.
17216
17217         * gdb.base/long_long.c: Stop compiler complaint by specifying long
17218         constant as "ULL".
17219         * gdb.base/long_long.exp: Loosen x/c test, add partial result
17220         matches for a couple x/2 commands.
17221
17222 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
17223
17224         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17225         by merging in ref-types2 tests.
17226         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17227
17228         From Jimmy Guo <guo@cup.hp.com> and others at HP:
17229         * gdb.c++/Makefile.in: Add standard actions.
17230         (EXECUTABLES): Rename from PROGS, update list.
17231         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17232         from gdb.hp.
17233         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17234         foo and bar locals.
17235         * gdb.c++/anon-union.exp: Fix tests to match.
17236         * gdb.c++/classes.exp: Run if HP compiler used, add extra
17237         expect matches to handle output variations.
17238         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17239         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17240         output, add HP alternatives for new and delete prints.
17241         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17242         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17243         * gdb.c++/demangle.exp: Use $style when reporting failure.
17244         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17245         * gdb.c++/inherit.exp: Run if HP compiler used, add some
17246         match alternatives.
17247         * gdb.c++/local.exp: Add match alternatives or xfails for HP
17248         compilers.
17249         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17250         * gdb.c++/method.exp: Add match alternatives.
17251         * gdb.c++/misc.cc: Add bool types.
17252         * gdb.c++/misc.exp: Add tests for bool types.
17253         * gdb.c++/overload.exp: Add xfails.
17254         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17255         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17256         add some more template parameter tests (only for HP currently).
17257         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17258         * gdb.c++/virtfunc.cc: Add return type and value for main.
17259         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17260         match alternatives.
17261
17262 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17263
17264         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17265
17266 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
17267
17268         * gdb.base/signals.exp: Don't expect getting a backtrace from
17269         within a signal handler to fail on Linux.
17270
17271 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
17272
17273         From Jimmy Guo <guo@cup.hp.com> and others at HP:
17274         * lib/gdb.exp: Remove some gratuitious semicolons.
17275         (delete_breakpoints): Increase timeout.
17276         (gdb_expect): Add -notransfer option.
17277         (gdb_test): Use -notransfer option.
17278         (get_compiler_info): Add f77 case.
17279         (get_compiler): New proc, split out from gdb_preprocess, add f77
17280         case.
17281         (gdb_preprocess): Call get_compiler.
17282
17283         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17284         * gdb.base/attach.exp, gdb.base/display.exp,
17285         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17286         gdb.base/long_long.exp, gdb.base/printcmds.exp,
17287         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17288         third arg to gdb_test.
17289         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17290         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17291         HP-UX xfails, add others.
17292         * gdb.base/completion.exp: Reflect name change of self-test.
17293         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17294         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17295         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17296         HP failure number.
17297         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17298         useless HP-UX 10.30 references.
17299         * gdb.base/maint.exp: Loosen matches.
17300         * gdb.base/pointers.c (main): Declare more_code.
17301         * gdb.base/pointers.exp: Match on output of a `next'.
17302         * gdb.base/structs.c: Add prototypes.
17303         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17304         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17305
17306 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17307
17308         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17309         command.
17310
17311 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17312
17313         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17314         Fix run to main failures. Watchpoint can be hardware watchpoint.
17315
17316         * gdb.base/annota1.exp: Clean up some more, in case printf has
17317         debug info.  Deal with lack of signal hanlder info in stack.
17318
17319         From Jim Kingdon  <kingdon@redhat.com>:
17320         * gdb.base/annota1.exp: If printf has debug info, deal with it.
17321
17322 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
17323
17324         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17325         gdb.base/foll-vfork.exp: Don't run for crosses.
17326
17327 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
17328
17329         * gdb.base/configure.in: Check for gdbvars.exp instead of
17330         a1-selftest.exp.
17331         * gdb.base/configure: Re-generate.
17332
17333 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
17334
17335         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17336         in trying to run first and name is too long.
17337
17338         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17339         pointers2.c and pointers2.exp, respectively.
17340         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17341         doschk happier.
17342
17343 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
17344
17345         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17346         callfuncs2.c and callfuncs2.exp.
17347
17348         * gdb.base/list.exp: Remove mistaken xfails.
17349         * gdb.base/list0.h: Add optional prototypes.
17350
17351 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
17352
17353         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17354         calling malloc.
17355         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17356         * ptype.exp: Move test for get_debug_format to before its first
17357         use.
17358
17359 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17360
17361         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17362         * gdb.base/annota2.cc, annota2.exp: Move from here.
17363         * gdb.c++/annota2.cc, annota2.exp: To here.
17364         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17365
17366 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
17367
17368         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17369         a consistent format.
17370
17371 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
17372
17373         From Jimmy Guo <guo@cup.hp.com> and others at HP:
17374         * lib/gdb.exp (get_compiler_info): Add detection for assorted
17375         HP compilers, also set the globals $true and $false.
17376
17377         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17378         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17379         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17380         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17381         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17382         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17383         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17384         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17385         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17386         whatis.c} Add C++ compatible function definitions and return
17387         types, add includes for library functions.
17388         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17389         * gdb.base/step-test.c (myglob): Rename from glob.
17390         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17391         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17392         files, move here from gdb.hp.
17393         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17394         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17395         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17396         Adjust line numbers in regexps.
17397
17398         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17399         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17400         instead of 0/1.
17401
17402         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17403         foll-vfork.exp: New files, move here from gdb.hp.
17404         * gdb.base/page.exp: New file, test of pagination command.
17405
17406         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17407         recursion test.
17408         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17409
17410         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17411         gdb.base/solib.exp: Fix compiler invocation process.
17412
17413         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17414         HP-UX 11, turn off overload resolution explicitly.
17415         * gdb.base/commands.exp: Set argument list explicitly, add
17416         watchpoint test.
17417         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17418         them work.
17419         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17420         expressions properly.
17421         * gdb.base/corefile.exp: Loosen the match slightly.
17422         * gdb.base/default.exp: Allow "Error accessing memory" message
17423         also.
17424         * gdb.base/display.exp: Skip over x/0 j if PA64.
17425         * gdb.base/funcargs.exp: Add xfails for HP-UX.
17426         * gdb.base/interrupt.exp: Ditto.
17427         * gdb.base/langs.exp: Add symbolic matches governed by compiler
17428         in use.
17429         * gdb.base/list.exp: Add xfails for HP-UX.
17430         * gdb.base/long_long.exp: Refine some of the numeric matches.
17431         * gdb.base/mips_pro.exp: Xfail on HP-UX.
17432         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17433         * gdb.base/nodebug.exp: Succeed on more varieties of output.
17434         * gdb.base/opaque.exp: Remove some HP-UX xfails.
17435         * gdb.base/ptype.exp: Succeed on more varieties of output.
17436         * gdb.base/scope.exp: Add xfails for HP-UX.
17437         * gdb.base/sect-cmd.exp: Add more cases.
17438         * gdb.base/setvar.exp: Add xfails for HP-UX.
17439         * gdb.base/shlib-call.exp: Loosen some matches slightly.
17440         * gdb.base/signals.exp: Match on void symbolically.
17441         * gdb.base/step-test.exp: Add case for PA64.
17442         * gdb.base/term.exp: Add exit and restart.
17443         * gdb.base/twice.exp: Clean up after self.
17444         * gdb.base/varargs.exp: Disable overload resolution explicitly.
17445         * gdb.base/whatis.exp: Allow more ways to pass tests.
17446
17447         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17448         no longer useful.
17449
17450 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
17451
17452         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
17453         list of patterns.
17454         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17455         print_double_array(double_array)", "continuing to breakpoint
17456         1018", "print print_double_array(array_d)" and "continuing to
17457         1034" tests.
17458
17459 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
17460
17461         * Makefile.in: Add empty html and install-html targets.
17462
17463 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
17464
17465         * config/mt-*: Remove, these haven't been used since 1996.
17466
17467 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
17468
17469         * gdb.base/call-strs.c, gdb.base/ending-run.c,
17470         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17471         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17472
17473 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
17474
17475         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17476         simpler match case for the ptype of the big class.
17477
17478 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
17479
17480         * gdb.exp: Fix test for gdb_prompt existence.
17481
17482 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
17483
17484         * gdb.exp (gdb_test): Add fail after calls to perror.
17485
17486 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
17487
17488         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17489
17490 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
17491
17492         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17493
17494 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
17495
17496         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
17497         malloc() is linked in.
17498
17499 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
17500
17501         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17502         step at end.
17503
17504         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17505
17506 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
17507
17508         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
17509
17510 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
17511
17512         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17513         * gdb.base/mips_pro.exp: Likewise.
17514
17515 1999-06-02  Keith Seitz  <keiths@cygnus.com>
17516
17517         * gdb.c++/templates.cc: Change all "new" operators to throw
17518         an exception.
17519         * gdb.c++/cplusfuncs.cc: Likewise.
17520
17521         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17522
17523 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
17524
17525         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17526         * gdb.base/ending-run.exp: When stepping out of main, accept a
17527         step into an arbitrary assembler file.
17528
17529 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17530
17531         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17532         "breakpoint-invalid" to be printed.
17533         * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17534         number of "frames-invalid" and "breakpoint-invalid" to be printed.
17535         * gdb.base/annota2.cc: Initialize a.x to 0.
17536
17537 1999-05-17  Keith Seitz  <keiths@cygnus.com>
17538
17539         * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17540         when "skip_float_tests" set.
17541         Ditto for "print print_double_array(array_d)", "print print_small_structs",
17542         "print print_ten_doubles", and "step into print_long_arg_list".
17543         Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17544         * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17545         is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17546         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17547         "skip_float_tests" is set.
17548         * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17549         when "skip_float_tests" set.
17550
17551 1999-05-06  Keith Seitz  <keiths@cygnus.com>
17552
17553         * gdb.base/annota2.cc: Include stdio.h.
17554
17555 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
17556
17557         * gdb.base/crossload.exp: Remove, this has been disabled ever
17558         since BFD stopped including all targets, and cross-GDB gets
17559         plenty of testing anyway.
17560         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17561         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17562         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17563         * gdb.base/README: Remove, was doc for this.
17564         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17565         needed.
17566
17567 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17568
17569         * gdb.base/call-ar-st.exp: Fix one regular expression in test
17570         output.
17571
17572         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17573         * gdb.base/annota2.exp: New file. More annotation tests.
17574         * gdb.base/annota1.c: New file. Source file for annota1.exp.
17575         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17576
17577 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
17578
17579         * config/cfdbug.exp: New file.
17580
17581 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
17582
17583         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17584         Marcus Daniel's and Dale Hawkins's demangler crashes.
17585
17586         * gdb.c++/demangle.exp (test_gnu_style_demangling,
17587         test_lucid_style_demangling, test_arm_style_demangling,
17588         test_hp_style_demangling): Try Tom Tromey's core-dumping
17589         identifier under each demangling style.
17590
17591 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
17592
17593         * gdb.c++/demangle.exp: Include the current demangling style
17594         in all test names.
17595         (current_demangling_style): New global variable.
17596         (set_demangling_style, test_demangling_core, test_demangling,
17597         test_demangling_exact): New functions.
17598         (test_gnu_style_demangling, test_lucid_style_demangling,
17599         test_arm_style_demangling, test_hp_style_demangling): Use those,
17600         instead of calling gdb_test and gdb_test_exact directly.
17601         (catch_demangling_errors): New function, which reports errors
17602         signalled by the demangling test functions in an orderly way.
17603         (do_tests): Use catch_demangling_errors.
17604
17605 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
17606
17607         * gdb.base/signals.exp (test_handle_all_print): Use () for
17608         grouping in expressions, not {}.
17609
17610         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
17611         initialized yet.
17612
17613 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
17614
17615         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17616         are listed.
17617
17618 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
17619
17620         * gdb.stabs/weird.exp: Test for CC being defined before
17621         looking at its value.
17622
17623 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
17624
17625         * gdb.base/call-ar-st.exp: Remove stray '#'.
17626         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17627         "short int" and "long int".
17628         * gdb.c++/overload.cc: Cast the string added in the previous
17629         change, to mollify finicky HP compiler.
17630         * gdb.hp/reg-test.exp (testfile): Fix file name.
17631         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17632
17633         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17634         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17635         alternate form of enum ptype.
17636
17637 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
17638
17639         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17640         * gdb.hp/*.exp: Change all to run compiler probe only after
17641         passing skip_hp_tests, so as not to waste time on guaranteed
17642         failure.
17643
17644         * gdb.c++/overload.cc: Pass string instead of char addr, always
17645         init ccpfoo.
17646         * gdb.c++/templates.cc: Fix syntax error.
17647
17648 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17649
17650         * gdb.base/commands.exp: Add test for correct position of '>'
17651         when issuing the 'commands' command after a 'while' or 'if'
17652         command.
17653
17654 1999-03-18  James Ingham  <jingham@cygnus.com>
17655
17656         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17657
17658         * gdb.c++/method.exp: It was testing an uninitialized int on the
17659         stack and assuming it was positive.
17660
17661         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17662
17663         * gdb.base/step-test.exp: Catch a case where finish is broken and
17664         keep it from killing the rest of the tests.
17665         Use gdb_continue_to_end.
17666
17667         * gdb.base/sigall.exp: use gdb_continue_to_end.
17668
17669         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17670
17671         * gdb.base/display.exp: use runto_main, not run.
17672
17673         * gdb.base/default.exp: Check for the current error message in the
17674         r abbreviation test.
17675         Add strongarm to the targets that know info float.
17676
17677         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17678         run which doesn't work with monitors.
17679
17680         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17681
17682         * gdb.base/break.exp: use the gdb_continue_to_end proc.
17683
17684         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17685         program.  Traps the case (in Cygmon) when the program never really
17686         exits.  Same as Mark's continue_to_exit, but I had put it in a lot
17687         more places, so I used my name.  Sorry Mark...
17688
17689         * config/monitor.exp (gdb_target_monitor): added another
17690         target_info parameter: remotebinarydownload.  This will set the
17691         remotebinarydownload flag if this is causing some boards trouble.
17692
17693 1999-03-18  Mark Salter  <msalter@cygnus.com>
17694
17695         * lib/gdb.exp (continue_to_exit): New function.
17696
17697         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17698         * gdb.base/ending-run.exp: Ditto.
17699         * gdb.base/step-test.exp: Ditto.
17700
17701 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
17702
17703         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17704         (suggested by Art Haas <ahaas@neosoft.com>).
17705
17706 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
17707
17708         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17709
17710 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
17711
17712         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17713         descriptions of types (short unsigned int vs unsigned short, etc).
17714
17715 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
17716
17717         * gdb.base/call-strs.exp: Don't assume that `step' will step over
17718         a call to strlen; sometimes we do have sources.
17719
17720 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
17721
17722         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17723         character, so GDB won't print garbage after its end.
17724
17725         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17726         breakpoint there instead.  Sometimes GCC emits memcpy to handle
17727         the large structures being passed by value, so we step into that
17728         instead of sum_array_print, which obscures what we're really testing.
17729         * gdb.base/step-test.exp: However, we do want a test that notices
17730         the bizarre steps into memcpy, so do that here.  Add check for
17731         stepping into function calls that pass large structures by value.
17732         ("Is that a noun clause, or are you just happy to see me?")
17733         Remove all references to specific line numbers.
17734         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17735         New type and function.
17736         (main): Call large_struct_by_value, passing it a large struct by value.
17737         * lib/gdb.exp (gdb_get_line_number): New function.
17738
17739         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17740         more portable.
17741
17742 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
17743
17744         * lib/gdb.exp: Doc fixes.
17745
17746 1999-03-05  Nick Clifton  <nickc@cygnus.com>
17747
17748         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17749
17750 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
17751
17752         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17753         commands.  They're not germane to this test, and they don't work
17754         that way on remote targets.
17755
17756 1999-03-01  James Ingham  <jingham@cygnus.com>
17757
17758         * Changelog entries merged over from gdb development branch.
17759
17760        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
17761
17762                * lib/gdb.exp (gdbtk_analyze_results): Generic function
17763                for outputting results of test run.
17764
17765         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
17766
17767                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17768
17769 1999-02-25  Felix Lee  <flee@cygnus.com>
17770
17771         * lib/gdb.exp (debug_format): initialize
17772
17773 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
17774
17775         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17776         * gdb.base/call-rt-st.c: Ditto.
17777
17778 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
17779
17780         * gdb.threads/pthreads.exp (horiz): New variable.
17781         (test_startup): Fix regexps that capture thread numbers.
17782
17783 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
17784
17785         * gdb.base/smoke.exp: Disambiguate two test case names (both
17786         called ``print'').
17787
17788 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
17789
17790         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17791         compilation.
17792
17793 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
17794
17795         * gdb.base/miscexprs.exp: Change patterns to match GDB's
17796         actual output formatting.
17797         * gdb.base/smoke.exp: GDB removes leading 0's.
17798         * gdb.base/volatile.exp: Don't check type of remuneration;
17799         that variable is no longer defined in constvars.c.
17800         * gdb.base/step-test.c (main): Exit with explicit exit code.
17801         * gdb.base/step-test.exp: Remove two nexti checks--they are
17802         not portable.
17803
17804 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
17805
17806         * gdb.base/help.exp ("help delete display"): Fix test to match
17807         gdb's output.
17808
17809         * gdb.base/long_long.c (known_types): Initialize values to zero.
17810         * gdb.base/long_long.exp: Step one more line
17811         so 'dec' is initialized in "get to known place".  GDB removes
17812         leading zeros.  Explicitly ask for hex formatting.  Use
17813         unique test case names.
17814
17815 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17816
17817         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17818
17819         * gdb.c++/method.exp: Add missing close brace.
17820
17821 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
17822
17823         * gdb.base/maint.exp: Use 'set height 0' to disable page
17824         prompting, not 'set height 400'.
17825
17826         Fix a bunch of timeouts.
17827         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17828         four separate tests, so expect doesn't take forever to match a ton
17829         of text against a regexp with lots of .* forms.
17830         ("maint print psymbols", "maint print symbols"): Make some of
17831         these greps more selective, so that expect doesn't try to wade
17832         through huge piles of output and time out.
17833
17834         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17835
17836         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17837         tests: one which doesn't expect shlib events to be reported, and
17838         another which does, but is XFAIL for all platforms other than
17839         HP/UX.
17840
17841         * gdb.base/break.exp: Teach the test suite that the `catch
17842         fork', `catch vfork', and `catch exec' commands produce error
17843         messages on platforms that don't provide these features.
17844
17845 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
17846
17847         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17848         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17849         (shortening names from solib_threshold.exp etc), won't run on
17850         anything but HP-UX for the foreseeable future.
17851         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17852         reflect move.
17853
17854 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
17855
17856         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17857         gdb.trace/Makefile.in (clean): Remove all test executables.
17858
17859 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
17860
17861         * gdb.base/shlib-call.exp: add test cases to verify that gdb
17862         successfully re-sets breakpoints in shared libraries.
17863         * gdb.base/shmain.c (main): return 0, don't fall off the end.
17864
17865 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
17866
17867         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17868         and compiled w/o GCC.
17869
17870         * gdb.hp/watch-cmd.exp: ditto.
17871
17872         * gdb.hp/watch-hp.exp: ditto.
17873
17874         * gdb.hp/xdb1.exp: ditto.
17875
17876         * gdb.hp/xdb2.exp: ditto.
17877
17878         * gdb.hp/dbx.exp: ditto.
17879
17880 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
17881
17882         * constvars.c: Remove C++-isms.
17883         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17884         with GCC.
17885
17886 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
17887
17888         The following changes are part of the HP merge.
17889
17890         * gdb.base/break.exp: new tests to verify that catchpoints for
17891         fork, vfork, and exec don't trigger inappropriately.
17892
17893         * gdb.base/opaque.exp: compile one file at a time, then link.
17894
17895         * gdb.base/signals.exp: be more restrictive about which hppa
17896         systems receive a setup_xfail.  new tests.
17897
17898         * gdb.base/solib_threshold.build: new file.
17899         * gdb.base/solib_threshold.exp: new file.
17900         * gdb.base/solib_threshold.link_opts: new file.
17901         * gdb.base/solib_threshold.mk: new file.
17902         * gdb.base/gen_solib_threshold.c: new file.
17903
17904         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17905         tests.  New tests for enums inside classes.
17906
17907         * gdb.c++/compiler.cc: indicate support of template debugging.
17908
17909         * gdb.c++/demangle.exp: run hp style demangling tests.
17910
17911         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17912         tests.
17913
17914         * gdb.c++/misc.cc: changes to support new tests.
17915
17916         * gdb.c++/templates.cc: changes to support HP's compiler; changes
17917         to support new tests.
17918
17919         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17920         gcc, then skip these tests.
17921
17922 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
17923
17924         The following files are part of the HP merge; some had longer
17925         names at HP, but have been renamed to be no more than 14
17926         characters in length.
17927
17928         * gdb.hp/ambiguous.cc: new file.
17929         * gdb.hp/ambiguous.exp: new file.
17930         * gdb.hp/attach.exp: new file.
17931         * gdb.hp/attach2.exp: new file.
17932         * gdb.hp/classes-hp.exp: new file.
17933         * gdb.hp/ctti.exp: new file.
17934         * gdb.hp/ctti-add.cc: new file.
17935         * gdb.hp/ctti-add1.cc: new file.
17936         * gdb.hp/ctti-add2.cc: new file.
17937         * gdb.hp/ctti-add3.cc: new file.
17938         * gdb.hp/dbx.exp: new file.
17939         * gdb.hp/exception.cc: new file.
17940         * gdb.hp/exception.exp: new file.
17941         * gdb.hp/foll-exec.c: new file.
17942         * gdb.hp/foll-exec.exp: new file.
17943         * gdb.hp/foll-fork.c: new file.
17944         * gdb.hp/foll-fork.exp: new file.
17945         * gdb.hp/foll-vfork.c: new file.
17946         * gdb.hp/foll-vfork.exp: new file.
17947         * gdb.hp/inherit-hp.exp: new file.
17948         * gdb.hp/more-steps.exp: new file.
17949         * gdb.hp/namespace.cc: new file.
17950         * gdb.hp/namespace.exp: new file.
17951         * gdb.hp/optimize.exp: new file.
17952         * gdb.hp/pxdb.c: new file.
17953         * gdb.hp/pxdb.exp: new file.
17954         * gdb.hp/quicksort.exp: new file.
17955         * gdb.hp/reg-test.exp: new file.
17956         * gdb.hp/reg-test.s: new file.
17957         * gdb.hp/sized-enum.c: new file.
17958         * gdb.hp/sized-enum.exp: new file.
17959         * gdb.hp/start-stop.exp: new file.
17960         * gdb.hp/templ-hp.cc: new file.
17961         * gdb.hp/templ-hp.exp: new file.
17962         * gdb.hp/thr-lib.c: new file.
17963         * gdb.hp/thr-lib.exp: new file.
17964         * gdb.hp/thr-lib.h: new file.
17965         * gdb.hp/thr-liblib.c: new file.
17966         * gdb.hp/virtfun-hp.c: new file.
17967         * gdb.hp/virtfun-hp.exp: new file.
17968         * gdb.hp/watch-cmd.exp: new file.
17969         * gdb.hp/watch-hp.exp: new file.
17970         * gdb.hp/xdb1.exp: new file.
17971         * gdb.hp/xdb2.exp: new file.
17972         * gdb.hp/xdb3.exp: new file.
17973
17974 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
17975
17976         The following files are part of the HP merge; some had longer
17977         names at HP, but have been renamed to be no more than 14
17978         characters in length.
17979
17980         * gdb.base/ss.h: new file.
17981         * gdb.base/call-ar-st.c: new file.
17982         * gdb.base/call-ar-st.exp: new file.
17983         * gdb.base/call-rt-st.c: new file.
17984         * gdb.base/call-rt-st-exp: new file.
17985         * gdb.base/call-strs.exp: new file.
17986         * gdb.base/ena-dis-br.exp: new file.
17987         * gdb.base/environ.exp: new file.
17988         * gdb.base/long_long.exp: new file.
17989         * gdb.base/sect-cmd.exp: new file.
17990         * gdb.base/shlib-cl2.exp: new file.
17991         * gdb.base/smoke.exp: new file.
17992         * gdb.base/so-impl-ld.c: new file.
17993         * gdb.base/so-impl-ld.exp: new file.
17994         * gdb.base/so-indr-cl.c: new file.
17995         * gdb.base/so-indr-cl.exp: new file.
17996         * gdb.base/varargs.exp: new file.
17997         * gdb.base/volatile.exp: new file.
17998         * gdb.base/whatis-exp.exp: new file.
17999         * gdb.base/display.exp: new file.
18000         * gdb.c++/derivation.exp: new file.
18001         * gdb.c++/local.exp: new file.
18002         * gdb.c++/member-ptr.exp: new file.
18003         * gdb.c++/overload.exp: new file.
18004         * gdb.c++/ovldbreak.exp: new file.
18005         * gdb.c++/ref-types.exp: new file.
18006         * gdb.c++/ref-types2.exp: new file.
18007         * gdb.c++/userdef.exp: new file.
18008
18009 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
18010
18011         * gdb.base/default.exp: Reflect wording change in remote.c.
18012
18013 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
18014
18015         * gdb.base/help.exp: Update to reflect current text.
18016
18017 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
18018
18019         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18020         they're stack variables and contain garbage.
18021         * gdb.c++/anon-union.exp: new file.
18022
18023         The following changes were made by David Taylor
18024         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18025         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18026         in changes by HP.
18027
18028         * gdb.base/bitops.exp: new file.
18029         * gdb.base/default.exp: change expected messages for catch and
18030         info catch tests to reflect HP merge changes.
18031         * gdb.base/enable-disable-break.exp
18032         * gdb.base/ending-run.c: new file.
18033         * gdb.base/long_long.c: new file.
18034         * gdb.base/maint.exp: new file.
18035         * gdb.base/pointers2.exp: new file.
18036         * gdb.base/shlib-call2.exp: new file.
18037         * gdb.base/solib.exp: new file.
18038         * gdb.base/step-test.c: new file.
18039         * gdb.c++/anon-union.cc: new file.
18040         * gdb.c++/local.cc: new file.
18041         * gdb.c++/member-pointer.cc: new file.
18042         * gdb.c++/method.cc: new file.
18043         * gdb.c++/ref-types.cc: new file.
18044         * gdb.c++/ref-types2.cc: new file.
18045         * gdb.c++/userdef.cc: new file.
18046
18047         * gdb.base/scope.exp: compile one file at a time, then link.
18048         * gdb.base/langs.exp: ditto.
18049         * gdb.base/list.exp: ditto.
18050
18051 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
18052
18053         The following changes were made by David Taylor
18054         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18055         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18056         in changes by HP.
18057
18058         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18059         skip tests.  When compiling pass c++ flag to gdb_compile.
18060         * gdb.c++/
18061
18062         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18063         test for on hppa*-*-hpux*; use args to see if c++ was specified.
18064         (skip_hp_tests): new function.
18065         (gdb_preprocess): new function.
18066
18067         * configure.in (hpdir): decide whether to configure gdb.hp.
18068         * configure: regenerated.
18069
18070         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18071         to delete on clean.
18072         (EXECUTABLES): update to reflect new additions.
18073         * gdb.base/commands.exp: update message expected.
18074         * gdb.base/default.exp: add copyright notice.
18075         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18076         * gdb.base/help.exp: update messages to reflect current text.
18077         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18078         targets for recurse tests.
18079         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18080         skip this file.
18081
18082         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18083         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18084         compilation.
18085         * gdb.c++/misc.exp: ditto.
18086         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18087         run the tests.  tell gdb_compile that it's a c++ compilation.
18088
18089         * gdb.threads/pthreads.exp: fix typo in message.
18090
18091         * gdb.base/all-bin.exp: new file.
18092         * gdb.base/arithmet.exp: new file.
18093         * gdb.base/assign.exp: new file.
18094         * gdb.base/completion.exp: new file.
18095         * gdb.base/cond-expr.exp: new file.
18096         * gdb.base/condbreak.exp: new file.
18097         * gdb.base/define.exp: new file.
18098         * gdb.base/dollar.exp: new file.
18099         * gdb.base/environment.exp: new file.
18100         * gdb.base/eval-skip.exp: new file.
18101         * gdb.base/jump.exp: new file.
18102         * gdb.base/logical.exp: new file.
18103         * gdb.base/pointers.exp: new file.
18104         * gdb.base/relational.exp: new file.
18105         * gdb.base/section_command.exp: new file.
18106         * gdb.base/whatis-expr.exp: new file.
18107
18108         * gdb.base/all-types.c: new file.
18109         * gdb.base/call-array-struct.c: new file.
18110         * gdb.base/call-return-struct.c: new file.
18111         * gdb.base/call-strings.c: new file.
18112         * gdb.base/callfuncs2.c: new file.
18113         * gdb.base/condbreak.c: new file.
18114         * gdb.base/constvars.c: new file.
18115         * gdb.base/display.c: new file.
18116         * gdb.base/int-type.c: new file.
18117         * gdb.base/jump.c: new file.
18118         * gdb.base/miscexprs.c: new file.
18119         * gdb.base/pointers.c: new file.
18120         * gdb.base/pointers2.c: new file.
18121         * gdb.base/shmain.c: new file.
18122         * gdb.base/shr1.c: new file.
18123         * gdb.base/shr2.c: new file.
18124         * gdb.base/solib.c: new file.
18125         * gdb.base/solib1.c: new file.
18126         * gdb.base/solib2.c: new file.
18127         * gdb.base/varargs.c: new file.
18128         * gdb.c++/derivation.cc: new file.
18129         * gdb.c++/overload.cc: new file.
18130         * gdb.c++/ovldbreak.cc: new file.
18131         * gdb.hp/attach.c: new file.
18132         * gdb.hp/attach2.c: new file.
18133         * gdb.hp/average.c: new file.
18134         * gdb.hp/compiler.c: new file.
18135         * gdb.hp/compiler.cc: new file.
18136         * gdb.hp/execd-program.c: new file.
18137         * gdb.hp/follow-exec.c: new file.
18138         * gdb.hp/follow-fork.c: new file.
18139         * gdb.hp/follow-vfork-and-exec.c: new file.
18140         * gdb.hp/misc-hp.cc: new file.
18141         * gdb.hp/more-steps.c: new file.
18142         * gdb.hp/optimize.c: new file.
18143         * gdb.hp/quicksort.c: new file.
18144         * gdb.hp/run-hp.c: new file.
18145         * gdb.hp/start-stop.c: new file.
18146         * gdb.hp/sum.c: new file.
18147         * gdb.hp/templates-hp.cc: new file.
18148         * gdb.hp/thread-local-in-lib.c: new file.
18149         * gdb.hp/thread-local-in-lib.h: new file.
18150         * gdb.hp/thread-local-in-lib.lib.c: new file.
18151         * gdb.hp/vforked-program.c: new file.
18152         * gdb.hp/virtfunc-hp.cc: new file.
18153         * gdb.hp/watchpoint-hp.c: new file.
18154         * gdb.hp/xdb.c: new file.
18155         * gdb.hp/xdb0.c: new file.
18156         * gdb.hp/xdb0.h: new file.
18157         * gdb.hp/xdb1.c: new file.
18158
18159 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
18160
18161         The following change was made by Edith Epstein
18162         <eepstein@cygnus.com> as part of a project to merge in changes
18163         originally made by HP; HP did not create ChangeLog entries.
18164
18165         * gdb.c++/demangle.exp: changed the expected output for some
18166         ARM-style mangling -- removed second reference to datatype.
18167         For example, maint demangle __dt__11T1__pt__2_cFv
18168                      T1<char>::~T1<char>(void)
18169         becomes,
18170                      maint demangle __dt__11T1__pt__2_cFv
18171                      T1<char>::~T1(void)
18172
18173         (test_hp_style_demangling): new hp specific demangling test cases.
18174
18175 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
18176
18177         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18178         * gdb.trace/backtrace.exp: Likewise.
18179         * gdb.trace/circ.exp: Likewise.
18180         * gdb.trace/collection.exp: Likewise.
18181         * gdb.trace/deltrace.exp: Likewise.
18182         * gdb.trace/infotrace.exp: Likewise.
18183         * gdb.trace/limits.exp: Likewise.
18184         * gdb.trace/packetlen.exp: Likewise.
18185         * gdb.trace/passc-dyn.exp: Likewise.
18186         * gdb.trace/passcount.exp: Likewise.
18187         * gdb.trace/report.exp: Likewise.
18188         * gdb.trace/save-trace.exp: Likewise.
18189         * gdb.trace/tfind.exp: Likewise.
18190         * gdb.trace/tracecmd.exp: Likewise.
18191         * gdb.trace/while-dyn.exp: Likewise.
18192         * gdb.trace/while-stepping.exp: Likewise.
18193
18194 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
18195
18196         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18197
18198 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
18199
18200         From Brendan Kehoe:
18201         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18202         int return types.
18203
18204 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
18205
18206         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18207         remote dos host testing right.
18208
18209 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
18210
18211         * gdb.base/corefile.exp: remove some xfails.
18212
18213 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
18214
18215         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18216         have different timestamps.
18217
18218 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
18219
18220         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18221         gdb.base/default.exp: Replace "exec" with "executable".
18222
18223 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
18224
18225         * gdb.base/default.exp: Change else if to elseif from previous
18226         delta.
18227
18228 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
18229
18230         * gdb.base/default.exp: Add brace missing from previous delta.
18231
18232 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
18233
18234         * gdb.base/default.exp: Support test for info float for all
18235         varieties of arm toolchain.
18236
18237 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
18238
18239         * gdb.trace/*.exp: remove "remote_download" command.
18240
18241 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
18242
18243         * gdb.trace/*.exp: remove -gdwarf from compile.
18244
18245 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
18246
18247         * gdb.trace/configure.in(AC_INIT): typo
18248         * gdb.trace/configure: regenerated
18249
18250 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
18251
18252         * config/m68k-emc.exp: New file.
18253         * lib/<emc-support.exp trace-support.exp}: New files.
18254         * configure.in: add new test directory gdb.trace.
18255         * gdb.trace/{configure configure.in Makefile.in}: New files.
18256         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18257         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18258         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18259         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18260         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18261         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18262         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18263
18264 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
18265
18266         * gdb.c++/classes.exp: Change all regular expressions to match
18267         arbitrary combinations of newline/carriage-return, so that they
18268         will work equally well on Unix and Windows.
18269         * gdb.c++/inherit.exp: ditto.
18270         * gdb.c++/virtfunc.exp: ditto.
18271
18272 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
18273
18274         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18275
18276 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
18277
18278         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18279         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
18280         to use a0-a3/d0-d3 as needed.
18281
18282 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
18283
18284         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18285         * gdb.disasm/am33.exp: Corresponding changes.
18286
18287 1998-07-11  Felix Lee  <flee@cygnus.com>
18288
18289         * gdb.base/callfuncs.exp: add cmp10 test.
18290         * gdb.base/callfuncs.c (cmp10): new function.
18291
18292 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
18293
18294         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18295         into two parts to get around a synchronization problem in expect.
18296
18297 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
18298
18299         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18300
18301         * configure.in: Add options for gdbtk testsuite.
18302
18303         * configure: Regenerate.
18304
18305         * gdb.gdbtk: New directory to hold gdbtk tests.
18306
18307 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
18308
18309         * gdb.fortran/types.exp:  Escape brackets in expect patterns
18310         for test_float_literal_types_accepted tests.
18311         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
18312         before run test.
18313
18314 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
18315
18316         * am33.exp: Just compile, do not link the testcase.
18317         * am33.s: Add ".am33" pseudoop to force am33 mode.
18318
18319 1998-06-25  Felix Lee  <flee@cygnus.com>
18320
18321         * gdb.base/setshow.exp: make sure $pc is sane.
18322
18323         * gdb.stabs/weird.exp: split expect patterns properly.
18324
18325 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
18326
18327         * gdb.disasm/am33.s: New disassembler testfile for the am33.
18328         * gdb.disasm/am33.exp: Run it.
18329
18330 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
18331
18332         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18333         match processing (and eliminate spurious timeouts when running).
18334
18335 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
18336
18337         * gdb.base/signals.exp (test_handle_all_print): put back Mach
18338         exception test, but conditionalize it on target [mach | gnu].
18339
18340 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
18341
18342         * gdb.base/overlays.exp: fixup compile line for linker script.
18343
18344 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
18345
18346         * gdb.fortran/types.exp: don't guess at float size.
18347
18348 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
18349
18350         * gdb.base/exprs.exp: delete test that depends on int size.
18351
18352 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
18353
18354         * config/sim.exp: Removed checks for target triplets.
18355         (gdb_target_sim): Use gdb,target_sim_options.
18356
18357 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
18358
18359         * gdb.base/reread.exp: New file.
18360         * gdb.base/reread1.c: New file.
18361         * gdb.base/reread2.c: New file.
18362
18363 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
18364
18365         * config/sim.exp: Use 'target sim -sparclite' when running
18366         SPARClite programs.
18367
18368 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
18369
18370         * gdb.base/structs2.exp: New file.
18371         * gdb.base/structs2.c: New file.
18372
18373 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
18374
18375         * gdb.asm/common.inc: New file.
18376         * gdb.asm/d10v.inc: New file.
18377         * asm-source.exp: Pass -I's to gas to find .inc files.
18378         Update line numbers in expected output.
18379         * asmsrc1.s: Rewrite.
18380         * asmsrc2.s: Rewrite.
18381         * configure.in: Create arch.inc symlink.
18382         * configure: Regenerate.
18383         * Makefile.in (distclean): Delete arch.inc.
18384
18385 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
18386
18387         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
18388         (t_enum_value2): ditto
18389         (t_enum_value3): ditto
18390         (main): ditto
18391 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
18392
18393         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
18394         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18395         change.
18396         Use gdb_test instead of send_gdb/gdb_expect sequences.
18397
18398 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
18399
18400         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18401         not void.
18402
18403 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
18404
18405         * gdb.base/branches.c: Code with lots of loops and
18406         subroutines. Used to test gdbs ability to single step through PC
18407         changes, especially to test mips-tdep.c:mips_next_pc
18408
18409 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18410
18411         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18412         more rigorous EGCS C++ error checking.
18413
18414 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
18415
18416         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
18417         tests.
18418         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
18419         function when asleep.
18420         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
18421         for i*86 Linux and SVR4 signal handling problems.
18422         Remove linux xfail for `next to handler in signals_tests_1', fixed
18423         by recent infrun.c change.
18424         Limit backtrace to 10 frames to avoid timeout problems with infinite
18425         stack backtraces.
18426         Adjust expect pattern in `handle all print' test to match Apr 28 1997
18427         target.[ch] change.
18428
18429 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
18430
18431         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18432         for a newline from gdb before continuing.
18433         (default_gdb_exit): Just look for y or n.
18434         (gdb_test): Detect abnormal exit from GDB running on DOS; if
18435         it does, fail the rests of the tests in the file.
18436
18437 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
18438
18439         * config/cygmon.exp: New file.
18440
18441 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
18442
18443         * gdb.base/list.exp: Fix problem with "list default lines around
18444         main" test on remote targets.
18445
18446         * gdb.base/scope.exp: Fix problem with filelocal_bss before
18447         run test on remote targets.
18448
18449 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
18450
18451         * gdb.asm: New directory.
18452         * configure.in: Configure it.
18453         * configure: Regenerate.
18454         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18455         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18456
18457 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
18458
18459         * config/mn10300-eval.exp: New file to support MN10300 eval board.
18460
18461 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
18462
18463         * gdb.base/overlays (several files): Merge the two overlay
18464         managers into one.  Change variables (foox, barx, bazx, grbxx)
18465         back into ints but force them to load in their proper sections.
18466
18467 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
18468
18469         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18470         on-chip insn memory and IMAP1 to upper 128k.
18471         (D10VCopy): Handle memory regions crossing 16k boundaries.
18472         (D10VCopy): Transfer data in 32 bit chunks.
18473
18474 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
18475
18476         * gdb.base/overlays.c (main): Exit normally when result is
18477         correct.
18478
18479         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18480         map.  Include space for printf in .text segment.
18481
18482         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18483         updated d10v memory VMA/LMA map.
18484         (D10VCopy): Call D10VTranslate.
18485
18486 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
18487
18488         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18489
18490         * gdb.base/bar.c (barx, bar): Change variable to small array so
18491         that it won't be put into the .sdata - small data -
18492         section. Update reference.
18493         * gdb.base/baz.c (bazx, baz): Ditto.
18494         * gdb.base/foo.c (foox, foo): Ditto.
18495         * gdb.base/grbx.c (grbxx, grbx): Ditto.
18496
18497         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18498         to be arrays.
18499
18500 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
18501
18502         * gdb.base/overlays.exp: fix up and get working again.
18503         Add tests for backtraces from an overlay function.
18504
18505 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
18506
18507         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18508         "calling function with watchpoint enabled".
18509
18510 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
18511
18512         * gdb.base/break.exp (test_next_with_recursion): Remove
18513         gdb_suppress_tests for d10v-*-*.
18514         * lib/gdb.exp (gdb_suppress_tests): Disable this function
18515         pending review of whether it is useful or not.
18516
18517 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
18518
18519         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18520
18521 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
18522
18523         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18524         * config/dve.exp: New file to support Densan boards.
18525
18526 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
18527
18528         * gdb.base/interrupt.exp: Document problem of simulators, signals,
18529         reads and BSD.
18530
18531 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
18532
18533         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18534         response.
18535
18536         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18537
18538 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
18539
18540         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18541         test.
18542
18543         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18544         target_sizeof_long and target_bigendian_p.
18545         (structs_by_value, structs_by_reference): Check values according
18546         to targets word size and endianess.
18547
18548 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
18549
18550         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18551         output.
18552
18553 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
18554
18555         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18556         Update test of set args help to match source change.
18557
18558 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
18559
18560         * gdb.base/default.exp: Expect help system output to be in
18561         alphabetical order.
18562         * gdb.base/help.exp: Ditto.
18563
18564 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
18565
18566         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18567         "i*86-pc-linux-gnu*".
18568         * gdb.base/interrupt.exp: Ditto.
18569         * gdb.base/corefile.exp: Ditto.
18570
18571         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18572         define vxworks when building the testcase.
18573
18574         * gdb.base/ptype.exp: Fix testnames to be unique.
18575         * gdb.base/radix.exp: Ditto.
18576         * gdb.base/term.exp: Ditto.
18577         * gdb.base/whatis.exp: Ditto.
18578         * gdb.c++/classes.exp: Ditto.
18579
18580 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
18581
18582         * gdb.base/callfuncs.exp: Fix indentation.
18583
18584         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18585         suppress_flag has been set.
18586         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18587         target feature.
18588
18589 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
18590
18591         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18592         the testcase.
18593
18594         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18595         set_debug_traps() and breakpoint().
18596         * gdb.c++/misc.cc (main): Ditto.
18597         * gdb.c++/templates.cc (main): Ditto.
18598         * gdb.c++/virtfunc.cc (main): Ditto.
18599
18600 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
18601
18602         * lib/gdb.exp(gdb_step_for_stub): New function.
18603         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18604         exists, reload the executable and do a "continue" instead of
18605         doing a jump.
18606         (runto_main): Use gdb_step_for_stub.
18607
18608         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18609         tests to have unique names.
18610         * gdb.base/callfuncs.exp: Ditto.
18611         * gdb.base/commands.exp: Ditto.
18612         * gdb.base/default.exp: Ditto.
18613         * gdb.base/help.exp: Ditto.
18614         * gdb.base/list.exp: Ditto.
18615         * gdb.base/opaque.exp: Ditto.
18616         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18617         similar tests.
18618
18619         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18620         * gdb.c++/cplusfuncs.cc: Ditto.
18621         * gdb.c++/virtfunc.cc: Ditto.
18622
18623         * config/monitor.exp: Keep track of the last file we saw, rather
18624         than trying to get the info from gdb.
18625
18626         * gdb.fortran/types.exp: Move comment to previous line.
18627
18628 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
18629
18630         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18631         target mode.
18632
18633 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
18634
18635         From Bob Manson:
18636         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18637         string from GDB when it connects.
18638
18639         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18640
18641 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
18642
18643         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18644         if we can't get a debug format from GDB (we may be testing an
18645         older GDB). Use a 10 second timeout when checking for the format.
18646
18647         * gdb.stabs/weird.exp: Fix quoting.
18648
18649         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18650
18651 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
18652
18653         * config/arm-ice.exp: New file.
18654
18655 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
18656
18657         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18658         until it has been modified to work with the new testsuite.
18659
18660         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18661         testcase won't compile, cause all of the testcases in the file to
18662         fail instead.
18663
18664         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18665         (gdb_clear_suppressed): New procedure.
18666         (gdb_stop_suppressing_tests): Only clear suppress_flag if
18667         it contains a positive value.
18668
18669 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
18670
18671         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18672
18673         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18674
18675 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
18676
18677         * lib/gdb.exp (setup_xfail_format): New function.
18678         (get_debug_format): New function to get debug format.
18679         (debug_format): New global variable to hold last value set
18680         by get_debug_format.
18681         * gdb.base/list.exp: Call get_debug_format and expect some
18682         tests to fail for DWARF 1 and COFF formats.
18683         * gdb.c++/ptype.exp: Ditto.
18684         * gdb.c++/classes.exp: Ditto.
18685         * gdb.c++/cplusfuncs.exp: Ditto.
18686         * gdb.c++/inherit.exp: Ditto.
18687         * gdb.c++/templates.exp: Ditto.
18688         * gdb.c++/virtfunc.exp: Ditto.
18689
18690 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
18691
18692         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18693         host doesn't have a currently-open connection.
18694
18695         * config/sparclet.exp: Cleanups and fixes to make it generic for
18696         any gdb stub target. Handle cases where gdb doesn't respond when
18697         interrupted in a sane fashion.
18698
18699         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18700         same thing in a totally different way.
18701
18702         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18703         setting "timeout".
18704         (gdb_start): We set the global gdb_prompt variable in
18705         default_gdb_init now.
18706
18707 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
18708
18709         * gdb.base/printcmds.exp: Fix "check for floating addition"
18710         regexp to accept results within approx +/- .01 of exact value.
18711         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18712
18713 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
18714
18715         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18716         properly.
18717         (gdb_expect): Add optional timeout parameter, and add timeout
18718         value to various calls.
18719         (gdb_suppress_tests): Only give one warning message per group.
18720
18721 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
18722
18723         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18724         global variables. Handle getting a value for $timeout more
18725         gracefully.
18726
18727 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
18728
18729         * lib/gdb.exp: Close connection to remote host if gdb doesn't
18730         initialize.
18731         (default_gdb_init): New procedure; allow gdb_init to be overridden
18732         by a target configuration file.
18733         (gdb_expect): Pass the timeout to remote_expect.
18734
18735         * config/monitor.exp(gdb_load): Fix typo in regexp.
18736
18737 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
18738
18739         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18740
18741 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
18742
18743         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18744         here. Call gdb_target_exec before rebooting the target, to make
18745         sure the connection to the target is closed.
18746         (gdb_load): Pass the name of the executable to gdb_target_monitor.
18747         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18748         Also detect "Timeout reading from remote" error.
18749
18750         * config/gdbserver.exp: Pass the executable being loaded to
18751         gdb_target_monitor. Don't call gdb_file_cmd here; let
18752         gdb_target_monitor do it.
18753
18754         * gdb.disasm/hppa.exp: Don't use exec_output.
18755
18756 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
18757
18758         * gdb.base/list.exp: If we're debugging a non-native target,
18759         try to set the pc register to point to the start of the
18760         program before doing the first list command.
18761
18762         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18763         test_calls after restarting.
18764
18765         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18766         reloading.
18767
18768         * gdb.base/watchpoint.exp: Fix typo.
18769
18770         * gdb.base/setshow.exp: Check for use_gdb_stub.
18771
18772         * gdb.base/break.exp: Fix continue until exit test for the gdb
18773         stub case.
18774         * gdb.base/langs.exp: Ditto.
18775
18776         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18777         gdb_load_offset. If we weren't given a file to load, figure out
18778         what the current file is and use it.
18779
18780         * config/i386-bozo.exp: New file.
18781
18782 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
18783
18784         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18785         feature.
18786
18787         * config/proelf.exp: New entry.
18788
18789 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
18790
18791         * lib/gdb.exp: Remove spurious .* patterns at the beginning
18792         of regexps.
18793
18794         * gdb.base/watchpoint.exp: Don't run the test_stepping
18795         tests if gdb can't call functions on the target.
18796
18797         * gdb.base/setshow.exp: Don't run the set prompt tests if
18798         the board has gdb_prompt set.
18799
18800 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
18801
18802         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18803         * gdb.base/commands.exp: Likewise.
18804         * gdb.base/setshow.exp: Likewise.
18805
18806 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
18807
18808         * config/monitor.exp(gdb_start): Look for gdb_prompt target
18809         feature.
18810
18811         * config/i960.exp: New file.
18812
18813 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
18814
18815         * gdb.base/funcargs.exp: Check for gdb,short_int target
18816         feature instead of looking for explicit target triplets.
18817
18818 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
18819
18820         * gdb.base/printcmds.exp: add a couple more tests a la
18821         "p 123DEADBEEF", to check parse_number.
18822         * top.c: change "to enable to enable" to "to enable" in a couple
18823         of help strings.
18824
18825 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
18826
18827         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18828         on the mn10300.
18829
18830 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
18831
18832         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18833         where the test executable is run with explicit args.
18834         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18835
18836 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
18837
18838         * gdb.base/run.c: Use FAKEARGV to build test executable that
18839         does not require a command line arg, since most simulators
18840         don't currently support passing such an arg into the simulated
18841         program.
18842         * gdb.base/commands.exp: Change tests to insert the proper
18843         value as the arg to the first recursive factorial call.  Change
18844         compilation line to define FAKEARGV at compile time.
18845
18846 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
18847
18848         * gdb.base/recurse.exp: Enable these tests for the mn10300.
18849         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18850         function with watchpoint enabled" test.
18851
18852 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
18853
18854         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18855         Don't call gdb_test when the command doesn't return to a gdb prompt.
18856
18857         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18858         "Tests restarted" messages.
18859
18860 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
18861
18862         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18863
18864 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
18865
18866         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18867         for INFO SYMBOL; add help tests for OVERLAY commands.
18868         * gdb.base/default.exp: add tests for INFO SYMBOL command;
18869         add tests for OVERLAY commands
18870         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18871         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18872         * gdb.base/sigall.c: add usestubs code frag
18873         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18874
18875 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
18876
18877         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18878         failures.
18879         (gdb_stop_suppressing_tests): Note that tests have restarted.
18880
18881 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
18882
18883         * config/h8300.exp: New file.
18884
18885 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
18886
18887         * gdb.base/setshow.exp: Check for the existence of a
18888         feature, not its value.
18889
18890 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
18891
18892         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18893
18894         * gdb.base/scope.exp: It's now init0(), not init().
18895
18896         * gdb.base/scope0.c: For now, change init() to be init0().
18897
18898         * config/monitor.exp: Use gdb_serial in preference to serial
18899         or netport.
18900
18901         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18902         and it's not already set.
18903
18904 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
18905
18906         * gdb.base/setshow.exp: Only test the run command if the target
18907         isn't using a stub and if it supports argument passing.
18908
18909 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
18910
18911         * config/udi.exp(gdb_start): Make sure UDICONF is set
18912         properly before starting gdb.
18913
18914 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
18915
18916         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18917         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18918         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18919
18920 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
18921
18922         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18923         specialized code to reboot the board, use remote_reboot instead.
18924
18925         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18926
18927         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18928
18929         * config/monitor.exp: Make sure we disconnect from the target.
18930         Also, try a reboot/reload cycle instead of failing if the
18931         load fails.
18932
18933 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
18934
18935         * gdb.base/default.exp: Don't set match_max.
18936         * gdb.base/help.exp: Ditto.
18937         * gdb.base/list.exp: Ditto.
18938         * gdb.base/signals.exp: Ditto.
18939
18940         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18941         set, use remote_ld to download the testcase instead of
18942         the GDB loader.
18943
18944 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
18945
18946         * config/vr5000.exp: New file.
18947
18948         * config/monitor.exp(gdb_target_monitor): Add pattern for
18949         "Ending remote" to detect errors in connecting.
18950
18951         * gdb.base/setshow.exp: Add .* within auto language test.
18952
18953         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18954         target feature.
18955
18956         * config/monitor.exp(gdb_load): Check for a failure when loading,
18957         and reboot the board if necessary.
18958
18959         * gdb.base/setvar.exp(test_set): Handle multiple prints within
18960         a set of tests. Remove print.* from the patterns being checked.
18961
18962 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
18963
18964         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18965         refer to gdb_spawn_id.
18966
18967         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18968         longer used.
18969         * config/sparclet.exp: Ditto.
18970         * config/sparclet-old.exp: Ditto.
18971         * config/slite.exp: Ditto.
18972         * config/sim.exp: Ditto.
18973         * gdb.base/funcargs.exp: Ditto.
18974
18975         * lib/gdb.exp:Remove references to gdb_spawn_id.
18976         (gdb_expect): Move to remote.exp.
18977
18978 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
18979
18980         * config/monitor.exp: Detect the "Couldn't establish connection"
18981         message from GDB.
18982
18983 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
18984
18985         * gdb.base/bitfields.exp: Use runto instead of explicit
18986         gdb_run_cmd/gdb_expect sequences.
18987
18988         * gdb.base/break.exp(text_next_with_recursion): Add match for
18989         gdb_expect call.
18990
18991         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18992         We also need to handle the "A program is being debugged already"
18993         prompt from gdb. Use gdb_test to set the baud rate.
18994
18995         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18996         to 20000. Really. I mean it.
18997
18998 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
18999
19000         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19001         fails. If suppress_flag is set, skip perror message about not
19002         being able to send to GDB.
19003         (send_gdb): If suppress_flag is set, don't try to send commands to
19004         GDB.
19005         (gdb_expect): If suppress_flag is set, always fail immediately.
19006         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19007         (gdb_init): Call gdb_stop_suppressing_tests.
19008         (default_gdb_exit): Ditto.
19009         (default_gdb_start): Ditto.
19010
19011         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19012         gdb_stop_suppressing_tests as appropriate.
19013         * gdb.base/break.exp: Ditto.
19014         * gdb.base/callfuncs.exp: Ditto.
19015         * gdb.base/commands.exp: Ditto.
19016         * gdb.base/exprs.exp: Ditto.
19017         * gdb.base/funcargs.exp: Ditto.
19018         * gdb.base/list.exp: Ditto.
19019         * gdb.base/recurse.exp: Ditto.
19020         * gdb.base/scope.exp:  Ditto.
19021         * gdb.base/structs.exp: Ditto.
19022         * gdb.c++/inherit.exp: Ditto.
19023
19024 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
19025
19026         * config/vr4300.exp: New file.
19027
19028         * gdb.*/*.exp: Call gdb_expect instead of expect.
19029
19030         * lib/gdb.exp(gdb_expect): New function.
19031
19032 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
19033
19034         * lib/gdb.exp(gdb_init): New function.
19035
19036         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19037         for each individual variable set.
19038
19039         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19040         name.
19041
19042         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19043
19044         * gdb.base/scope.exp: Use gdb_test.
19045
19046         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19047         aborting; the testsuite driver will do that for us (see
19048         gdb_finish). Also, use gdb_test in a few more places.
19049
19050 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
19051
19052         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19053
19054 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
19055
19056         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19057         and "add_tests" are not at the same address.
19058
19059 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
19060
19061         * gdb.base/ptype.exp: Use gdb_test.
19062
19063 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
19064
19065         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19066         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19067         left in.  No longer expect them to fail.
19068
19069         * gdb.stabs/*.mt; Deleted, no longer used.
19070         * gdb.stabs/configure.in: Remove references to target makefile
19071         frags.
19072         * gdb.stabs/configure: Rebuilt.
19073
19074         * gdb.disasm/*.mt: Deleted, no longer used.
19075         * gdb.disasm/configure.in: Remove references to target makefile
19076         frags.  Use "sh3.s" as the unique filename for this directory.
19077         * gdb.disasm/configure: Rebuilt.
19078
19079         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19080         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19081         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19082
19083 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
19084
19085         * config/udi.exp: Use mondfe,name instead of remote_host.
19086
19087 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
19088
19089         * gdb.base/watchpoint.exp: Don't expect a failure when calling
19090         a function with a watchpoint enabled on the mn10200.
19091
19092         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19093         before trying to create it!
19094
19095 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
19096
19097         * config/vx.exp: Use hostname instead of netport.
19098
19099         * config/vxworks.exp: New file.
19100
19101         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19102
19103         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19104         gdb before assuming everything worked. Send a ^C if a timeout
19105         occurs.
19106
19107         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19108         $gdb_spawn_id directly.
19109         (gdb_run_cmd): Try _start as well as start. Use the target feature
19110         gdb,start_symbol as the symbol to start from when jumping.
19111
19112 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
19113
19114         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19115         redundant) test.
19116
19117         * gdb.base/recurse.exp: Relax final value test for 'b' so that
19118         it doesn't lose for 16bit integer systems.
19119
19120 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
19121
19122         * gdb.fortran/types.exp: If the target doesn't support "double"
19123         data types, then expect "real" types to only be 4 bytes.
19124
19125         * gdb.c++/virtfunc.exp: Expect failure for virtual function
19126         call tests if the target doesn't support inferior function calls.
19127
19128         * gdb.base/printcmds.exp: Allow minor deviation in FP values
19129         in printf tests.
19130
19131 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
19132
19133         * gdb.base/help.exp: Disable "help set", "help show", and
19134         "help support".  Simplify regexp for "help stack".
19135
19136         * gdb.base/default.exp: Set match_max to 5000 and the timeout
19137         to 60 seconds.  Temporarily set match_max to 15000 around the
19138         "info copying" test.
19139
19140         * gdb.base/nodebug.exp: Don't try to do an inferior function
19141         call if the target doesn't support them.
19142         * gdb.base/printcmds.exp: Likewise.
19143         * gdb.base/setvar.exp: Likewise.
19144         * gdb.base/structs.exp: Likewise.
19145         * gdb.c++/templates.exp: Likewise.
19146         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
19147
19148         * gdb.base/recurse.exp: Enable for the mn10200.
19149
19150         * configure.in: Do configure gdb.stabs directory for *-*-elf
19151         targets.
19152         * configure: Rebuilt.
19153
19154         * gdb.base/break.exp: Check for gdb,noresults before testing
19155         exit status and/or results from the target.
19156         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19157         * lib/gdb.exp: Remove old (now bogus) initialization of
19158         noinferior, noargs, noresults and nosignals.
19159
19160 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
19161
19162         * config/sh.exp: New file.
19163
19164         * config/slite.exp: Try to connect multiple times to the board
19165         before rebooting. Only send a "monitor run" if need_monitor_run
19166         is set.
19167
19168         * gdb.base/break.exp: Don't do the "stub continue" test if
19169         the target has gdb_stub set.
19170
19171         * gdb.base/callfuncs.exp: Increase the timeout.
19172
19173         * gdb.base/interrupt.exp: Don't even try to compile the testcase
19174         if the target has gdb,noinferiorio set.
19175
19176         * gdb.base/list.exp: Increase match_max to 10000 characters.
19177
19178         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19179
19180         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19181         target.
19182
19183         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19184
19185 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
19186
19187         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19188         trying to delete the copy of gdb. Catch the file delete so we
19189         don't die if the delete fails; also, the file should be copied to
19190         the host, not to the build.
19191
19192 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
19193
19194         * lib/gdb.exp(gdb_test): Surround the result pattern with
19195         parenthesis in case it contains multiple regexps separated
19196         with |.
19197
19198         * gdb.base/watchpoint.exp: Use gdb_test.
19199         * gdb.base/default.exp: Ditto.
19200
19201 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
19202
19203         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19204
19205         * gdb.base/scope.exp: Use gdb_test.
19206         * gdb.c++/classes.exp: Ditto.
19207         * gdb.c++/inherit.exp: Ditto.
19208
19209 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
19210
19211         * gdb.base/crossload.exp: Don't use execute_anywhere, use
19212         remote_exec instead.
19213         * gdb.base/corefile.exp: Don't be ridiculous.
19214         * gdb.base/*.c: Add missing stub invocations.
19215
19216 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
19217
19218         * config/slite.exp: Miscellaneous fixes.
19219
19220         * lib/gdb.exp: Fix runto.
19221
19222         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19223         the target.
19224
19225         * gdb.base/watchpoint.exp: Fix regexp.
19226
19227         * lib/gdb.exp(default_gdb_exit): Add a catch to the
19228         close and wait commands, as the descriptor may now be
19229         invalid. Always call "remote_close host".
19230
19231 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
19232
19233            Major rewrite for testsuite revision.
19234
19235         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19236         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19237         instead of relying on spawn_id to always contain a valid
19238         spawn id.
19239         (get_compiler_info): New procedure to build the ${binfile}.ci
19240         file, instead of replicating this in N different places.
19241         (gdb_compile): New procedure.
19242
19243         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19244         appropriate arguments) instead of compile. Use gdb_test in a lot
19245         more places.  Use send_gdb instead of send. Always run gdb_start
19246         at the start of a testcase, as this is no longer done magically.
19247
19248         config/*-gdb.exp: Rename without the -gdb suffix.
19249
19250         config/mips.exp: Use remote_close instead of exit_remote_shell.
19251         config/monitor.exp: Use target_info instead of looking at
19252         baud, timeout, etc.
19253         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19254
19255 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19256
19257         * gdb.c++/templates.exp (test_ptype_of_templates),
19258         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19259         Update expect patterns for destructors and assignment operators
19260         to match corresponding c-typeprint.c changes.
19261         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
19262         to destructor breakpoint test, GDB should be able to set the
19263         destructor breakpoint without specifying arguments.
19264
19265 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
19266
19267         * gdb.threads/pthreads.exp: Change result for failure to compile due
19268         to lack of pthreads runtime support from an error to simply an
19269         unsupported test, per dejagnu standards.
19270
19271 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19272
19273         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
19274         where GDB exits to reduce pattern match time.
19275         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
19276
19277         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
19278
19279 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
19280
19281         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19282         * gdb.base/default.exp:   ditto.
19283         * gdb.base/nodebug.exp:   ditto.
19284         * gdb.base/printcmds.exp: ditto.
19285         * gdb.base/ptype.exp:     ditto.
19286         * gdb.base/setvar.exp:    ditto.
19287         * gdb.base/structs.exp:   ditto.
19288         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
19289
19290 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
19291
19292         * configure, */configure: Rebuild with autoconf 2.12.
19293
19294 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
19295
19296         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19297         use new i*86-pc-linux*-gnu quads.
19298         * gdb.base/corefile.exp: Ditto.
19299         * gdb.base/signals.exp: Ditto.
19300         * gdb.base/sigall.exp: Ditto.
19301         * gdb.base/interrupt.exp: Ditto.
19302
19303         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19304         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
19305         RedHat 4.0.
19306
19307         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19308         linux.  This allows the test case to at least compile on latest
19309         linux, but still not run due to missing the threads runtime library.
19310
19311 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19312
19313         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
19314         directory to search gdb directory. Accept and step over conditional
19315         stack alignment code. Consume $prompt in failure cases.
19316         Reset timeout to $oldtimeout instead of some arbitrary value.
19317         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
19318         timeout problems with infinite stack backtraces.
19319         * gdb.base/ptype.exp (ptype struct link, union tu_link):
19320         Accept function parameters for linkfunc member.
19321
19322 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
19323
19324         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19325         (CXXFLAGS): Remove, unreferenced.
19326         (B_OPTIONS): Add for -B options and add code to initialize with
19327         previous -B options and also add -B option to pick up cross compiled
19328         runtime.
19329         (TARGET_INCLUDES): Add for -I options and add code to initialize when
19330         doing cross compiles.
19331         (target_alias): Declare global.
19332         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
19333         to verify that gcc exists in build tree, and if so set CC to that
19334         gcc and to use B_OPTIONS and TARGET_INCLUDES.
19335
19336 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
19337
19338         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19339         ptype test for anonymous union.  Fixup testcase to match
19340         current gcc debug output.
19341
19342 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
19343
19344         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19345         force argument to an unsigned long type.
19346
19347 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
19348
19349         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19350         tests and anonymous union print/ptype tests.
19351         * gdb.base/list.exp (test_forward-search): Increase timeout by
19352         5 minutes for the "search extremely long line" case.
19353         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19354         completely optional and that the pass/fail messages use the command as
19355         the message if that third arg is a null string.
19356         (gdb_test_exact):  Arrange that a null string pattern means match a
19357         null string output rather than any output, which might include random
19358         errors.
19359         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19360         backtrace test.
19361         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19362         always failing and failure is now exposed by gdb.exp changes.
19363
19364 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
19365
19366         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19367         weren't being noted.
19368
19369 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19370
19371         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
19372         * gdb.stabs/weird.exp:  Remove v_comb xfails.
19373
19374 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
19375
19376         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19377                     list.exp scope.exp watchpoint.exp]
19378           Make all timeout error msgs explicitly say "(timeout)".
19379
19380 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
19381
19382         * config/monitor.exp: Increase download timeout to 1000 seconds.
19383
19384 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
19385
19386         * config/m32r.exp: Increase timeout to 120 seconds.
19387
19388 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
19389
19390         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19391         and accept older ordering as obsolescent gcc or gdb.
19392         * gdb.c++/templates.exp: Ditto.
19393         * gdb.c++/virtfunc.exp: Ditto.
19394
19395 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
19396
19397         * gdb.base/coremaker.c: Add code to mmap some data so we
19398         can check that it ends up in the core file.
19399         * gdb.base/corefile.exp: Add test to read mmapped data
19400         from core file.
19401
19402 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
19403
19404         * config/m32r.exp: New file.
19405
19406 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
19407
19408         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
19409         that cflags can contains -gstabs, and work correctly for other tests.
19410
19411 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
19412
19413         * gdb.base/setshow.exp: New file, tests show and set.
19414         * gdb.base/setshow.c:   New file, tests show and set.
19415         * gdb.base/help.exp: Add test for help set|show annotate.
19416         * gdb.base/default.exp: Add test for set|show annotate.
19417
19418 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
19419
19420         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
19421         errors unique.
19422         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
19423         explicitly.
19424
19425 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
19426
19427         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
19428         and width commands.  This is done elsewhere.
19429         * (gdb_start):  Don't call gdb_start_sim here.  That's already
19430         done in gdb_load.  This fixes lots of failures in default.exp.
19431
19432 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
19433
19434         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19435         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19436         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19437         in the same we we treat other failures (since it may be an expected
19438         condition), rather than as an error.
19439         * gdb.base/signals.exp (test_handle_all_print): Revert back to
19440         old test format.
19441
19442 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
19443
19444         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19445         (distclean maintainer-clean realclean): No need to remove files
19446         twice.  Nuke the duplicates.
19447         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19448         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19449         Remove config.h along with other config files.
19450
19451 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
19452
19453         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19454         "p func1 ()" and note that rests of tests are skipped.
19455         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19456         setup_xfails for "print func2::coremaker_local".
19457         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19458         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19459         affected by the previous run test.
19460         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19461         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19462         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19463         "pass int powerset tuple" and "pass modeless int powerset tuple".
19464         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19465         "real write 4" and "real write 8".
19466         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19467         setup_xfails for "print vs1 after tuple assign 2",
19468         "print \$i after tuple assign 2", and
19469         "print vs2 after tuple assign 2".
19470         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19471         meaningful error message and return -1 so the caller can
19472         suppress further tests and avoid a cascade of errors.
19473
19474 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
19475
19476         * gdb.base/a1-selftest.exp: Tweak tests to account for new
19477         format for printing version.
19478         * gdb.base/default.exp: Ditto.
19479         * gdb.base/interrupt.exp: Fix problem with cascade of
19480         errors if child process dies while calling a function.
19481
19482 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
19483
19484         * Makefile.in (VPATH): Add
19485         * Makefile.in (Makefile, config.status): Fix rules so things get
19486         remade when necessary.
19487
19488 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
19489
19490         * Makefile.in (just-check): Add path to sibling expect dir
19491         to environment variable specified by RPATH_ENVVAR.
19492
19493 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
19494
19495         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19496         (just-check): Add shared library paths for libstdc++, tk,
19497         tcl, bfd, and opcodes to the environment variable specified
19498         in RPATH_ENVVAR.
19499         * configure.in: Add support to recognize --enable-shared flag
19500         and generate correct value for RPATH_ENVVAR.
19501         * configure: Regenerated with autoconf.
19502
19503 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
19504
19505         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19506         include all osf versions.
19507         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19508         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
19509         when target is linux.  When failing to build pthreads test
19510         executable, give more meaningful message.
19511         * gdb.threads/pthreads.c: Hpux also uses old definition of second
19512         arg for pthread_create.
19513
19514 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
19515
19516         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19517         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19518         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19519         and -lpthreads (everybody else).
19520         (test_startup): Fail gracefully if threads are not supported.
19521         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19522         "p/c array_index("abcdef",2)" when not gcc compiled.
19523         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19524         "print func2::coremaker_local" when not gcc compiled.
19525         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19526         "ptype on opaque struct tagname (statically)",
19527         "ptype on opaque struct tagname (dynamically) 1", and
19528         "ptype on opaque struct tagname (dynamically) 2"
19529         for not compiled with gcc.
19530         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19531         backtrace when compiled with gcc.
19532         * lib/gdb.exp (runto_main): Return result of "runto main" rather
19533         than always return success.
19534
19535 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
19536
19537         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19538
19539 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
19540
19541         * gdb.base/structs.exp: Undo last change.
19542
19543 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
19544
19545         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19546         encapsulate all the steps/nexts done during self test, starting
19547         at main, and makes them less sensitive to optimization issues.
19548         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19549         signal handler" test.
19550         * gdb.threads/pthreads.exp: Only run this for native configs.
19551         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19552         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19553         tests.
19554         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19555         for "runto test_calls(void)" test.
19556
19557 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
19558
19559         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19560         and don't expect address info in breakpoint confirmations.
19561
19562 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
19563
19564         * gdb.base/list.exp (test_forward_search): Increase timeout
19565         temporarily by 60 seconds for searching extremely long line,
19566         and then reset to old value when done.  Increase expect input
19567         buffer to 10000.
19568
19569 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
19570
19571         * gdb.base/list.exp (test_forward_search): Fix to handle very
19572         long source line without overflowing expect's input buffer.
19573
19574 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
19575
19576         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19577         "buffer_full".
19578
19579         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19580         "buffer_full".
19581
19582         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19583         "buffer_full".
19584
19585         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19586         "buffer_full".
19587
19588 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
19589
19590         * configure.in (configdirs): Add gdb.threads.
19591         * configure: Regenerated with autoconf.
19592         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19593         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19594         * gdb.threads/configure: New, generated with autoconf.
19595
19596 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
19597
19598         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19599
19600 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
19601
19602         * gdb.base/signals.exp (test_handle_all_print): Test separately for
19603         each signal's status in the output of "handle all print".
19604         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19605         the \r\n sequence that immediately precedes the gdb prompt.
19606         * gdb.base/a1-selftest.exp: Save original timeout and restore
19607         after test.
19608
19609 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
19610
19611         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19612         symbol.
19613
19614 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
19615
19616         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19617
19618 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
19619
19620         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19621         timeout by 60 seconds.
19622
19623 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
19624
19625         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19626         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19627         error return.
19628
19629 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
19630
19631         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19632         gdb initialization, also report how long dejagnu waited.  Restore
19633         old timeout before doing error return.  Temporarily increase timeout
19634         by 3 minutes to allow for slow startups over heavy NFS use.
19635
19636 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
19637
19638         * lib/gdb.exp: Report timeout value for verbosity level 2.
19639         * config/gdbserver.exp: Ditto.
19640         * config/hppro.exp: Ditto.
19641         * config/mips-gdb.exp: Ditto.
19642         * config/monitor.exp: Ditto.
19643         * config/netware.exp: Ditto.
19644         * config/sim-gdb.exp: Ditto.
19645         * config/slite-gdb.exp: Ditto.
19646         * config/udi-gdb.exp: Ditto.
19647         * config/unix-gdb.exp: Ditto.
19648         * config/vx-gdb.exp: Ditto.
19649         * gdb.base/a1-selftest.exp: Ditto.
19650         * gdb.base/a2-run.exp: Ditto.
19651         * gdb.base/break.exp: Ditto.
19652         * gdb.base/corefile.exp: Ditto.
19653         * gdb.base/list.exp: Ditto.
19654         * gdb.base/recurse.exp: Ditto.
19655         * gdb.base/scope.exp: Ditto.
19656         * gdb.base/signals.exp: Ditto.
19657
19658 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
19659
19660         * gdb.threads/Makefile.in (docdir): Removed.
19661
19662 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
19663
19664         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19665         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19666         @srcdir@.
19667         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19668         autoconf 2.5 or higher.
19669         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19670
19671 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
19672
19673         * configure: Regenerated.
19674         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19675         avoid name clashes with SunOS headers.
19676
19677 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
19678
19679         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19680
19681 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
19682
19683         * gdb.base/callfuncs.exp: Finish last change -- make sure the
19684         prototype information ends up in the compiler info file.
19685
19686 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
19687
19688         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19689         attempting to regenerate it.  Eliminate use of a temporary file
19690         and just generate the info file directly.  Source it immediately,
19691         for consistency of use.
19692         * gdb.base/corefile.exp: Ditto
19693         * gdb.base/exprs.exp: Ditto.
19694         * gdb.base/funcargs.exp: Ditto.
19695         * gdb.base/langs.exp: Ditto.
19696         * gdb.base/list.exp: Ditto.
19697         * gdb.base/mips_pro.exp: Ditto.
19698         * gdb.base/nodebug.exp: Ditto.
19699         * gdb.base/opaque.exp: Ditto.
19700         * gdb.base/ptype.exp: Ditto.
19701         * gdb.base/scope.exp: Ditto.
19702         * gdb.base/setvar.exp: Ditto.
19703         * gdb.base/signals.exp: Ditto.
19704         * gdb.base/whatis.exp: Ditto.
19705         * gdb.c++/templates.exp: Ditto.
19706         * gdb.c++/virtfunc.exp: Ditto.
19707         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19708         whether or not to add -lstdc++ to the compile command line args.
19709
19710 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19711
19712         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
19713         it got fixed by the recent lookup_minimal_symbol_by_pc change.
19714         Increase timeout, a lot of single stepping might be needed if the
19715         target has no hardware watchpoints.
19716
19717 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
19718
19719         * gdb.base/break.exp: Ignore compiler warnings when compiling
19720         break.c.
19721         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19722         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
19723         from remote-sim.
19724         * gdb.base/exprs.exp: Add h8300 xfails.
19725         * gdb.base/funcargs.exp: Likewise.
19726         * gdb.base/nodebug.exp: Likewise.
19727         * gdb.base/printcmds.exp: Likewise.
19728         * gdb.base/ptype.exp: Likewise.
19729         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
19730         h8300 xfails.
19731         * gdb.base/return.exp: Handle float/double precision problems
19732         on the h8300.
19733         * gdb.base/funcargs.c: Explicitly make last constant argument to
19734         call_after_alloca_subr an unsigned long type.
19735         * gdb.base/return.c: Include stdio.h.
19736
19737 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
19738
19739         * config/abug.exp: New file for the older Motorola Bug monitor
19740         that runs on the mvme13x series VME boards.
19741         * config/monitor.exp: Use the new config array for target settings
19742         if they exist.
19743
19744 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
19745
19746         * sim-gdb.exp: Make the SH simulator allocate less space when
19747         it is targeted.
19748
19749 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
19750
19751         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19752         test.
19753
19754 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
19755
19756         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19757         "rs6000-*-*" for "list function in include file" when gcc compiled.
19758         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19759         for "p ctable1[120]".
19760         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19761         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19762         Remove setup_xfail for "rs6000-*-*" for
19763         "print 'scope0.c'::filelocal before run".
19764         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19765         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19766         since some compilers don't allow both options to be given
19767         on the same command line.  Create object file and move it.
19768
19769 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
19770
19771         * gdb.base/corefile.exp: Always regenerate the core file, since
19772         we always regenerate the coremaker program.  Detect special case
19773         where registers cannot be read from core file.
19774
19775 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
19776
19777         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19778         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19779         * gdb.c++/templates.exp: Only match on basename of file since
19780         some formats like xcoff don't encode directory information.
19781         * gdb.stabs/weird.exp: Use the right sed script for powerpc
19782         and rs6000 AIX xcoff targets.
19783         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19784         * configure: Regenerate.
19785         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19786         here, rather than in distclean.
19787
19788 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
19789
19790         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19791         defined, and use it to compile the test case with -O2.  The
19792         native compilation still uses no optimization.
19793         * gdb.base/mips_pro.c: Remove inline assembly code since
19794         it is compiled PIC by default, which results in assembler
19795         warnings that make the testsuite think the compilation
19796         was unsuccessful.
19797
19798 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
19799
19800         * gdb.c++/misc.exp: Add note to message for
19801         "print s.a for foo struct" that this is a known gcc 2.7.2
19802         and earlier bug.
19803
19804 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
19805
19806         * gdb.base/break.exp: Fix pattern for matching "Delete all
19807         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
19808         setup_xfail for deleting all breakpoints test.  Fix various
19809         timeout messages to include "(timeout)".
19810         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19811         for "p t_float_values2(3.14159,float_val2)".
19812         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19813         for "continue to call2g" when gcc compiled.
19814         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19815         "up to foo in langs.exp", "show language at foo in langs.exp",
19816         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19817         and "show language at fsub in langs.exp".
19818         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19819         "list line 1 in include file", "list message for lines past EOF",
19820         "list function in include file", "list list0.h:foo", and
19821         "list filename:function; nonexistant function".
19822         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19823         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19824         and "ptype t_char_array" to be for native cc only.
19825
19826 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
19827
19828         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19829         setup_xfail for "print coremaker_bss", "print coremaker_ro",
19830         "print func2::coremaker_local", and "backtrace in corefile.exp".
19831
19832 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
19833
19834         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19835         "bt in signals.exp".  This problem only appears when running
19836         the testsuite, and then only intermittently.
19837
19838 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
19839
19840         * gdb.base/return.exp (return_tests): Differentiate between
19841         two tests of continuing.
19842
19843 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
19844
19845         * */Makefile.in (maintainer-clean): Remove config.log.
19846         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19847         * gdb.c++/Makefile.in (PROGS): Add inherit.
19848         (clean): Remove *.ci.
19849
19850 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
19851
19852         * gdb.c++/misc.cc: Add test code from Mike Stump.
19853         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19854
19855 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
19856
19857         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19858         to "alpha-*-osf2*" and add comment.
19859         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19860         setup_xfail for "step over execarg initialization" and
19861         "step over corearg initialization".
19862         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19863         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19864         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19865         gcc compiled for "print coremaker_bss", "print coremaker_ro",
19866         "print func2::coremaker_local", and "backtrace in corefile.exp".
19867         * gdb.base/signals.exp: Build and source signals.ci.
19868         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19869         to be for gcc only.
19870         * lib/gdb.exp: Move verbose statements outside conditionals.
19871
19872 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
19873
19874         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
19875         Feb 3 procfs.c change.
19876
19877 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
19878
19879         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19880
19881 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
19882
19883         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19884         from dejagnu's apparent default of 10 seconds, which gives random
19885         results when running the tests over NFS on moderately loaded systems.
19886         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19887
19888 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
19889
19890         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
19891         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19892         result reports.
19893
19894 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
19895
19896         * configure.in (CY_AC_PATH_TCLH): Remove.
19897         * configure: Regenerate.
19898
19899 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
19900
19901         * gdb.c++/Makefile.in (clean): Add missing '{'.
19902
19903 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
19904
19905         * lib/gdb.exp: Provide a default value for noinferior.
19906
19907         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19908         Load libgloss.exp.
19909
19910 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
19911
19912         * gdb.disasm/hppa.exp: Compile directly into an executable, use
19913         the executable, not the .o to run the tests from.
19914
19915 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
19916
19917         * gdb.base/break.exp: Don't test for program exit or exit status
19918         if $noresults if nonzero.
19919         * gdb.base/langs.exp: Likewise.
19920         * gdb.base/watchpoint.exp: Likewise.
19921
19922         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19923         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19924         trying to compile the testcase.
19925
19926 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
19927
19928         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19929         * gdb.base/signals.exp (continue to handler): Likewise.
19930
19931 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
19932
19933         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
19934
19935         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
19936
19937 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
19938
19939         * gdb.base/corefile.exp: Recognize "not found" as failure
19940         when trying to determine if a core file was generated.
19941         If no core file was generate the first time, try again without
19942         the ulimit -c to work around braindamaged shells.
19943
19944 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
19945
19946         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19947         [] tests with "test" and enclose string in quotes.
19948         * gdb.stabs/configure: Rebuild
19949
19950 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
19951
19952         Changes in sync with expect:
19953         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19954         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19955         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19956         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
19957         argument to AC_REQUIRE.
19958         * configure: Regenerated.
19959
19960 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
19961
19962         * gdb.base/corefile.exp: When generating a core, discard any
19963         error messages about ulimit not found and the "core dumped"
19964         message from the shell that runs the coredumper.
19965
19966 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
19967
19968         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19969
19970         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19971         which sed script to run.  Expect failure for v_comb test
19972         on PA targets too.
19973
19974 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
19975
19976         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19977         "print func2::coremaker_local" and for "backtrace in corefile.exp"
19978
19979 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
19980
19981         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19982         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19983         "sparc-sun-solaris*" xfails for "p v_comb".
19984         * lib/gdb.exp (default_gdb_start): Fix typo.
19985         * gdb.base/corefile.exp: Allow "Core was generated by ..."
19986         messages to not include the full program name that caused
19987         the core dump since some systems (such as solaris) apparently
19988         truncate this path to about 80 characters.
19989         When generating a core file first try increasing the core file
19990         size limit to unlimited since some systems may default it to
19991         zero, and it is harmless to try it.  Move the test for failing
19992         to generate a core file to where it will actually get executed.
19993         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19994         new gdb result from g++ debug info improvements and make old
19995         pattern obsolescent.  Also account for size_t differences
19996         (may be int or long).
19997         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19998         initialization before function call is placed in the delay slot
19999         and thus appears to be skipped over by commands such as "next".
20000
20001 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
20002
20003         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20004
20005 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
20006
20007         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20008         input source file; fix code to compile test to deal with this
20009         convention.
20010         * gdb.c++/*.exp: Likewise.
20011
20012 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
20013
20014         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20015         "bt in signals.exp".
20016
20017 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
20018
20019         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20020         "step over execarg initialization" and
20021         "step over corearg initialization".
20022
20023 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
20024
20025         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20026         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
20027
20028 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
20029
20030         From Rob Savoye  (rob@poseidon.cygnus.com)
20031         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20032         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20033         configure.in}, gdb.disasm/{Makefile.in, configure.in},
20034         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20035         configure.in}: Major reworking for autoconfig.
20036         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20037         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20038         New files.
20039         * config/unix-gdb.exp:  Make GDB global.
20040         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20041         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20042         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20043         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20044         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20045         term.exp, twice.exp, watchpoint.exp, whatis.exp},
20046         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20047         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20048         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20049         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20050         pr-8136.exp, result.exp, string.exp, tuples.exp},
20051         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20052         to returns as necessary, arrange for test to compile own testcase
20053         executable.
20054         * lib/gdb.exp: Changes for testsuite to compile own test cases.
20055
20056 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
20057
20058         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20059         clear_xfail at end of test which might not call either pass or fail.
20060         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20061         "backtrace through signal handler".
20062
20063 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20064
20065         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
20066         continuing from a job control stop signal.
20067         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
20068
20069 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
20070
20071         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20072         * gdb.base/corefile.exp: Likewise.
20073         * gdb.base/funcargs.exp: Likewise.
20074
20075 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
20076
20077         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
20078         * config/monitor.exp:  Add support for setting baud rate.
20079
20080 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
20081
20082         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20083         i*86-*-linux* xfails for "backtrace through signal handler".
20084         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20085         "print func2::coremaker_local".
20086         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20087         alpha-dec-osf2* xfail for
20088         "delete all breakpoints when none".
20089
20090 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
20091
20092         * gdb.base/break.exp: Change test that deletes all breakpoints
20093         when no user breakpoints are installed.  A post 4.15 change
20094         causes gdb to no longer prompt in this case.
20095
20096 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
20097
20098         * gdb.base/return.exp (return_tests):  Change xfail for test
20099         "correct value returned double test" to stop xfailing at
20100         Solaris 2.5.  Apparently the bug has been fixed.
20101
20102 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
20103
20104         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20105         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20106
20107 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
20108
20109         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20110         * gdb.disasm/hppa.s: Corresponding changes.
20111
20112 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
20113
20114         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20115         makefile fragment.
20116         * config/mt-hpux: Deleted.
20117
20118 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
20119
20120         * Many files: When warning about suppressed tests due to a
20121         nonexistant test binary, avoid incrementing the warning count.
20122
20123 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
20124
20125         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
20126
20127 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20128
20129         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
20130         "sparc-*-solaris2*".
20131
20132 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20133
20134         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
20135         Add global and local variables and initialize them.
20136         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
20137         by printing variables. Remove rs6000 and powerpc xfails, BFD now
20138         extracts the file name and terminating signal from the core file.
20139         * TODO:  Remove note about tests for correct mapping of corefile.
20140         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
20141         from optimizing it away.
20142         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
20143         handles common blocks.
20144
20145 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
20146
20147         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20148         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20149
20150 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
20151
20152         * Makefile.in (maintainer-clean): New target, synonym for
20153         realclean.
20154         * gdb.base/Makefile.in (maintainer-clean): Likewise.
20155         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20156         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20157         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20158         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20159         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20160
20161 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
20162
20163         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
20164         xfails when not gcc compiled for "print foo::funclocal".
20165         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20166         "print foo::funclocal at foo",
20167         "print 'scope1.c'::foo::funclocal at foo",
20168         "print foo::funclocal_bss at foo",
20169         "print 'scope1.c'::foo::funclocal_bss at foo",
20170         "print foo::funclocal_ro at foo",
20171         "print 'scope1.c'::foo::funclocal_ro at foo",
20172         "print bar::funclocal at foo" and
20173         "print 'scope1.c'::bar::funclocal at foo".
20174         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
20175         gcc compiled for "print foo::funclocal at bar".
20176         Expand all messages to ensure that they identify that
20177         the test is at bar().
20178         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20179         gcc compiled for:
20180         "ptype on opaque struct pointer (statically)",
20181         "ptype on opaque struct tagname (statically)",
20182         "ptype on opaque struct pointer (dynamically) 1",
20183         "ptype on opaque struct tagname (dynamically) 1",
20184         "ptype on opaque struct pointer (dynamically) 2" and
20185         "ptype on opaque struct tagname (dynamically) 2
20186         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20187         gcc compiled for:
20188         "p datalocal"
20189         "whatis datalocal",
20190         "ptype datalocal",
20191         "p bsslocal",
20192         "whatis bsslocal", and
20193         "ptype bsslocal".
20194         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20195         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20196         when not gcc compiled.
20197         * gdb.base/funcargs.exp (float_and_integral_args):  Add
20198         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20199         compiled.
20200         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
20201         "backtrace from call6a" when not gcc compiled.
20202         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20203         "backtrace from call7a" when not gcc compiled.
20204         * gdb.base/callfuncs.exp (do_function_calls):
20205         Add "hppa*-*-hpux*" xfail when not gcc compiled for
20206         "p t_char_array_values(char_array_val2,char_array_val1)",
20207         "p t_char_array_values(char_array_val1,char_array_val2)",
20208         "p t_char_array_values("carray 1","carray 2")",
20209         "p t_char_array_values("carray 1",char_array_val2)",
20210         "p t_char_array_values(char_array_val1,"carray 2")",
20211         "p sum_args(1,{2})",
20212         "p sum_args(2,{2,3})",
20213         "p sum_args(3,{2,3,4})",
20214         "p sum_args(4,{2,3,4,5})"
20215         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20216         "backtrace in corefile.exp" when not gcc compiled.
20217
20218 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20219
20220         * gdb.base/signals.exp:  Rewrite `handle all print' test as
20221         a procedure. Accept blanks or TABs as whitespace, increase
20222         timeout and expect input buffer size for the large output
20223         from the command. Remove "i*86-*-bsdi2.0" xfail.
20224
20225 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20226
20227         * gdb.base/setvar.exp:  Add new testcases for truncation when
20228         assigning invalid values to bitfields.
20229
20230 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
20231
20232         * gdb.base/callfuncs.exp (do_function_calls):  Remove
20233         mips-sgi-irix* xfail for
20234         "call inferior func with struct - returns char *"
20235         and fix test so that an optional (unsigned char *) cast is
20236         accepted in the result.
20237
20238 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
20239
20240         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
20241         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20242         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20243         * gdb.base/signals.exp: Remove duplicate "handle all print" test
20244         that accidentally got checked in.
20245
20246 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
20247
20248         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
20249         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20250         compiled test.
20251         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20252         Add mips-sgi-irix5* xfail for not gcc compiled.
20253         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
20254         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20255         "p top", "whatis top", "p middle", and "whatis middle".
20256         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20257         "whatis signed char" for not gcc compiled.
20258         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20259         "set variable signed char=-1 (-1)" and
20260         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20261         * gdb.base/funcargs.exp (float_and_integral_args):
20262         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20263         Add mips-sgi-irix* xfail when not gcc compiled for
20264         "continue to call2b".
20265         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20266         "continue to call2g".
20267         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20268         "backtrace from call6a"
20269         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20270         "backtrace from call7k".
20271         Add mips-sgi-irix5* xfail when not gcc compiled for
20272         "backtrace from call7a".
20273         (localvars_after_alloca):  Fix gdb_test cmds for
20274         "print * after runto ...".
20275         Remove rs6000-*-* xfails for
20276         "print i after runto localvars_after_alloca" and
20277         "print l after runto localvars_after_alloca"
20278         for all compilers.
20279         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20280         when not compiled with gcc, for:
20281         "print signed char == (minus)",
20282         "print signed char != (minus)",
20283         "print signed char < (minus)",
20284         "print signed char > (minus)".
20285         * gdb.base/callfuncs.exp (do_function_calls):
20286         Add mips-sgi-irix* xfail, when compiled with native compiler, for
20287         "call inferior func with struct - returns char *".
20288         * gdb.base/return.exp (return_tests): Change xfail for
20289         "correct value returned double test" to include Solaris 2.4.
20290         * gdb.base/funcargs.exp (float_and_integral_args):
20291         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20292
20293 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20294
20295         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
20296         enumeration bitfields if compiling with GNU C.
20297         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
20298         to empty' prompt.
20299
20300 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
20301
20302         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20303         test for PRO targets.
20304
20305         * gdb.base/funcargs.exp: Avoid ever setting more than 8
20306         breakpoints in the inferior at any given time by making
20307         two groups of breakpoints for call2*, call6* and call7*
20308         tests.
20309
20310 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20311
20312         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
20313         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
20314         from optimizing it away.
20315         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
20316         "call inferior func with struct".
20317
20318 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
20319
20320         * configure.in: Only configure gdb.chill for particular targets.
20321
20322 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
20323
20324         * gdb.base/Makefile.in:  Add action to .c.o transformation
20325         rule that generates a .ci file for each .o file and remove
20326         explicit .c.o rules except for callfuncs.o.
20327         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
20328         generates a .ci file for each .o file and remove explicit
20329         .cc.o rules.
20330         (clean): Remove *.tmp *.ci files.
20331         (EXECUTABLES): Remove templ-info.exp.
20332         * gdb.base/compiler.c: New file.
20333         * gdb.c++/compiler.cc: New file
20334         * gdb.base/scope.exp: Source gdb.base/scope.ci.
20335         Change rs6000-*-* xfail for
20336         "print 'scope0.c'::filelocal_ro" and
20337         "print 'scope1.c'::filelocal" and
20338         "print 'scope1.c'::filelocal_bss" and
20339         "print 'scope1.c'::filelocal_ro" and
20340         "print 'scope1.c'::foo::funclocal" and
20341         "print 'scope1.c'::foo::funclocal_ro" and
20342         "print 'scope1.c'::bar::funclocal" and
20343         "print 'scope0.c'::filelocal_ro" and
20344         "print 'scope1.c'::filelocal at foo" and
20345         "print 'scope1.c'::filelocal_bss at foo" and
20346         "print 'scope1.c'::filelocal_ro at foo" and
20347         "print 'scope1.c'::foo::funclocal at foo" and
20348         "print 'scope1.c'::foo::funclocal_bss at foo" and
20349         "print 'scope1.c'::foo::funclocal_ro at foo" and
20350         "print 'scope1.c'::bar::funclocal at foo" and
20351         "print 'scope0.c'::filelocal_ro" and
20352         "print 'scope1.c'::filelocal" and
20353         "print 'scope1.c'::filelocal_bss" and
20354         "print 'scope1.c'::filelocal_ro" and
20355         "print 'scope1.c'::foo::funclocal" and
20356         "print 'scope1.c'::foo::funclocal_bss" and
20357         "print 'scope1.c'::foo::funclocal_ro" and
20358         "print 'scope1.c'::bar::funclocal" and
20359         "print 'scope1.c'::bar::funclocal_bss"
20360         to only be xfail'd when not compiled with gcc.
20361         Add rs6000-*-* xfail for
20362         "print 'scope0.c'::filelocal_bss before run"
20363         when compiled with gcc.
20364         (test_at_main): Add rs6000-*-* xfail for
20365         "print filelocal_ro in test_at_main"
20366         when compiled with gcc.
20367         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20368         Add rs6000-*-aix* xfail for
20369         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20370         "ptype t_char_array",  not compiled with gcc.
20371         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
20372         xfail for "list foo (in include file)" when gcc compiled.
20373         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20374         (integral_args): Add rs6000-*-* xfail for
20375         "run to call0a" if not compiled with gcc.
20376         (unsigned_integral_args): Add rs6000-*-* xfail for
20377         "run to call1a" if not compiled with gcc.
20378         (float_and_integral_args):  Add rs6000-*-* xfail for
20379         "run to call2a" if not compiled with gcc and for
20380         "continue to call2b" for any compiler.
20381         Add rs6000-*-* xfail to
20382         "print f1 after run to call2a" for gcc compiled.
20383         (discard_and_shuffle): Add rs6000-*-* xfail for
20384         "run to call6a".
20385         (shuffle_round_robin): Add rs6000-*-* xfail for
20386         "backtrace from call7a" if not compiled with gcc.
20387         Add rs6000-*-* xfail for
20388         "backtrace from call7b" if compiled with gcc.
20389         (call_after_alloca): Add rs6000-*-* xfail for
20390         "print c in call_after_alloca" and
20391         "print s in call_after_alloca" and
20392         "backtrace from call_after_alloca_subr"
20393         if not compiled with gcc.
20394         (localvars_in_indirect_call): Add rs6000-*-* xfail for
20395         "print c in localvars_in_indirect_call" and
20396         "print c in localvars_in_indirect_call" and
20397         "backtrace in indirectly called function" and
20398         "stepping into indirectly called function"
20399         if not compiled with gcc.
20400         (localvars_after_alloca): Add rs6000-*-* xfail for
20401         "print c after runto localvars_after_alloca" and
20402         "print s after runto localvars_after_alloca" and
20403         "print i after runto localvars_after_alloca" and
20404         "print l after runto localvars_after_alloca"
20405         for all compilers.
20406         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20407         than whatis-info.exp.
20408         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20409         than opaque-info.exp.
20410         Setup rs6000-*-* xfail for
20411         "ptype on opaque struct pointer (statically)" and
20412         "ptype on opaque struct pointer (dynamically)" when
20413         not compiled with gcc.
20414         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20415         rather than callf-info.exp.
20416         (do_function_calls):  Add clear_xfail for rs6000-*-* for
20417         "p t_float_values2(3.14159,float_val2)".  Seems to work
20418         fine there, both with xlc and gcc.  Need to find out what
20419         it is doing right and fix other platforms.
20420         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20421         "call inferior func with struct - returns int",
20422         "call inferior func with struct - returns long",
20423         "call inferior func with struct - returns float",
20424         "call inferior func with struct - returns double",
20425         "call inferior func with struct - returns char *",
20426         but only if not gcc compiled (presumes xlc compiled).
20427         Change rs6000-*-* xfails for
20428         "call inferior func with struct - returns char" and
20429         " call inferior func with struct -  returns short" to only
20430         xfail if not using gcc.
20431         (clean mostlyclean):  Remove *.ci and *.tmp files.
20432         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20433         than templ-info.exp.
20434         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
20435         Add rs6000-*-* xfail for "up to foo in langs.exp"
20436         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20437         when not gcc compiled.
20438
20439 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
20440
20441         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20442         * gdb.base/corefile.exp: Likewise.
20443         * gdb.base/list.exp: Likewise.
20444         * gdb.base/scope.exp: Likewise.
20445         * gdb.base/siganls.exp: Likewise.
20446
20447         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
20448         compiler output.
20449         * gdb.base/whatis.exp: Likewise.
20450
20451 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
20452
20453         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20454         failure (opcode table has been fixed to match reality).
20455
20456 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
20457
20458         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20459         "call inferior func with struct - returns char",
20460         "call inferior func with struct - returns short"
20461
20462         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20463         "print 'scope0.c'::filelocal at main",
20464         "print 'scope0.c'::filelocal_bss in test_at_main",
20465         "print 'scope0.c'::filelocal at foo",
20466         "print 'scope0.c'::filelocal_bss in test_at_foo",
20467         "print 'scope0.c'::filelocal at bar",
20468         "print 'scope0.c'::filelocal_bss in test_at_bar"
20469
20470         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20471         in source file 1".  This bug seems to have been fixed with both
20472         gcc and native cc (was native assembler bug?).
20473
20474 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
20475
20476         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20477         "backtrace through signal handler" to "i*86-*-sysv4*".
20478         * gdb.base/signals.exp: Add xfail for "'next' behaved as
20479         continue" case.  Add "known SVR4 bug" to fail message.
20480         Add "i*86-*-bsdi2.0" xfail for "handle all print".
20481         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20482         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20483         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20484         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20485         "up to foo in langs.exp", "show language at foo in
20486         langs.exp", "up to cppsub_ in langs.exp", "show
20487         language at cppsub_ in langs.exp", "up to fsub in
20488         langs.exp", and "show language at fsub in langs.exp".
20489         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20490         "bactrace in corefile.exp".
20491         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20492         "call inferior function with struct - returns float" and
20493         "call inferior function with struct - returns double".
20494
20495 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
20496
20497         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20498         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20499         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20500         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20501
20502 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
20503
20504         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20505         (or overriden) "CHILL" macro rather then bare "gcc".
20506         Also look for ../../gcc/xgcc since that is what we will
20507         actually need, not "Makefile".  Remove following assignment
20508         of CHILL to CHILL_FOR_TARGET because that results in
20509         recursive definition.
20510
20511 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
20512
20513         * gdb.base/corefile.exp:  Change xfail for backtrace in
20514         corefile.exp from linuxaout to all linux.
20515         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
20516         cases where we miss the breakpoint at the signal handler
20517         for some reason.  Setup xfail for linuxoldld/linuxaout and
20518         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
20519         hitting SIGURG breakpoint.
20520         * gdb.base/signals.exp:  Setup xfail for "next" acting like
20521         continue to add linuxoldld.  Setup xfail for all linux for
20522         "next to handler in signals_tests_1", "backtrace in
20523         signals_tests_1", "continue to func1", "pass SIGUSR1",
20524         and continue to handler".
20525
20526 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
20527
20528         * Update all FSF addresses except those in COPYING* files.
20529
20530 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
20531
20532         * gdb.base/a2-run.exp: Change messages to be more explicit about
20533         the status of args, and quote binfile in results.
20534
20535 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
20536
20537         * gdb.base/callfuncs.exp: Add tests for passing structs to
20538         inferior functions and return various types.
20539         * gdb.base/callfuncs.c: Add functions to receive a struct
20540         and return a member of the struct, in various types.
20541
20542 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20543
20544         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
20545
20546 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
20547
20548         * config/vxworks29k.exp: New file, sources vxworks.exp.
20549
20550 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
20551
20552         * config/gdbremote.exp: New file.  Testing framework using
20553         gdbserver.
20554
20555 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
20556
20557         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20558         "call function when asleep" and "send end of file".
20559         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20560         for "backtrace in corefile.exp".
20561         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20562         for "backtrace through signal handler".
20563         * gdb.base/corefile.exp: Make sure we actually generate a core file
20564         before trying the core tests.  Some systems allow the user to suppress
20565         generation of core files and default to that (linux for example).
20566         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20567         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
20568
20569 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
20570
20571         * gdb.threads: New directory with some crude multi-threaded
20572         gdb tests (step.exp and step2.exp).
20573         * config/mt-lynx (STEP_EXECUTABLE): Define.
20574         (THREADFLAGS): Define.
20575
20576 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
20577
20578         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20579
20580         * gdb.base/signals.exp: Disable whole file for lynx until
20581         further notice.
20582
20583         * gdb.base/signals.exp: xfail test where "next" acts like
20584         "continue" for lynx.
20585
20586         * gdb.base/interrupt.exp: xfail test for calling function while
20587         inferior is asleep for lynx.
20588
20589         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20590         than one cr-lf  after each command.
20591
20592 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20593
20594         * configure.in:  Reinstate setting of stabsdirs variable, fix
20595         typo in setting up configdirs for native builds.
20596
20597         * gdb.base/return.exp:  Fix typo in return double test.
20598         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
20599         compiler from optimizing them away.
20600
20601 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
20602
20603         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20604         sequences to be echo'd by gdb when using gdb_test.
20605         * gdb.chill/chexp.exp: Likewise.
20606         * gdb.fortran/exprs.exp: Likewise
20607
20608 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
20609
20610         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20611         after the inferior gdb has started.
20612
20613         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20614         after each command.
20615         * gdb.base/funcargs.exp: Likewise.
20616         * gdb.base/gdbvars.exp: Likewise.
20617         * gdb.base/interrupt.exp: Likewise.
20618         * gdb.base/list.exp: Likewise.
20619         * gdb.base/watchpoint.exp: Likewise.
20620         * gdb.c++/demangle.exp: Likewise.
20621         * gdb.c++/inherit.exp: Likewise.
20622         * gdb.chill/chexp.exp: Likewise.
20623         * gdb.fortran/exprs.exp: Likewise.
20624
20625         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20626         test if we can't handle IO to/from the inferior.
20627
20628         * gdb.c++/misc.exp: Always check for a program already being
20629         started after sending a "run" command to gdb.
20630
20631         * gdb.base/twice.exp: Start with a fresh gdb.
20632
20633         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20634         only depend on gdb's expression code, not the chill runtime.
20635
20636         * gdb.base/return.c: Put return values into variables so we
20637         can have gdb print them rather than depending on the program
20638         to print them.
20639         * gdb.base/return.exp: Corresponding changes.
20640
20641         * lib/gdb.exp: Provide default value for noinferiorio.
20642         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20643         the inferior.
20644
20645         * gdb.base/break.exp: Always check for a program already being
20646         started after sending a "run" command to gdb.
20647         (text_next_with_recursion): Don't check the output from the
20648         program's printf statement.  Instead just make sure the program
20649         exited.
20650
20651         * gdb.base/commands.exp: Protect tests which need arguments with
20652         $noargs conditionals.
20653
20654 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20655
20656         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
20657         of structure member arrays to match gdb/valops.c:value_addr change.
20658
20659 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
20660
20661         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20662         cases.
20663
20664 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
20665
20666         * configure.in (configdirs):  Remove gdb.chill from default list
20667         of subdirs and then add it back in only if doing a native build.
20668         The current chill compiler does not yet work in any cross build.
20669         * Revert all signal changes from Jul 6.
20670         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
20671         for sh-hms targets, allowing these tests to link, with no other
20672         changes.  Testing is suppressed by setting "nosignals" in site.exp.
20673
20674 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
20675
20676         * configure.in (signaldirs): Define and add to configdirs for all
20677         targets except some specific ones that are known to not support signals.
20678         Also clean up formatting.
20679         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
20680         (signals, sigall):  Remove rules to build.
20681         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20682         Moved to new gdb.signals directory.
20683         * gdb.signals: New test directory.
20684         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20685         signals.c signals.exp}:  New or moved files.
20686
20687 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
20688
20689         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20690
20691 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
20692
20693         * gdb.base/return.exp:  Xfail `return double' test failure
20694         on at least Solaris 2.3 and handle future/past versions on
20695         a case by case basis as appropriate.  Also update message
20696         to include i*86 failures.
20697
20698 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20699
20700         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20701
20702         * lib/gdb.exp: Fix comment which erroneously identified
20703         gdb_file_cmd as gdb_load (the 19 May change was in fact to
20704         gdb_file_cmd not gdb_load).
20705         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20706
20707         * gdb.base/setvar.exp: Make test names consistent between pass and
20708         fail cases.  Use gdb_test more.
20709
20710 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20711
20712         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20713
20714 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20715
20716         * gdb.base/help.exp:  Fix expected help string for `show commands'.
20717
20718 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
20719
20720         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20721
20722         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20723         of a text section.
20724
20725 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
20726
20727         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
20728         that loop eventually terminates.  Fix Connection refused logic so
20729         that testsuite will expire nicely.
20730
20731 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
20732
20733         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20734         config/rom68k.exp:  New tcl glue for the appropriate monitors.
20735         These all just end up calling monitor.exp.
20736         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
20737         refused' by retrying.  Cleanup some timeout issues.
20738         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
20739         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
20740         callers don't have to set/restore global timeout variable.
20741
20742         * The following set of changes centralizes management of the global
20743         timeout variable.  This way, it can be set in one target dependent
20744         place instead of dozens of places scattered throughout the test suite.
20745         If you need to lengthen a timeout, then you should either set timeout
20746         in one of the config/{target}.exp files, or multiply it by a factor.
20747         Setting it to an absolute value is always going to lose for some
20748         targets.
20749         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
20750         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
20751         * gdb.base/funcargs.exp:  Don't set timeout.
20752         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
20753         * gdb.base/printcmds.exp (test_print_string_constants
20754         test_print_array_constants):  Don't set timeout.
20755         * gdb.base/ptype.exp:  Don't set timeout.
20756         * gdb.base/recurse.exp:  Don't set timeout.
20757         * gdb.base/return.exp:  Don't set timeout.
20758         * gdb.base/watchpoint.exp:  Don't set timeout.
20759         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
20760         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
20761
20762 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
20763
20764         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20765
20766 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20767
20768         * lib/gdb.exp: Disable chill tests for irix5.
20769
20770 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20771
20772         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
20773         each test pass or fail.
20774
20775 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20776
20777         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20778         xlc not gcc.
20779
20780 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
20781
20782         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
20783
20784 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
20785
20786         * config/est.exp:  Fix copyright and comments.  Remove dead code.
20787         Use targetname, serialport and baud variables instead of fixed
20788         constants.
20789         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
20790         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
20791
20792 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20793
20794         * gdb.base/watchpoint.exp: Don't run
20795         test_watchpoint_triggered_in_syscall for sunos.
20796
20797 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20798
20799         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20800         they don't seem to exist.  Do include stdio.h.
20801
20802 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20803
20804         * gdb.base/a1-selftest.exp: Add alpha xfail.
20805
20806 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20807
20808         * gdb.base/watchpoint.c (main): Prompt before calling read().
20809         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20810         Revise accordingly.  Remove cruft about sending "123" several
20811         times, until it gets noticed.  Clean up the "print buf[0]" stuff
20812         so that it passes or fails, and waits for prompts in the usual way.
20813
20814 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20815
20816         * gdb.base/recurse.exp: Fix comment.
20817
20818         * TODO: Remove item about printing variables in nodebug.exp.  Add
20819         item about enabling tests which are only run on some targets.
20820
20821         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20822         fail, make test names unique, use new gdb_test convention
20823         regarding pattern, use gdb_test more, etc.).
20824
20825         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20826         fail, make test names unique, etc.).
20827
20828 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20829
20830         * gdb.base/nodebug.c:  Change return type of top and middle to
20831         short.
20832         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
20833         are fixed by the recent mdebugread.c changes. Allow `short ()'
20834         as type for top and middle.
20835
20836 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20837
20838         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
20839         nearly as I can tell, the whole thing was an accident in Stu's
20840         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20841         to replace a send/expect pair with gdb_test, but ended up only
20842         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
20843         of 30 Mar 1995 took care of it, but left this vestigial comment
20844         which I am now nuking.
20845
20846 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20847
20848         * gdb.base/break.exp: Look for different line number for
20849         breakpoint at main depending on usestubs.
20850
20851 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20852
20853         * gdb.base/list.exp:  Adjust some alternate expect patterns to
20854         match recent list0.c change. Add alternate expect pattern for
20855         output from `list default lines around main' for optimizing
20856         compilers.
20857
20858 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20859
20860         * lib/gdb.exp: If nosignals is not set, set it to 0.
20861
20862 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
20863
20864         * config/slite-gdb.exp: Responds to load symbol table prompt.
20865         * gdb.base/break.exp: Adjust line number, fix rerun.
20866         * gdb.base/langs0.c: Add #ifdef usestubs.
20867
20868 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
20869
20870         * gdb.base/list.exp: Adjust line contents after adding new lines in
20871         list0.c. Also fix a syntax error.
20872
20873         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20874         * gdb.base/break.exp: ditto.
20875         * gdb.base/list.exp: ditto.
20876         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20877         * gdb.base/run.c: ditto.
20878         * gdb.base/list0.c: ditto.
20879         * gdb.base/funcargs.c: ditto.
20880
20881 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
20882
20883         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
20884         $targetname, $serialport and $baud instead of hardwired variables.
20885         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
20886         target doesn't support signals.
20887
20888 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
20889
20890         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20891
20892 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20893
20894         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
20895         Don't rely on the value of an auto variable before it has been
20896         initialized.  Use gdb_test more.
20897
20898 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20899
20900         * lib/gdb.exp (default_gdb_version): A version number must start
20901         with a digit, but other than that contains all characters up to
20902         the first whitespace character.
20903
20904 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20905
20906         * gdb.base/commands.exp (breakpoint_command_test): New tests.
20907
20908 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20909
20910         * gdb.c++/*.exp: Warn if executable does not exist.  The original
20911         reason for skipping the warning was that configure.in sometimes
20912         intentionally skipped building the executables but the tcl code
20913         had no way of knowing.  That (a) was always bogus with respect to
20914         error handling, (b) is no longer true (right now there is no way
20915         to skip C++ tests).
20916
20917         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20918
20919 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
20920
20921         * gdb.base/list.exp:  Add expect patterns for output from
20922         SunPRO compiled executables.
20923         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
20924         types.
20925
20926 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20927
20928         * gdb.base/break.exp (test_next_with_recursion): Accept any line
20929         number (we are already testing that the correct source line text
20930         gets printed).
20931
20932         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
20933         that is what is intended, but something needed to be done to get
20934         sunos4 native working again.
20935
20936         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20937
20938         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20939         apparently went with a (very) old xfail.
20940
20941 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
20942
20943         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20944         runto_main is a proc in gdb.exp that will do 'step' for target use
20945         stubs.
20946         * gdb.base/exprs.exp: ditto.
20947         * gdb.base/interrupt.exp: ditto.
20948         * gdb.base/opaque.exp: ditto.
20949         * gdb.base/printcmds.exp: ditto.
20950         * gdb.base/ptype.exp: ditto.
20951         * gdb.base/scope.exp: ditto.
20952         * gdb.base/setvar.exp: ditto.
20953         * gdb.base/signals.exp: ditto.
20954         * gdb.base/twice.exp: ditto.
20955         * gdb.c++/classes.exp: ditto.
20956         * gdb.c++/inherit.exp: ditto.
20957         * gdb.c++/templates.exp: ditto.
20958         * gdb.base/break.exp: no run and hit main for stubs. Change line
20959         numbers for breakpoints and info breakpoint.
20960         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20961         breakpoint().
20962         * gdb.base/callfuncs.c: ditto.
20963         * gdb.base/exprs: ditto.
20964         * gdb.base/interrupt.c: ditto.
20965         * gdb.base/opaque0.c: ditto.
20966         * gdb.base/printcmds.c: ditto.
20967         * gdb.base/ptype.c: ditto.
20968         * gdb.base/scope0.c: ditto.
20969         * gdb.base/setvar.c: ditto.
20970         * gdb.base/signals.c: ditto.
20971         * gdb.base/twice.c: ditto.
20972         * gdb.c++/misc.cc: ditto.
20973         * gdb.c++/templates.cc: ditto.
20974
20975 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20976
20977         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20978
20979         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20980         somewhere between `read' and `main.c'.  I'm pretty sure the
20981         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20982         and it isn't particularly useful.
20983
20984         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
20985
20986 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
20987
20988         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20989
20990 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
20991
20992         * config/mt-slite: add LIBS and -nostdlib.
20993         * config/slite-gdb.exp: add this new file to support sparclite target.
20994
20995 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
20996
20997         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20998
20999         * gdb.base/a2-run.exp: Change argument to istarget from
21000         "*-*-vxworks" to "*-*-vxworks*".
21001         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21002
21003 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
21004
21005         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21006         will not runto main but do a 'step' to step out of breakpoint().
21007         * config/mt-slite: add -Dusestubs.
21008
21009 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21010
21011         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21012         instead of just @.
21013
21014         * gdb.base/signals.exp: Add test for "handle all print".
21015         * TODO: Remove "handle all print".  Also remove item about
21016         checking copyright date (I don't like the idea of a spurious FAIL
21017         based on when we run the tests).
21018
21019         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
21020         for SunOS4 (reason for failure not investigated).  Remove
21021         redundant test for $binfile.
21022
21023         * gdb.base/nodebug.c (array_index): Call malloc.
21024
21025         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21026
21027 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
21028
21029         * gdb.base/recurse.exp: Update gdb_test invocation to use new
21030         conventions and slightly simplify the matching regexp.
21031
21032 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21033
21034         * gdb.base/break.exp: Update gdb_test invocation to use new
21035         convention.
21036
21037         * lib/gdb.exp: If noargs is not set, set it to 0.
21038
21039         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
21040         tests unique.
21041
21042         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21043
21044 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21045
21046         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21047         one argument of type "<non-float parameter>".
21048
21049 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
21050
21051         * config/rom68k.exp:  New file to support Motorola IDP board.
21052         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
21053         * gdb.base/break.c:  Change things around so that this program
21054         doesn't depend upon args.  This is necessary to make remote
21055         targets work (in general, they can't take args).
21056         * gdb.base/break.exp:  Don't try to send args to program.  Don't
21057         expect output.  Also, replace lots of code with gdb_test.
21058
21059 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21060
21061         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21062         printing of '\'' (which is what the comment says we are testing,
21063         even though we were not), not '''.
21064         (test_integer_literals_rejected): Test that printing ''' is an error.
21065
21066         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21067         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21068         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21069         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21070         Use gdb_test not test_print_accept.
21071         * lib/gdb.exp: Remove test_print_accept.
21072
21073         * gdb.base/signals.exp (signal_tests_1): Make pass message
21074         consistent with fail message.
21075
21076         * gdb.base/whatis.exp: Remove xfails for printing char vs.
21077         unsigned char; the bug (PR 1821) is fixed.
21078
21079         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21080
21081         * gdb.base/scope.exp (test_at_localscopes): Call pass for
21082         successful tests--makes xfailing them work right.
21083
21084 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21085
21086         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21087         only \r\n, not .*.  The test can pass .* as the last thing in
21088         $pattern if that is what it wants.  In addition to providing this
21089         flexibility, this change should speed up pattern matching in cases
21090         where the pattern already ended with .* (there were a number of
21091         them).  This change also helps catch bad patterns--in the old
21092         scheme the typo "char \*" instead of "char \\*" would pass.  Now
21093         it is caught.
21094         * Many .exp files: Update callers.
21095
21096         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
21097         clearer and does not spuriously match multiple ('s.  Likewise for
21098         ) and *.
21099
21100         * gdb.base/nodebug.exp: Test ability to call a function and pass
21101         it a string (even with no debugging info).
21102
21103         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21104         "p '\'", which is the same as "p ''" once tcl gets done with
21105         quoting, to "p '\\'", which I suspect is what is intended (one
21106         backslash gets sent to GDB).
21107
21108         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21109
21110 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21111
21112         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
21113         1817) was fixed literally years ago.
21114
21115 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21116
21117         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
21118         test, it causes stepping out of call_after_alloca_subr with
21119         optimizing compilers.
21120         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
21121         fails.
21122
21123         * gdb.c++/templates.exp:  Source templ-info.exp only if
21124         the templates executable exists.
21125
21126         * gdb.c++/misc.cc (class Contains_static_instance,
21127         class Contains_nested_static_instance),
21128         gdb.c++/classes.exp (test_static_members):  Test printing of
21129         a class that contains a static instance of the class.
21130
21131 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21132
21133         * gdb.base/langs2.c (cppsub_): Don't prototype.
21134         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21135         only, I believe).
21136
21137 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21138
21139         * lib/gdb.exp (skip_chill_tests): New procedure.
21140
21141         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21142
21143 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
21144
21145         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21146         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
21147
21148 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21149
21150         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21151
21152         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21153         disassemble 8, not 16, instructions for part 4.
21154
21155         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
21156         support the latter anymore.
21157
21158         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21159         -DNO_PROTOTYPES.
21160         * gdb.base/callfuncs.c: Control use of prototypes based on
21161         NO_PROTOTYPES, not __STDC__.
21162         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21163         t_float_values2 tests if prototypes in use.
21164
21165         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21166         t_double_values):  When checking differences against DELTA, check
21167         that difference is within the range (-DELTA,DELTA), not just
21168         (-infinity,DELTA).
21169
21170 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
21171
21172         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21173         'file' command firts, then 'target', then 'load', this is due to gdb
21174         target set up.
21175         * config/mips-gdb.exp: Fix a couple regular exp bugs.
21176
21177 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
21178
21179         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21180         FP load/store variants.
21181         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21182
21183 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
21184
21185         * gdb.base/term.exp: Do not give a warning if not native, it is
21186         not an abnormal condition.
21187
21188 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
21189
21190         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21191         t_char_array".
21192
21193 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
21194
21195         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21196         are getting the version number.
21197
21198         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21199         if not native, it is not an abnormal condition.
21200
21201 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21202
21203         * lib/gdb.exp: Just use "file exists", rather than undocumented
21204         dejagnu procedure "findfile".
21205
21206 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
21207
21208         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21209           (LDFLAGS): Set to -Xlinker -Ur.
21210
21211         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21212           Removed, these values are set by lib/gdb.exp.
21213
21214         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21215
21216 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
21217
21218         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21219           of replicating gdb startup code.
21220
21221         * config/mt-vxworks (LDFLAGS): Set to -r.
21222           (CFLAGS_FOR_TARGET): Removed.
21223
21224         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21225           (gdb) and gdb for vxworks uses (vxgdb).
21226
21227         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21228           executable is not in the tree and host != target, use sed and
21229           program_transform_name to determine the gdb name used by the
21230           target.
21231
21232         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21233           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21234
21235 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21236
21237         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21238         floats, chars, and shorts where there are ANSI-style function
21239         definitions.
21240
21241         * gdb.base/langs.exp, gdb.base/langs*: New test.
21242         * gdb.base/Makefile.in: Build it.
21243         * TODO: Remove item about checking that C names don't get C++
21244         demangling applied; this test tests it.
21245
21246 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21247
21248         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21249         went with the const70 xfail.  The xfail went away a year ago.
21250
21251         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21252
21253         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
21254         for hp300.
21255
21256         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21257
21258         * gdb.base/a1-selftest.exp: Don't run on hp300.
21259
21260 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21261
21262         * Makefile.in (site.exp): Set host_alias and target_alias as well
21263         as host_triplet and target_triplet.
21264
21265 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21266
21267         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21268
21269         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21270         places as other ecoff systems).
21271
21272         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21273         ultrix.
21274
21275 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21276
21277         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21278         remove them.
21279         * gdb.base/nodebug.exp: Accept "function" in addition to "text
21280         variable and "variable" in addition to "data variable".
21281         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21282
21283         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21284         2.
21285         * gdb.base/list1.c (long_line): Add additional statement at start
21286         of function.
21287         * gdb.base/list.exp (test_forward_search): Update line number to
21288         reflect new statement.
21289
21290 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21291
21292         * gdb.base/signals.exp:  Reinitialize searched source directories
21293         after gdb_start call.
21294
21295 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
21296
21297         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21298         * gdb.stabs/Makefile.in: Likewise.
21299
21300         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21301         change.  Instead split the tests into smaller pieces.
21302         * gdb.disasm/hppa.s: Corresponding changes.
21303
21304 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21305
21306         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21307         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
21308
21309         * gdb.base/funcargs.exp: Modify many tests so that every test
21310         either passes or fails.  Make some test names unique.
21311
21312 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21313
21314         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21315         Call stty to set interrupt character.
21316
21317         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21318         for HP assembler versus GNU assembler based on actual behavior of
21319         $(CC), rather than assuming that $(AS) is always the GNU assembler.
21320
21321         * TODO: Suggest a few more stepping tests.
21322
21323 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
21324
21325         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21326         restart GDB for h8300 after a continue.
21327         (return): Add pattern to match a29k-udi behavior.
21328         * gdb.base/nodebug.exp: Remove obsolete comment.
21329         * gdb.base/regs.exp: New file, testing of register displays.
21330         * gdb.base/return.exp: Fix typo in reference to $objdir.
21331         * gdb.base/whatis.exp: Always start with a fresh GDB.
21332
21333 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21334
21335         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21336         higher, these tests generate a lot of output.
21337
21338 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21339
21340         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
21341         code following the catch silently ignored some errors; without the
21342         catch they should be thrown like any other tcl error.  Also, the
21343         catch used "" instead of {} which meant all the callers who wanted
21344         to include one of the characters "[]$ had to quote it an extra time.
21345         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21346         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21347         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21348         Remove extra quoting.
21349
21350 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
21351
21352         * gdb.base/commands.exp: Make test names unique; every test either
21353         passes or fails.  Update some comments.
21354
21355         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21356
21357 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21358
21359         The following fixes a FAIL caused by the fact that the alpha stabs
21360         configuration didn't use the ".if alpha" code in weird.def.
21361         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21362         bit pointer, so the 32 bit version works even on the alpha.
21363         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21364         Remove the stuff which allowed us to have separate versions for
21365         alpha and everything else.
21366
21367         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21368         regexp which "info func operator\[\](" is supposed to match.  Fix
21369         string to send to GDB.  Note that GDB still doesn't work right.  Add a
21370         new test for "info func .perator\[\](" which GDB does handle correctly.
21371
21372         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21373
21374 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21375
21376         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21377         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21378         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21379         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21380         it makes the tests harder to understand and confuses test-o-matic.
21381         The preferred style is that each test provides a PASS or a FAIL,
21382         and has a unique message (e.g. "continue #54" not just "continue")
21383         which is the same for the pass and the fail.
21384         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21385         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21386         to lib/gdb.exp.
21387         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
21388         prt_accept which was basically the same thing.  Likewise for
21389         test_print_reject and prt_reject.
21390         * lib/gdb.exp (test_print_reject): Add some more error message
21391         patterns to match from the former printcmds.exp (prt_reject).
21392         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21393         One defect of the passcount stuff is that some of it failed to
21394         report XPASS where appropriate.
21395         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21396         stuff before and after arg in expected pattern.
21397         (test_paddr_operator_functions): Re-do test without print_addr_of;
21398         this is the only test which seems to want extra stuff there.
21399
21400 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21401
21402         * gdb.base/nodebug.exp: Update new tests to reflect improved
21403         wording of gdb output.
21404
21405         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21406         and "ptype" work on variables in files compiled without -g.
21407         Replaces commented out "maint print msymbol" tests.
21408
21409 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21410
21411         * gdb.base/setvar.c (dummy): Call malloc.
21412
21413         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21414         losing with the irix4 sed.
21415
21416         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21417         ALRM" on irix4.
21418
21419 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21420
21421         * TODO: Remove items about corefile.exp testing new exec-file and
21422         backtrace; both are now done.  Add items about printing enums.
21423
21424 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21425
21426         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21427         "get signal $thissig" test fails.
21428
21429         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21430
21431 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21432
21433         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21434         compiler warning with dec alpha compiler.
21435
21436         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21437         extra \n from gdb_test call (this explains why the prompt test
21438         that I removed yesterday was there).
21439         (user_defined_command_test): Remove extra \n and prompt test.
21440
21441         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21442         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21443         doesn't exist.
21444         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21445         Also remove alpha workaround, which turns out to be because
21446         SIGABRT == SIGLOST.
21447
21448         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21449
21450         * gdb.base/help.exp: Don't test "help show".
21451
21452 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21453
21454         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21455         "set print address" is on.
21456         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21457         pass prompt to gdb_test; gdb_test already looks for the prompt.
21458
21459         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21460
21461         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
21462         was a vestige of the manual TESTSTRATEGY, and the purpose of it
21463         was to make sure that gdb can read a core file.  But (a) the "read
21464         the corefile" part didn't make it to a1-selftest.exp, we just
21465         delete the corefile after creating it, and (b) we test reading
21466         corefiles in corefile.exp anyway.  Also, this test left around a
21467         xgdb process on Solaris.
21468
21469         * gdb.base/corefile.exp: Also test backtrace.
21470
21471 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
21472
21473         * gdb.base/commands.exp: Test a simple user defined command with
21474         arguments and if/while statements; verify the full user command is
21475         printed by "show user".
21476
21477         * gdb.base/commands.exp: Test if/while commands as part of a
21478         breakpoint command list; verify they appear in breakpoint
21479         information.
21480
21481 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21482
21483         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21484         than by dividing by zero.
21485
21486 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
21487
21488         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21489         performing an inferior call with watchpoints enabled.
21490         * gdb.base/watchpoint.c (main): Delete second unnecessary read
21491         call.
21492
21493 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21494
21495         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21496         of "file" command.
21497
21498         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21499         Add additional pattern for when "int operator int(void);" appears
21500         in a different order.
21501
21502 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
21503
21504         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21505
21506         * gdb.base/help.exp: Replace most of docstrings for "info signals"
21507         and "signal" with ".*".
21508
21509 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
21510
21511         * TODO: Add note about "handle all nostop".
21512
21513         * gdb.base/{sigall.c, sigall.exp}: New test.
21514         * gdb.base/Makefile.in: Add it.
21515
21516 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
21517
21518         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21519         when invoking GDB, suppresses any windowing interface.
21520
21521 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
21522
21523         * config/sim-gdb: New file, simulator testing support.
21524
21525 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
21526
21527         * gdb.base/interrupt.exp: Test calling func1 twice.
21528
21529 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
21530
21531         * gdb.base/list.exp (test_forward_search): Set timeout higher
21532         when we'll be getting lots of output from gdb.
21533
21534         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21535         "init_malloc" to after the expect statement.  Run it if that
21536         regexp is taken, but also for two others which happen if source
21537         cannot be found.
21538
21539 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
21540
21541         * gdb.base/printcmds.exp: New test, for printing register before
21542         program is running.
21543
21544 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21545
21546         * gdb.base/list.exp:  Correct some alternate expect patterns
21547         to reflect changes in list1.c.
21548
21549 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
21550
21551         * TODO: Add item regarding large frames.
21552
21553         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21554
21555         * TODO: Remove item about enabling return.exp; it
21556         is enabled.  Suggest a few more "return" tests.
21557
21558 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21559
21560         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
21561         anonymous unions.
21562
21563 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
21564
21565         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21566         and pr-5646.o, so "make" is the same as "make all", not "make
21567         pr-4975.o".
21568
21569 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
21570
21571         * gdb.base/list.exp: Adjust expectations to reflect changes in
21572         list1.c.
21573         (test_forward_search): New test proc.
21574         * gdb.base/list1.c (long_line): New function, has long source line.
21575
21576 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
21577
21578         * gdb.base/a1-selftest.exp: Change initial stepping to know about
21579         additional line of code that was added.
21580
21581 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
21582
21583         * gdb.disasm/hppa.s: Break the large branching tests into smaller
21584         tests so as not to overflow expect's input buffers.
21585         * gdb.disasm/hppa.exp: Corresponding changes.
21586
21587 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21588
21589         Beginnings of template debugging tests.
21590         * gdb.c++/templ-info.cc:  New file to test for template
21591         debugging capability of the compiler.
21592         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
21593         templ-info.cc.
21594         * gdb.c++/templates.cc:  Add explicit template instantiations
21595         to enable compiling with -fno-implicit-templates. Add destructor
21596         and 'value' method to T5 class for template tests.
21597         * gdb.c++/templates.exp:  Add testcases for printing of template
21598         types, setting breakpoints on template methods and calling a
21599         template method.
21600
21601 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
21602
21603         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21604         branch target since some assemblers (gas-2.5)  may emit a
21605         relocation for the branch instead of resolving it in the
21606         assembler.
21607
21608 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21609
21610         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
21611         through signal handler.
21612
21613 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21614
21615         * configure.in (*-*-netware): Use config/mt-netware.
21616
21617         * config/mt-netware: New file.
21618         * config/mt-i386-netware: Removed, separate configs for different
21619           netware architectures are no longer needed now that we have
21620           --with-headers.
21621
21622 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21623
21624         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
21625         by the recent changes to use ANSI C arithmetic conversions.
21626
21627 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
21628
21629         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21630         bug involving using inferior_pid to figure out whether to select a
21631         frame.
21632
21633 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
21634
21635         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21636         match the current disassembler output.
21637
21638 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
21639
21640         * gdb.fortran/exprs.exp: Expect VOID instead of void.
21641         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21642         types, expect "int" as type of integer values (for now).
21643
21644 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
21645
21646         * gdb.base/commands.exp: New tests for if/while commands.
21647
21648 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
21649
21650         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
21651         by .*, since hex values have different syntax in Chill mode.
21652
21653 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21654
21655         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
21656         linefeed from expect pattern for repeated types with indices > 9.
21657
21658 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
21659
21660         First part of Fortran test suite.
21661         * gdb.fortran: New directory.
21662         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21663
21664 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21665
21666         * gdb.base/default.exp:  Update expect pattern for load command
21667         without arguments.
21668
21669 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
21670
21671         * configure.in: Change i386 to i[345]86.
21672         * gdb.base/configure.in: Likewise.
21673         * gdb.c++/configure.in: Likewise.
21674         * gdb.chill/configure.in: Likewise.
21675
21676 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
21677
21678         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21679         patterns, since that is not a valid context for comments.
21680
21681 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
21682
21683         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21684         repeated types and repeated types with indices > 9.
21685
21686 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
21687
21688         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21689         2417; old bug has been fixed.
21690
21691 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
21692
21693         * gdb.base/interrupt.exp: When trying to wake up the inferior,
21694         send the newline ourselves instead of assuming gdb_test will do
21695         so when passed an empty input string.
21696
21697         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21698         stabs testcode.
21699
21700 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21701
21702         * lib/gdb.exp (gdb_test): Don't send anything if the first
21703           argument is an empty string.  This makes cases where we want to
21704           match output that is already in expect's buffers (for example,
21705           matching a breakpoint after gdb_run_cmd has been called) work
21706           reliably.
21707
21708 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21709
21710         * config/netware.exp: New file.
21711
21712 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21713
21714         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21715           the -B and -L prefixes so we can find the debugging stub.
21716
21717         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21718           there and we are using the gcc from the tree.
21719
21720         * gdb.base/types.c: Removed.
21721
21722         * gdb.base/configure.in: Look for makefile fragments in ../config.
21723           Recognize i386-*-netware.
21724         * gdb.c++/configure.in: Likewise.
21725
21726 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21727
21728         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
21729         the correct TCL syntax.
21730
21731 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21732
21733         * gdb.base/opaque.exp: use runto instead of messing around with
21734           breakpoints.  Simplify by using gdb_test.
21735
21736         * gdb.base/bitfields.exp: restart between tests on netware targets
21737           because breakpoints aren't relocated after target death.  Run
21738           processes to completion.
21739
21740         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21741
21742 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
21743
21744         * Makefile.in:  Remove extra tabs that confuse some versions
21745         of "make".  Use the newly built gdb to test with by default,
21746         rather than the first one in the tester's search path.
21747
21748 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
21749
21750         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21751
21752         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21753         condition help.
21754
21755 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21756
21757         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21758
21759         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21760           running.
21761         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21762         * gdb.base/funcargs.exp: Likewise.
21763
21764         * gdb.base/bitfields.exp: Simplify by using gdb_test.
21765         * gdb.base/funcargs.exp: Likewise.
21766
21767         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21768           message is "".
21769
21770 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21771
21772         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21773           return,signals,twice}.exp: Handle non-existant binaries
21774           consistantly.
21775
21776         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21777         * gdb.base/Makefile.in: Don't try to generate a core dump, we
21778           might testing a cross development system.
21779
21780 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21781
21782         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21783           runtest script is relative to ${srcdir}, not ${rootdir}.
21784
21785 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
21786
21787         * gdb.base/signals.exp: Allow for optionality of breakpoint
21788         address.
21789
21790 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
21791
21792         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21793
21794 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
21795
21796         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21797           for size_t definition.
21798         * gdb.c++/templates.cc: Likewise
21799
21800         * config/mt-i386-netware: New file.
21801
21802         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21803           defined.
21804
21805         * gdb.base/Makefile.in: Added support for systems that name core
21806           files by appending "core" to the program name.
21807         * gdb.base/a1-selftest.exp: Likewise.
21808
21809 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21810
21811         * gdb.base/return.exp:  Add comment and message for `return double'
21812         test failure on Sparc Solaris.
21813
21814 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
21815
21816         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21817
21818 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21819
21820         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
21821         from optimizing them away.
21822         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
21823         patterns to include default constructors and assignment operators,
21824         to match gcc versions beyond 2.5.8. Accept any cplus demangling
21825         character in the output of the virtual base pointer.
21826
21827 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21828
21829         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
21830         expression match in print_addr_of to avoid unintented matches.
21831         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
21832         versions up to 2.5.8.
21833
21834 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
21835
21836         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
21837         included file to run under newer versions of expect.
21838         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
21839         consecutive >'s in templates to accomodate recent cplus-dem.c change.
21840         Remove xfail for the virtual table of BDDHookV.
21841
21842 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
21843
21844         * lib/gdb.exp (string_to_regexp): Set a default result.
21845         (default_gdb_start): Fix misleading message.
21846
21847 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
21848
21849         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21850         Remove all CC, etc definitions.
21851         * config/mt-hpux: New file.
21852         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21853         (CFLAGS, LDFLAGS): Define.
21854         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21855
21856         * Makefile.in (site.exp): Don't insert host_os, etc.
21857         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21858         (distclean): Check existence of subdir.
21859         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21860         * gdb.base/Makefile.in: General cleanup and simplification.
21861         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21862         to build executables.   Use default rule to build .o files.
21863         (EXPECT, RUNTEST, CC): Fix relative pathname.
21864         (site.exp): Don't insert host_os, etc.
21865         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21866         and/or SIGUSR1 defined.
21867         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21868         * gdb.c++/Makefile.in: General cleanup and simplification.
21869         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21870         (CFLAGS): Remove.
21871         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21872
21873 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
21874
21875         * gdb.base/recurse.exp: Misc changes to get tests running again
21876         after Kung's changes to the watchpoint code.
21877         * gdb.base/watchpoint.exp: Likewise.
21878
21879 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
21880
21881         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
21882
21883 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
21884
21885         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21886         * lib/gdb.exp (default_gdb_start): Define.
21887         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21888         gdb.base/funcargs.exp, gdb.base/opaque.exp,
21889         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21890         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21891         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21892         Don't call gdb_target_udi in between tests.
21893
21894 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
21895
21896         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21897         (which was basically just a local version of the same thing).  In
21898         addition to avoiding duplication, gdb_test_exact is faster.
21899         * lib/gdb.exp (gdb_test_exact): Fix typo.
21900
21901         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21902         don't give an error.
21903
21904         * gdb.base/term.exp: Call delete_breakpoints before starting.
21905
21906         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21907         (t10): Add comment.
21908
21909 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
21910
21911         Reorganization of the GDB Test Suite.
21912
21913         * gdb.base: New directory, contains all the basic tests.
21914         * gdb.c++: New directory, tests specific to C++.
21915         * gdb.chill: New directory, tests specific to Chill.
21916         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21917         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21918         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21919         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21920         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21921         t30-31 to chill).
21922         * */gdbme.*: Rename to match appropriate expect scripts.
21923         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21924         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21925         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21926         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21927         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21928         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21929         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21930         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21931         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21932         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21933         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21934         gdb.c++/virtfunc.cc: New names of C++ files.
21935         * gdb.chill/chillvars.ch: New name of Chill file.
21936         * gdb.base/configure.in, gdb.c++/configure.in,
21937         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21938         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21939         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21940         * configure.in (configdirs): Update to reflect directory changes.
21941         (target_abbrev): No longer define for any configuration.
21942         * Makefile.in: Cosmetic improvements to header comments.
21943
21944 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
21945
21946         Various changes to gdb.t31:
21947
21948         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
21949         * gdbme.ch:  Make all key-words and predefineds be upper-case.
21950         * chillvars.exp:  Expect key-words and predefinds in upper-case.
21951
21952         * chillvars.exp:  Use gdb_test_exact many places.
21953         Change expected output for arrays (which now includes index labels).
21954
21955         * pr-5020.exp, gdme.ch (module PR_5020):
21956         New test, for PR-5020.
21957
21958 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
21959
21960         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
21961         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
21962
21963 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
21964
21965         * Makefile.in:  Fix bit-rot in definitions of CHILL,
21966         CHILL_FOR_TARGET and Chill_LIB.
21967         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
21968         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
21969         CHILL, and CHILL_LIB.
21970
21971 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
21972
21973         * Revert the previous changes.  Please see Rob's directory
21974           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21975
21976 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
21977
21978         * Makefile.in, configure.in, config/mips-gdb.exp,
21979           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21980           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21981           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21982           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21983           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21984           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21985           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21986           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21987           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21988           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21989           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21990           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21991           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21992           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21993           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
21994           changes from 94Q1.
21995
21996 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
21997
21998         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21999           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22000           Rob's new testing fragments.
22001
22002 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
22003
22004         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22005           lib/gdb.exp: Replace error proc calls with perror.
22006
22007 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
22008
22009         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22010         version also, match on casted version strings, and match on
22011         gdb startup case where the line numbers might be messed up.
22012
22013 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
22014
22015         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22016           (CFLAGS): Delete it from here.
22017
22018 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
22019
22020         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22021
22022 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
22023
22024         * Makefile.in (RUNTEST): Default to just "runtest".
22025
22026 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22027
22028         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22029         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22030         the code has been restructured.
22031
22032 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22033
22034         * gdb.t00/default.exp (set write): Allow any number of \r and/or
22035         \n, not just one of each.
22036
22037         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22038         /bin/cc gives a warning if you do.
22039
22040 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
22041
22042         * gdb.t24/demangle.exp: change expect pattern of
22043         __t10ListS_link1ZUiRCUiPT0
22044
22045 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22046
22047         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22048         on local variables in recursive functions.
22049
22050         * gdb.t07/Makefile.in: Build the new test.
22051
22052 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22053
22054         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22055         directly.  Instead compare the return values from actual calls.
22056
22057 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
22058
22059         * Makefile.in (check): Set TCL_LIBRARY for runtest.
22060
22061 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22062
22063         * From Peter Schauer with minor modifications.
22064         * gdb.t15/return.exp (return_tests): Handle targets where "return"
22065         stops in mid-line in the caller.  Add xfail for returning a float
22066         value on X86 targets.
22067
22068 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22069
22070         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22071         to avoid expect lossage.
22072         (fmem_LRbug_tests): Likewise.
22073         * gdb.disasm/hppa.s: Corresponding changes.
22074
22075         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22076         conditions to work with latest dejagnu/expect.
22077
22078         * gdb.t15/funcargs.exp (finish from indirect call): No longer
22079         expected to fail on the PA.
22080         (backtrace in call with trampolines): Explicitly require main
22081         to be frame #1 (no trampolines should show up in backtrace).
22082
22083         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22084         "continue -expect".
22085         * gdb.t06/break.exp: Likewise.
22086         * gdb.t07/watchpoint.exp: Likewise.
22087         * gdb.t13/bitfields.exp: Likewise.
22088         * gdb.t15/{funcargs,return}.exp: Likewise.
22089         * gdb.stabs/weird.exp: Likewise.
22090         * config/{mips,udi}-gdb.exp: Likewise.
22091
22092         * hppa.sed: Enclose comments within a sed command to avoid
22093         losing with the old OSF1 sed.
22094
22095 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22096
22097         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
22098         sequent dynix.
22099         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
22100         * gdb.t15/funcargs.exp:  Conditionally step again to really
22101         finish from marker_call_with_trampolines. Handle the case where
22102         the first step from within call_with_trampolines already steps
22103         us back to main.
22104         * gdb.t15/gdbme.c:  Add comment to closing brace of
22105         call_with_trampolines for funcargs.exp.
22106
22107 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22108
22109         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22110         Fix typo(s).
22111
22112 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22113
22114         * gdb.t07/gdbme.c: More code for watchpoint testing.
22115
22116         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22117         "Hardware watchpoint" throughout file.
22118         (test_watchpoint_triggered_in_syscall): New test.
22119         (test_complex_watchpoint): New test.
22120
22121 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22122
22123         * gdbme.c (call_with_trampolines): New function to try and step
22124         into.  Tests trampoline problems on the PA.
22125
22126         * funcargs.exp (localvars_in_indirect_call): No longer expect
22127         stepping into indirect call to fail on PAs.
22128         (test_stepping_over_trampolines): New test.
22129
22130 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22131
22132         * TODO: Add suggestions for static member function tests, and
22133         completion tests.
22134
22135 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22136
22137         * TODO: Add suggestions for "p/a" tests.
22138
22139         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22140         (default_gdb_exit): Replace all the hair with sending "quit" to
22141         the process with a simple close.
22142
22143 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22144
22145         * TODO: Add suggestions for shared library tests.
22146
22147 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22148
22149         * TODO: Add suggestions for x/s tests.
22150
22151 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22152
22153         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22154         "enable once", and "enable breakpoints once" with ".*".
22155
22156 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22157
22158         * TODO: Add suggestions about structure passing tests.
22159
22160 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22161
22162         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
22163         the primary1 test, use work around if __GNUC__ < 2.
22164         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
22165         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
22166         Test for bad output rather than waiting for timeout.  Issue
22167         second continue only if first continue failed.
22168
22169 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
22170
22171         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22172         operator[] test with gdb_test because the old code didn't seem to
22173         be getting the quoting right with the new dejagnu.
22174
22175 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
22176
22177         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22178         one from the path.
22179         * Makefile.in: Use a fresh expect if there is one, use runtest
22180         from the src tree if there is one.
22181
22182 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
22183
22184         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22185         next over recursive call.  Revise the tests from that point on
22186         (which had been skipped) to match GDB's actual (correct) output.
22187
22188         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22189         with next over a breakpoint whose condition is false.
22190
22191         * gdb.t00/help.exp: Comment out "help set print" tests just like
22192         (and for same reason as) "help set" test.
22193
22194 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22195
22196         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22197         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22198
22199 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22200
22201         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22202         necessary gdb_target_udi.
22203
22204         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22205
22206         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22207         1838 and 2417; they are fixed.
22208
22209         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22210         gdb.t03/ptype.exp (ptype structure, ptype union):
22211         Remove xfails; the test is looser than when the xfails were added.
22212
22213         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22214         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22215
22216         * gdb.t01/run.exp: Only run shell test if isnative.
22217
22218         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22219         since "run" automatically loads if necessary.  Call gdb_target_udi
22220         after the "file" since "file" kills any execution target.
22221
22222         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22223         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
22224         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22225         argument for UDI.
22226
22227 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
22228
22229         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22230
22231         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22232
22233 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22234
22235         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22236         properly quoting regexps.  This makes the second argument to
22237         demangle a fixed string, which matches the callers, instead of a
22238         shell-style pattern which is what the previous implementation
22239         used.  Update some of the callers.
22240
22241 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22242
22243         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22244         (comib_nullified_tests): Fix typo.
22245         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22246         strings.  No longer expected to fail.
22247
22248         * gdb.disasm/hppa.s (addib_tests): Fix typo.
22249         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22250         strings.  No longer expected to fail.
22251
22252         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22253         string.  No longer expected to fail.
22254
22255 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22256
22257         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22258         No longer expected to fail.
22259
22260         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22261         string.  No longer expected to fail.
22262
22263 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22264
22265         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22266         only in the names (I probably got most of them).  I was even
22267         generous with some which differed in underscores in names, and
22268         probably missed a few, and I *still* was able to remove almost a
22269         third of the file with almost no impact on testsuite coverage.
22270
22271 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22272
22273         * gdb.t00/default.exp: Match udi_attach error message as well as
22274         the one from child_attach.
22275
22276         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22277
22278         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22279
22280         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22281         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22282
22283         * Move test with enums and partial symbols back to
22284         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22285         Reverts the change of 26 May 93.  Per today's change to
22286         stabs.texinfo, the behavior that weird.exp was expecting was
22287         unreasonable; what is important is that the compiler+gdb get
22288         things right, which happens with a recent gcc.  Also fix the test
22289         to deal with native compilers which put out the stab gdb can't
22290         deal with.
22291
22292 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22293
22294         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22295         in the names.  The main thing these accomplish is to slow things down.
22296         Many more such duplicates surely remain.
22297
22298         * gdb.t00/help.exp: Comment out "help support" test just like
22299         (and for same reason as) "help set" test.
22300
22301 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
22302
22303         * gdb.t06/break.exp:  Remove setup_xfails for
22304         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22305         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
22306         about known bug in gcc to include up through 2.5.8.
22307         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
22308         well as "_vb$".
22309         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22310         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22311         with latest gcc and gdb.
22312         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
22313         well as "_vb$".
22314
22315 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22316
22317         * configure.in (hppa*-*-*): Also configure and build stabs-only
22318         tests.
22319
22320 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22321
22322         * gdb.t10/hppa.mt: A makefile fragment for the PA.
22323         * gdb.t10/configure.in (hppa*-*-*): Use it.
22324
22325 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22326
22327         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
22328
22329 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22330
22331         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
22332         versions prior to 1.13.5.
22333
22334 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22335
22336         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22337         the prompt is at the start of a line.
22338
22339 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
22340
22341         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22342         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
22343         in the copr tests now.
22344         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
22345         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
22346         expected to fail.
22347
22348 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
22349
22350         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22351         gdb.t31/chillvars.exp, lib/gdb.exp:
22352         Tweak to run under either version of expect.
22353         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22354         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22355         * gdb.t11/list.exp: Remove extraneous whitespace.
22356
22357 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22358
22359         * gdb.t16/printcmds.exp (test_print_strings): Accept
22360         "(unsigned char *) " before the string.
22361
22362         * TODO: Add notes about printing of fancy types and GDB expressions.
22363
22364 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
22365
22366         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22367         * gdb.t06/configure.in: Don't try to compile signals test program
22368         if doing mips-idt-ecoff.
22369
22370 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
22371
22372         * Most .exp files: Tweak to run under either version of expect.
22373
22374 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22375
22376         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
22377         xfails; I'm not sure why they are failing, but not because of PR 1806.
22378
22379 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
22380
22381         * config/unix-gdb.exp: Remove gdb_unload cause it's already
22382         defined in lib/gdb.exp.
22383
22384 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22385
22386         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
22387         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22388         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
22389         have to be typeless.
22390
22391 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
22392
22393         * TODO: Add suggestion for copyright year test.
22394
22395 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
22396
22397         * configure.in (*-*-lynxos*): Add stabs tests.
22398
22399 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
22400
22401         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22402         so insert a tab before any assembler directive in column zero.
22403
22404         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22405         stores.
22406         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22407         stores.
22408         (fpu_short_memory_tests): Likewise.
22409
22410 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22411
22412         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
22413         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
22414         .stabs directives in comments.
22415
22416 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22417
22418         * TODO: New file, describing tests we could write.
22419         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22420
22421 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22422
22423         * gdb.t06/signals.exp: Add kludge to force re-sync.
22424
22425         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22426         to xgdb instead of gdb, get out of gdb.
22427
22428 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
22429
22430         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22431         for info.
22432
22433 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
22434
22435         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22436         * gdb.stabs/configure.in (hppa*-*-*): Use it.
22437         * gdb.stabs/hppa.sed: New sed script for the PA.
22438
22439 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22440
22441         * gdb.stabs: Re-write weird.def and configuration to use sed
22442         instead of cpp.  sed is portable and POSIX; cpp is neither.
22443
22444 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22445
22446         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22447
22448 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22449
22450         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22451
22452 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22453
22454         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22455         "_vb$".
22456         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22457         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22458
22459 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22460
22461         * lib/gdb.exp: Comment out code which depends on non-existent
22462         `transform' procedure.
22463
22464 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
22465
22466         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22467         * lib/gdb.exp: Transform tool name.
22468         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22469         1.1's new error handling system.
22470
22471 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22472
22473         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22474
22475 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22476
22477         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22478         They made pattern matching so slow that timeouts happened on
22479         heavily loaded systems.  Now any output from "show print" which
22480         gets us back to the GDB prompt is a PASS.
22481
22482 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
22483
22484         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
22485
22486 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22487
22488         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22489
22490         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22491         It is not from PR 3220.
22492
22493 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22494
22495         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22496         just started failing because they depended on the order the
22497         subcommands are presented, or exact docstring text.  This kind of
22498         test is a pain and has minimal benefit.
22499
22500 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22501
22502         * gdb.t09/corefile.exp: At end of test, use "core" command with
22503         no arguments.
22504
22505 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
22506
22507         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22508         17}/Makefile.in:  Make it possible to run the testsuite with Sun
22509         make and CC = cross gcc by adding explicit build rules for .o
22510         files.
22511
22512 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22513
22514         * gdb.t15/funcargs.exp: Don't put comments on same line as
22515         setup_xfail (@#$*%& tcl braindamage!).
22516
22517 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22518
22519         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22520
22521 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
22522
22523         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22524         * gdb.t20/inherit.exp: remove three dumplicate entries.
22525
22526 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22527
22528         * gdb.t06/break.exp: For "next over recursive call", fail on any
22529         incorrect output, not just on "factorial (value=2)".
22530
22531 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22532
22533         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
22534         working now. Add an xfail if accesing a bss variable causes
22535         a memory error if the target is not yet run.
22536
22537 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22538
22539         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22540         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22541         name of __st* demangling (2 strings).  Did Kung really get the
22542         more than 95 others right without testing them?
22543
22544 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
22545
22546         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22547
22548 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
22549
22550         * configure.in (configdirs): Add gdb.disasm
22551         * gdb.disasm: New directory for GDB disassembler tests.
22552         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22553
22554 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22555
22556         * gdb.t00/help.exp: Don't test "help set".
22557
22558         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22559         from within expect statements.  None of these happen anymore and
22560         they cause regressions to be silently unnoticed.
22561
22562         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22563         messages) about known failures with gcc cygnus-2.4.5-930417.
22564
22565         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22566         comp-info.exp so it gets built if it doesn't exist.
22567
22568         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22569         it is no longer used.
22570         * gdb.t13/comp-info.c: Removed.
22571
22572 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
22573
22574         * gdb.t06/signals.exp: Add xfail for sun3.
22575
22576 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22577
22578         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22579         relevant because ^C doesn't get sent but failure can be reproduced
22580         interactively).
22581
22582 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22583
22584         * gdb.stabs/alpha.mt:  New configuration file for alpha.
22585         * gdb.stabs/configure.in:  Use it.
22586         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
22587         sharing with alpha.mt, redefine long to word via preprocessor.
22588         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
22589         for alpha.
22590         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
22591         native cc.
22592         * gdb.t00/teststrategy.exp:  Change expect string so that we
22593         consume the `(xgdb)' from the command echo and from the gdb prompt.
22594         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
22595         gdb currently compares all values as long, so this failure probably
22596         applies to any configuration where LONGEST is bigger than a target int.
22597         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
22598         with gcc.
22599         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
22600         to handle opaque pointers, gcc is.
22601         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
22602         as first argument. Include <sys/types.h> and change all operator
22603         new definitions to use size_t.
22604         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
22605         now that we use size_t.
22606
22607 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22608
22609         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
22610         a long or float array cast all array members to the same type.
22611         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
22612         with 64 bit longs.
22613         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
22614         on alpha.
22615         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
22616
22617 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22618
22619         * gdb.t24 (demangle.exp): Constructors of templates have names like
22620         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
22621         section 14.6 of the ARM.
22622
22623         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22624         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22625         accomplish little and slow down the testsuite.
22626
22627         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22628         Accept spaces various places.
22629
22630 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22631
22632         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22633         with watchpoint enabled.
22634
22635         * Makefile.in: Remove definition of CC and remove the second
22636         definition of CXX (the "CXX = gcc" one remains).  These definitions
22637         were causing backquotes to be expanded within backquotes, which
22638         doesn't work.
22639
22640 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
22641
22642         * gdb.t17/callfuncs.exp: Add "return 0" to end.
22643
22644 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22645
22646         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
22647         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
22648         by mips cc and contains no stabs entries.
22649
22650 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
22651
22652         * config/vx-gdb.exp: Use fake device to load files rather than
22653         NFS.
22654         * lib/gdb.exp: New proc to do "file" command.
22655         * config/unix-gdb.exp: Use new "file" proc.
22656
22657 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
22658
22659         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22660         Rework board rebooting slightly.
22661         (gdb_exit): Don't exit from the remote shell; there isn't one.
22662         * gdb.stabs/weird.exp: If a program is being debugged already,
22663         kill it.
22664         * gdb.t04/setvar.exp: Stop and restart gdb.
22665         * gdb.t05/expr.exp: Likewise.
22666         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22667         restart gdb and reload the program.
22668         * gdb.t08/opaque.exp: Likewise.
22669         * gdb.t12/scope.exp: Likewise.
22670         * gdb.t13/bitfields.exp: Likewise.
22671         * gdb.t15/funcargs.exp: Likewise.
22672         * gdb.t20/classes.exp: Likewise.
22673         * gdb.t03/ptype.exp: Increase timeout.
22674         * gdb.t16/printcmds.exp (test_print_string_constants,
22675         test_print_array_constants): Likewise.
22676         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22677         * gdb.t20/classes.exp (do_tests): Likewise.
22678         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22679
22680 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
22681
22682         * gdb.stabs: Renamed *wierd* to *weird*.
22683
22684 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
22685
22686         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22687         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
22688
22689 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
22690
22691         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22692         (do_tests): Remove xfail for whatis on one_var and two_var.
22693
22694 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
22695
22696         * Makefile.in: Made cross building work better by adding
22697         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22698
22699 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22700
22701         * gdb.t15/{return.c,return.exp,Makefile.in}:
22702         New test, currently commented out.
22703
22704 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
22705
22706         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22707         still running and removes the leftover named socket so GDb can do
22708         clean restarts.
22709
22710 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
22711
22712         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22713         console, not GDB.
22714         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22715         cross testing works better with "make check"
22716         * config/unix-gdb: Use default procedures for exit and version.
22717         * config/vx-gdb.exp: Cleaned up and massaged back to working order
22718         with the newest VxWorks.
22719
22720 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22721
22722         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22723         old form.
22724
22725         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22726         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22727
22728         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22729
22730         * config/unix-gdb.exp: Remove this version of gdb_exit
22731         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22732         Rob says he'll look at it when he gets back to testing boards.
22733
22734 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
22735
22736         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
22737         an expected fail for certain ptype commands.
22738
22739         * gdb.t20/classes.exp:  Update expected results of "ptype class
22740         Base1" to account for the constructor that now appears in the type.
22741
22742 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
22743
22744         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
22745         disappeared from list.
22746         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
22747         "alldone" proc with call to cleanup and exit.
22748         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22749         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22750         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22751         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22752         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
22753         "alldone" proc with simple returns that suppress remaining
22754         tests.  The alldone proc went away many months ago.
22755
22756 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22757
22758         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22759
22760         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22761
22762 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22763
22764         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
22765         as vax gdb will display them.
22766
22767 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22768
22769         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22770         optimizers.
22771
22772         * scope.exp: Change "bad value for localval" messages so each one
22773         is unique.
22774
22775         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22776         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22777
22778         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22779
22780 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22781
22782         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22783         doesn't exist (due to optimization).
22784
22785 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22786
22787         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22788         contains \r because the filename is long.
22789
22790         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22791         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22792
22793 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22794
22795         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22796         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
22797         Ultrix.
22798         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
22799         int tests.
22800         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
22801
22802 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
22803
22804         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
22805
22806         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
22807         to match does not match the passing case but still matches the
22808         failing case.
22809
22810 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22811
22812         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22813
22814 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
22815
22816         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
22817         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22818         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22819         Remove various versions of gdb_exit.
22820         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
22821         gdb_exit.
22822         * config/unix-gdb.exp:  gdb_exit remains here, and should override
22823         the generic version, since it's doing a lot of wierd stuff that
22824         the other versions aren't.  FIXME, fold it in, or abandon this
22825         version.
22826
22827 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22828
22829         * gdb.t24/demangle.exp: Add tests for PR 3220.
22830
22831 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22832
22833         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22834
22835 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
22836
22837         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
22838         "i386-*-*".  Works for i486 as well.
22839
22840         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
22841         bug, and expand domain of xfail to all SVR4 systems, since the
22842         actual problem is likely to be in generic SVR4 /proc support.
22843
22844 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22845
22846         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22847
22848 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
22849
22850         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
22851         xfails for other systems.  Match a missing 'Continuing.' as an
22852         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22853
22854         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22855         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22856         Only issue warning for missing executables if -all option is used.
22857
22858         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
22859         file if -all option is used.  It's like an unpredictable XFAIL.
22860
22861 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22862
22863         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22864         for dynamically linked binaries.
22865
22866         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22867
22868 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22869
22870         * gdb.t20/inherit.exp: Change message for "print tagless struct"
22871         to state that this is a known bug in old versions of g++.
22872
22873 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22874
22875         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
22876         while waiting for `Continuing'.
22877
22878 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
22879
22880         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
22881         in text, data, and bss.
22882         * gdb.t10/nodebug.c:  Add local and global test variables for
22883         initialized and uninitialized data.
22884
22885 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22886
22887         * config/unix-gdb.exp (gdb_exit): Add "wait".
22888
22889 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22890
22891         * gdb.t06/signals.exp:  xfail the continue from the handler for all
22892         targets.
22893
22894         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
22895         function with watchpoints enabled, the i386 call dummy starts with
22896         a call.
22897
22898         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
22899         386 bsd names its corefiles.
22900
22901 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
22902
22903         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
22904         compilers don't grok it.
22905         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
22906         with small octal ints rather than character constants, which
22907         are signed and might not fit if first promoted to int.
22908
22909 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
22910
22911         * gdb.t09/Makefile.in (clean):  Remove corefile.
22912
22913 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22914
22915         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22916
22917 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22918                           and Jim Kingdon (kingdon@cygnus.com)
22919
22920         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22921         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
22922         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22923
22924 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22925
22926         * gdb.t17/interrupt.exp: Add xfail for hppa.
22927
22928 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22929
22930         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22931         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
22932         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
22933         to determine signed-ness of bitfields and use the result to setup
22934         the xfail.
22935         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
22936         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
22937         call line is reached if necessary.
22938
22939 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22940
22941         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22942
22943 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22944
22945         * gdb.t06/break.exp: Also test `clear' command.
22946
22947 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
22948
22949         * gdb.t00/teststrategy.exp: Remove extra quote.
22950
22951         * gdb.t07/watchpoint.exp: Change xfail for calling function with
22952         watchpoint enabled to be for all non-68k machines.
22953
22954         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22955
22956 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22957
22958         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22959         targets use aout.mt instead of ecoff.mt as gas understands
22960         standard aout format.
22961
22962 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
22963
22964         * lib/gdb.exp (runto): Don't insist that function we are running to
22965         was compiled with -g.
22966
22967         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22968
22969         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22970         to get back into the read system call.
22971         Accept leading newline in case where we woke it up.
22972
22973 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
22974
22975         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
22976         to make the stabs test work on ecoff systems using gcc and -with-stabs.
22977         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
22978         enable ecoff configuration.
22979
22980 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22981
22982         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22983
22984 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22985
22986         * gdb.t16/printcmds.exp: Add another printf test.
22987
22988 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
22989
22990         * configure.in: If configured -with-stabs on any target, add
22991         stabsdirs to configdirs.
22992
22993 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22994
22995         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22996         fun" so pattern does not match the command itself.
22997
22998 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
22999
23000         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23001
23002 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23003
23004         * gdb.t17/interrupt.exp: Test for more things.
23005
23006 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23007
23008         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23009         compiler arranges the code and line numbers.
23010
23011         * gdb.t17/interrupt.exp: Don't send \n after ^C.
23012
23013 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23014
23015         * gdb.t00/help.exp:  Increase expect input buffer size.
23016
23017 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23018
23019         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23020
23021         * gdb.t07/watchpoint.exp: Add xfail for hppa.
23022
23023         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23024
23025         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23026         [0-9]*, not just [0-9].
23027
23028 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23029
23030         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23031
23032         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23033
23034 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23035
23036         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23037
23038 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23039
23040         * gdb.t06/signals.c: Add xfails for sun3.
23041
23042         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23043
23044         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
23045         test_stepping tests.
23046
23047 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23048
23049         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23050
23051         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23052
23053         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23054         rather than actually putting it through cpp twice.
23055
23056         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23057
23058 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
23059
23060         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23061         no longer needed.
23062
23063 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23064
23065         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23066
23067         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23068         C++ features prints as "struct", make it a pass, not an xfail.
23069
23070 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23071
23072         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23073         Don't require VA to print as "class" rather than "struct".
23074
23075 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
23076
23077         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23078
23079 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23080
23081         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23082
23083 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23084
23085         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
23086         order.
23087
23088 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23089
23090         * gdb.t16/printcmds.exp: Add printf tests.
23091
23092         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23093
23094         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23095
23096 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
23097
23098         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
23099         pass counts, to counteract any existing or future setup_xfails.
23100
23101 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23102
23103         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23104         {BEGIN,END}_COMMON for common block instead of STAB.
23105         * gdb.stabs/wierd.exp: Add xfail for rs6000.
23106
23107         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23108         intp_var should be N_GSYM not N_LSYM.
23109         wierd-aout.S: Use a label for the value of the N_SO.
23110         wierd.def: Remove all backslashes.
23111         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23112
23113 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23114
23115         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23116         get the expected next to inheritance3.
23117
23118 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23119
23120         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23121         now that gcc-2.4 gets it right.
23122
23123 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23124
23125         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23126
23127         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23128         generating comp-info.exp which works for cross-compilation.
23129
23130 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
23131
23132         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
23133         "*-*-sysv4.*".
23134
23135 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
23136
23137         * gdb.t01/run.exp:  Start with a fresh gdb.
23138         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
23139         SVR4.x.
23140
23141 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
23142
23143         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23144         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23145         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23146         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
23147         things to remove.
23148
23149 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
23150
23151         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
23152         test cases from bug reports.
23153
23154 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
23155
23156         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
23157         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
23158           avoid spurious xfails.
23159         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
23160         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
23161         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
23162
23163 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
23164
23165         * gdb.t00/teststrategy.exp:  Rework to provide more useful
23166         description of each test, fix problem with systems that define
23167         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23168         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
23169         results for "next over recursive call" so timeouts aren't taken
23170         by error.
23171
23172 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
23173
23174         * gdb.t12/scope.exp: Test printing of variables before run.
23175
23176         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23177         printed in wrong order due to sorting.
23178
23179 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
23180
23181         * gdb.t00/teststrategy.exp:  Fix expected results for printing
23182         user entered string constant.  Is array of char, prints with no
23183         address.
23184
23185         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
23186         commands.
23187         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
23188         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
23189         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
23190         of struct of char arrays.
23191         * gdb.t00/radix.exp:  New tests for radix commands.
23192
23193 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
23194
23195         * gdb.t16/printcmd.exp: Print a variable before running program
23196         (with xfail for AIX).
23197
23198 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
23199
23200         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23201
23202         * gdb.t16/printcmd.exp: Don't print variables before running program.
23203
23204         * gdb.t06/break.exp: Don't require envp argument to main.
23205
23206         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23207
23208         * gdb.t02/whatis.exp, gdb.t11/list.exp:
23209         Add xfails for rs6000.
23210
23211         * gdb.t02/whatis.exp: Change other tests not to re-test something
23212         we already tested.
23213
23214         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23215         each type used has a variable of that type.
23216
23217 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
23218
23219         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23220
23221 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
23222
23223         * configure.in: change srctrigger to be a file, not a directory
23224
23225 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
23226
23227         * configure.in (mips-idt-ecoff*): Added trailing '*'.
23228
23229         * gdb.t11/list.exp: Fixed a couple of typos.
23230
23231 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
23232
23233         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
23234         is fixed and PR is closed.
23235         * gdb.t16 (gdbme.c):  Add simple test string variable.
23236         * gdb.t16 (printcmds.exp):  Add tests with simple test string
23237         variable, primarily for boundaries on "set print elements".
23238
23239 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
23240
23241         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23242         Make leading 0's optional and don't expect a tab in the middle
23243         of the number.
23244
23245         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23246
23247         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23248         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
23249         don't end command passed to gdb_test with newline.
23250
23251         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23252         signed keyword away, don't expect signed bitfields to be signed.
23253
23254         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23255         printing with only as many 1's as are in the field as well as printing
23256         with 32 1's (see comment).
23257
23258 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
23259
23260         * gdb.t00/default.exp:  Start with a fresh gdb.
23261         * configure.in (configdirs):  Remove gdb.t31 until the chill
23262         compiler works again.  It no longer is able to find chillrt0
23263         since it isn't in libchill.a anymore.
23264         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
23265         wierd.o, make more modular.
23266         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
23267         spurious newlines that caused problems.
23268
23269 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23270
23271         * Move test with enums and partial symbols from gdb.t03/ptype.exp
23272         to gdb.stabs/wierd.exp since GCC has worked around the bug.
23273         gdb.stabs/wierd.{exp,def}: Many new tests.
23274
23275         * gdb.t00/default.exp: update info line for new message.
23276
23277         * gdb.t02/{whatis.exp,gdbme.c}:
23278         Test that "char *" doesn't print as "caddr_t".
23279
23280 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23281
23282         * gdb.t00/help.exp: Use .* in place of some help messages which
23283         just changed.
23284         gdb.t00/default.exp: Update "info frame" test for new message.
23285         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23286         Remove some xfails
23287
23288 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23289
23290         * gdb.t03/{gdbme.c,ptype.exp}:
23291         Add tests for typedef'd struct and union without tags.
23292         Also check "whatis" on a variable of a typedef'd enum without a tag.
23293
23294         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23295         PRMS 1823; the bug still exists but isn't reproduced by this test
23296         anymore), and remove rs6000 XFAIL (the bug is fixed).
23297
23298         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23299         duplicated from whatis.exp.  For those that are left, accept
23300         "long", "long int", or "int" for long variables (whatis.exp already
23301         has an XFAIL for "int", so no need to fail it here).
23302
23303         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23304         Deal with GCC's names for types now that GDB uses the compiler's names.
23305
23306         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
23307         setup_xfail's for sunos4.  If we #defined the signed keyword away,
23308         don't expect GDB to know that char it is signed.
23309
23310         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23311
23312 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
23313
23314         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
23315         should work on any system, regardless of debugging format.
23316         * gdb.t21/demangle.exp:  Move to gdb.t24.
23317         * gdb.t24/demangle.exp:  Move from gdb.t21.
23318         * gdb.t24/{Makefile.in, configure.in}:  New files.
23319
23320 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23321
23322         * configure.in: Do gdb.stabs and C++ tests only for stabs.
23323         * gdb.stabs: New directory.
23324
23325 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
23326
23327         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23328         not just "Quit anyway?".
23329
23330 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
23331
23332         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
23333         that all setup_xfails are immediately followed by clear_xfails.
23334
23335 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
23336
23337         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23338         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23339         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23340         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23341         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23342         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23343         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23344         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23345         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23346         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23347         gdb.t31/chillvars.exp, lib/gdb.exp:
23348         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23349         bug-gdb@prep.ai.mit.edu.
23350
23351 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
23352
23353         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
23354         with 0.0, not integer 0.
23355
23356 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
23357
23358         * gdb.t06/break.exp: Update for "Kill the program" message change.
23359
23360 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
23361
23362         * Makefile.in (GDBFLAGS):  Set to -nx.
23363         * Makefile.in (site.exp):  Use GDBFLAGS.
23364
23365 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
23366
23367         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23368           Makefiles.
23369           (check): depend on just-check.
23370           (just-check): added so that tests can be run without a noop
23371           build pass.
23372
23373 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
23374
23375         Switch to using configure's configdirs.
23376         * Makefile.in (Makefile): add configure.in dependency.
23377           (SUBDIRS): removed redundant assignment.
23378         * configure.in: switch subdirs assignment to configdirs.
23379         * gdb.t*/configure.in: new files.
23380
23381 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
23382
23383         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23384         works.
23385
23386 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
23387
23388         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
23389         in explicit rules.  Apparently this is not supported by some makes.
23390
23391 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
23392
23393         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
23394
23395 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23396
23397         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
23398         disappeared.
23399
23400 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
23401
23402         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
23403
23404 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
23405
23406         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
23407         watchpoint problem that is now fixed.
23408         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
23409         uninitialized convenience variables.
23410         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
23411         structures.
23412
23413 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23414
23415         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23416         which causes expect to get out of sync with gdb on long output
23417         from help set.
23418         * gdb.t09/corefile.exp: Make expected pattern for core file
23419         failing signal and frame output format less sun specific.
23420
23421 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
23422
23423         * gdb.t31/chillvars.exp:  Add and remove initial dummy
23424         breakpoint, so that symbol table is forced in.
23425         (Needed at least on Sunos4, though it seems not SVR4.)
23426         * gdb.t31/chillvars.exp:  Update for changed output format.
23427
23428 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
23429
23430         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23431
23432 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
23433
23434         * Makefile.in: Added --srcdir when invoking runtest, removed the
23435         need for a local config file. (optional now)
23436
23437 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
23438
23439         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
23440         failure count used to force early termination.  Add some more
23441         expected failures for gnu style demangling.
23442
23443 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23444
23445         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23446         pmi variable from gdb.t20/gdbme to get optimized away.
23447         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23448         Check for written corefile upon timeout _and_ eof.
23449
23450 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23451
23452         * config/unix-gdb.exp:  Add missing return 0.
23453
23454 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
23455
23456         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
23457         test termination.
23458
23459 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
23460
23461         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
23462         disappeared.
23463
23464 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
23465
23466         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
23467         time as i860 support works.
23468
23469         * gdb.t15/funcargs.exp:  Fix expected outputs to include
23470         "backtrace 100\r" rather than just "backtrace\r", to match last
23471         change.
23472
23473 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
23474
23475         * config/udi-gdb.exp (gdb_exit): Remove close command.
23476         (gdb_target_udi): New procedure to set the UDI target.
23477         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
23478         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23479         Added waits for prompts after several question responses.  Added
23480         some more responses used by a29k-amd-udi-gdb.
23481         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23482         pass different arguments, restart UDI connection after program
23483         completion.
23484         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23485         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23486         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23487         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23488         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23489         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23490         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23491         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23492         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23493         after program completion.
23494         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23495         compiled with a SELECT_VECS setting.
23496         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23497         infinite recursion.
23498
23499         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23500         Added checks for COFF results, and made them expected failures for
23501         all targets.  It would be better to make them expected failures
23502         for COFF targets only.
23503
23504 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
23505
23506         * Makefile.in: add null dvi target, don't bother to recurse
23507         through test directories for info and install-info; rename
23508         $(datadir) to be dejagnu instead of deja-gnu
23509
23510 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
23511
23512         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
23513         compiler to coredump.
23514         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
23515         code.
23516
23517 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
23518
23519         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
23520         coredump.
23521         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
23522         code.
23523
23524 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
23525
23526         * gdb.t03/ptype.exp: tests for return code from gdb_test.
23527         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23528         which in a shell. Deletes xgdb when done.
23529         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23530         Tests the return from the "set height" or "set width" commands.
23531         Added a few return codes where needed.
23532
23533 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
23534
23535         * Makefile.in (SUBDIRS):  Add gdb.t17.
23536         * configure.in (subdirs):  Add gdb.t17.
23537         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
23538         files to test gdb's calling of functions in the inferior with
23539         the correct arguments and gdb's ability to retrieve any
23540         result returned.
23541
23542 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
23543
23544         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
23545         may be called after gdb goes away.  Previous versions of expect
23546         needed these to avoid file descriptor leaks, but they cause
23547         errors with the current revision of expect.
23548         * gdb.t00/gdbvars.exp:  Use -re on expected output after
23549         setting sevenbit-strings.
23550         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
23551         to set sevenbit-strings consistent across tests.
23552         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
23553         set sevenbit-strings consistent across tests.
23554
23555 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
23556
23557         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
23558         expected output to match current "expect" expectations.
23559
23560 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
23561
23562         * gdb.t00/default.exp:  Change expected output for default "source"
23563         command, to match new gdb behavior which requires a filename to
23564         source.
23565
23566 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
23567
23568         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
23569         expected fail for i486-*-* that misses the marker2 function.
23570         * gdb.t10/crossload.exp (bfddefault):  Allow successful
23571         recognition of a format to pass even if no symbols are found.
23572         Explicitly catch failures where the format is not recognized
23573         or is ambiguous, and add the reason to the fail message.
23574         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
23575         the cause is and invalid target and add reason to failure message.
23576         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
23577         elf32-i386, elf32-sparc, and elf32-i860.
23578         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23579         Set up expected failure for 'filename'::variable scope resolution,
23580         which is now apparently broken on all targets.
23581         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23582         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23583         gdb.t23/templates.exp:   Change failure for missing binfile into
23584         just a warning.
23585         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
23586         references.
23587
23588 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
23589
23590         * gdb.t00/default.exp:  Add expected output for default "source"
23591         command, to match new gdb behavior.
23592         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
23593
23594 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
23595
23596         * config/*-gdb.exp: returns an error, rather than exiting on
23597         internal errors.
23598
23599 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
23600
23601         * gdb.t03/gdbme.c:  Add pointer to struct variable.
23602         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
23603         referencing struct members.
23604
23605 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
23606
23607         * configure.in (mips-idt-ecoff): New target.
23608         * config/mips-gdb.exp: New file for remote board using MIPS remote
23609         debugging protocol.
23610
23611         * Redid configuration scheme.  Removed gdb.t*/configure.in.
23612         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
23613         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
23614         distclean targets.  Built executables via .o files.  Adjusted
23615         tests to account for source files in $(srcdir) rather than
23616         $(objdir).
23617         * lib/gdb.exp (runto): Don't expect () after the function name,
23618         because it may have arguments.
23619
23620 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
23621
23622         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23623         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23624         expected failures for mips-idt-* and mips-sgi-*.
23625         * gdb.t00/default.exp (attach): Kill process if requested.
23626         * gdb.t00/help.exp (help target core, help target): Accept a gdb
23627         that does not read core files.
23628         * gdb.t01/run.exp: Removed checks for exit status code.
23629         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23630         it is linked in.
23631         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23632         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23633         appropriate, rather than doing it by hand.
23634         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23635         execution.
23636         * gdb.t10/crossload.exp: Kill existing program if needed.
23637         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23638         appropriate, rather than doing it by hand.  Always increase
23639         timeout for this test, not just for VxWorks.
23640
23641 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
23642
23643         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
23644         of Chill STRUCT types and STRUCT values.
23645         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
23646         than "char".
23647         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23648         struct2):  New struct definitions and initializations to test
23649         simple Chill STRUCT types.
23650
23651 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
23652
23653         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
23654         the null byte at the end of strings.
23655         * gdb.t00/default.exp:  Make show version insensitive to copyright
23656         date.
23657         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
23658         to avoid dependencies on target char signedness.
23659         * gdb.t16/printcmds.exp:  Update expected results for explicitly
23660         unsigned char.
23661         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
23662         now work.
23663         * gdb.t21/demangle.exp:  Add many more patterns for template
23664         demangling, most of them being expected failures.
23665         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
23666         string we are matching for, to match on the whole string.
23667         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
23668         and fix a whole bunch that had incorrect expected output but were
23669         passing anyway because of the bug in "proc demangle".
23670         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
23671         type.
23672         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
23673
23674 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
23675
23676         * gdb/testsuite: made modifications to testcases, etc., to allow
23677         them to work properly  given the reorganization of deja-gnu and the
23678         relocation of the testcases from deja-gnu to a "tool" subdirectory.
23679
23680 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
23681
23682         * gdb/testsuite: Initial creation of gdb/testsuite.
23683         Migrated dejagnu testcases and support files for testing nm to
23684         gdb/testsuite from deja-gnu.  These files were moved "as is"
23685         with no modifications.  This migration is part of a major overhaul
23686         of dejagnu.  The modifications to these testcases, etc., which
23687         will allow them to work with the new version of dejagnu will be
23688         made in a future update.
23689
23690  For additional changes see gdb.mi/ChangeLog-1999-2003.
23691 \f
23692 ;; Local Variables:
23693 ;; mode: change-log
23694 ;; left-margin: 8
23695 ;; fill-column: 74
23696 ;; version-control: never
23697 ;; End:
23698
23699     Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23700     2003, 2004, 2005 Free Software Foundation, Inc.
23701   Copying and distribution of this file, with or without modification,
23702   are permitted provided the copyright notice and this notice are preserved.