PR 15519
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2013-06-05  Doug Evans  <dje@google.com>
2             Keith Seitz  <keiths@redhat.com>
3
4         * gdb.cp/derivation2.cc: New file.
5         * gdb.cp/derivation.cc (main): Call foo2.
6         * gdb.cp/derivation.exp: Add tests for typedefs in another
7         file, and when there's an active block.
8
9 2013-06-05  Luis Machado  <lgustavo@codesourcery.com>
10
11         * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
12         from targets that use function descriptors in the virtual tables.
13         Handle presence of dot symbols.
14
15 2013-06-04  Gary Benson  <gbenson@redhat.com>
16
17         * gdb.base/break-probes.exp: New file.
18         * gdb.base/break-probes.c: Likewise.
19         * gdb.base/break-probes-solib.c: Likewise.
20         * gdb.base/info-shared.exp: New file.
21         * gdb.base/info-shared.c: Likewise.
22         * gdb.base/info-shared-solib1.c: Likewise.
23         * gdb.base/info-shared-solib2.c: Likewise.
24
25 2013-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
26             Gary Benson  <gbenson@redhat.com>
27
28         * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
29         gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
30         * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
31         to be set to "no" to indicate that no ld.so copy should be made.
32         * gdb.base/break-interp.exp (solib_bp): New constant.
33         (reach_1): Use the above instead of "_dl_debug_state".
34         (test_attach): Likewise.
35         (test_ld): Likewise.
36         * gdb.threads/dlopen-libpthread.exp: New file.
37         * gdb.threads/dlopen-libpthread.c: Likewise.
38         * gdb.threads/dlopen-libpthread-lib.c: Likewise.
39         * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
40
41 2013-05-30  Yao Qi  <yao@codesourcery.com>
42
43         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
44         Add a test that no MI notification is emitted when executing
45         -exec-arguments.
46
47 2013-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
48
49         PR testsuite/12649
50         * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
51         $mi_gdb_prompt expectation by mi_expect_stop.
52         (mi 1st dprintf, agent, mi 2nd dprintf, agent)
53         (mi info dprintf second time): Replace them by mi_send_resuming_command
54         and mi_expect_stop.
55
56 2013-05-24  Gary Benson  <gbenson@redhat.com>
57
58         * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
59         backslash.
60         * gdb.base/unload.exp (exec_opts): Remove two unnecessary
61         backslashes.
62         * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
63         backslash.
64
65 2013-05-24  Yao Qi  <yao@codesourcery.com>
66
67         * gdb.trace/tfile.exp: Test inferior and thread.
68
69 2013-05-24  Yao Qi  <yao@codesourcery.com>
70             Pedro Alves  <palves@redhat.com>
71
72         * gdb.base/range-stepping.exp: Skip the rest of tests if the
73         test fails.
74         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
75         Return 0 if the test passes, otherwise return 1.
76
77 2013-05-23  Doug Evans  <dje@google.com>
78
79         * boards/fission-dwp.exp: New file.
80
81 2013-05-23  Yao Qi  <yao@codesourcery.com>
82             Pedro Alves  <palves@redhat.com>
83
84         * gdb.base/range-stepping.c: New file.
85         * gdb.base/range-stepping.exp: New file.
86         * gdb.trace/range-stepping.c: New file.
87         * gdb.trace/range-stepping.exp: New file.
88         * lib/range-stepping-support.exp: New file.
89
90 2013-05-22  Tom Tromey  <tromey@redhat.com>
91
92         * gdb.cp/class2.cc (main): New local 'aref'.
93         * gdb.cp/class2.exp: Check printing of 'aref'.
94
95 2013-05-22  Doug Evans  <dje@google.com>
96
97         * gdb.threads/wp-replication.c (main): Insert some code at the start
98         to ensure the breakpoint on main is only hit once.  Fix comment.
99
100 2013-05-21  Keith Seitz  <keiths@redhat.com>
101             Pedro Alves  <palves@redhat.com>
102
103         * gdb.base/filesym.exp: Use gdb_test_multiple instead of
104         gdb_expect.
105         Add test to flush the remaining input buffer so that this
106         file passes testsuite/12649.
107
108 2013-05-21  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
109
110         * gdb.base/catch-signal-fork.exp: New file.
111         * gdb.base/catch-signal-fork.c: New file.
112
113 2013-05-21  Sterling Augustine  <saugustine@google.com>
114
115         * boards/remote-stdio-gdbserver.exp: New file.
116
117 2013-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
118
119         PR testsuite/12649
120         * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
121         racy matches.
122
123 2013-05-21  Christian Groessler  <chris@groessler.org>
124
125         * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
126         since it's not supported in all shells.
127
128 2013-05-21  Hui Zhu  <hui@codesourcery.com>
129
130         * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
131         * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
132
133 2013-05-20  Doug Evans  <dje@google.com>
134
135         * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
136         (_handle_DW_TAG): Use it.
137         (cu, tu): Replace parameters is_64, version, addr_size with options.
138         All callers updated.  Add Fission support.
139         * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
140         * gdb.dwarf2/method-ptr.exp: Ditto.
141         * gdb.dwarf2/nostaticblock.exp: Ditto.
142         * gdb.dwarf2/subrange.exp: Ditto.
143         * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
144
145 2013-05-20  Tom Tromey  <tromey@redhat.com>
146
147         * gdb.gdb/python-selftest.exp: New file.
148
149 2013-05-20  Doug Evans  <dje@google.com>
150
151         * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
152         -fdebug-types-section.
153
154 2013-05-20  Joel Brobecker  <brobecker@adacore.com>
155
156         * gdb.ada/float_param: New testcase.
157
158 2013-05-17  Doug Evans  <dje@google.com>
159
160         * gdb.base/maint.exp: Update test for "maint check-psymtabs".
161         Add tests for "maint check-symtabs", "maint expand-symtabs".
162
163         * gdb.base/maint.exp: Remove testing of individual maint command
164         help output.
165
166 2013-05-16  Pedro Alves  <palves@redhat.com>
167
168         * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
169         comment.  Use gdb_test_no_output.
170
171 2013-05-16  Joel Brobecker  <brobecker@adacore.com>
172
173         * gdb.ada/complete.exp: Add test verifying completion using
174         the "tab" key.
175
176 2013-05-15  Keith Seitz  <keiths@redhat.com>
177
178         * gdb.base/filesym.exp: New completer test.
179         * gdb.base/filesym.c: New file.
180
181 2013-05-15  Pedro Alves  <palves@redhat.com>
182
183         * gdb.base/fixsection.c: Remove attribution.
184         * gdb.base/watch-read.exp: Ditto.
185
186 2013-05-13  Tom Tromey  <tromey@redhat.com>
187
188         * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
189         size and change type sizes to 4 bytes.
190
191 2013-05-13  Tom Tromey  <tromey@redhat.com>
192
193         * gdb.base/exprs.exp (test_expr): Add regression test.
194         * gdb.base/exprs.c (null_t_struct): New global.
195
196 2013-05-13  Muhammad Bilal  <mbilal@codesourcery.com>
197
198        * gdb.base/default.exp: Disable history saving.
199        * gdb.base/setshow.exp: Likewise.
200
201 2013-05-10  Pedro Alves  <palves@redhat.com>
202
203         PR remote/15455
204
205         * gdb.trace/qtro.c: New file.
206         * gdb.trace/qtro.exp: New file.
207
208 2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>
209
210         * gdb.python/py-framefilter.py: New File.
211         * gdb.python/py-framefilter-mi.exp: Ditto.
212         * gdb.python/py-framefilter.c: Ditto.
213         * gdb.python/py-framefilter-mi.exp: Ditto.
214         * gdb.python/py-framefilter-mi.c: Ditto,
215         * gdb.python/py-framefilter-gdb.py.in: Ditto.
216
217 2013-05-08  Tom Tromey  <tromey@redhat.com>
218
219         * gdb.base/solib-search.exp: Set test name for "set
220         solib-search-path" test.
221
222 2013-05-08  Hafiz Abid Qadeer  <abidh@codesourcery.com>
223
224         * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
225         (set_a_tracepoint): Set tracepoint before prologue.
226         (run_trace_experiment): Test setup_tracepoints and 'break end'
227         in it.
228         (trace_buffer_normal): Remove.
229         (gdb_trace_circular_tests): Remove.  Move tests to...
230         (top level): ...here.  Call 'runto_main' before checking for
231         trace support.  Use commands to check the support for circular
232         trace buffer and changing of trace buffer size.  Add test
233         to calculate size of single frame.  Use this size to
234         calculate the size of trace buffer.  Use 'tfind pc func9'
235         instead of 'tfind 9'.  Use 'with_test_prefix'.
236
237 2013-05-07  Tom Tromey  <tromey@redhat.com>
238
239         * lib/selftest-support.exp: New file.
240         * gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
241         do_self_tests.
242         (setup_test, find_gdb): Remove.
243         * gdb.gdb/observer.exp: Load selftest-support.exp.  Use
244         do_self_tests.
245         (setup_test, find_gdb): Remove.
246         (test_observer): Don't call setup_test.  Remove argument.
247         * gdb.gdb/selftest.exp: Load selftest-support.exp.
248         (find_gdb): Remove.
249         * gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
250         do_self_tests.
251         (setup_test, find_gdb): Remove.
252         (test_with_self): Don't call setup_test.  Remove argument.
253
254 2013-05-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
255
256         * gdb.arch/system-gcore.exp: Remove.
257         * gdb.arch/gcore.c: Remove.
258         * gdb.base/gcore.exp: Add "info reg system".
259
260 2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
261
262         PR breakpoints/15413:
263         * gdb.base/pending.exp: Add test for completion of the "condition"
264         command for pending breakpoints.
265         * gdb.linespec/linespec.ex: Add test for completion of the
266         "condition" command when dealing with multiple locations.
267
268 2013-05-07  Luis Machado  <lgustavo@codesourcery.com>
269
270         * gdb.threads/wp-replication.c: New file.
271         * gdb.threads/wp-replication.exp: New file.
272
273 2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
274
275         * gdb.xml/tdesc-regs.exp: Add case for nios2.
276
277 2013-05-06  Doug Evans  <dje@google.com>
278
279         * gdb.base/solib-search-lib1.c: New file.
280         * gdb.base/solib-search-lib2.c: New file.
281         * gdb.base/solib-search.c: New file.
282         * gdb.base/solib-search.h: New file.
283         * gdb.base/solib-search.exp: New file.
284
285         * lib/gdb.exp (gdb_core_cmd): New function.
286         * gdb.arch/system-gcore.exp: Use it.
287         * gdb.arch/vsx-regs.exp: Ditto.
288         * gdb.base/gcore.exp: Ditto.
289         * gdb.threads/gcore-thread.exp: Ditto.
290
291         * gdb.reverse/shr.h: New file.
292         * gdb.reverse/shr1.c: New file.
293         * gdb.reverse/shr2.c: #include "shr.h".
294         * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
295         #include "shr.h".  Replace calls to printf,sleep to call shr1 instead.
296         * gdb.reverse/solib-precsave.exp: Build shr2.sl.
297         Update tests using sleep/printf to use shr2.sl instead.
298         * gdb.reverse/solib-reverse.exp: Ditto.
299
300 2013-05-06  Tom Tromey  <tromey@redhat.com>
301
302         * gdb.dwarf2/implptrconst.c: New file.
303         * gdb.dwarf2/implptrconst.exp: New file.
304         * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
305         (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
306         (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
307
308 2013-05-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
309
310         * gdb.base/catch-sig.c (main): Raise SIGINT.
311         * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
312
313 2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>
314
315         * status-stop.exp (test_tstart_tstart): Check for error
316         returned by the second 'tstart' command.
317
318 2013-03-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
319
320         * gdb.xml/maint_print_struct.exp: New file.
321         * gdb.xml/maint_print_struct.xml: New file.
322
323 2013-04-25  Tom Tromey  <tromey@redhat.com>
324
325         * gdb.dwarf2/nostaticblock.exp: New file.
326
327 2013-04-24  Muhammad Bilal  <mbilal@codesourcery.com>
328
329         PR gdb/10462
330         * gdb.base/setshow.exp: Add test case.
331
332 2013-04-23  Hui Zhu  <hui@codesourcery.com>
333
334         PR gdb/15293
335         * gdb.base/dprintf.exp: Add ignore command.
336
337 2013-04-23  Hui Zhu  <hui@codesourcery.com>
338
339         PR gdb/15165
340         * gdb.base/save-bp.exp: Add test for dprintf.
341
342 2013-04-22  Tom Tromey  <tromey@redhat.com>
343
344         * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
345         notice_open_fds.
346
347 2013-04-22  Sergio Durigan Junior  <sergiodj@redhat.com>
348
349         * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
350         ldflags.
351
352 2013-04-22  Sergio Durigan Junior  <sergiodj@redhat.com>
353
354         * gdb.arch/arm-bl-branch-dest.c: New file.
355         * gdb.arch/arm-bl-branch-dest.exp: Likewise.
356
357 2013-04-19  Vladimir Kargov  <kargov@gmail.com>
358             Pedro Alves  <palves@redhat.com>
359
360         * gdb.arch/i386-float.S: New file.
361         * gdb.arch/i386-float.exp: New file.
362
363 2013-04-18  Luis Machado  <lgustavo@codesourcery.com>
364
365         * gdb.mi/mi-var-create-rtti.exp: Create a variable of
366         type void *.
367
368 2013-04-17  Doug Evans  <dje@google.com>
369
370         * lib/dwarf.exp (Dwarf): New proc "tu".
371         * gdb.dwarf2/missing-sig-type.exp: New file.
372
373 2013-04-15  Siva Chandra Reddy  <sivachandra@google.com>
374
375         Add option to link testcases with Pthreads library when
376         using 'prepare_for_testing' in tests.
377
378         * lib/gdb.exp (build_executable_from_specs): Use
379         gdb_compile_pthreads to compile if option "pthreads" is
380         specified.
381
382 2013-04-15  Tom Tromey  <tromey@redhat.com>
383
384         * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
385
386 2013-04-15  Tom Tromey  <tromey@redhat.com>
387
388         * gdb.base/default.exp: Update for $_exception.
389         * gdb.cp/exceptprint.cc: New file.
390         * gdb.cp/exceptprint.exp: New file.
391         * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
392
393 2013-04-15  Tom Tromey  <tromey@redhat.com>
394
395         * gdb.cp/typeid.cc: New file.
396         * gdb.cp/typeid.exp: New file.
397
398 2013-04-15  Tom Tromey  <tromey@redhat.com>
399
400         * gdb.cp/exception.exp: Add "catch rethrow" tests.
401
402 2013-04-13  Yao Qi  <yao@codesourcery.com>
403
404         * gdb.base/completion.exp: Test completion of command
405         'target ctf' if target ctf is supported.
406
407 2013-04-10  Pedro Alves  <palves@redhat.com>
408
409         * gdb.base/completion.exp: Test "set height", "set listsize" and
410         "set trace-buffer-size" completion.
411         * gdb.base/setshow.exp: Test "set height unlimited".
412         * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
413         unlimited".
414
415 2013-04-10  Yao Qi  <yao@codesourcery.com>
416
417         * gdb.trace/actions.exp: Save trace data to CTF.
418         Change to ctf target if GDB supports, read CTF data in ctf
419         target, and check the actions of tracepoints.
420         * gdb.trace/while-stepping.exp: Likewise.
421         * gdb.trace/report.exp: Test GDB saves trace data to CTF
422         format and read CTF trace file if GDB supports.
423         * gdb.trace/tstatus.exp: Save trace data to CTF.  If ctf
424         target is supported, change to ctf target, read trace data and
425         check output of command "tstatus".
426         * gdb.trace/tsv.exp: Save trace frame to CTF.  If GDB supports,
427         read CTF data by target ctf and call check_tsv.
428
429 2013-04-10  Yao Qi  <yao@codesourcery.com>
430
431         * gdb.trace/actions.exp (check_tracepoint): New.
432         (top level): Start the tracing and check the actions of
433         tracepoints.  Save trace data to tfile format.  Restart GDB
434         and read trace file in tfile target.  Check the actions of
435         tracepoints again.
436         * gdb.trace/while-stepping.exp: Likewise.
437
438 2013-04-10  Yao Qi  <yao@codesourcery.com>
439
440         * gdb.trace/report.exp: Use standard_output_file for saved
441         trace file.
442
443 2013-04-10  Hui Zhu  <hui@codesourcery.com>
444
445         * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
446         (MISCELLANEOUS): Add dprintf-pendshr.sl.
447         * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
448
449 2013-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
450
451         * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
452         response.
453
454 2013-04-08  Pedro Alves  <palves@redhat.com>
455
456         * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
457         the location.
458
459 2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
460
461         * gdb.cp/cplabel.exp: Allow empty directory in file reported
462         for breakpoint location.
463
464 2013-04-04  Sandra Loosemore  <sandra@codesourcery.com>
465
466         * gdb.linespec/linespec.exp: Make dir/file:line tests
467         conditional for non-remote hosts only.
468
469 2013-04-04  Stan Shebs  <stan@codesourcery.com>
470             Pedro Alves  <palves@redhat.com>
471
472         * gdb.trace/Makefile.in (PROGS): Add actions-changed.
473         * gdb.trace/actions-changed.c: New file.
474         * gdb.trace/actions-changed.exp: New file.
475         * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
476         (gdb_trace_setactions_command): ... this.  Add "actions_command"
477         parameter, and handle it.
478         (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
479
480 2013-04-04  Yao Qi  <yao@codesourcery.com>
481
482         * gdb.server/server-kill.exp: Use command 'tstatus' instead of
483         'step'.
484
485 2013-04-03  Yao Qi  <yao@codesourcery.com>
486
487         * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
488         "tfile-basic.tf".
489         (test_tfind_tfile): Likewise.
490
491 2013-04-03  Yao Qi  <yao@codesourcery.com>
492
493         * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
494         "tfile-basic.tf" instead of "basic.tf".
495         (write_error_trace_file): Pass argument "tfile-error.tf"
496         instead of "error.tf".
497         * gdb.trace/tfile.exp: Update tfile names to
498         "tfile-basic.tf" and "tfile-error.tf".
499
500 2013-04-02  Sandra Loosemore  <sandra@codesourcery.com>
501
502         * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
503         empty directory in file for breakpoint hit.
504
505 2013-03-29  Yao Qi  <yao@codesourcery.com>
506
507         * gdb.base/completion.exp: Test completion of commands
508         "target core", "target tfile" and "target exec".
509         * gdb.trace/tfile.exp: Test completion of command
510         "target tfile".
511
512 2013-03-28  Joel Brobecker  <brobecker@adacore.com>
513
514         * gdb.ada/win_fu_syms: New testcase.
515
516 2013-03-28  Doug Evans  <dje@google.com>
517
518         * gdb.base/maint.exp (maint print statistics): Update expected output.
519
520 2013-03-28  Pedro Alves  <palves@redhat.com>
521
522         PR gdb/15294
523
524         * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
525         mean unlimited instead of $arg < 0.
526         (test_listsize): Remove "listsize of 0 suppresses output" test.
527         Test that "set listsize 0" ends up with an unlimited listsize.
528
529 2013-03-28  Pedro Alves  <palves@redhat.com>
530
531         * gdb.base/list.exp (last_line): New global.
532         (last_line_re): New global.
533         (test_listsize, test_list_function, test_list_forward)
534         (test_repeat_list_command, test_list_range)
535         (test_list_filename_and_function): Use them.
536         * gdb.base/list0.c: Comment the last line of the file with "last
537         line".
538
539 2013-03-28  Pedro Alves  <palves@redhat.com>
540
541         * gdb.base/list.exp (test_listsize): Adjust test to make sure we
542         list the whole file.
543
544 2013-03-28  Pedro Alves  <palves@redhat.com>
545
546         * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
547         "set listsize".
548
549 2013-03-26  Keith Seitz  <keiths@redhat.com>
550
551         * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
552         from passing.
553
554 2013-03-26  Pedro Alves  <palves@redhat.com>
555
556         * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
557         until after GDB has run.
558
559 2013-03-26  Yao Qi  <yao@codesourcery.com>
560
561         * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
562         * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
563
564 2013-03-26  Markus Metzger  <markus.t.metzger@intel.com>
565
566         * gdb.btrace/enable.exp: Add regression test.
567
568 2013-03-25  Tom Tromey  <tromey@redhat.com>
569
570         * gdb.cp/m-static.exp: Add destructor-printing tests.
571
572 2013-03-25  Tom Tromey  <tromey@redhat.com>
573
574         * gdb.cp/m-static.exp: Add constructor ptype tests.
575         * gdb.cp/m-static.cc (single_constructor): New class.
576         (main): Make instance of single_constructor.
577
578 2013-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
579             Pedro Alves  <palves@redhat.com>
580
581         * gdb.server/server-kill.c: New file.
582         * gdb.server/server-kill.exp: New file.
583
584 2013-03-21  Pedro Alves  <palves@redhat.com>
585
586         * gdb.trace/trace-buffer-size.exp (get default buffer size):
587         Expect $gdb_prompt in gdb_test_multiple.
588
589 2013-03-21  Doug Evans  <dje@google.com>
590
591         * gdb.base/maint.exp: Update tests for per-command stats.
592
593 2013-03-21  Tom Tromey  <tromey@redhat.com>
594
595         * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
596         * gdb.cp/misc.exp: Add test for FILENAME:: case.
597
598 2013-03-20  Pedro Alves  <palves@redhat.com>
599
600         PR gdb/15289
601
602         * gdb.base/remote.exp: Test
603         "set remote hardware-watchpoint-limit -1",
604         "set remote hardware-breakpoint-limit -1",
605         "set remote hardware-watchpoint-limit 2147483647" and
606         "set remote hardware-breakpoint-limit 2147483647".
607
608 2013-03-20  Pedro Alves  <palves@redhat.com>
609             Yao Qi  <yao@codesourcery.com>
610
611         * gdb.trace/tfile.c: Add comments.
612         (nonconstglob): New global.
613         * gdb.trace/tfile.exp: Add comments.  Test printing a non-const
614         global that is not covered by the trace frame.  Test
615         disassembling.
616
617 2013-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
618
619         * gdb.base/valgrind-infcall.exp
620         (continue #$continue_count) <remote connection closed>
621         (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
622         $valgrind_pid.
623
624 2013-03-15  Tom Tromey  <tromey@redhat.com>
625
626         * gdb.cp/overload.cc (intintfunc): New.
627         * gdb.cp/overload.exp: Add regression test.
628
629 2013-03-15  Yao Qi  <yao@codesourcery.com>
630
631         * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
632         using with_test_prefix.
633         * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
634         * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
635         * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
636         * gdb.threads/watchpoint-fork.exp (test): Likewise.
637         * gdb.base/break-interp.exp (test_core): Likewise.
638         (test_attach_gdb): Likewise.
639         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
640         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
641         Likewise.
642         * gdb.base/jit-so.exp (one_jit_test): Likewise.
643         * gdb.base/jit.exp (one_jit_test): Likewise.
644         * gdb.base/sepdebug.exp (test_different_dir): Likewise.
645         * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
646         * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
647         * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
648         Likewise.
649         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
650         Likewise.
651         * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
652         * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
653         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
654         (tracepoint_change_loc_2): Likewise.
655         * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
656         Likewise.
657         (disconnected_tfind): Likewise.
658         * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
659         Likewise.
660         (test_tfind_remote): Likewise.
661         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
662         Likewise.
663         (test_pending_resolved): Likewise.
664         * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
665         Likewise.
666         (test_upload_tsv): Likewise.
667         * gdb.trace/pending.exp (pending_tracepoint_resolved):
668         Likewise.
669         (pending_tracepoint_works): Likewise.
670         * gdb.trace/report.exp (use_collected_data): Likewise.
671         * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
672         Likewise.
673         (test_tstart_tstart, test_buffer_full_tstart): Likewise.
674         * gdb.trace/strace.exp (strace_info_marker): Likewise.
675         (strace_trace_on_same_addr): Likewise.
676         (strace_trace_on_diff_addr): Likewise.
677         * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
678         (gdb_collect_locals_test): Likewise.
679         (gdb_unavailable_registers_test): Likewise.
680         (gdb_collect_globals_test): Likewise.
681
682 2013-03-15  Yao Qi  <yao@codesourcery.com>
683
684         * gdb.base/condbreak.exp: Add semicolon back which was removed
685         by my previous commit.
686
687 2013-03-14  Yao Qi  <yao@codesourcery.com>
688
689         * config/monitor.exp (gdb_target_cmd): Remove semicolon after
690         'return'.
691         (gdb_target_monitor, gdb_load): Likewise.
692         * config/sid.exp (gdb_load): Likewise.
693         * config/slite.exp (gdb_load): Likewise.
694         * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
695         * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
696         * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
697         (single_step_until): Likewise.
698         * gdb.arch/powerpc-d128-regs.exp: Likewise.
699         * gdb.arch/system-gcore.exp: Likewise.
700         * gdb.base/bigcore.exp (extract_heap): Likewise.
701         * gdb.base/break-on-linker-gcd-function.exp: Likewise.
702         * gdb.base/call-ar-st.exp: Likewise.
703         * gdb.base/call-rt-st.exp: Likewise.
704         * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
705         * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
706         * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
707         * gdb.base/corefile.exp: Likewise.
708         * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
709         * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
710         * gdb.base/fixsection.exp: Likewise.
711         * gdb.base/funcargs.exp: Likewise.
712         * gdb.base/gcore-buffer-overflow.exp: Likewise.
713         * gdb.base/gcore-relro.exp: Likewise.
714         * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
715         * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
716         * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
717         * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
718         * gdb.base/list.exp: Likewise.
719         (set_listsize): Likewise.
720         * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
721         * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
722         * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
723         * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
724         * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
725         * gdb.base/setvar.exp: Likewise.
726         (test_set): Likewise.
727         * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
728         * gdb.base/solib-overlap.exp: Likewise.
729         * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
730         * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
731         * gdb.base/watchpoint.exp (initialize): Likewise.
732         (test_simple_watchpoint): Likewise.
733         (test_disabling_watchpoints): Likewise.
734         (test_watchpoint_triggered_in_syscall): Likewise.
735         * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
736         * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
737         * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
738         * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
739         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
740         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
741         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
742         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
743         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
744         * gdb.hp/gdb.compat/xdb2.exp: Likewise.
745         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
746         * gdb.hp/gdb.defects/bs14602.exp: Likewise.
747         * gdb.hp/gdb.defects/solib-d.exp: Likewise.
748         * gdb.mi/gdb792.exp: Likewise.
749         * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
750         * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
751         * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
752         * gdb.threads/gcore-thread.exp: Likewise.
753         (load_core): Likewise.
754         * gdb.threads/pthreads.exp (all_threads_running): Likewise.
755         (test_startup, check_control_c): Likewise.
756         * gdb.threads/sigstep-threads.exp: Likewise.
757         * gdb.threads/thread_check.exp: Likewise.
758         * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
759         * gdb.trace/circ.exp (run_trace_experiment): Likewise.
760         (set_a_tracepoint, trace_buffer_normal): Likewise.
761         (gdb_trace_circular_tests): Likewise.
762         * gdb.trace/collection.exp: Likewise.
763         * gdb.trace/disconnected-tracing.exp: Likewise.
764         * gdb.trace/infotrace.exp: Likewise.
765         * gdb.trace/mi-traceframe-changed.exp: Likewise.
766         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
767         * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
768         * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
769         * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
770         * gdb.trace/stap-trace.exp: Likewise.
771         * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
772         * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
773         * gdb.trace/trace-buffer-size.exp: Likewise.
774         * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
775         * gdb.trace/unavailable.exp: Likewise.
776         * gdb.trace/while-dyn.exp: Likewise.
777         * lib/fortran.exp (set_lang_fortran): Likewise.
778         * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
779         (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
780         (default_gdb_start, get_compiler_info): Likewise.
781         (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
782         (get_debug_format, setup_xfail_format): Likewise.
783         (rerun_to_main, gdb_skip_float_test): Likewise.
784         (build_id_debug_filename_get, get_remotetimeout): Likewise.
785         * lib/java.exp (set_lang_java): Likewise.
786         * lib/mi-support.exp (default_mi_gdb_start): Likewise.
787         (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
788         (mi_gdb_file_cmd, mi_gdb_test): Likewise.
789         (mi_run_cmd_full, mi_expect_interrupt): Likewise.
790         * lib/objc.exp (set_lang_objc): Likewise.
791         * lib/pascal.exp (set_lang_pascal): Likewise.
792         * lib/prompt.exp (default_prompt_gdb_start): Likewise.
793         * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
794         (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
795
796 2013-03-14  Sergio Durigan Junior  <sergiodj@redhat.com>
797
798         PR c++/15203
799         PR c++/15210
800         * gdb.cp/m-static.cc (keepalive_int): New function.
801         (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
802         * gdb.cp/m-static.exp: New test for `sintvar'.
803
804 2013-03-14  Yao Qi  <yao@codesourcery.com>
805
806         * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
807         of 'tstatus' into tstatus_output.
808         (top level): Save the trace data to tfile.  Read trace file in
809         tfile target.  Check the trace status.
810
811 2013-03-13  Yao Qi  <yao@codesourcery.com>
812
813         * gdb.trace/tsv.exp (check_tsv): New.
814         (top level): Save a tfile on current trace session. Call
815         check_tsv on live target.  Load the tfile with target tfile
816         and call check_tsv again.
817
818 2013-03-13  Yao Qi  <yao@codesourcery.com>
819
820         * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
821         Replace some "gdb_test" with "gdb_test_no_output".
822
823 2013-03-12  Paul Hilfinger  <hilfingr@adacore.com>
824
825         * gdb.ada/expr_delims.exp: New file.
826         * gdb.ada/expr_delims/foo.adb: New file.
827         * gdb.ada/expr_delims/pck.ads: New file.
828         * gdb.ada/expr_delims/pck.adb: New file.
829
830 2013-03-11  Keith Seitz  <keiths@redhat.com>
831
832         * watchpoint.exp (test_no_hw_watchpoints): Add test using
833         both condition and thread.  Then delete the watchpoint.
834
835 2013-03-11  Christian Himpel  <christian.himpel@intel.com>
836
837         * Makefile.in: Add btrace testsuite.
838         * configure: Regenerated.
839         * configure.ac: Add btrace testsuite.
840         * gdb.btrace/Makefile.in: New file.
841         * gdb.btrace/enable.c: New file.
842         * gdb.btrace/enable.exp: New file.
843         * gdb.btrace/function_call_history.c: New file.
844         * gdb.btrace/function_call_history.exp: New file.
845         * gdb.btrace/instruction_history.c: New file.
846         * gdb.btrace/instruction_history.exp: New file.
847         * gdb.btrace/instruction_history.S: New file.
848         * lib/gdb.exp: Add btrace skip proc.
849
850 2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
851
852         Fix entry-values if the callee called a noreturn function.
853         * gdb.arch/amd64-tailcall-noret.S: New file.
854         * gdb.arch/amd64-tailcall-noret.c: New file.
855         * gdb.arch/amd64-tailcall-noret.exp: New file.
856
857 2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
858
859         Fix entry-values in C++ across CUs.
860         * gdb.arch/amd64-tailcall-cxx.exp: New file.
861         * gdb.arch/amd64-tailcall-cxx1.S: New file.
862         * gdb.arch/amd64-tailcall-cxx1.cc: New file.
863         * gdb.arch/amd64-tailcall-cxx2.S: New file.
864         * gdb.arch/amd64-tailcall-cxx2.cc: New file.
865
866 2013-03-08  Stan Shebs  <stan@codesourcery.com>
867             Hafiz Abid Qadeer  <abidh@codesourcery.com>
868
869         gdb/testsuite/
870         * gdb.trace/trace-buffer-size.exp: New file.
871         * gdb.trace/trace-buffer-size.c: New file.
872
873 2013-03-06  Pedro Alves  <palves@redhat.com>
874
875         * gdb.trace/tstatus.exp (run_trace_experiment): When the target
876         doesn't support the tested optional feature, call "unsupported"
877         with the same test message as the "pass" case, instead of calling
878         "pass" with a different message.  Use the same text for the "fail"
879         cases too.
880
881 2013-03-06  Yao Qi  <yao@codesourcery.com>
882
883         * gdb.trace/tstatus.exp: Remove the invocation of
884         gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
885         (test_tracepoints): Don't set fast tracepoint.
886         (top level): Don't check agent library is loaded or not.
887
888 2013-03-06  Yao Qi  <yao@codesourcery.com>
889
890         * gdb.trace/tstatus.exp (run_trace_experiment): Escape
891         parentheses by "\\".
892
893 2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
894
895         * gdb.linespec/base/one/thefile.cc (twodup): New.
896         (m): Call it.
897         * gdb.linespec/base/two/thefile.cc (dupname): New.
898         (n): Call it.
899         * gdb.linespec/break-ask.exp: New file.
900         * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
901
902 2013-02-28  Yao Qi  <yao@codesourcery.com>
903
904         * gdb.trace/report.exp: Move some code to ...
905         (use_collected_data): New.
906         (top level): Call use_collected_data once on the live target.
907         Save at file of the current trace session, load it with target
908         tfile, and call use_collected_data again.
909
910 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
911
912         * gdb.threads/fork-thread-pending.c (main): Add alarm.
913
914 2013-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
915
916         * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
917         Add final kill of ${valgrind_pid}.
918
919 2013-02-20  Siva Chandra Reddy  <sivachandra@google.com>
920
921         * gdb.python/py-arch.c: New test case
922         * gdb.python/py-arch.exp: New tests to test
923         gdb.Architecture.disassemble
924         * gdb.python/Makefile.in: Add py-arch to the list of
925         EXECUTABLES.
926
927 2013-02-18  Tom Tromey  <tromey@redhat.com>
928
929         * gdb.dwarf2/subrange.exp: New file.
930
931 2013-02-15  Pedro Alves  <pedro@codesourcery.com>
932             Hafiz Abid Qadeer  <abidh@codesourcery.com>
933
934         * gdb.trace/tfile.exp: Add test for -trace-status command.
935
936 2013-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
937
938         * gdb.threads/pthread_cond_wait.c (main): Remove variable ts.  Replace
939         nanosleep by sleep.
940
941 2013-02-14  Pedro Alves  <palves@redhat.com>
942
943         * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
944
945 2013-02-14  Pedro Alves  <pedro@codesourcery.com>
946             Hafiz Abid Qadeer  <abidh@codesourcery.com>
947
948         * gdb.trace/tsv.exp: Adjust tests, and add a few more.
949
950 2013-02-12  Tom Tromey  <tromey@redhat.com>
951
952         * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
953         * gdb.cp/m-static.exp: Add tests to print quoted destructor.
954
955 2013-02-12  Pedro Alves  <palves@redhat.com>
956
957         * gdb.base/catch-signal.c: Update copyright years.
958         * gdb.base/catch-signal.exp: Update copyright years.
959         * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
960         * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
961         * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
962         * gdb.dwarf2/dw2-error.S: Update copyright years.
963         * gdb.dwarf2/dw2-error.c: Update copyright years.
964         * gdb.dwarf2/dw2-restrict.S: Update copyright years.
965         * gdb.dwarf2/dw2-restrict.c: Update copyright years.
966         * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
967
968 2013-02-12  Pedro Alves  <palves@redhat.com>
969
970         * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
971         message.
972         * gdb.base/sigaltstack.exp: Ditto.
973         * gdb.base/siginfo.exp: Ditto.
974         * gdb.base/sizeof.exp: Ditto.
975
976 2013-02-12  Pedro Alves  <palves@redhat.com>
977
978         * gdb.mi/mi-basics.exp: Tweak intro comment.
979         * gdb.mi/mi-break.exp: Tweak intro comment.
980         * gdb.mi/mi-console.exp: Tweak intro comment.
981         * gdb.mi/mi-file.exp: Tweak intro comment.
982         * gdb.mi/mi-read-memory.exp: Tweak intro comment.
983         * gdb.mi/mi-return.exp: Tweak intro comment.
984         * gdb.mi/mi-stepi.exp: Tweak intro comment.
985         * gdb.mi/mi-until.exp: Tweak intro comment.
986         * gdb.mi/mi-watch.exp: Tweak intro comment.
987
988 2013-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
989
990         * gdb.server/no-thread-db.exp: New file.
991         * gdb.server/no-thread-db.c: New file.
992         * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
993
994 2013-02-11  Doug Evans  <dje@google.com>
995
996         * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
997         two decfloats.
998
999 2013-02-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1000
1001         * gdb.base/bitfields.c (struct internalvartest): New declaration.
1002         * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1003
1004 2013-02-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1005
1006         * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1007
1008 2013-02-06  Yao Qi  <yao@codesourcery.com>
1009
1010         * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1011         to ...
1012         (test_create_delete_modify_tsv): ... here.  New test on modifying
1013         the initial value of a tsv.
1014
1015 2013-02-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
1016
1017         * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1018         (cd .../rdir): ... here.
1019
1020 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1021
1022         * gdb.linespec/base/one/header.h: New file.
1023         * gdb.linespec/base/two/header.h: New file.
1024         * gdb.linespec/macro-relative.c: New file.
1025         * gdb.linespec/macro-relative.exp: New file.
1026
1027 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1028
1029         * gdb.base/fullpath-expand-func.c: New file.
1030         * gdb.base/fullpath-expand.c: New file.
1031         * gdb.base/fullpath-expand.exp: New file.
1032         * gdb.base/realname-expand-real.c: New file.
1033         * gdb.base/realname-expand.c: New file.
1034         * gdb.base/realname-expand.exp: New file.
1035
1036 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1037
1038         * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1039         * gdb.dwarf2/dw2-dir-file-name.c: New file.
1040
1041 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1042
1043         * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1044         (compare_filenames_for_search does not match)
1045         (compare_filenames_for_search does match): New tests.
1046
1047 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1048
1049         * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1050
1051 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1052
1053         * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1054
1055 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1056
1057         * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1058         ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1059         ${binfile}.mini_debuginfo-debuglink and
1060         ${binfile}.mini_debuginfo-debuglink.xz.
1061
1062 2013-02-01  Tom Tromey  <tromey@redhat.com>
1063
1064         * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1065         attributes.
1066
1067 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1068             Tom Tromey  <tromey@redhat.com>
1069
1070         * gdb.dwarf2/method-ptr.exp: Link with c++.
1071         * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1072
1073 2013-01-31  Tom Tromey  <tromey@redhat.com>
1074
1075         * gdb.base/jit.exp (compile_jit_test): New proc.
1076         Add PIE tests.
1077
1078 2013-01-31  Tom Tromey  <tromey@redhat.com>
1079
1080         * gdb.dwarf2/method-ptr.cc: New file.
1081         * gdb.dwarf2/method-ptr.exp: New file.
1082
1083 2013-01-31  Tom Tromey  <tromey@redhat.com>
1084
1085         * lib/dwarf.exp (namespace Dwarf): New.
1086
1087 2013-01-29  Tom Tromey  <tromey@redhat.com>
1088
1089         * gdb.dwarf2/fission-reread.exp: Add unload test.
1090
1091 2013-01-28  Doug Evans  <dje@google.com>
1092
1093         * gdb.dwarf2/fission-loclists.exp: New file.
1094         * gdb.dwarf2/fission-loclists.S: New file.
1095
1096 2013-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1097
1098         Code cleanup.
1099         * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1100         gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1101         and prepare_for_testing.
1102         * gdb.base/store.exp: Likewise.
1103
1104 2013-01-25  Tom Tromey  <tromey@redhat.com>
1105
1106         * gdb.python/py-explore.exp: Expect the gdb prompt.
1107
1108 2013-01-25  Andrew Burgess  <aburgess@broadcom.com>
1109
1110         * gdb.base/gnu_vector.c: New variable for use in tests.
1111         * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1112         changes in scalar to vector casting and widening.
1113         * gdb.python/py-type.c: New variables for use in tests.
1114         * gdb.python/py-type.exp: Update vector related tests to reflect
1115         changes in scalar to vector casting and widening.
1116
1117 2013-01-24  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
1118
1119         * gdb.base/prologue-include.c: New file.
1120         * gdb.base/prologue-include.exp: New file.
1121         * gdb.base/prologue-include.h: New file.
1122
1123 2013-01-24  Hafiz Abid Qadeer  <abidh@codesourcery.com>
1124
1125         PR gdb/13443
1126         * gdb.mi/mi-var-block.exp: Make test messages unique.
1127
1128 2013-01-23  Tom Tromey  <tromey@redhat.com>
1129
1130         * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1131
1132 2013-01-23  Tom Tromey  <tromey@redhat.com>
1133
1134         * gdb.cp/converts.cc (main): Initialize 'a'.
1135
1136 2013-01-23  Siva Chandra Reddy  <sivachandra@google.com>
1137
1138         * testsuite/gdb.python/frame.exp: Add a test for
1139         gdb.Frame.architecture() method.
1140
1141 2013-01-22  Pedro Alves  <palves@redhat.com>
1142
1143         * gdb.base/annota1.exp (signal sent): No longer expect
1144         breakpoints-invalid.
1145         * gdb.cp/annota2.exp (continue until exit)
1146         (watch triggered on a.x): Ditto.
1147
1148 2013-01-22  Pedro Alves  <palves@redhat.com>
1149
1150         * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1151         Adjust tests to breakpoints-invalid changes.
1152         * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1153         variables.
1154         Adjust tests to breakpoints-invalid changes.
1155
1156 2013-01-22  Pedro Alves  <palves@redhat.com>
1157
1158         * gdb.base/annota1.exp (annotate ignore count change): Add
1159         expected output for failure case.
1160
1161 2013-01-22  Tom Tromey  <tromey@redhat.com>
1162
1163         * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1164         call.
1165
1166 2013-01-21  Marc Khouzam  <marc.khouzam@ericsson.com>
1167
1168         * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
1169         * gdb.mi/mi-catch-load.exp: Ditto.
1170         * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1171         Also handle 'thread' field.
1172         * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1173         * gdb.mi/mi-watch.exp: Ditto.
1174         * lib/mi-support.exp: Ditto.
1175
1176 2013-01-21  Siva Chandra Reddy  <sivachandra@google.com>
1177
1178         * gdb.python/py-explore.exp: Improve a test
1179
1180 2013-01-18 Â David Blaikie Â <dblaikie@gmail.com>
1181
1182         * gdb.base/label.c (main): Correct the type of the second
1183         parameter.
1184
1185 2013-01-18  Tom Tromey  <tromey@redhat.com>
1186
1187         * gdb.dwarf2/trace-crash.s: New file.
1188         * gdb.dwarf2/trace-crash.exp: New file.
1189
1190 2013-01-18  Hafiz Abid Qadeer<abidh@codesourcery.com>
1191
1192         PR gdb/13443
1193         * gdb.base/checkpoint.exp: Update test messages to make them
1194         unique.
1195
1196 2013-01-18  Yao Qi  <yao@codesourcery.com>
1197
1198         * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1199         output of 'info tracepoints'.
1200         * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1201         Likewise.
1202         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1203         * gdb.trace/disconnected-tracing.c (struct foo): New.
1204
1205 2013-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1206
1207         * gdb.dwarf2/dw2-dos-drive.S: New file.
1208         * gdb.dwarf2/dw2-dos-drive.exp: New file.
1209
1210 2013-01-17  Doug Evans  <dje@google.com>
1211
1212         * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1213         CXX_FOR_TARGET.
1214
1215         * boards/cc-with-tweaks.exp: New file.
1216
1217 2013-01-17  Tom Tromey  <tromey@redhat.com>
1218
1219         * gdb.base/completion.exp: Add "set cp-abi" completion test.
1220
1221 2013-01-17  Pedro Alves  <palves@redhat.com>
1222
1223         Merge dg-extract-results.sh from upstream (svn 195224).
1224
1225         2013-01-15  David Blaikie <dblaikie@gmail.com>
1226         * dg-extract-results.sh: Fix order of summary counts.
1227
1228         2013-01-15  David Blaikie <dblaikie@gmail.com>
1229         * dg-extract-results.sh: Constrain the start-of-log pattern.
1230
1231         2013-01-15  David Blaikie <dblaikie@gmail.com>
1232         * dg-extract-results.sh: Handle KPASSes.
1233
1234         2010-05-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1235         * dg-extract-results.sh: Redirect grep output to /dev/null instead
1236         of grep -q.
1237
1238 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
1239
1240         * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1241         interface.
1242         * gdb.base/jithost.c: New file.
1243         * gdb.base/jithost.h: New file.
1244         * gdb.base/jitreader.c : New file.
1245         * gdb.base/jit-protocol.h: New file.
1246
1247 2013-01-16  Tom Tromey  <tromey@redhat.com>
1248
1249         * gdb.base/catch-signal.c: New file.
1250         * gdb.base/catch-signal.exp: New file.
1251
1252 2013-01-16  Tom Tromey  <tromey@redhat.com>
1253
1254         * gdb.mi/mi-catch-load.exp: Look for "catch-type".
1255
1256 2013-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1257
1258         * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
1259
1260 2013-01-14  Tom Tromey  <tromey@redhat.com>
1261
1262         * gdb.base/completion.exp: Add "set gnutarget" test.
1263
1264 2013-01-14  Tom Tromey  <tromey@redhat.com>
1265
1266         * gdb.dwarf2/dw2-restrict.S: New file.
1267         * gdb.dwarf2/dw2-restrict.c: New file.
1268         * gdb.dwarf2/dw2-restrict.exp: New file.
1269
1270 2013-01-14  Tom Tromey  <tromey@redhat.com>
1271
1272         * gdb.dwarf2/dw2-error.exp: New file.
1273         * gdb.dwarf2/dw2-error.c: New file.
1274         * gdb.dwarf2/dw2-error.S: New file.
1275
1276 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1277
1278         * gdb.cp/parse-lang.cc: New file.
1279         * gdb.cp/parse-lang.exp: New file.
1280
1281 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1282
1283         * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
1284         (set substitute-path): New test.
1285         (fullname present): Remove content.
1286         (substituted fullname): New test.
1287
1288 2013-01-13  Joel Brobecker  <brobecker@adacore.com>
1289
1290         * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
1291         check.  Move $gdb_py_is_py24 value check right after.
1292
1293 2013-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1294
1295         * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
1296         targets.
1297
1298 2013-01-11  Yao Qi  <yao@codesourcery.com>
1299
1300         * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
1301         for dprintf.
1302         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1303         Check the fields in "=breakpoint-created" for dprintf.
1304
1305 2012-12-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1306
1307         * gdb.mi/mi-fullname-deleted.exp: New file.
1308
1309 2012-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1310
1311         * gdb.base/skip-solib.exp (info skip with pending file): Update the
1312         expected output.
1313         (info skip with pending file): Remove.
1314         (ignoring function in solib, info skip for function multiply): Update
1315         the expected output.
1316         * gdb.base/skip.ex (skip (main), skip function baz, info skip)
1317         (info skip (delete 1), info skip after disabling all)
1318         (info skip after enabling all, info skip after disabling 4 2-3)
1319         (info skip after enabling 2-3, info skip 2-3)
1320         (info skip after deleting 2 3): Update the expected output.
1321         * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
1322         statement to its initialization and return.
1323         * gdb.linespec/skip-two.exp: New file.
1324
1325 2012-12-19  Doug Evans  <dje@google.com>
1326
1327         * gdb.base/maint.exp: Handle testing with .gdb_index.
1328
1329 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
1330
1331         * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
1332         Cavium to FSF.
1333
1334 2012-12-19  Joel Brobecker  <brobecker@adacore.com>
1335
1336         * dg-extract-results.sh: Update contact info in copyright notice.
1337         * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
1338         GPL v3 or later.  Update contact info.
1339         * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
1340         gdb.threads/watchpoint-fork-mt.c,
1341         gdb.threads/watchpoint-fork-parent.c,
1342         gdb.threads/watchpoint-fork-st.c,
1343         gdb.threads/watchpoint-fork.h: Likewise.
1344
1345 2012-12-15  Yao Qi  <yao@codesourcery.com>
1346
1347         * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
1348         'installed' field in '=breakpoint-modified'.
1349         (test_reconnect): Check 'installed' field in
1350         '=breakpoint-modified' and '=breakpoint-created'.
1351
1352         * gdb.trace/actions.exp: Update test for 'installed' field.
1353         * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
1354         (tracepoint_change_loc_2): Likewise.
1355         Check 'info tracepoint' display nothing else.
1356         * gdb.trace/deltrace.exp: Likewise.
1357         * gdb.trace/infotrace.exp: Likewise.
1358         * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
1359         Likewise.
1360         * gdb.trace/passcount.exp: Likewise.
1361         * gdb.trace/tracecmd.exp: Likewise.
1362         * gdb.trace/while-stepping.exp: Likewise.
1363
1364 2012-12-14  Tom Tromey  <tromey@redhat.com>
1365
1366         * gdb.cp/member-name.exp: New file.
1367         * gdb.cp/member-name.cc: New file.
1368
1369 2012-12-14  Tom Tromey  <tromey@redhat.com>
1370
1371         * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
1372
1373 2012-12-14  Doug Evans  <dje@google.com>
1374
1375         * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
1376         DW_OP_GNU_implicit_pointer is section-relative.
1377
1378 2012-12-14  Tom Tromey  <tromey@redhat.com>
1379
1380         * gdb.base/info-proc.exp: Add core file tests.
1381
1382 2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>
1383
1384         * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
1385
1386 2012-12-13  Doug Evans  <dje@google.com>
1387
1388         * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
1389         * gdb.multi/multi-arch.exp: Ditto.
1390
1391 2012-12-12  Keven Boell  <keven.boell@intel.com>
1392
1393         * gdb.mi/mi-catch-load-so.c: New. Clone of the
1394         catch load test library source file.
1395         * gdb.mi/mi-catch-load.c: New. Clone of the catch
1396         load test source file.
1397         * gdb.mi/mi-catch-load.exp: New. Test file for
1398         basic MI -catch-load and -catch-unload tests.
1399
1400 2012-12-11  Paul Koning  <paul_koning@dell.com>
1401
1402         * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
1403         exception.
1404         (_iterator_except): New function.
1405         (ArrayPrinter): Use _iterator function instead of local _iterator
1406         class for Python 3 compatibility.
1407         (NoStringContainerPrinter): Use _iterator_except instead of
1408         _iterator.
1409         * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
1410         execfile for Python 3 compatibility.
1411         * gdb.python/python.exp: Handle Python 2.4 exception traceback
1412         format in error_prompt test.
1413
1414 2012-12-10  Paul Koning  <paul_koning@dell.com>
1415
1416         * gdb.base/charset.exp: Change print syntax for Python 3
1417         compatibility.
1418         * gdb.python/py-block.exp: Ditto.
1419         * gdb.python/py-breakpoint.exp: Ditto.
1420         * gdb.python/py-cmd.exp: Ditto.
1421         * gdb.python/py-events.py: Ditto.
1422         * gdb.python/py-finish-breakpoint.py: Ditto.
1423         * gdb.python/py-finish-breakpoint2.exp: Ditto.
1424         * gdb.python/py-finish-breakpoint2.py: Ditto.
1425         * gdb.python/py-frame-inline.exp: Ditto.
1426         * gdb.python/py-frame.exp: Ditto.
1427         * gdb.python/py-infthread.exp: Ditto.
1428         * gdb.python/py-objfile.exp: Ditto.
1429         * gdb.python/py-parameter.exp: Ditto.
1430         * gdb.python/py-progspace.exp: Ditto.
1431         * gdb.python/py-prompt.exp: Ditto.
1432         * gdb.python/py-symbol.exp: Ditto.
1433         * gdb.python/py-symtab.exp: Ditto.
1434         * gdb.python/py-template.exp: Ditto.
1435         * gdb.python/py-value-cc.exp: Ditto.
1436         * gdb.python/python.exp: Ditto.
1437         * gdb.python/source2.py: Ditto.
1438         * gdb.python/lib-types.exp: Change print syntax for Python 3
1439         compatibility.
1440         Use sorted() function rather than sort() method.
1441         Accept either int or long values for enum values.
1442         * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
1443         execfile for Python 3 compatibility.
1444         * gdb.python/py-evsignal.exp: Ditto.
1445         * gdb.python/py-evthreads.exp: Ditto.
1446         * gdb.python/py-mi.exp: Ditto.
1447         * gdb.python/py-pp-maint.exp: Ditto.
1448         * gdb.python/py-prettyprint.exp: Ditto.
1449         * gdb.python/py-finish-breakpoint.exp: Change print syntax for
1450         Python 3 compatibility.
1451         Skip tests for Python 2.4.
1452         * gdb.python/py-inferior.exp: Change print syntax for
1453         Python 3 compatibility.
1454         Use byte string rather than character string in memory write test
1455         if Python 3.
1456         * gdb.python/py-pp-maint.py: Change class declarations to "new
1457         class" syntax.
1458         * gdb.python/py-prettyprint.py: Change iterator class to generator
1459         function for Python 3 compatibility.
1460         Make all classes "new style".
1461         Fix indentation issue and stray semicolon.
1462         * gdb.python/py-shared.expChange print syntax for Python 3
1463         compatibility.
1464         Define "long" if Python 3.
1465         * gdb.python/py-type.exp: Change print syntax for Python 3
1466         compatibility.
1467         Accept either int or long values for enum values.
1468         * gdb.python/py-value.exp: Change print syntax for Python 3
1469         compatibility.
1470         Skip "long" and "unicode" tests if Python 3.
1471         Accept either "type" or "class" in type checks.
1472         * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
1473         (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
1474
1475 2012-12-10  Tom Tromey  <tromey@redhat.com>
1476
1477         * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
1478         (test): Add "two_cu" argument.
1479         * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
1480         for types; allow two CUs.
1481
1482 2012-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
1483
1484         * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
1485         * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
1486
1487 2012-12-08  Yao Qi  <yao@codesourcery.com>
1488             Pedro Alves  <palves@redhat.com>
1489
1490         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
1491         '=breakpoint-created' when GDB merges the tracepoints of both
1492          sides.
1493
1494 2012-12-07  Tom Tromey  <tromey@redhat.com>
1495
1496         * gdb.base/break1.c (enum some_enum, union some_union): New.
1497         (some_enum_global, some_union_global, some_value): New globals.
1498         * gdb.base/completion.exp: Add tag completion tests.
1499
1500 2012-12-07  Tom Tromey  <tromey@redhat.com>
1501
1502         * gdb.base/completion.exp: Add tests for ptype and whatis
1503         completion.
1504
1505 2012-12-07  Joel Brobecker  <brobecker@adacore.com>
1506
1507         * gdb.base/stale-infcall.exp: Fix copyright line.
1508
1509 2012-12-07  Joel Brobecker  <brobecker@adacore.com>
1510
1511         * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
1512
1513 2012-12-06  Pedro Alves  <palves@redhat.com>
1514             Tom Tromey  <tromey@redhat.com>
1515
1516         * gdb.base/exprs.exp: Add tests for cast to void.
1517
1518 2012-12-06  Jens Elmenthaler <jens.elmenthaler@advantest.com>
1519
1520         * gdb.python/py-mi.exp: Correct expected results for attribute
1521         "dynamic" returned by -var-update.
1522         Add test case for correct handling of "diplayhint" for children
1523         of dynamic varobjs.
1524         * gdb.python/py-prettyprint.c (set_itme): New function.
1525         (bug_14741) New function.
1526         (main) Add call to bug_14741().
1527         * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
1528
1529 2012-12-05  Ulrich Weigand  <uweigand@de.ibm.com>
1530
1531         * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
1532         ${binfile}.funcsyms list.
1533
1534 2012-12-04  Yao Qi  <yao@codesourcery.com>
1535
1536         PR gdb/13443
1537         * gdb.trace/actions.exp: Make test messages unique.
1538
1539 2012-11-29  Tom Tromey  <tromey@redhat.com>
1540
1541         * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
1542
1543 2012-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
1544
1545         * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
1546         * gdb.opencl/datatypes.exp: Likewise.
1547         * gdb.opencl/operators.exp: Likewise.
1548         * gdb.opencl/vec_comps.exp: Likewise.
1549
1550 2012-11-29  Jerome Guitton  <guitton@adacore.com>
1551
1552         * gdb.ada/iwide: New testcase.
1553
1554 2012-11-29  Jerome Guitton  <guitton@adacore.com>
1555
1556         * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
1557         ptype test.
1558
1559 2012-11-29  Jerome Guitton  <guitton@adacore.com>
1560
1561         * gdb.ada/variant_record_packed_array.exp: Test expressions of the
1562         form {VARIANT_TYPE}ADDRESS.
1563
1564 2012-11-27  Daniel Jacobowitz  <dan@codesourcery.com>
1565
1566         * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
1567         (func): New function.
1568         (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
1569         * gdb.cp/member-ptr.exp: Add new tests for ptype and for
1570         pointers to members with pointer-to-function type.
1571
1572 2012-11-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1573             Tom Tromey  <tromey@redhat.com>
1574
1575         * gdb.base/gnu-debugdata.exp: New file.
1576         * gdb.base/gnu-debugdata.c: New file.
1577         * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1578         (gdb_unload): Return 0 on success.
1579
1580 2012-11-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
1581
1582         * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1583
1584 2012-11-26  Joel Brobecker  <brobecker@adacore.com>
1585
1586         * gdb.base/empty_exe.exp: New testcase.
1587
1588 2012-11-20  Mike Frysinger  <vapier@gentoo.org>
1589
1590         * gdb.base/completion.exp: Add test for help aliases completion.
1591
1592 2012-11-20  Yao Qi  <yao@codesourcery.com>
1593
1594         * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1595         Don't test 'maint set show-debug-regs'.
1596         Use command 'set remotecache' instead of
1597         'set circular-trace-buffer'.
1598
1599 2012-11-16  Keith Seitz  <keiths@redhat.com>
1600
1601         PR c++/13615
1602         * gdb.cp/baseenum.cc: New file.
1603         * gdb.cp/baseenum.exp: New file.
1604         * gdb.cp/derivation.cc (A): Add copyright.
1605         Add a typedef.
1606         (B): Use A::value_type instead of int.  Change all references.
1607         (D): Use value_type instead of int.  Change all references.
1608         (E): Likewise.
1609         (F); Likewise.
1610         (Z): New class.
1611         (ZZ): New class.
1612         (N, Base, Derived): New namespace and classes.
1613         (main): Add instances of Z and ZZ.
1614         Make sure all symbols from N are kept.
1615         * gdb.cp/derivation.exp: Update typedef changes in tests.
1616         Add tests for class typedefs both before and after starting
1617         the inferior.
1618         Add tests for searching for a typedef while stopped in a
1619         method.
1620
1621 2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
1622
1623         * gdb.mi/mi-var-create-rtti.c: New file.
1624         * gdb.mi/mi-var-create-rtti.exp: New file.
1625
1626 2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
1627
1628         * gdb.base/structs3.exp: Run to main before doing any tests.
1629
1630 2012-11-14  Andrew Burgess  <aburgess@broadcom.com>
1631
1632         * gdb.python/py-type.exp: Uniquify test names.
1633
1634 2012-11-14  Yao Qi  <yao@codesourcery.com>
1635
1636         * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1637         (thread_function) [DEBUG]: Call 'printf'.
1638         * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1639         command line if 'DEBUG=1' is passed to test.
1640         Remove a pattern to match inferior's output.
1641
1642 2012-11-13  Giuseppe Montalto  <giuseppe.montalto@st.com>
1643
1644         * gdb.mi/mi-fill-memory.exp: New test.
1645
1646 2012-11-12  Tom Tromey  <tromey@redhat.com>
1647
1648         * gdb.base/completion.exp: Update for "info type-printers".
1649         * gdb.python/py-typeprint.cc: New file.
1650         * gdb.python/py-typeprint.exp: New file.
1651         * gdb.python/py-typeprint.py: New file.
1652
1653 2012-11-12  Tom Tromey  <tromey@redhat.com>
1654
1655         * gdb.base/call-sc.exp: Use "ptype/r".
1656         * gdb.base/volatile.exp: Don't expect "int".
1657         * gdb.cp/ptype-flags.cc: New file.
1658         * gdb.cp/ptype-flags.exp: New file.
1659         * gdb.cp/templates.exp: Use ptype/r.
1660         (test_ptype_of_templates, test_template_typedef): Likewise.
1661         * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1662         argument.  Handle template names and template parameters.
1663         * gdb.mi/mi-var-cmd.exp: Accept "long".
1664         * gdb.mi/mi-var-child.exp: Accept "long".
1665         * gdb.mi/mi-var-display.exp: Accept "long".
1666         * gdb.mi/mi2-var-child.exp: Accept "long".
1667
1668 2012-11-12  Tom Tromey  <tromey@redhat.com>
1669
1670         * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1671         "ptype" from calls to cp_test_ptype_class.
1672         (test_enums): Likewise.
1673         * gdb.cp/derivation.exp: Remove "ptype" from calls to
1674         cp_test_ptype_class.
1675         * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1676         calls to cp_test_ptype_class.
1677         (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1678         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1679         from calls to cp_test_ptype_class.
1680         * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1681         command here.  Change "in_command" argument to "in_exp".
1682
1683 2012-11-10  Keith Seitz  <keiths@redhat.com>
1684
1685         PR gdb/14288
1686         * gdb.base/printcmds.c: Add invalid_XXX globals
1687         for repeated byte tests.
1688         * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1689         * gdb.base/wchar.c (main): Add and construct a wchar_t
1690         array with repeated characters.
1691         * gdb.base/wchar.exp: Add repeated character tests.
1692
1693 2012-11-09  Andrew Burgess  <aburgess@broadcom.com>
1694
1695         * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1696         disassembly output.
1697
1698 2012-11-09  Pedro Alves  <palves@redhat.com>
1699
1700         PR gdb/14306
1701
1702         * gdb.multi/multi-arch-exec.c: New file.
1703         * gdb.multi/multi-arch-exec.exp: New file.
1704
1705 2012-11-09  Yao Qi  <yao@codesourcery.com>
1706
1707         * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1708         (top level): Call it.
1709
1710 2012-11-09  Yao Qi  <yao@codesourcery.com>
1711
1712         * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1713         typo.
1714
1715 2012-11-09  Pedro Alves  <palves@redhat.com>
1716
1717         * gdb.multi/multi-arch.exp: New.
1718
1719 2012-11-08  Tom Tromey  <tromey@redhat.com>
1720
1721         * gdb.base/siginfo-obj.exp: Create core file.  Test siginfo from
1722         core files, if possible.
1723         * gdb.base/siginfo-thread.c: New file
1724         * gdb.base/siginfo-thread.exp: New file
1725
1726 2012-11-08  Tom Tromey  <tromey@redhat.com>
1727
1728         * gdb.base/comprdebug.exp: New file.
1729
1730 2012-11-06  Pedro Alves  <palves@redhat.com>
1731
1732         PR gdb/14810
1733
1734         * gdb.base/disabled-location.c: New file.
1735         * gdb.base/disabled-location.exp: New file.
1736
1737 2012-11-06  Tom Tromey  <tromey@redhat.com>
1738
1739         * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1740         * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1741         gdb_gcore_cmd.
1742         * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1743         * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1744         * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1745         * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1746         * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1747         * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1748         * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1749         * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1750         * lib/gdb.exp (gdb_gcore_cmd): New proc.
1751
1752 2012-11-05  Pedro Alves  <palves@redhat.com>
1753
1754         * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1755         procedure.
1756         (do_vfork_and_follow_child_tests_exec)
1757         (do_vfork_and_follow_child_tests_exit): Call it.
1758
1759 2012-11-05  Pedro Alves  <palves@redhat.com>
1760
1761         * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1762         fails.
1763
1764 2012-11-03  Yao Qi  <yao@codesourcery.com>
1765
1766         Fix PR gdb/14617.
1767         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1768         Remove setup_kfail, and update test.
1769
1770 2012-11-02  Tom Tromey  <tromey@redhat.com>
1771
1772         * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1773         test.
1774
1775 2012-11-02  Pedro Alves  <palves@redhat.com>
1776
1777         PR gdb/14766
1778
1779         * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1780         setup_kfail.
1781         (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1782         get registers".
1783
1784 2012-11-02  Pedro Alves  <palves@redhat.com>
1785
1786         * gdb.base/foll-vfork-exit.c: New file.
1787         * gdb.base/foll-vfork.exp (top level): New file-describing
1788         comment.
1789         (vfork_child_follow_to_exit): New procedure.
1790         (tcatch_vfork_then_child_follow): Rename as ...
1791         (tcatch_vfork_then_child_follow_exec): ... this.
1792         (tcatch_vfork_then_child_follow_exit): New procedure.
1793         (do_vfork_and_follow_parent_tests): New procedure, factored out
1794         from do_vfork_and_exec_tests.
1795         (do_vfork_and_follow_child_tests_exec): Ditto.
1796         (do_vfork_and_exec_tests): Delete.
1797         (do_vfork_and_follow_child_tests_exit): New procedure.
1798         (top level): Run tests with both the program that has the vfork
1799         child execing, and the program has the vfork child exiting.
1800
1801 2012-11-02  Pedro Alves  <palves@redhat.com>
1802
1803         * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1804         (check_vfork_catchpoints, vfork_parent_follow_through_step)
1805         (vfork_parent_follow_to_bp): Call it.
1806         (kill_child): Delete.
1807         (vfork_and_exec_child_follow_to_main_bp)
1808         (vfork_and_exec_child_follow_through_step): Call setup_gdb.  No
1809         longer call kill_child.
1810         (tcatch_vfork_then_parent_follow): Call setup_gdb.
1811         (do_vfork_and_exec_tests): Don't runto_main before calling each
1812         test procedure.
1813         (top level): Don't clean restart and set verbose before running
1814         each test procedure.
1815
1816 2012-11-02  Pedro Alves  <palves@redhat.com>
1817
1818         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1819         (vfork_parent_follow_to_bp)
1820         (vfork_and_exec_child_follow_to_main_bp)
1821         (vfork_and_exec_child_follow_through_step)
1822         (tcatch_vfork_then_parent_follow)
1823         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1824         Use with_test_prefix.
1825
1826 2012-11-02  Pedro Alves  <palves@redhat.com>
1827
1828         * gdb.base/foll-vfork.c: Add copyright header.
1829         * gdb.base/vforked-prog.c: Add copyright header.
1830
1831 2012-11-02  Pedro Alves  <palves@redhat.com>
1832
1833         * gdb.base/foll-vfork.exp
1834         (vfork_and_exec_child_follow_through_step): Don't skip on
1835         non-HP/UX targets.  Expect the next to only step one line on
1836         non-HP/UX targets, rather than stopping only after the exec.
1837
1838 2012-11-02  Pedro Alves  <palves@redhat.com>
1839
1840         Don't hard code line numbers.
1841
1842         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1843         Expect text from the sources instead of a line number.
1844         (vfork_parent_follow_to_bp)
1845         (vfork_and_exec_child_follow_to_main_bp)
1846         (vfork_and_exec_child_follow_through_step)
1847         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1848         Use gdb_get_line_number.
1849
1850 2012-11-02  Pedro Alves  <palves@redhat.com>
1851
1852         Modernize.
1853
1854         * gdb.base/foll-vfork.exp: Use standard_testfile and
1855         build_executable.  Pass descriptive string to untested.
1856         (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1857         (vfork_and_exec_child_follow_to_main_bp)
1858         (vfork_and_exec_child_follow_through_step)
1859         (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1860         (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1861         of send_gdb/gdb_expect.
1862
1863         (kill_child): New procedure.
1864         (vfork_and_exec_child_follow_to_main_bp)
1865         (vfork_and_exec_child_follow_through_step): Use it.
1866
1867 2012-11-02  Yao Qi  <yao@codesourcery.com>
1868
1869         * gdb.base/setvar.exp: Test setting nested struct.
1870         * gdb.base/setvar.c (v_struct3): New.
1871
1872 2012-11-01  Doug Evans  <dje@google.com>
1873
1874         * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1875         changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1876         use them.
1877
1878 2012-10-31  Andrew Burgess  <aburgess@broadcom.com>
1879
1880         PR cli/14772
1881         * gdb.base/gnu_vector.c (union_with_vector_1)
1882         (struct_with_vector_1): Add new struct and union for testing
1883         ptype.
1884         * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1885         structs / unions containing vectors.
1886
1887 2012-10-25  Yao Qi  <yao@codesourcery.com>
1888
1889         * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1890         'setup_kfail' instead of 'setup_kfail_for_target'.
1891         * gdb.base/varargs.exp: Likewise.
1892         * lib/gdb.exp (setup_kfail_for_target): Remove.
1893
1894 2012-10-25  Mark Kettenis  <kettenis@openbsd.nfra.nl>
1895
1896         * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1897
1898 2012-10-25  Mark Kettenis  <kettenis@gnu.org>
1899
1900         * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1901
1902 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
1903
1904         * gdb.ada/set_wstr: New testcase.
1905
1906 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
1907
1908         * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1909
1910 2012-10-24  Joel Brobecker  <brobecker@adacore.com>
1911
1912         * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1913
1914 2012-10-24  Mark Kettenis  <kettenis@gnu.org>
1915
1916         * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1917
1918 2012-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1919
1920         * gdb.base/callfuncs.exp (do_function_calls): Fix
1921         setup_kfail_for_target for -m32 mode.
1922
1923 2012-10-23  Mark Kettenis  <kettenis@gnu.org>
1924
1925         * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1926         are now fixed.
1927
1928 2012-10-23  Yao Qi  <yao@codesourcery.com>
1929
1930         * gdb.base/info-os.exp: Resume the inferior until it exits.
1931
1932 2012-10-18  Yufeng Zhang  <yufeng.zhang@arm.com>
1933
1934         * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1935         * gdb.base/print-file-var.exp: Likewise.
1936         * gdb.base/type-opaque.exp: Likewise.
1937
1938 2012-10-17  Yao Qi  <yao@codesourcery.com>
1939
1940         * gdb.mi/mi-memory-changed.exp: New.
1941
1942 2012-10-16  Yao Qi  <yao@codesourcery.com>
1943
1944         * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1945         returns true.
1946         Call gdb_load_shlibs.
1947         * gdb.reverse/solib-reverse.exp: Likewise.
1948
1949 2012-10-15  Keith Seitz  <keiths@redhat.com>
1950
1951         * lib/cp-support.exp (cp_test_ptype_class): Add support
1952         for class typedefs.
1953
1954         * gdb.cp/derivation.exp: Add tests for g_instance.
1955
1956 2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1957
1958         Fix entry values resolving in inlined frames.
1959         * gdb.arch/amd64-entry-value-inline.S: New file.
1960         * gdb.arch/amd64-entry-value-inline.c: New file.
1961         * gdb.arch/amd64-entry-value-inline.exp: New file.
1962
1963 2012-10-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1964             Doug Evans  <dje@google.com>
1965
1966         Fix recent gdb_breakpoint regression.
1967         * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1968         braces from the parameter.
1969         * gdb.java/jprint.exp: Likewise.
1970
1971 2012-10-15  Doug Evans  <dje@google.com>
1972
1973         * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1974
1975 2012-10-15  Yufeng Zhang  <yufeng.zhang@arm.com>
1976
1977         * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1978
1979 2012-10-15  Tom Tromey  <tromey@redhat.com>
1980
1981         * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1982
1983 2012-10-15  Tom Tromey  <tromey@redhat.com>
1984
1985         * gdb.python/py-symbol.exp: Test symbol destructor.
1986
1987 2012-10-14  Yao Qi  <yao@codesourcery.com>
1988
1989         * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1990         * gdb.mi/mi-cli.exp: New.
1991
1992         * gdb.mi/mi2-basics.exp: Remove.
1993         * gdb.mi/mi2-break.exp: Remove.
1994         * gdb.mi/mi2-console.exp: Remove.
1995         * gdb.mi/mi2-disassemble.exp: Remove.
1996         * gdb.mi/mi2-eval.exp: Remove.
1997         * gdb.mi/mi2-file.exp: Remove.
1998         * gdb.mi/mi2-hack-cli.exp: Remove.
1999         * gdb.mi/mi2-pthreads.exp: Remove.
2000         * gdb.mi/mi2-read-memory.exp: Remove.
2001         * gdb.mi/mi2-regs.exp: Remove.
2002         * gdb.mi/mi2-return.exp: Remove.
2003         * gdb.mi/mi2-simplerun.exp: Remove.
2004         * gdb.mi/mi2-stack.exp: Remove.
2005         * gdb.mi/mi2-stepi.exp: Remove.
2006         * gdb.mi/mi2-syn-frame.exp: Remove.
2007         * gdb.mi/mi2-until.exp: Remove.
2008         * gdb.mi/mi2-watch.exp: Remove.
2009         * gdb.mi/mi2-var-block.exp: Remove.
2010         * gdb.mi/mi2-var-cmd.exp: Remove.
2011         * gdb.mi/mi2-var-display.exp: Remove.
2012
2013 2012-10-12  Yao Qi  <yao@codesourcery.com>
2014
2015         * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2016         trail '.*' on matching patterns.
2017
2018 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2019
2020         * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2021         * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2022         * gdb.arch/i386-disp-step.exp: Likewise.
2023         * gdb.arch/i386-gnu-cfi.exp: Likewise.
2024         * gdb.arch/i386-prologue.exp: Likewise.
2025         * gdb.arch/i386-size-overlap.exp: Likewise.
2026         * gdb.arch/i386-size.exp: Likewise.
2027         * gdb.arch/i386-unwind.exp: Likewise.
2028
2029 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2030
2031         * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2032         * gdb.arch/i386-word.exp: Likewise.
2033
2034 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2035
2036         * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2037         is_ilp32_target to set nr_regs.
2038         * gdb.arch/i386-sse.exp: Likewise.
2039
2040 2012-10-11  Doug Evans  <dje@google.com>
2041
2042         PR breakpoints/14643.
2043         * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2044         * gdb.linespec/thread.c: New file.
2045         * gdb.linespec/thread.exp: New file.
2046
2047         * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2048         Recognize "message" -> print pass and fail.  Add eof case.
2049         (runto): Recognize message, no-message.  Print pass/fail if requested,
2050         with same treatment as gdb_breakpoint.
2051         (runto_main): Pass no-message to runto.
2052         (gdb_internal_error_resync): Add log message.
2053         (gdb_file_cmd): Tweak internal error fail text for consistency.
2054
2055 2012-10-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2056
2057         Fix crash during stepping on ppc32.
2058         * gdb.base/step-symless.c: New file.
2059         * gdb.base/step-symless.exp: New file.
2060
2061 2012-10-03  Doug Evans  <dje@google.com>
2062
2063         PR symtab/14601
2064         * gdb.cp/using-crash.exp: New file.
2065         * gdb.cp/using-crash.cc: New file.
2066
2067 2012-10-02  Doug Evans  <dje@google.com>
2068
2069         * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2070         more consistent.
2071         (runto,gdb_debug_format): Ditto.
2072         (gdb_file_cmd): Watch for eof in nested gdb_expect.
2073         Clean up logging and error messages.
2074
2075 2012-10-01  Andrew Burgess  <aburgess@broadcom.com>
2076
2077         Test find command on unmapped memory.
2078         * gdb.base/find-unmapped.c: New file.
2079         * gdb.base/find-unmapped.exp: New file.
2080
2081 2012-09-29  Yao Qi  <yao@codesourcery.com>
2082
2083         * gdb.trace/mi-tracepoint-changed.exp: New.
2084         * gdb.mi/mi-breakpoint-changed.exp: New.
2085         * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2086         * gdb.mi/pendshr2.c: New.
2087
2088 2012-09-28  Yao Qi  <yao@codesourcery.com>
2089
2090         * gdb.mi/pr11022.exp: New.
2091         * gdb.mi/pr11022.c: New.  Copied from gdb.base/.
2092
2093 2012-09-27  Tom Tromey  <tromey@redhat.com>
2094
2095         * gdb.cp/derivation.exp: Add regression test.
2096         * gdb.cp/derivation.cc (class V_base, class V_inter, class
2097         V_derived): New.
2098         (vderived): New global.
2099
2100 2012-09-26  Tom Tromey  <tromey@redhat.com>
2101
2102         * gdb.dwarf2/dw2-common-block.S: New file.
2103         * gdb.dwarf2/dw2-common-block.exp: New file.
2104
2105 2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2106
2107         * gdb.fortran/common-block.exp: New file.
2108         * gdb.fortran/common-block.f90: New file.
2109
2110 2012-09-26  Andrew Burgess  <aburgess@broadcom.com>
2111
2112         * gdb.base/duplicate-bp.c: New file.
2113         * gdb.base/duplicate-bp.exp: New file.
2114
2115 2012-09-26  Yao Qi  <yao@codesourcery.com>
2116
2117         * gdb.mi/mi2-cli.exp:  Avoid line number in test summary.
2118
2119         Revert:
2120         2012-09-21  Yao Qi  <yao@codesourcery.com>
2121
2122         * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2123
2124 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2125
2126         * gdb.base/longest-types.c: New test case.
2127         * gdb.base/longest-types.exp: New test case.
2128
2129 2012-09-25  Yao Qi  <yao@codesourcery.com>
2130
2131         * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2132
2133 2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2134
2135         Fix internal error on canonicalization of clang types.
2136         * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2137         * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2138         * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2139
2140 2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2141
2142         Fix disassemble without parameters in tailcall frame.
2143         * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2144
2145 2012-09-21  Andrew Burgess  <aburgess@broadcom.com>
2146
2147         * gdb.dwarf2/dw2-op-out-param.S: New file.
2148         * gdb.dwarf2/dw2-op-out-param.exp: New file.
2149
2150 2012-09-21  Yao Qi  <yao@codesourcery.com>
2151
2152         * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2153
2154 2012-09-21  Yao Qi  <yao@codesourcery.com>
2155
2156         * gdb.mi/mi-cli.exp: Remove.
2157         * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2158
2159 2012-09-21  Yao Qi  <yao@codesourcery.com>
2160
2161         * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2162         "=record-started" notification.
2163
2164 2012-09-21  Yao Qi  <yao@codesourcery.com>
2165
2166         * gdb.mi/mi-record-changed.exp: New.
2167         * gdb.mi/mi-reverse.exp: Adjust expected output.
2168
2169 2012-09-20  Tom Tromey  <tromey@redhat.com>
2170
2171         * gdb.python/python.exp: Test atexit.register.
2172
2173 2012-09-20  Doug Evans  <dje@google.com>
2174
2175         * boards/dwarf4-gdb-index.exp: New file.
2176
2177         * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2178         while running the tests.
2179
2180 2012-09-18  Joel Brobecker  <brobecker@adacore.com>
2181
2182         * gdb.ada/bp_reset: New testcase.
2183
2184 2012-09-18  Yao Qi  <yao@codesourcery.com>
2185
2186         * gdb.trace/mi-tsv-changed.exp: New.
2187
2188 2012-09-18  Yao Qi  <yao@codesourcery.com>
2189
2190         * gdb.trace/mi-traceframe-changed.exp: New.
2191
2192 2012-09-17  Yao Qi  <yao@codesourcery.com>
2193
2194         * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2195         when it is less than 0.
2196
2197 2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2198
2199         PR 14119
2200         * gdb.arch/amd64-tailcall-ret.S: New file.
2201         * gdb.arch/amd64-tailcall-ret.c: New file.
2202         * gdb.arch/amd64-tailcall-ret.exp: New file.
2203         * gdb.reverse/amd64-tailcall-reverse.S: New file.
2204         * gdb.reverse/amd64-tailcall-reverse.c: New file.
2205         * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2206
2207 2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2208
2209         PR 14548
2210         * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2211         * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2212         * gdb.reverse/singlejmp-reverse.S: New file.
2213         * gdb.reverse/singlejmp-reverse.c: New file.
2214         * gdb.reverse/singlejmp-reverse.exp: New file.
2215
2216 2012-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2217
2218         Fix compatibility with old GCC (~4.1).
2219         * gdb.cp/converts.cc (my_enum_var): New variable.
2220
2221 2012-09-14  Andrew Burgess  <aburgess@broadcom.com>
2222
2223         * gdb.xml/tdesc-regs.exp: Update expected output for new
2224         vector_size syntax of vector types.
2225
2226 2012-09-13  Khoo Yit Phang  <khooyp@cs.umd.edu>
2227
2228         Refactor Python "gdb" module into a proper Python package, by
2229         introducing a new "_gdb" module for code implemented in C, and
2230         using reload/__import__ instead of exec.
2231         * gdb.python/python.exp (Test stderr location): Update module
2232         location of GDB-specific sys.stderr.
2233         (Test stdout location): Ditto for sys.stdout.
2234
2235 2012-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2236
2237         * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2238
2239 2012-09-12  Keith Seitz  <keiths@redhat.com>
2240
2241         * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2242         conversion statement.
2243
2244 2012-09-12  Doug Evans  <dje@google.com>
2245
2246         * gdb.base/help.exp: Remove testing of individual command help text,
2247         too much of a maintenance burden.  Instead, test the functionality
2248         of "help" itself.
2249
2250 2012-09-11  Doug Evans  <dje@google.com>
2251
2252         * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2253         breakpoint.
2254
2255         * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
2256         * gdb.dwarf2/fission-reread.S: Ditto.
2257         * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
2258         * gdb.dwarf2/fission-reread.exp: Ditto.
2259
2260 2012-09-11  Andrew Burgess  <aburgess@broadcom.com>
2261
2262         * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
2263
2264 2012-09-10  Joel Brobecker  <brobecker@adacore.com>
2265
2266         * gdb.ada/optim_drec: New testcase.
2267
2268 2012-09-10  Doug Evans  <dje@google.com>
2269
2270         * boards/fission.exp: Explicitly mark "board" as not remote.
2271
2272 2012-09-10  Keith Seitz  <keiths@redhat.com>
2273
2274         PR gdb/13483
2275         * gdb.cp/converts.cc (A::A): Add ctor.
2276         (A::member_): Add member.
2277         (enum my_enum): New enumeration.
2278         (main): Add calls to foo1_7 with various
2279         permitted arguments.
2280         * gdb.cp/converts.exp: Add tests for boolean
2281         conversions permitted by the standard.
2282
2283 2012-09-08  Khoo Yit Phang  <khooyp@cs.umd.edu>
2284
2285         Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
2286         avoid spurious results due to ~/.gdbinit.
2287         * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
2288         $INTERNAL_GDBFLAGS in run command.
2289         * gdb.gdb/observer.exp (setup_test): Ditto.
2290         * gdb.gdb/selftest.exp (test_with_self): Ditto.
2291         * gdb.gdb/xfullpath.exp (setup_test): Ditto.
2292
2293 2012-09-06  Doug Evans  <dje@google.com>
2294
2295         * boards/fission.exp: New file.
2296
2297         * gdb.python/py-value.exp: Use clean_restart.
2298
2299 2012-09-05  Doug Evans  <dje@google.com>
2300
2301         * gdb.base/info-macros.c: Fix whitespace.
2302
2303 2012-08-28  Pedro Alves  <palves@redhat.com>
2304
2305         PR gdb/14428
2306
2307         * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2308
2309 2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2310
2311         * gdb.base/break-caller-line.c: New file.
2312         * gdb.base/break-caller-line.exp: New file.
2313
2314 2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2315
2316         * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
2317         * gdb.arch/i386-cfi-notcurrent.S: New file.
2318         * gdb.arch/i386-cfi-notcurrent.exp: New file.
2319
2320 2012-08-27  Wei-cheng Wang  <cole945@gmail.com>
2321             Yao Qi <yao@codesourcery.com>
2322             Pedro Alves <palves@redhat.com>
2323
2324         * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
2325         New procedures.
2326         (top level): Add overlap checking tests.
2327
2328 2012-08-24  Tom Tromey  <tromey@redhat.com>
2329
2330         * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
2331         gdb_test_multiple fails for other reasons.
2332
2333 2012-08-24  Yao Qi  <yao@codesourcery.com>
2334
2335         * lib/gdb.exp (skip_unwinder_tests): Remove pass.
2336
2337 2012-08-23  Pedro Alves  <palves@redhat.com>
2338
2339         * gdb.base/help.exp: Adjust to "handle" help text change.
2340
2341 2012-08-23  Yao Qi  <yao@codesourcery.com>
2342
2343         * gdb.trace/disconnected-tracing.c (start, end): New.
2344         (main): Call start and end.
2345         * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
2346         existing tests into this proc.
2347         (disconnected_tfind): New.
2348
2349 2012-08-23  Yao Qi  <yao@codesourcery.com>
2350
2351         * boards/native-gdbserver.exp (${board}_upload): New.
2352         * boards/native-stdio-gdbserver.exp (${board}_upload): New.
2353         * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
2354         Execute tfile on remote target.
2355         Copy trace file from target to host.
2356
2357 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
2358
2359         * gdb.arch/thumb-bx-pc.S: New file.
2360         * gdb.arch/thumb-bx-pc.exp: New file.
2361
2362 2012-08-22  Tom Tromey  <tromey@redhat.com>
2363
2364         * gdb.base/maint.exp: Update.
2365
2366 2012-08-22  Tom Tromey  <tromey@redhat.com>
2367
2368         * lib/gdb.exp (skip_unwinder_tests): New proc.
2369         * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
2370         * gdb.java/jnpe.exp: Use skip_unwinder_tests.
2371
2372 2012-08-21  Tom Tromey  <tromey@redhat.com>
2373
2374         * gdb.hp/gdb.aCC/exception.exp: Remove.
2375
2376 012-08-19  Andrew Pinski  <apinski@cavium.com>
2377
2378         * gdb.arch/mips-octeon-bbit.c: New file.
2379         * gdb.arch/mips-octeon-bbit.exp: New Test.
2380
2381 012-08-19  Keith Seitz  <keiths@redhat.com>
2382
2383         PR c++/14365
2384         * gdb.dwarf2/dw2-anon-mptr.exp: New file.
2385         * gdb.dwarf2/dw2-anon-mptr.S: New file.
2386
2387 2012-08-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
2388
2389         * gdb.base/solib-corrupted.exp (make solibs looping): Replace
2390         verbose -log by more specific untested call.
2391
2392 2012-08-18  Yao Qi  <yao@codesourcery.com>
2393
2394         * gdb.trace/tfind.exp: Move tests on various command help before
2395         checking target supports trace.
2396         Fix the expected output of 'help tfind end'.
2397
2398 2012-08-17  Keith Seitz  <keiths@redhat.com>
2399
2400         PR c++/13356
2401         * gdb.base/default.exp: Update all "check type" tests.
2402         * gdb.base/help.exp: Likewise.
2403         * gdb.base/setshow.exp: Likewise.
2404         * gdb.cp/converts.cc (foo1_type_check): New function.
2405         (foo2_type_check): New function.
2406         (foo3_type_check): New function.
2407         (main): Call new functions.
2408         * converts.exp: Add tests for integer-to-pointer conversions
2409         with/without strict type-checking.
2410
2411 2012-08-16  Mike Frysinger  <vapier@gentoo.org>
2412
2413         * gdb.base/help.exp: Update expected output.
2414
2415 2012-08-16  Joel Brobecker  <brobecker@adacore.com>
2416
2417         * gdb.ada/rdv_wait: New testcase.
2418
2419 2012-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
2420
2421         * gdb.base/attach-twice.exp: Remove excessive ps exec.
2422
2423 2012-08-13  Doug Evans  <dje@google.com>
2424
2425         * gdb.base/help.exp: Update expected output.
2426         * gdb.base/default.exp: Update expected output of "show convenience".
2427
2428 2012-08-10  Doug Evans  <dje@google.com>
2429
2430         * gdb.python/py-strfns.c: New file.
2431         * gdb.python/py-strfns.exp: New file.
2432         * gdb.python/py-type.exp (test_fields): Add vector tests.
2433
2434 2012-08-10  Mike Frysinger  <vapier@gentoo.org>
2435
2436         PR cli/10436:
2437         * gdb.base/completion.exp: Add tests for handle completion.
2438
2439 2012-08-09  Yao Qi  <yao@codesourcery.com>
2440
2441         * gdb.mi/mi-cmd-param-changed.exp: New.
2442         * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
2443         * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
2444         * gdb.mi/mi2-prompt.exp: Likewise.
2445
2446 2012-08-08  Doug Evans  <dje@google.com>
2447
2448         * gdb.base/debug-expr.c: New file.
2449         * gdb.base/debug-expr.exp: New file.
2450         * gdb.base/exprs.exp: Test {type} casts.
2451         * gdb.cp/debug-expr.exp: New file.
2452
2453 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2454
2455         * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
2456         global variable loop, not a 'break'.  Add loop count limit to 100.
2457         Add new fail case for terminated vgdb.
2458
2459 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2460             Jean-Marc Saffroy  <saffroy@gmail.com>
2461
2462         PR 11804
2463         * gdb.base/gcore-relro.exp: New file.
2464         * gdb.base/gcore-relro-main.c: New file.
2465         * gdb.base/gcore-relro-lib.c: New file.
2466
2467 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2468
2469         Do not false FAIL with old GCCs.
2470         * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
2471         GCC < 4.5 in $no_hw mode.
2472
2473 2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
2474
2475         * gdb.base/default.exp (cd): Accept new directory with no arguments.
2476
2477 2012-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2478
2479         * gdb.base/list.exp (test_only_end): New function.
2480         Call it.
2481
2482 2012-08-06  Tom Tromey  <tromey@redhat.com>
2483
2484         * gdb.python/py-mi.exp: Add test for printer whose children
2485         are a list.
2486         * gdb.python/py-prettyprint.c (struct children_as_list): New.
2487         (main): New variable children_as_list.
2488         * gdb.python/py-prettyprint.py (class pp_children_as_list):
2489         New.
2490         (register_pretty_printers): Register new printer.
2491
2492 2012-08-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2493
2494         * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
2495         symbols. Abort if vgdb remote connection is closed.
2496
2497 2012-08-02  Doug Evans  <dje@google.com>
2498
2499         * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
2500
2501 2012-08-02  Sergio Durigan Junior  <sergiodj@redhat.com>
2502
2503         * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
2504         s390x, PowerPC 64 and m68k-linux.
2505
2506 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
2507
2508         * gdb.base/annota1.exp: Accept no frames-invalid notification
2509         when starting up the program.
2510         * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
2511         show a symbolic value as well.
2512         * gdb.server/server-exec-info.exp: Skip test when skipping
2513         gdbserver test and/or when skipping shared library tests.
2514         * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
2515         avoid name conflicts with other tests.
2516
2517 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
2518
2519         * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
2520         Fix wrong output on big-endian systems.
2521         * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
2522         4-byte pointer types on 64-bit s390x.
2523
2524 2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
2525
2526         * gdb.base/watchpoint.c (func2): Initialize local_a.  Add
2527         marker comment at the beginning (after intialization).
2528         * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
2529         breakpoint on marker comment instead of function begin.
2530         (test_wide_location_1): Do not expect HW watchpoints on 32-bit
2531         PowerPC.
2532         (test_wide_location_2): Do not expect HW watchpoints on 32-bit
2533         or 64-bit PowerPC.
2534         (do_tests): Consistently set can-use-hw-watchpoints to 0 if
2535         gdb,no_hardware_watchpoints flag is set.
2536         (initialize): Remove now redundant can-use-hw-watchpoints change.
2537
2538 2012-08-02  Yao Qi  <yao@codesourcery.com>
2539             Pedro Alves  <palves@redhat.com>
2540
2541         * boards/local-remote-host.exp: New.
2542
2543 2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
2544
2545         * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
2546         * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
2547         * gdb.base/print-file-var.exp: Likewise.
2548         * gdb.server/solib-list.exp: Skip on remote targets.
2549
2550 2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
2551
2552         * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
2553         watchpoints on ARM.  When expecting software watchpoints, tolerate
2554         (remote) targets that report unsupported hardware watchpoint only
2555         at continue time.
2556         (test_wide_location_2): Likewise.
2557
2558 2012-08-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
2559
2560         * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
2561         valgrind versions.
2562
2563 2012-07-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
2564
2565         * gdb.base/valgrind-infcall.c: New file.
2566         * gdb.base/valgrind-infcall.exp: New file.
2567
2568         * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2569
2570 2012-07-30  Keith Seitz  <keiths@redhat.com>
2571
2572         * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2573         linespecs.
2574
2575 2012-07-30  Doug Evans  <dje@google.com>
2576
2577         * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2578         * gdb.dwarf2/pr13961.S: Ditto.
2579
2580         * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2581
2582 2012-07-30  Andrew Burgess  <aburgess@broadcom.com>
2583
2584         * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2585         change its format immediately after reloading the binary.
2586
2587 2012-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
2588
2589         Fix testsuite regression after --use-deprecated-index-sections removal.
2590         * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2591         string.
2592         * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2593
2594 2012-07-27  Yao Qi  <yao@codesourcery.com>
2595
2596         KFAIL for PR remote/14161.
2597         * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2598         Cleanup socket files.
2599         (strace_info_marker): Detach inferior.
2600
2601 2012-07-26  Tom Tromey  <tromey@redhat.com>
2602
2603         * gdb.objc/print.exp (test_float_accepted): Remove kfails.
2604
2605 2012-07-26  Markus Metzger  <markus.t.metzger@intel.com>
2606
2607         * gdb.python/py-inferior.c (thread): New function.
2608         (check_threads): New function.
2609         (test_threads): New function.
2610         * gdb.python/py-inferior.exp: Added test.
2611         Replaced runto with continue to breakpoint.
2612
2613 2012-07-26  Tom Tromey  <tromey@redhat.com>
2614
2615         * lib/ada.exp (standard_ada_testfile): New proc.
2616         * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2617         * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2618         * gdb.ada/array_return.exp: Use standard_ada_testfile.
2619         * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2620         * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2621         * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2622         * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2623         * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2624         * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2625         * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2626         * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2627         * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2628         * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2629         * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2630         * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2631         * gdb.ada/char_param.exp: Use standard_ada_testfile.
2632         * gdb.ada/complete.exp: Use standard_ada_testfile.
2633         * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2634         standard_output_file.
2635         * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2636         * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2637         * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2638         standard_output_file.
2639         * gdb.ada/exprs.exp: Use standard_ada_testfile.
2640         * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2641         * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2642         * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2643         * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2644         * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2645         * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2646         * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2647         * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2648         * gdb.ada/homonym.exp: Use standard_ada_testfile.
2649         * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2650         * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2651         * gdb.ada/interface.exp: Use standard_ada_testfile.
2652         * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2653         standard_output_file
2654         * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2655         * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2656         * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2657         * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2658         * gdb.ada/nested.exp: Use standard_ada_testfile.
2659         * gdb.ada/null_array.exp: Use standard_ada_testfile.
2660         * gdb.ada/null_record.exp: Use standard_ada_testfile.
2661         * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2662         * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2663         * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2664         * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2665         * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2666         * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2667         * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2668         * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2669         * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2670         * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2671         * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2672         * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2673         * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2674         * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2675         * gdb.ada/start.exp: Use standard_ada_testfile.
2676         * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2677         * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2678         * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2679         * gdb.ada/tagged.exp: Use standard_ada_testfile.
2680         * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2681         * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2682         * gdb.ada/tasks.exp: Use standard_ada_testfile.
2683         * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2684         * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2685         * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2686         * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2687         * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2688         * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2689         * gdb.ada/widewide.exp: Use standard_ada_testfile.
2690
2691 2012-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2692
2693         Fix testsuite regression after --use-deprecated-index-sections removal.
2694         * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2695
2696 2012-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2697
2698         Fix compatibility with Tcl before 7.5.
2699         * lib/future.exp (lreverse): New function if it does not exist.
2700
2701 2012-07-25  Marc Khouzam  <marc.khouzam@ericsson.com>
2702
2703         * gdb.mi/mi-pending.c: New method to set a second pending
2704         breakpoint.
2705         * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2706         condition.
2707
2708 2012-07-20  Pedro Alves  <palves@redhat.com>
2709
2710         PR threads/11692
2711         PR gdb/12203
2712
2713         * gdb.threads/create-fail.c: New file.
2714         * gdb.threads/create-fail.exp: New file.
2715
2716 2012-07-19  Pedro Alves  <palves@redhat.com>
2717
2718         * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2719         * config/vx.exp (gdb_start): Likewise.
2720         * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2721         * gdb.base/setvar.exp (test_set): Likewise.
2722         * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2723         * gdb.reverse/sigall-precsave.exp: Likewise.
2724         * gdb.reverse/sigall-reverse.exp: Likewise.
2725
2726 2012-07-19  Pedro Alves  <palves@redhat.com>
2727
2728         * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2729         handler before recording.
2730
2731 2012-07-19  Tom Tromey  <tromey@redhat.com>
2732
2733         * gdb.cp/casts.exp: Add tests for typeof and decltype.
2734         * gdb.cp/casts.cc (decltype): New function.
2735         (main): Use it.
2736
2737 2012-07-19  Pedro Alves  <palves@redhat.com>
2738
2739         * gdb.base/sigall.exp (signals): New list.
2740         <top level>: Loop over signals in the $signals list instead of
2741         calling a test function once per signal.
2742         * gdb.reverse/sigall-precsave.exp (signals): New list.
2743         <top level>: Loop over signals in the $signals list instead of
2744         calling a test function once per signal.
2745         * gdb.reverse/sigall-reverse.exp (signals): New list.
2746         <top level>: Loop over signals in the $signals list instead of
2747         calling a test function once per signal.
2748
2749 2012-07-19  Yao Qi  <yao@codesourcery.com>
2750
2751         * gdb.base/setshow.exp: Test 'set args ~'.
2752
2753 2012-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2754
2755         * gdb.base/store.exp (check_set): Import gdb_prompt.
2756         (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2757         (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2758
2759 2012-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2760
2761         PR 11914
2762         * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2763         (main): Call eval_sub.
2764         * gdb.python/py-prettyprint.exp:
2765         (python execfile ('py-prettyprint.py')): Move it earlier.
2766         New breakpoint for eval-break.
2767         (continue to breakpoint: eval-break, info locals): New test.
2768         (python execfile ('py-prettyprint.py')): Move it from here.
2769         * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2770         (register_pretty_printers): Register pp_eval_type.
2771
2772 2012-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
2773
2774         Fix a testcase regression by me.
2775         * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2776         DW_FORM_data4.
2777
2778 2012-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2779             Doug Evans  <dje@google.com>
2780
2781         * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2782         * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2783
2784 2012-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
2785
2786         Fix gdbserver run regression.
2787         * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2788
2789 2012-07-12  Tom Tromey  <tromey@redhat.com>
2790
2791         * lib/gdb.exp (standard_testfile): Don't declare objdir.
2792         (clean_restart): Likewise.
2793         (core_find): Use standard_output_file.
2794
2795 2012-07-12  Tom Tromey  <tromey@redhat.com>
2796
2797         * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2798         * gdb.dwarf2/dw2-anonymous-func.exp: Use
2799         prepare_for_testing_full.
2800         * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2801         * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2802         * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2803         * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2804         * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2805         * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2806         * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2807         prepare_for_testing_full.
2808         * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2809         * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2810         prepare_for_testing_full.
2811         * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2812         * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2813         * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2814
2815 2012-07-12  Tom Tromey  <tromey@redhat.com>
2816
2817         * lib/gdb.exp (build_executable_from_specs): New proc, from
2818         build_executable.
2819         (build_executable): Use it.
2820         (prepare_for_testing_full): New proc.
2821
2822 2012-07-11  Tom Tromey  <tromey@redhat.com>
2823
2824         * gdb.reverse/break-precsave.exp: Use standard_output_file.
2825         * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2826         * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2827         * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2828         * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2829         * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2830         * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2831         * gdb.reverse/step-precsave.exp: Use standard_output_file.
2832         * gdb.reverse/until-precsave.exp: Use standard_output_file.
2833         * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2834
2835 2012-07-10  Tom Tromey  <tromey@redhat.com>
2836
2837         * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2838         standard_output_file.
2839         * gdb.mi/gdb2549.exp: Use standard_testfile.
2840         * gdb.mi/gdb669.exp: Use standard_testfile.
2841         * gdb.mi/gdb701.exp: Use standard_testfile.
2842         * gdb.mi/gdb792.exp: Use standard_testfile.
2843         * gdb.mi/mi-async.exp: Use standard_testfile.
2844         * gdb.mi/mi-basics.exp: Use standard_testfile.
2845         * gdb.mi/mi-break.exp: Use standard_testfile.
2846         * gdb.mi/mi-cli.exp: Use standard_testfile.
2847         * gdb.mi/mi-console.exp: Use standard_testfile.
2848         * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2849         * gdb.mi/mi-eval.exp: Use standard_testfile.
2850         * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2851         * gdb.mi/mi-file.exp: Use standard_testfile.
2852         * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2853         * gdb.mi/mi-logging.exp: Use standard_testfile.
2854         * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2855         * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2856         * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2857         * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2858         * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2859         * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2860         * gdb.mi/mi-pending.exp: Use standard_testfile,
2861         standard_output_file.
2862         * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2863         * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2864         * gdb.mi/mi-regs.exp: Use standard_testfile.
2865         * gdb.mi/mi-return.exp: Use standard_testfile.
2866         * gdb.mi/mi-reverse.exp: Use standard_testfile.
2867         * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2868         * gdb.mi/mi-solib.exp: Use standard_testfile,
2869         standard_output_file.
2870         * gdb.mi/mi-stack.exp: Use standard_testfile.
2871         * gdb.mi/mi-stepi.exp: Use standard_testfile.
2872         * gdb.mi/mi-stepn.exp: Use standard_testfile.
2873         * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2874         * gdb.mi/mi-until.exp: Use standard_testfile.
2875         * gdb.mi/mi-var-block.exp: Use standard_testfile.
2876         * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2877         * gdb.mi/mi-var-child.exp: Use standard_testfile.
2878         * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2879         * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2880         * gdb.mi/mi-var-display.exp: Use standard_testfile.
2881         * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2882         standard_output_file.
2883         * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2884         * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2885         * gdb.mi/mi-watch.exp: Use standard_testfile.
2886         * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2887         * gdb.mi/mi2-basics.exp: Use standard_testfile.
2888         * gdb.mi/mi2-break.exp: Use standard_testfile.
2889         * gdb.mi/mi2-cli.exp: Use standard_testfile.
2890         * gdb.mi/mi2-console.exp: Use standard_testfile.
2891         * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2892         * gdb.mi/mi2-eval.exp: Use standard_testfile.
2893         * gdb.mi/mi2-file.exp: Use standard_testfile.
2894         * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2895         * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2896         * gdb.mi/mi2-regs.exp: Use standard_testfile.
2897         * gdb.mi/mi2-return.exp: Use standard_testfile.
2898         * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2899         * gdb.mi/mi2-stack.exp: Use standard_testfile.
2900         * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2901         * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2902         * gdb.mi/mi2-until.exp: Use standard_testfile.
2903         * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2904         * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2905         * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2906         * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2907         * gdb.mi/mi2-watch.exp: Use standard_testfile.
2908
2909 2012-07-10  Tom Tromey  <tromey@redhat.com>
2910
2911         * gdb.cp/abstract-origin.exp: Use standard_testfile.
2912         * gdb.cp/ambiguous.exp: Use standard_testfile,
2913         prepare_for_testing.
2914         * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2915         * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2916         * gdb.cp/anon-ns.exp: Use standard_testfile.
2917         * gdb.cp/anon-struct.exp: Use standard_testfile.
2918         * gdb.cp/anon-union.exp: Use standard_testfile,
2919         prepare_for_testing.
2920         * gdb.cp/arg-reference.exp: Use standard_testfile,
2921         prepare_for_testing.
2922         * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2923         * gdb.cp/breakpoint.exp: Use standard_testfile,
2924         prepare_for_testing.
2925         * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2926         * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2927         standard_output_file.
2928         * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2929         * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2930         * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2931         (test_static_members): Update.
2932         * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2933         * gdb.cp/converts.exp: Use standard_testfile.
2934         * gdb.cp/cp-relocate.exp: Use standard_testfile.
2935         * gdb.cp/cpcompletion.exp: Use standard_testfile,
2936         prepare_for_testing.
2937         * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2938         * gdb.cp/cplabel.exp: Use standard_testfile.
2939         * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2940         prepare_for_testing.
2941         * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2942         * gdb.cp/derivation.exp: Use standard_testfile,
2943         prepare_for_testing.
2944         * gdb.cp/destrprint.exp: Use standard_testfile.
2945         * gdb.cp/dispcxx.exp: Use standard_testfile.
2946         * gdb.cp/exception.exp: Use standard_testfile,
2947         prepare_for_testing.
2948         * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2949         * gdb.cp/extern-c.exp: Use standard_testfile,
2950         prepare_for_testing.
2951         * gdb.cp/formatted-ref.exp: Use standard_testfile,
2952         prepare_for_testing.
2953         * gdb.cp/fpointer.exp: Use standard_testfile.
2954         * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2955         * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2956         standard_output_file.
2957         * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2958         * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2959         * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2960         standard_output_file.
2961         * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2962         (do_tests): Update.
2963         * gdb.cp/koenig.exp: Use standard_testfile.
2964         * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2965         * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2966         * gdb.cp/m-static.exp: Use standard_testfile,
2967         prepare_for_testing.
2968         * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2969         * gdb.cp/mb-inline.exp: Use standard_testfile,
2970         prepare_for_testing.
2971         * gdb.cp/mb-templates.exp: Use standard_testfile,
2972         prepare_for_testing.
2973         * gdb.cp/member-ptr.exp: Use standard_testfile,
2974         prepare_for_testing.
2975         * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2976         * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2977         * gdb.cp/method2.exp: Use standard_testfile.
2978         * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2979         standard_output_file.
2980         * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2981         (do_tests): Update.
2982         * gdb.cp/namespace-enum.exp: Use standard_testfile,
2983         prepare_for_testing.
2984         * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2985         prepare_for_testing.
2986         * gdb.cp/namespace.exp: Use standard_testfile,
2987         prepare_for_testing.
2988         * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2989         * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2990         * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2991         * gdb.cp/nsimport.exp: Use standard_testfile,
2992         prepare_for_testing.
2993         * gdb.cp/nsnested.exp: Use standard_testfile.
2994         * gdb.cp/nsnoimports.exp: Use standard_testfile.
2995         * gdb.cp/nsrecurs.exp: Use standard_testfile,
2996         prepare_for_testing.
2997         * gdb.cp/nsstress.exp: Use standard_testfile,
2998         prepare_for_testing.
2999         * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3000         * gdb.cp/operator.exp: Use standard_testfile.
3001         * gdb.cp/oranking.exp: Use standard_testfile.
3002         * gdb.cp/overload-const.exp: Use standard_testfile.
3003         * gdb.cp/overload.exp: Use standard_testfile,
3004         prepare_for_testing.
3005         * gdb.cp/ovldbreak.exp: Use standard_testfile.
3006         * gdb.cp/ovsrch.exp: Use standard_testfile.
3007         * gdb.cp/paren-type.exp: Use standard_testfile.
3008         * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3009         prepare_for_testing.
3010         * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3011         * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3012         * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3013         * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3014         * gdb.cp/pr10728.exp: Use standard_testfile,
3015         standard_output_file.
3016         * gdb.cp/pr12028.exp: Use standard_testfile.
3017         * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3018         * gdb.cp/pr9167.exp: Use standard_testfile.
3019         * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3020         * gdb.cp/printmethod.exp: Use standard_testfile,
3021         prepare_for_testing.
3022         * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3023         * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3024         * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3025         * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3026         standard_output_file.
3027         * gdb.cp/readnow-language.exp: Use standard_testfile.
3028         * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3029         (gdb_start_again): Use clean_restart.
3030         * gdb.cp/ref-types.exp: Use standard_testfile,
3031         prepare_for_testing.
3032         * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3033         * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3034         * gdb.cp/smartp.exp: Use standard_testfile.
3035         * gdb.cp/static-method.exp: Use standard_testfile.
3036         * gdb.cp/static-print-quit.exp: Use standard_testfile.
3037         * gdb.cp/temargs.exp: Use standard_testfile.
3038         * gdb.cp/templates.exp: Use standard_testfile,
3039         prepare_for_testing.
3040         (do_tests): Update.
3041         * gdb.cp/try_catch.exp: Use standard_testfile,
3042         prepare_for_testing.
3043         * gdb.cp/typedef-operator.exp: Use standard_testfile.
3044         * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3045         * gdb.cp/virtbase.exp: Use standard_testfile,
3046         prepare_for_testing.
3047         * gdb.cp/virtfunc.exp: Use standard_testfile,
3048         prepare_for_testing.
3049         (do_tests): Update.
3050         * gdb.cp/virtfunc2.exp: Use standard_testfile,
3051         prepare_for_testing.
3052
3053 2012-07-10  Tom Tromey  <tromey@redhat.com>
3054
3055         * lib/gdb.exp (standard_testfile): Unset output variables from
3056         earlier invocations.
3057
3058 2012-07-10  Yao Qi  <yao@codesourcery.com>
3059
3060         * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3061         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3062         * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3063         * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3064         * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3065         * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3066         * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3067         * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3068         * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3069         * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3070         * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3071         * gdb.mi/mi-var-display.exp: Likewise.
3072         * gdb.mi/mi-var-invalidate.exp: Likewise.
3073         * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3074         * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3075         * gdb.mi/mi2-console.exp: Likewise.
3076         * gdb.mi/mi2-disassemble.exp: Likewise.
3077         * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3078         * gdb.mi/mi2-read-memory.exp: Likewise.
3079         * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3080         * gdb.mi/mi2-simplerun.exp: Likewise.
3081         * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3082         * gdb.mi/mi2-syn-frame.exp: Likewise.
3083         * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3084         * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3085         * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3086
3087 2012-07-09  Tom Tromey  <tromey@redhat.com>
3088
3089         * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3090         * gdb.base/callfuncs.exp: Add cast-based test.
3091         * gdb.base/callfuncs.c (voidfunc): New function.
3092
3093 2012-07-08  Doug Evans  <dje@google.com>
3094
3095         * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3096
3097 2012-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
3098
3099         Fix XFAIL compatibility with old i386 systems.
3100         * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3101         Check also 'Cannot insert breakpoint 0'.
3102
3103 2012-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3104
3105         PR 14321
3106         * gdb.base/find.exp
3107         (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3108
3109 2012-07-06  Tom Tromey  <tromey@redhat.com>
3110
3111         * gdb.base/whatis.exp: Add test.
3112
3113 2012-07-06  Tom Tromey  <tromey@redhat.com>
3114
3115         * gdb.base/whatis.exp: Add regression test.
3116
3117 2012-07-06  Tom Tromey  <tromey@redhat.com>
3118
3119         * gdb.base/whatis.exp: Add tests.
3120
3121 2012-07-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
3122
3123         PR 12649
3124         * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3125         gdb_test_multiple $gdb_prompt terminator.
3126
3127 2012-07-04  Pedro Alves  <palves@redhat.com>
3128
3129         * gdb.mi/mi-reverse.exp: Use supports_reverse and
3130         supports_process_record.
3131
3132 2012-07-04  Pedro Alves  <palves@redhat.com>
3133
3134         * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3135         endings.
3136         * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3137
3138 2012-07-03  Stan Shebs  <stan@codesourcery.com>
3139
3140         * gdb.base/info-os.c (main): Retry resource acquisition until an
3141         available one is found.
3142         * gdb.base/info-os.exp: Collect resource keys from the program
3143         and use them in matching.
3144
3145 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3146
3147         * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3148         Wrap the test into loop for corefile and core0file.
3149
3150 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3151
3152         * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3153         Change CU pointer size to 4 bytes, adjust .8byte to .4byte.  Remove
3154         .note.GNU-stack.
3155
3156         * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3157
3158 2012-07-02  Sergio Durigan Junior  <sergiodj@redhat.com>
3159
3160         * gdb.base/help.exp (help b, help br, help bre, help brea, help
3161         break): Include help message for the new `-probe' and `-probe-stap'
3162         options.
3163
3164 2012-07-02  Stan Shebs  <stan@codesourcery.com>
3165
3166         * gdb.base/dprintf.exp: Add agent style tests.
3167
3168 2012-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3169
3170         * gdb.base/stale-infcall.c (infcall): New label test-next.
3171         (main): New labels test-pass and test-fail.
3172         * gdb.base/stale-infcall.exp: Continue to test-next.  Put breakpoint
3173         $test_fail_bpnum to test-fail.
3174         (test system longjmp tracking support): New test.
3175         Delete $test_fail_bpnum.
3176         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3177         breakpoint.
3178
3179 2012-06-30  Doug Evans  <dje@google.com>
3180
3181         * gdb.dwarf2/fission-reread.S: New file.
3182         * gdb.dwarf2/fission-reread.exp: New file.
3183
3184 2012-06-28  Stan Shebs  <stan@codesourcery.com>
3185
3186         * gdb.mi/mi-logging.exp: New file.
3187
3188 2012-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3189             Pedro Alves  <palves@redhat.com>
3190
3191         * gdb.threads/siginfo-threads.exp: New file.
3192         * gdb.threads/siginfo-threads.c: New file.
3193         * gdb.threads/sigstep-threads.exp: New file.
3194         * gdb.threads/sigstep-threads.c: New file.
3195
3196 2012-06-28  Tom Tromey  <tromey@redhat.com>
3197
3198         * gdb.go/package.exp: Partially revert earlier patch; use
3199         gdb_compile again.  Use standard_output_file.
3200
3201 2012-06-27  Doug Evans  <dje@google.com>
3202
3203         * gdb.dwarf2/fission-base.c: New file.
3204         * gdb.dwarf2/fission-base.S: New file.
3205         * gdb.dwarf2/fission-base.exp: New file.
3206
3207 2012-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
3208
3209         * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3210
3211 2012-06-27  Tom Tromey  <tromey@redhat.com>
3212
3213         * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3214         * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3215
3216 2012-06-27  Tom Tromey  <tromey@redhat.com>
3217
3218         * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3219         * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3220         * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3221         * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3222         * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3223         prepare_for_testing.
3224         * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3225         * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3226         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3227         standard_testfile.
3228         * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3229         * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3230         * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3231         * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3232         prepare_for_testing.
3233         * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3234         * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3235         * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3236         * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3237         * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3238         * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3239         * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3240         * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3241         * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3242         * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3243         * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3244         * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3245         * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3246         * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3247         * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3248         * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3249         * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3250         * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3251         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3252         * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3253         * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3254         * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
3255         standard_output_file.
3256         * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
3257         standard_output_file.
3258         * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
3259         * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
3260         * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
3261         * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
3262         * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
3263         * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
3264         * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
3265         * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
3266         * gdb.dwarf2/implptr.exp: Use standard_testfile.
3267         * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
3268         * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
3269         * gdb.dwarf2/pieces.exp: Use standard_testfile.
3270         * gdb.dwarf2/pr11465.exp: Use standard_testfile.
3271         * gdb.dwarf2/pr13961.exp: Use standard_testfile.
3272         * gdb.dwarf2/valop.exp: Use standard_testfile,
3273         prepare_for_testing.
3274
3275 2012-06-27  Tom Tromey  <tromey@redhat.com>
3276
3277         * gdb.python/python.exp: Fix regexps in pagination tests.
3278
3279 2012-06-26  Siva Chandra Reddy  <sivachandra@google.com>
3280
3281         * gdb.python/py-symtab.exp: Add tests to test the new attribute
3282         'last' of gdb.Symtab_and_line.
3283         * gdb.python/py-symbol.c: Move break point comment to enable
3284         testing of gdb.Symtab_and_line.last.
3285
3286 2012-06-26  Tom Tromey  <tromey@redhat.com>
3287
3288         * gdb.threads/step.c: Remove.
3289         * gdb.threads/step.exp: Remove.
3290         * gdb.threads/step2.exp: Remove.
3291
3292 2012-06-26  Tom Tromey  <tromey@redhat.com>
3293
3294         * gdb.threads/watchpoint-fork.exp (test): Use
3295         standard_output_file.  Don't declare objdir.
3296         * gdb.threads/attach-into-signal.exp: Use standard_testfile,
3297         standard_output_file.
3298         * gdb.threads/attach-stopped.exp: Use standard_testfile.
3299         * gdb.threads/bp_in_thread.exp: Use standard_testfile,
3300         clean_restart.  Remove incdir.
3301         * gdb.threads/corethreads.exp: Use standard_testfile.
3302         * gdb.threads/execl.exp: Use standard_testfile,
3303         standard_output_file, clean_restart.
3304         * gdb.threads/fork-child-threads.exp: Use standard_testfile,
3305         clean_restart.
3306         * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
3307         clean_restart.
3308         * gdb.threads/gcore-thread.exp: Use standard_testfile.  Remove
3309         incdir.
3310         * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
3311         clean_restart.  Remove incdir.
3312         * gdb.threads/ia64-sigill.exp: Use standard_testfile.
3313         * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
3314         clean_restart.  Remove incdir.
3315         * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
3316         Remove incdir.
3317         * gdb.threads/leader-exit.exp: Use standard_testfile.
3318         * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
3319         * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
3320         clean_restart.
3321         * gdb.threads/manythreads.exp: Use standard_testfile,
3322         clean_restart.  Remove incdir.
3323         * gdb.threads/multi-create.exp: Use standard_testfile,
3324         clean_restart.
3325         * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
3326         * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
3327         * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
3328         * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
3329         * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
3330         * gdb.threads/pending-step.exp: Use standard_testfile,
3331         clean_restart.  Remove incdir.
3332         * gdb.threads/print-threads.exp: Use standard_testfile,
3333         clean_restart.  Remove incdir.
3334         * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
3335         clean_restart.  Remove incdir.
3336         * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
3337         Remove incdir.
3338         * gdb.threads/schedlock.exp: Use standard_testfile.  Remove
3339         incdir.
3340         * gdb.threads/sigthread.exp: Use standard_testfile,
3341         clean_restart.
3342         * gdb.threads/staticthreads.exp: Use standard_testfile,
3343         clean_restart.  Remove incdir.
3344         * gdb.threads/switch-threads.exp: Use standard_testfile,
3345         clean_restart.  Remove incdir.
3346         * gdb.threads/thread-execl.exp: Use standard_testfile,
3347         clean_restart.  Remove incdir.
3348         * gdb.threads/thread-find.exp: Use standard_testfile,
3349         clean_restart.
3350         * gdb.threads/thread-specific.exp: Use standard_testfile,
3351         clean_restart.  Remove incdir.
3352         * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
3353         clean_restart.  Remove incdir.
3354         * gdb.threads/thread_check.exp: Use standard_testfile,
3355         clean_restart.  Remove incdir.
3356         * gdb.threads/thread_events.exp: Use standard_testfile.  Remove
3357         incdir.
3358         * gdb.threads/threadapply.exp: Use standard_testfile,
3359         clean_restart.  Remove incdir.
3360         * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
3361         clean_restart.  Remove incdir.
3362         * gdb.threads/tls-nodebug.exp: Use standard_testfile,
3363         clean_restart.
3364         * gdb.threads/tls-shared.exp: Use standard_testfile,
3365         clean_restart, standard_output_file.
3366         * gdb.threads/tls-var.exp: Use standard_testfile,
3367         standard_output_file.
3368         * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
3369         Remove incdir.
3370         * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
3371         * gdb.threads/watchthreads.exp: Use standard_testfile.  Remove
3372         incdir.
3373         * gdb.threads/watchthreads2.exp: Use standard_testfile,
3374         clean_restart.  Remove incdir.
3375
3376 2012-06-26  Tom Tromey  <tromey@redhat.com>
3377
3378         * gdb.trace/actions.exp: Use standard_testfile.
3379         * gdb.trace/ax.exp: Use standard_testfile.
3380         * gdb.trace/backtrace.exp: Use standard_testfile.
3381         * gdb.trace/change-loc.exp: Use standard_testfile.
3382         * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
3383         * gdb.trace/collection.exp: Use standard_testfile,
3384         prepare_for_testing.
3385         * gdb.trace/deltrace.exp: Use standard_testfile.
3386         * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
3387         * gdb.trace/ftrace.exp: Use standard_testfile.
3388         * gdb.trace/infotrace.exp: Use standard_testfile.
3389         * gdb.trace/packetlen.exp: Use standard_testfile.
3390         * gdb.trace/passc-dyn.exp: Use standard_testfile.
3391         * gdb.trace/passcount.exp: Use standard_testfile.
3392         * gdb.trace/pending.exp: Use standard_testfile.
3393         * gdb.trace/report.exp: Use standard_testfile.
3394         * gdb.trace/save-trace.exp: Use standard_testfile.
3395         * gdb.trace/stap-trace.exp: Use standard_testfile.
3396         * gdb.trace/status-stop.exp: Use standard_testfile.
3397         * gdb.trace/strace.exp: Use standard_testfile.
3398         * gdb.trace/tfile.exp: Use standard_testfile.
3399         * gdb.trace/tfind.exp: Use standard_testfile.
3400         * gdb.trace/trace-break.exp: Use standard_testfile.
3401         * gdb.trace/trace-mt.exp: Use standard_testfile.
3402         * gdb.trace/tracecmd.exp: Use standard_testfile.
3403         * gdb.trace/tspeed.exp: Use standard_testfile.
3404         * gdb.trace/tstatus.exp: Use standard_testfile.
3405         * gdb.trace/tsv.exp: Use standard_testfile.
3406         * gdb.trace/unavailable.exp: Use standard_testfile,
3407         prepare_for_testing.
3408         * gdb.trace/while-dyn.exp: Use standard_testfile.
3409         * gdb.trace/while-stepping.exp: Use standard_testfile.
3410
3411 2012-06-26  Tom Tromey  <tromey@redhat.com>
3412
3413         * gdb.reverse/break-precsave.exp: Use standard_testfile.
3414         * gdb.reverse/break-reverse.exp: Use standard_testfile.
3415         * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
3416         * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
3417         * gdb.reverse/finish-precsave.exp: Use standard_testfile.
3418         * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
3419         * gdb.reverse/finish-reverse.exp: Use standard_testfile.
3420         * gdb.reverse/i386-precsave.exp: Use standard_testfile,
3421         prepare_for_testing.
3422         * gdb.reverse/i386-reverse.exp: Use standard_testfile,
3423         prepare_for_testing.
3424         * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
3425         prepare_for_testing.
3426         * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
3427         prepare_for_testing.
3428         * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
3429         prepare_for_testing
3430         * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
3431         * gdb.reverse/machinestate.exp: Use standard_testfile.
3432         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
3433         * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
3434         build_executable.
3435         * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
3436         build_executable.
3437         * gdb.reverse/solib-precsave.exp: Use standard_testfile,
3438         standard_output_file.
3439         * gdb.reverse/solib-reverse.exp: Use standard_testfile,
3440         standard_output_file.
3441         * gdb.reverse/step-precsave.exp: Use standard_testfile.
3442         * gdb.reverse/step-reverse.exp: Use standard_testfile.
3443         * gdb.reverse/until-precsave.exp: Use standard_testfile.
3444         * gdb.reverse/until-reverse.exp: Use standard_testfile.
3445         * gdb.reverse/watch-precsave.exp: Use standard_testfile.
3446         * gdb.reverse/watch-reverse.exp: Use standard_testfile.
3447
3448 2012-06-26  Tom Tromey  <tromey@redhat.com>
3449
3450         * gdb.stabs/weird.exp: Remove directory-checking code.  Use
3451         standard_output_file.
3452         * gdb.stabs/exclfwd.exp: Use standard_testfile,
3453         prepare_for_testing.  Remove directory-checking code.
3454
3455 2012-06-25  Tom Tromey  <tromey@redhat.com>
3456
3457         * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
3458         * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file.  Use
3459         build_executable, not prepare_for_testing.
3460         * gdb.multi/base.exp: Use standard_output_file.  Use
3461         build_executable,  not prepare_for_testing.
3462
3463 2012-06-25  Tom Tromey  <tromey@redhat.com>
3464
3465         * gdb.fortran/subarray.exp: Use standard_testfile,
3466         prepare_for_testing.
3467         * gdb.fortran/multi-dim.exp: Use standard_testfile.
3468         * gdb.fortran/module.exp: Use standard_testfile.
3469         * gdb.fortran/logical.exp: Use standard_testfile.
3470         * gdb.fortran/library-module.exp: Use standard_testfile,
3471         standard_output_file.
3472         * gdb.fortran/derived-type.exp: Use standard_testfile,
3473         prepare_for_testing.
3474         * gdb.fortran/complex.exp: Use standard_testfile,
3475         prepare_for_testing.
3476         * gdb.fortran/charset.exp: Use standard_testfile.
3477         * gdb.fortran/array-element.exp: Use standard_testfile,
3478         prepare_for_testing.
3479
3480 2012-06-25  Keith Seitz  <keiths@redhat.com>
3481
3482         * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
3483         Change rbreak-related tests to KFAIL and add bugzilla numbers.
3484
3485 2012-06-25  Tom Tromey  <tromey@redhat.com>
3486
3487         * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
3488         * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
3489         * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
3490         * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
3491
3492 2012-06-25  Tom Tromey  <tromey@redhat.com>
3493
3494         * gdb.linespec/ls-errs.exp: Use standard_testfile.
3495         * gdb.linespec/ls-dollar.exp: Use standard_testfile.
3496         * gdb.linespec/linespec.exp: Use standard_testfile.
3497
3498 2012-06-25  Tom Tromey  <tromey@redhat.com>
3499
3500         * gdb.modula2/unbounded-array.exp: Use standard_testfile,
3501         prepare_for_testing.
3502
3503 2012-06-25  Tom Tromey  <tromey@redhat.com>
3504
3505         * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
3506         prepare_for_testing.
3507         * gdb.opt/inline-break.exp: Use standard_testfile,
3508         prepare_for_testing.
3509         * gdb.opt/inline-bt.exp: Use standard_testfile,
3510         prepare_for_testing.
3511         * gdb.opt/inline-cmds.exp: Use standard_testfile,
3512         prepare_for_testing.
3513         * gdb.opt/inline-locals.exp: Use standard_testfile,
3514         prepare_for_testing.
3515
3516 2012-06-25  Tom Tromey  <tromey@redhat.com>
3517
3518         * gdb.asm/asm-source.exp: Use standard_output_file,
3519         standard_testfile.  Construct .o files in proper subdir.
3520
3521 2012-06-25  Tom Tromey  <tromey@redhat.com>
3522
3523         * gdb.server/ext-attach.exp: Use standard_testfile,
3524         prepare_for_testing.
3525         * gdb.server/ext-run.exp: Use standard_testfile,
3526         build_executable.
3527         * gdb.server/file-transfer.exp: Use standard_testfile,
3528         prepare_for_testing.
3529         * gdb.server/server-exec-info.exp: Use standard_testfile.
3530         * gdb.server/server-mon.exp: Use standard_testfile,
3531         prepare_for_testing.
3532         * gdb.server/server-run.exp: Use standard_testfile,
3533         build_executable.
3534         * gdb.server/solib-list.exp: Use standard_testfile,
3535         standard_output_file.
3536
3537 2012-06-25  Tom Tromey  <tromey@redhat.com>
3538
3539         * lib/gdb.exp (standard_output_file): Use "file join".
3540         * gdb.go/chan.exp: Use standard_testfile.
3541         * gdb.go/handcall.exp: Use standard_testfile.
3542         * gdb.go/hello.exp: Use standard_testfile.
3543         * gdb.integers/chan.exp: Use standard_testfile.
3544         * gdb.go/methods.exp: Use standard_testfile.
3545         * gdb.go/package.exp: Use standard_testfile.
3546         * gdb.go/strings.exp: Use standard_testfile.
3547         * gdb.go/types.exp: Use standard_testfile.
3548         * gdb.go/unsafe.exp: Use standard_testfile.
3549
3550 2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>
3551
3552         * gdb.arch/arm-disp-step.S: Fix use of .global directives.
3553
3554 2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3555
3556         Fix regression by the previous commit.
3557         * gdb.python/lib-types.exp: Add c++ to the compilation flags.
3558
3559 2012-06-22  Tom Tromey  <tromey@redhat.com>
3560
3561         * gdb.python/lib-types.exp: Use standard_testfile,
3562         prepare_for_testing.
3563         * gdb.python/py-block.exp: Use standard_testfile.
3564         * gdb.python/py-breakpoint.exp: Use standard_testfile.
3565         * gdb.python/py-events.exp: Use standard_testfile,
3566         standard_output_file.
3567         * gdb.python/py-evsignal.exp: Use standard_testfile.
3568         * gdb.python/py-evethreads.exp: Use standard_testfile.
3569         * gdb.python/py-explore-cc.exp: Use standard_testfile.
3570         * gdb.python/py-explore.exp: Use standard_testfile.
3571         * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3572         standard_output_file.
3573         * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3574         prepare_for_testing.
3575         * gdb.python/py-frame-inline.exp: Use standard_testfile.
3576         * gdb.python/py-frame.exp: Use standard_testfile.
3577         * gdb.python/py-inferior.exp: Use standard_testfile.
3578         * gdb.python/py-infthread.exp: Use standard_testfile.
3579         * gdb.python/py-mi.exp: Use standard_testfile.
3580         * gdb.python/py-objfile-script.exp: Use standard_testfile,
3581         build_executable.
3582         * gdb.python/py-objfile.exp: Use standard_testfile.
3583         * gdb.python/py-pp-maint.exp: Use standard_testfile,
3584         prepare_for_testing.
3585         * gdb.python/py-prettyprint.exp: Use standard_testfile.
3586         * gdb.python/py-progspace.exp: Use standard_testfile,
3587         build_executable.
3588         * gdb.python/py-prompt.exp: Use standard_testfile,
3589         build_executable.
3590         * gdb.python/py-section-script.exp: Use standard_testfile,
3591         build_executable.
3592         * gdb.python/py-shared.exp: Use standard_testfile,
3593         standard_output_file, clean_restart.
3594         * gdb.python/py-symbol.exp: Use standard_output_file,
3595         prepare_for_testing.
3596         * gdb.python/py-symtab.exp: Use standard_output_file,
3597         prepare_for_testing
3598         * gdb.python/py-template.exp: Use standard_testfile.
3599         * gdb.python/py-type.exp: Use standard_testfile.
3600         * gdb.python/py-value-cc.exp: Use standard_testfile.
3601         * gdb.python/py-value.exp: Use standard_testfile.
3602         * gdb.python/python.exp: Use standard_testfile, build_executable.
3603
3604 2012-06-22  Tom Tromey  <tromey@redhat.com>
3605
3606         * gdb.objc/basicclass.exp: Use standard_testfile.
3607         (do_objc_tests): Don't declare objdir.
3608         * gdb.objc/nondebug.exp: Use standard_testfile.
3609         (do_objc_tests): Don't declare objdir.
3610         * gdb.objc/objcdecode.exp: Use standard_testfile.
3611         (do_objc_tests): Don't declare objdir.
3612
3613 2012-06-22  Tom Tromey  <tromey@redhat.com>
3614
3615         * gdb.java/jmain.exp: Use standard_testfile.
3616         * gdb.java/jmisc.exp: Use standard_testfile.
3617         * gdb.java/jnpe.exp: Use standard_testfile.
3618         * gdb.java/jprint.exp: Use standard_testfile.
3619
3620 2012-06-22  Tom Tromey  <tromey@redhat.com>
3621
3622         * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3623         (standard_output_file, standard_testfile): New procs.
3624         (build_executable, clean_restart): Use standard_output_file.
3625
3626 2012-06-22  Yao Qi  <yao@codesourcery.com>
3627
3628         * boards/native-gdbserver.exp: New proc ${board}_exec.
3629         * boards/native-stdio-gdbserver.exp: Likewise.
3630
3631 2012-06-21  Tom Tromey  <tromey@redhat.com>
3632
3633         * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3634         (build_executable): Update.
3635         (get_compiler_info): Remove 'binfile' argument.
3636         * gdb.ada/arrayidx.exp: Update.
3637         * gdb.ada/null_array.exp: Update.
3638         * gdb.arch/altivec-abi.exp: Update.
3639         * gdb.arch/altivec-regs.exp: Update.
3640         * gdb.arch/amd64-byte.exp: Update.
3641         * gdb.arch/amd64-dword.exp: Update.
3642         * gdb.arch/amd64-word.exp: Update.
3643         * gdb.arch/i386-avx.exp: Update.
3644         * gdb.arch/i386-byte.exp: Update.
3645         * gdb.arch/i386-sse.exp: Update.
3646         * gdb.arch/i386-word.exp: Update.
3647         * gdb.arch/ppc-dfp.exp: Update.
3648         * gdb.arch/ppc-fp.exp: Update.
3649         * gdb.arch/vsx-regs.exp: Update.
3650         * gdb.base/all-bin.exp: Update.
3651         * gdb.base/annota1.exp: Update.
3652         * gdb.base/async.exp: Update.
3653         * gdb.base/attach.exp: Update.
3654         * gdb.base/break-interp.exp: Update.
3655         * gdb.base/call-ar-st.exp: Update.
3656         * gdb.base/call-rt-st.exp: Update.
3657         * gdb.base/call-sc.exp: Update.
3658         * gdb.base/callfuncs.exp: Update.
3659         * gdb.base/catch-load.exp: Update.
3660         * gdb.base/completion.exp: Update.
3661         * gdb.base/complex.exp: Update.
3662         * gdb.base/condbreak.exp: Update.
3663         * gdb.base/consecutive.exp: Update.
3664         * gdb.base/constvars.exp: Update.
3665         * gdb.base/corefile.exp: Update.
3666         * gdb.base/eval-skip.exp: Update.
3667         * gdb.base/expand-psymtabs.exp: Update.
3668         * gdb.base/exprs.exp: Update.
3669         * gdb.base/fileio.exp: Update.
3670         * gdb.base/fixsection.exp: Update.
3671         * gdb.base/funcargs.exp: Update.
3672         * gdb.base/gdb11530.exp: Update.
3673         * gdb.base/gdb1555.exp: Update.
3674         * gdb.base/gnu-ifunc.exp: Update.
3675         * gdb.base/gnu_vector.exp: Update.
3676         * gdb.base/info-macros.exp: Update.
3677         * gdb.base/jit-simple.exp: Update.
3678         * gdb.base/jit-so.exp: Update.
3679         * gdb.base/jit.exp: Update.
3680         * gdb.base/langs.exp: Update.
3681         * gdb.base/list.exp: Update.
3682         * gdb.base/logical.exp: Update.
3683         * gdb.base/long_long.exp: Update.
3684         * gdb.base/longjmp.exp: Update.
3685         * gdb.base/macscp.exp: Update.
3686         * gdb.base/mips_pro.exp: Update.
3687         * gdb.base/miscexprs.exp: Update.
3688         * gdb.base/morestack.exp: Update.
3689         * gdb.base/nodebug.exp: Update.
3690         * gdb.base/opaque.exp: Update.
3691         * gdb.base/pc-fp.exp: Update.
3692         * gdb.base/pending.exp: Update.
3693         * gdb.base/permissions.exp: Update.
3694         * gdb.base/pointers.exp: Update.
3695         * gdb.base/prelink.exp: Update.
3696         * gdb.base/printcmds.exp: Update.
3697         * gdb.base/psymtab.exp: Update.
3698         * gdb.base/ptype.exp: Update.
3699         * gdb.base/relational.exp: Update.
3700         * gdb.base/scope.exp: Update.
3701         * gdb.base/setvar.exp: Update.
3702         * gdb.base/shlib-call.exp: Update.
3703         * gdb.base/shreloc.exp: Update.
3704         * gdb.base/signals.exp: Update.
3705         * gdb.base/sizeof.exp: Update.
3706         * gdb.base/so-impl-ld.exp: Update.
3707         * gdb.base/so-indr-cl.exp: Update.
3708         * gdb.base/solib-disc.exp: Update.
3709         * gdb.base/solib-display.exp: Update.
3710         * gdb.base/solib-nodir.exp: Update.
3711         * gdb.base/solib-overlap.exp: Update.
3712         * gdb.base/solib-symbol.exp: Update.
3713         * gdb.base/solib-weak.exp: Update.
3714         * gdb.base/solib.exp: Update.
3715         * gdb.base/store.exp: Update.
3716         * gdb.base/structs.exp: Update.
3717         * gdb.base/structs2.exp: Update.
3718         * gdb.base/type-opaque.exp: Update.
3719         * gdb.base/unload.exp: Update.
3720         * gdb.base/varargs.exp: Update.
3721         * gdb.base/volatile.exp: Update.
3722         * gdb.base/watch_thread_num.exp: Update.
3723         * gdb.base/watchpoint-solib.exp: Update.
3724         * gdb.base/watchpoint.exp: Update.
3725         * gdb.base/watchpoints.exp: Update.
3726         * gdb.base/whatis.exp: Update.
3727         * gdb.cell/arch.exp: Update.
3728         * gdb.cell/break.exp: Update.
3729         * gdb.cell/bt.exp: Update.
3730         * gdb.cell/core.exp: Update.
3731         * gdb.cell/data.exp: Update.
3732         * gdb.cell/ea-cache.exp: Update.
3733         * gdb.cell/f-regs.exp: Update.
3734         * gdb.cell/fork.exp: Update.
3735         * gdb.cell/gcore.exp: Update.
3736         * gdb.cell/mem-access.exp: Update.
3737         * gdb.cell/ptype.exp: Update.
3738         * gdb.cell/registers.exp: Update.
3739         * gdb.cell/sizeof.exp: Update.
3740         * gdb.cell/solib-symbol.exp: Update.
3741         * gdb.cell/solib.exp: Update.
3742         * gdb.cp/ambiguous.exp: Update.
3743         * gdb.cp/breakpoint.exp: Update.
3744         * gdb.cp/bs15503.exp: Update.
3745         * gdb.cp/casts.exp: Update.
3746         * gdb.cp/class2.exp: Update.
3747         * gdb.cp/cpexprs.exp: Update.
3748         * gdb.cp/cplusfuncs.exp: Update.
3749         * gdb.cp/ctti.exp: Update.
3750         * gdb.cp/dispcxx.exp: Update.
3751         * gdb.cp/gdb1355.exp: Update.
3752         * gdb.cp/gdb2384.exp: Update.
3753         * gdb.cp/gdb2495.exp: Update.
3754         * gdb.cp/infcall-dlopen.exp: Update.
3755         * gdb.cp/local.exp: Update.
3756         * gdb.cp/m-data.exp: Update.
3757         * gdb.cp/m-static.exp: Update.
3758         * gdb.cp/mb-ctor.exp: Update.
3759         * gdb.cp/mb-inline.exp: Update.
3760         * gdb.cp/mb-templates.exp: Update.
3761         * gdb.cp/member-ptr.exp: Update.
3762         * gdb.cp/method.exp: Update.
3763         * gdb.cp/namespace.exp: Update.
3764         * gdb.cp/nextoverthrow.exp: Update.
3765         * gdb.cp/nsdecl.exp: Update.
3766         * gdb.cp/nsrecurs.exp: Update.
3767         * gdb.cp/nsstress.exp: Update.
3768         * gdb.cp/nsusing.exp: Update.
3769         * gdb.cp/pr-1023.exp: Update.
3770         * gdb.cp/pr-1210.exp: Update.
3771         * gdb.cp/pr-574.exp: Update.
3772         * gdb.cp/pr9631.exp: Update.
3773         * gdb.cp/printmethod.exp: Update.
3774         * gdb.cp/psmang.exp: Update.
3775         * gdb.cp/re-set-overloaded.exp: Update.
3776         * gdb.cp/rtti.exp: Update.
3777         * gdb.cp/shadow.exp: Update.
3778         * gdb.cp/templates.exp: Update.
3779         * gdb.cp/try_catch.exp: Update.
3780         * gdb.dwarf2/dw2-ranges.exp: Update.
3781         * gdb.dwarf2/pr10770.exp: Update.
3782         * gdb.fortran/library-module.exp: Update.
3783         * gdb.hp/gdb.aCC/optimize.exp: Update.
3784         * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3785         * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3786         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3787         * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3788         * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3789         * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3790         * gdb.hp/gdb.compat/xdb1.exp: Update.
3791         * gdb.hp/gdb.compat/xdb2.exp: Update.
3792         * gdb.hp/gdb.compat/xdb3.exp: Update.
3793         * gdb.hp/gdb.defects/bs14602.exp: Update.
3794         * gdb.hp/gdb.defects/solib-d.exp: Update.
3795         * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3796         * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3797         * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3798         * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3799         * gdb.mi/gdb792.exp: Update.
3800         * gdb.mi/mi-pending.exp: Update.
3801         * gdb.mi/mi-solib.exp: Update.
3802         * gdb.mi/mi-var-cp.exp: Update.
3803         * gdb.opt/clobbered-registers-O2.exp: Update.
3804         * gdb.opt/inline-bt.exp: Update.
3805         * gdb.opt/inline-cmds.exp: Update.
3806         * gdb.opt/inline-locals.exp: Update.
3807         * gdb.python/py-events.exp: Update.
3808         * gdb.python/py-finish-breakpoint.exp: Update.
3809         * gdb.python/py-type.exp: Update.
3810         * gdb.reverse/solib-precsave.exp: Update.
3811         * gdb.reverse/solib-reverse.exp: Update.
3812         * gdb.server/solib-list.exp: Update.
3813         * gdb.stabs/weird.exp: Update.
3814         * gdb.threads/attach-into-signal.exp: Update.
3815         * gdb.threads/attach-stopped.exp: Update.
3816         * gdb.threads/tls-shared.exp: Update.
3817         * gdb.trace/change-loc.exp: Update.
3818         * gdb.trace/strace.exp: Update.
3819
3820 2012-06-19  Tom Tromey  <tromey@redhat.com>
3821
3822         * gdb.base/whatis.exp: Add tests.
3823
3824 2012-06-19  Tom Tromey  <tromey@redhat.com>
3825
3826         * gdb.cp/m-static.cc (keepalive): New function.
3827         (gnu_obj_1::method): Use it.
3828
3829 2012-06-18  Doug Evans  <dje@google.com>
3830
3831         * gdb.base/info-fun.exp: New file.
3832         * gdb.base/info-fun.c: New file.
3833         * gdb.base/info-fun-solib.c: New file.
3834
3835 2012-06-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
3836
3837         Remove stale dummy frames.
3838         * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3839         (maintenance info breakpoints): New tests.
3840         * gdb.base/stale-infcall.c: New file.
3841         * gdb.base/stale-infcall.exp: New file.
3842
3843 2012-06-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
3844
3845         * gdb.arch/amd64-entry-value-param.S: New file.
3846         * gdb.arch/amd64-entry-value-param.c: New file.
3847         * gdb.arch/amd64-entry-value-param.exp: New file.
3848
3849 2012-06-15  Tom Tromey  <tromey@redhat.com>
3850
3851         * gdb.cp/namespace.exp: Add "show lang" test.
3852
3853 2012-06-15  Iain Sandoe <iain@codesourcery.com>
3854
3855         * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3856         case. (top level): Use gdb_file_cmd instead of gdb_load.
3857
3858 2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3859
3860         PR tdep/14222
3861         * gdb.arch/i386-sse-stack-align.S: New file.
3862         * gdb.arch/i386-sse-stack-align.c: New file.
3863         * gdb.arch/i386-sse-stack-align.exp: New file.
3864
3865 2012-06-13  Keith Seitz  <keiths@redhat.com>
3866
3867         PR breakpoints/13798 and mi/11541
3868         * gdb.linespec/ls-errs.exp: Add a few more tests for
3869         filenames with spaces and colons.
3870
3871 2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
3872
3873         PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3874         * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3875         (test_function): Call CV_f.
3876         * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3877         (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3878         (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3879         (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3880         (p CV_f(CV::i)): New tests.
3881
3882 2012-06-13  Tom Tromey  <tromey@redhat.com>
3883
3884         * gdb.base/condbreak.exp: Add tests for "condition" completion.
3885
3886 2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3887
3888         Fix regression by the "ambiguous linespec" series.
3889         * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3890         tests.
3891
3892 2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3893
3894         * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3895         missing.
3896
3897 2012-06-11  Tom Tromey  <tromey@redhat.com>
3898
3899         * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3900         location...
3901         (main): ...here.
3902
3903 2012-06-07  Yao Qi  <yao@codesourcery.com>
3904
3905         * gdb.trace/strace.exp: Shorten some too-long lines.
3906
3907 2012-06-06  Pedro Alves  <palves@redhat.com>
3908
3909         * gdb.threads/clone-new-thread-event.c: New file.
3910         * gdb.threads/clone-new-thread-event.exp: New file.
3911
3912 2012-06-06  Yao Qi  <yao@codesourcery.com>
3913
3914         * gdb.base/dprintf.c (main): Add extra parameter when calling
3915         printf and fprintf.
3916         (bar): New function.  It is a dead function, but to ensure
3917         'malloc' is linked explicitly.
3918
3919 2012-06-06  Yao Qi  <yao@codesourcery.com>
3920
3921         * gdb.base/info-proc.exp: Return if target doesn't support
3922         'info proc'.
3923
3924 2012-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
3925
3926         * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3927         (run program with breakpoint commands): XFAIl if it is not.
3928
3929 2012-06-05  Joel Brobecker  <brobecker@adacore.com>
3930
3931         * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3932         and add comment.
3933         * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3934         * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3935         "STOP" marker.  Adjust testing strategy to make it work on
3936         all targets.
3937
3938         * gdb.base/print-file-var-main.c (main): Rewrite using local
3939         variables and adjust get_version_2's return value check.
3940         Add small comment.
3941         * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3942         marker.  Adjust testing strategy to make it work on all targets.
3943
3944 2012-06-05  Joel Brobecker  <brobecker@adacore.com>
3945
3946         * gdb.ada/bad-task-bp-keyword: New testcase.
3947
3948 2012-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
3949
3950         * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3951         Simplify it to ...
3952         (symbol-file ${testfile1}): ... here.
3953         (test eliminated var my_global_symbol)
3954         (test eliminated var my_static_symbol)
3955         (test eliminated var my_global_func, get address of main): Wrap them to
3956         'single psymtabs' and 'single symtabs'
3957         (get address of my_global_symbol, get address of my_static_symbol)
3958         (get address of my_global_func, get address of main): Wrap them to
3959         'order1' and 'order2'.
3960
3961         * gdb.base/code_elim.exp
3962         (add-symbol-file ${testfile1} 0x100000)
3963         (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3964         'order2'.
3965         (order1: add-symbol-file ${testfile1} 0x100000)
3966         (order1: add-symbol-file ${testfile2} 0x200000)
3967         (order2: add-symbol-file ${testfile2} 0x200000)
3968         (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3969         .bss as appropriate.
3970
3971 2012-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
3972
3973         * gdb.server/solib-list-lib.c: New file.
3974         * gdb.server/solib-list-main.c: New file.
3975         * gdb.server/solib-list.exp: New file.
3976
3977 2012-05-25  Maciej W. Rozycki  <macro@codesourcery.com>
3978
3979         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3980         for 'set print symbol' change.
3981
3982 2012-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
3983
3984         * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3985         .debug_abbrev_seg3.
3986
3987 2012-05-24  John Steele Scott  <toojays@toojays.net>
3988
3989         PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3990         * gdb.dwarf2/dw2-icc-opaque.S: New file.
3991         * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3992
3993 2012-05-23  Stan Shebs  <stan@codesourcery.com>
3994
3995         * gdb.mi/mi-info-os.exp: New file.
3996
3997 2012-05-23  Keith Seitz  <keiths@redhat.com>
3998
3999         * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4000         return -1 to suppress the rest of the tests.
4001         (compile_stap_bin): Return boolean success value.
4002
4003 2012-05-21  Tom Tromey  <tromey@redhat.com>
4004
4005         * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4006         Remove kfails.
4007         (test_print_mi_member_types): Likewise.
4008
4009 2012-05-21  Tom Tromey  <tromey@redhat.com>
4010
4011         * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4012         print symbol' change.
4013
4014 2012-05-18  Thiago Jung Bauermann  <thiago.bauermann@linaro.org>
4015
4016         * gdb.python/py-prompt.exp: Quit if the target is remote.
4017
4018 2012-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
4019
4020         Fix ERROR: internal buffer is full.
4021         * gdb.base/info-os.exp (expect_multiline): New function.
4022         (get process list, get process groups, get threads)
4023         (get file descriptors, get internet-domain sockets)
4024         (get shared-memory regions, get semaphores, get message queues): Use
4025         it for these tests.
4026
4027 2012-05-18  Tom Tromey  <tromey@redhat.com>
4028
4029         * gdb.mi/mi-var-cmd.exp: Update.
4030         * gdb.objc/basicclass.exp (do_objc_tests): Update.
4031         * gdb.cp/virtbase.exp: Update.
4032         * gdb.cp/classes.exp (test_static_members): Update.
4033         * gdb.cp/casts.exp: Update.
4034         * gdb.base/pointers.exp: Update.
4035         * gdb.base/funcargs.exp (pointer_args): Update.
4036         (structs_by_reference): Update.
4037         * gdb.base/find.exp: Update.
4038         * gdb.base/call-strs.exp: Send "set print symbol off".
4039         * gdb.base/call-ar-st.exp: Update.
4040         * gdb.ada/fun_addr.exp: Update.
4041         * gdb.base/printcmds.exp (test_print_symbol): New proc.
4042         Call it.
4043         (test_print_repeats_10, test_print_strings)
4044         (test_print_char_arrays): Update.
4045
4046 2012-05-18  Tom Tromey  <tromey@redhat.com>
4047
4048         * gdb.base/charset.exp (string_display): Update.
4049
4050 2012-05-18  Tom Tromey  <tromey@redhat.com>
4051
4052         * gdb.mi/mi2-var-display.exp: Update.
4053         * gdb.mi/mi-var-display.exp: Update.
4054         * gdb.mi/mi-var-child.exp: Update.
4055         * gdb.cp/expand-psymtabs-cxx.exp: Update.
4056         * gdb.cp/cp-relocate.exp (get_func_address): Update.
4057
4058 2012-05-17  Doug Evans  <dje@google.com>
4059
4060         * info-macros.exp: Pass "debug" to prepare_for_testing.
4061
4062         * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4063         * gdb.ada/Makefile.in (clean): Ditto.
4064         * gdb.arch/Makefile.in (clean): Ditto.
4065         * gdb.asm/Makefile.in (clean): Ditto.
4066         * gdb.base/Makefile.in (clean): Ditto.
4067         * gdb.cell/Makefile.in (clean): Ditto.
4068         * gdb.cp/Makefile.in (clean): Ditto.
4069         * gdb.disasm/Makefile.in (clean): Ditto.
4070         * gdb.dwarf2/Makefile.in (clean): Ditto.
4071         * gdb.fortran/Makefile.in (clean): Ditto.
4072         * gdb.go/Makefile.in (clean): Ditto.
4073         * gdb.hp/Makefile.in (clean): Ditto.
4074         * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4075         * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4076         * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4077         * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4078         * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4079         * gdb.java/Makefile.in (clean): Ditto.
4080         * gdb.linespec/Makefile.in (clean): Ditto.
4081         * gdb.mi/Makefile.in (clean): Ditto.
4082         * gdb.modula2/Makefile.in (clean): Ditto.
4083         * gdb.multi/Makefile.in (clean): Ditto.
4084         * gdb.objc/Makefile.in (clean): Ditto.
4085         * gdb.opencl/Makefile.in (clean): Ditto.
4086         * gdb.opt/Makefile.in (clean): Ditto.
4087         * gdb.pascal/Makefile.in (clean): Ditto.
4088         * gdb.python/Makefile.in (clean): Ditto.
4089         * gdb.reverse/Makefile.in (clean): Ditto.
4090         * gdb.server/Makefile.in (clean): Ditto.
4091         * gdb.stabs/Makefile.in (clean): Ditto.
4092         * gdb.threads/Makefile.in (clean): Ditto.
4093         * gdb.trace/Makefile.in (clean): Ditto.
4094         * gdb.xml/Makefile.in (clean): Ditto.
4095
4096 2012-05-16  Tom Tromey  <tromey@redhat.com>
4097
4098         * gdb.base/macscp1.c (macscp_expr): Add comment.
4099         * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4100
4101 2012-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4102
4103         * gdb.base/return-nodebug.exp: Also test float and double types.
4104
4105 2012-05-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
4106
4107         PR testsuite/12649
4108         * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4109
4110         * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4111
4112 2012-05-14  Sergio Durigan Junior  <sergiodj@redhat.com>
4113
4114         * gdb.base/stap-probe.exp (stap_test): Remove calls to
4115         `rerun_to_main'.
4116         (stap_test_no_debuginfo): Likewise.
4117
4118 2012-05-14  Stan Shebs  <stan@codesourcery.com>
4119
4120         * gdb.base/dprintf.c: New file.
4121         * gdb.base/dprintf.exp: New file.
4122
4123 2012-05-14  Hui Zhu  <hui_zhu@mentor.com>
4124
4125         * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4126         * gdb.trace/disconnected-tracing.c: New file.
4127         * gdb.trace/disconnected-tracing.exp: New file.
4128
4129 2012-05-13  Siva Chandra Reddy  <sivachandra@google.com>
4130
4131         * gdb.python/python.c: Add a new breakpoint comment.
4132         * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4133
4134 2011-12-26  Kwok Cheung Yeung  <kcy@codesourcery.com>
4135
4136         * gdb.base/info-os.exp: New file.
4137         * gdb.base/info-os.c: New file.
4138
4139 2012-05-10  Joel Brobecker  <brobecker@adacore.com>
4140
4141         * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4142         gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4143         New files.
4144
4145 2012-05-10  Joel Brobecker  <brobecker@adacore.com>
4146
4147         * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4148         gdb.base/ctxobj.exp: New files.
4149
4150 2012-05-09  Tom Tromey  <tromey@redhat.com>
4151
4152         * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4153
4154 2012-05-09  Maciej W. Rozycki  <macro@codesourcery.com>
4155
4156         * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4157
4158 2012-05-08  Maciej W. Rozycki  <macro@codesourcery.com>
4159
4160         * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4161         before using it.
4162
4163 2012-05-04  Tristan Gingold  <gingold@adacore.com>
4164
4165         * gdb.base/set-noassign.exp: New test.
4166
4167 2012-05-03  Siva Chandra Reddy  <sivachandra@google.com>
4168
4169         * gdb.python/py-symbol.exp: Add tests to test the new methods
4170         gdb.Symtab.global_block() and gdb.Symtab.static_block().
4171         * gdb.python/py-symbol.c: Add new struct to help test
4172         gdb.Symtab.static_block().
4173
4174 2012-05-03  Doug Evans  <dje@google.com>
4175
4176         * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4177         commented out.
4178
4179 2012-05-03  Yao Qi  <yao@codesourcery.com>
4180
4181         * gdb.base/catch-syscall.exp: Skip it before compilation if target
4182         doesn't support.
4183         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4184         * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4185
4186 2012-05-03  Yao Qi  <yao@codesourcery.com>
4187
4188         * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4189
4190 2012-04-30  Doug Evans  <dje@google.com>
4191
4192         PR testsuite/13961
4193         * gdb.dwarf2/pr13961.S: New file.
4194         * gdb.dwarf2/pr13961.exp: New file.
4195
4196 2012-04-29  Yao Qi  <yao@codesourcery.com>
4197
4198         * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4199
4200 2012-04-28  Doug Evans  <dje@google.com>
4201
4202         * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4203         .Ltype_int_in_cu2.  Use name "int2" instead of "int".
4204         All uses updated.
4205         * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4206         "ptype func_cu1" to expand cu2 before cu1.
4207
4208 2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
4209             Tom Tromey  <tromey@redhat.com>
4210
4211         * gdb.base/default.exp: Add `$_probe_arg*' convenience
4212         variables.
4213         * gdb.base/stap-probe.c: New file.
4214         * gdb.base/stap-probe.exp: New file.
4215         * gdb.trace/stap-trace.c: New file.
4216         * gdb.trace/stap-trace.exp: New file.
4217         * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4218         libgcc's unwinder.
4219
4220 2012-04-26  Maciej W. Rozycki  <macro@codesourcery.com>
4221
4222         * gdb.arch/mips16-thunks-inmain.c: New file.
4223         * gdb.arch/mips16-thunks-main.c: New file.
4224         * gdb.arch/mips16-thunks-sin.c: New file.
4225         * gdb.arch/mips16-thunks-sinfrob.c: New file.
4226         * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4227         * gdb.arch/mips16-thunks-sinmain.c: New file.
4228         * gdb.arch/mips16-thunks-sinmips16.c: New file.
4229         * gdb.arch/mips16-thunks.exp: New file.
4230
4231 2012-04-25  Doug Evans  <dje@google.com>
4232
4233         * configure.ac: Create gdb.go/Makefile.
4234         * configure: Regenerate.
4235         * gdb.base/default.exp: Add "go" to "set language" testing.
4236         * gdb.go/Makefile.in: New file.
4237         * gdb.go/basic-types.exp: New file.
4238         * gdb.go/chan.exp: New file.
4239         * gdb.go/chan.go: New file.
4240         * gdb.go/handcall.exp: New file.
4241         * gdb.go/handcall.go: New file.
4242         * gdb.go/hello.exp: New file.
4243         * gdb.go/hello.go: New file.
4244         * gdb.go/integers.exp: New file.
4245         * gdb.go/integers.go: New file.
4246         * gdb.go/methods.exp: New file.
4247         * gdb.go/methods.go: New file.
4248         * gdb.go/package.exp: New file.
4249         * gdb.go/package1.go: New file.
4250         * gdb.go/package2.go: New file.
4251         * gdb.go/print.exp: New file.
4252         * gdb.go/strings.exp: New file.
4253         * gdb.go/strings.go: New file.
4254         * gdb.go/types.exp: New file.
4255         * gdb.go/types.go: New file.
4256         * gdb.go/unsafe.exp: New file.
4257         * gdb.go/unsafe.go: New file.
4258         * lib/future.exp: Add Go support.
4259         (gdb_find_go, gdb_find_go_linker): New procs.
4260         (gdb_default_target_compile): Add Go support.
4261         * lib/gdb.exp (skip_go_tests): New proc.
4262         * lib/go.exp: New file.
4263
4264 2012-04-25  Tom Tromey  <tromey@redhat.com>
4265
4266         * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
4267
4268 2012-04-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4269             Jan Kratochvil  <jan.kratochvil@redhat.com>
4270
4271         PR symtab/7259:
4272         * gdb.base/enumval.c: New test case.
4273         * gdb.base/enumval.exp: New test case.
4274         * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
4275         field.bitpos.
4276
4277 2012-04-17  Pedro Alves  <palves@redhat.com>
4278
4279         * Makefile.in (site.exp): Make site.exp source
4280         $srcdir/lib/append_gdb_boards_dir.exp.
4281         * lib/append_gdb_boards_dir.exp: New file.
4282
4283 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4284
4285         New option "set auto-load safe-path".
4286         * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
4287         * gdb.python/py-section-script.exp (set auto-load safe-path): New.
4288
4289 2012-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
4290
4291         auto-load: Implementation.
4292         * gdb.base/help.exp (test set height): Increase the height.
4293         * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
4294         to ...
4295         (info auto-load python-scripts): ... here.
4296         * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
4297         to ...
4298         (info auto-load python-scripts *): ... here.
4299
4300 2012-04-16  Yao Qi  <yao@codesourcery.com>
4301
4302         * lib/trace-support.exp (get_in_proc_agent): New.
4303         * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
4304         of in process trace agent.
4305         * gdb.trace/ftrace.exp: Likewise.
4306         * gdb.trace/pending.exp: Likewise.
4307         * gdb.trace/trace-break.exp: Likewise.
4308         * gdb.trace/trace-mt.exp
4309         * gdb.trace/tspeed.exp: Likewise.
4310         * gdb.trace/tstatus.exp
4311         * gdb.trace/strace.exp: Likewise.
4312
4313 2012-04-16  Thomas Schwinge  <thomas@codesourcery.com>
4314
4315         * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
4316         symbol _stack is defined.  Get rid of a hard-coded constant for _stack.
4317
4318         * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
4319
4320 2012-04-14  Anton Gorenkov <xgsa@yandex.ru>
4321
4322         PR mi/13393
4323         * gdb.mi/mi-var-rtti.cc: New file.
4324         * gdb.mi/mi-var-rtti.exp: New file.
4325         * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
4326         function.
4327         (mi_varobj_update_with_type_change): updated to avoid code duplication.
4328
4329 2012-04-11  Siva Chandra Reddy  <sivachandra@google.com>
4330
4331         * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
4332         EXECUTABLES.
4333         * gdb.python/py-explore.c: C program used for testing the new
4334         'explore' command on C constructs.
4335         * gdb.python/py-explore.cc: C++ program used for testing the new
4336         'explore' command on C++ constructs.
4337         * gdb-python/py-explore.exp: Tests for the new 'explore'
4338         command on C constructs.
4339         * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
4340         command on C++ constructs.
4341
4342 2012-04-07  Mark Kettenis  <kettenis@gnu.org>
4343
4344         * gdb.base/funcargs.exp (complex_args): Fix typo.
4345
4346 2012-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4347
4348         * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
4349         (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
4350
4351 2012-04-05  Keith Seitz  <keiths@redhat.com>
4352
4353         * gdb.base/advance.exp: Update error message for
4354         "advance malformed" test.
4355         * gdb.base/break.exp: Likewise for "breakpoint with
4356         trailing garbage" test.
4357         * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
4358         with trailing garbage" test.
4359         * gdb.base/sepdebug.exp: Likewise for "breakpoint with
4360         trailng garbage" test.
4361         * gdb.base/until.exp: Likewise for "malformed until" test.
4362         * gdb.cp/ovldbreak.exp: Create the breakpoint table
4363         for "breakpoint info (after setting on all)".
4364         * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
4365         tests.
4366         * gdb.cp/cplabel.cc: New file.
4367         * gdb.cp/cplabel.exp: New test.
4368         * gdb.linespec/ls-errs.c: New file.
4369         * gdb.linespec/ls-errs.exp: New test.
4370
4371 2012-04-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4372
4373         * gdb.trace/unavailable.exp
4374         (collect globals: print object on: print derived_partial)
4375         (collect globals: print object on: print derived_whole)
4376         (collect globals: print object off: print derived_partial)
4377         (collect globals: print object off: print derived_whole): Update
4378         expected output.
4379
4380 2012-03-30  Keith Seitz  <keiths@redhat.com>
4381
4382         * gdb.python: Add test for linespecs with commas.
4383
4384 2012-03-28  Keith Seitz  <keiths@redhat.com>
4385
4386         * gdb.linespec/ls-dollar.cc: New file.
4387         * gdb.linespec/ls-dollar.exp: New test.
4388
4389 2012-03-28  Keith Seitz  <keiths@redhat.com>
4390
4391         * gdb.cp/namespace.exp: Add breakpoint tests for functions
4392         starting with the global namespace.
4393
4394 2012-03-23  Doug Evans  <dje@google.com>
4395
4396         * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
4397
4398 2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
4399
4400         * gdb.python/py-value.cc: Add test case for testing the
4401         methodology exposing C++ values to Python.
4402         * gdb.python/py-value-cc.exp: Add tests testing the methodology
4403         exposing C++ values to Python.
4404         * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
4405
4406 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4407             Siddhesh Poyarekar  <siddhesh@redhat.com>
4408
4409         * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
4410         * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
4411         (generate native core dump): Make the test unsupported if core cannot
4412         be generated.
4413
4414 2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4415
4416         * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
4417         for cmdarg_vec = NULL.  Remove entries for cmdsize = 1, cmdarg = and
4418         ncmd = 0.  New entry for VEC_cleanup cmdarg_s.
4419
4420 2012-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4421
4422         * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
4423
4424 2012-03-17  Doug Evans  <dje@google.com>
4425
4426         * dg-extract-results.sh: Handle KFAILs.
4427
4428 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4429
4430         PR symtab/13777
4431         * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
4432
4433 2012-03-16  Joel Brobecker  <brobecker@adacore.com>
4434
4435         * gdb.ada/set_pckd_arr_elt: New testcase.
4436
4437 2012-03-16  Gary Benson  <gbenson@redhat.com>
4438
4439         PR breakpoints/10738
4440         * gdb.opt/inline-break.exp: New file.
4441         * gdb.opt/inline-break.c: Likewise.
4442         * gdb.dwarf2/dw2-inline-break.exp: Likewise.
4443         * gdb.dwarf2/dw2-inline-break.S: Likewise.
4444         * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
4445         * gdb.base/async-shell.exp: Likewise.
4446         * lib/mi-support.exp (library_loaded_re): Likewise.
4447
4448 2012-03-15  Tom Tromey  <tromey@redhat.com>
4449
4450         * gdb.cp/virtfunc2.exp: Update expected output.
4451         * gdb.cp/pr9631.exp: Update expected output.
4452         * gdb.cp/member-ptr.exp: Update expected output.
4453         * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
4454         output.
4455         * gdb.cp/casts.exp: Update expected output.
4456
4457 2012-03-15  Tom Tromey  <tromey@redhat.com>
4458
4459         * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
4460         (test_info_vtbl): Likewise.
4461         (do_tests): Call test_info_vtbl.
4462         * gdb.cp/virtfunc.cc (va): New global.
4463
4464 2012-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4465
4466         * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
4467         describing DWARF data structures.
4468         * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
4469         * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
4470         * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
4471         * gdb.dwarf2/dw2-entry-value.S: Likewise.
4472         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
4473         * gdb.dwarf2/dw2-param-error.S: Likewise.
4474         * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
4475         * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
4476         * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
4477         * gdb.dwarf2/implptr-optimized-out.S: Likewise.
4478         * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
4479         * gdb.dwarf2/pr11465.S: Likewise.
4480
4481 2012-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
4482
4483         * gdb.mi/mi2-prompt.exp: New file.
4484
4485 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
4486
4487         * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
4488
4489 2012-03-13  Joel Brobecker  <brobecker@adacore.com>
4490
4491         * gdb.ada/bp_range_type: New testcase.
4492
4493 2012-03-13  Doug Evans  <dje@google.com>
4494
4495         * gdb.base/default.exp: Delete tests for symbol-reloading.
4496         * gdb.base/help.exp: Ditto.
4497         * gdb.base/setshow.exp: Ditto.
4498         * gdb.base/gdb_history: Delete references to symbol-reloading.
4499
4500 2012-03-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
4501
4502         * gdb.base/attach-twice.c: New files.
4503         * gdb.base/attach-twice.exp: New files.
4504
4505 2012-03-08  Keith Seitz  <keiths@redhat.com>
4506
4507         * lib/gdb.exp (gdb_get_line_number): Throw an
4508         error instead of returning -1.
4509         * gdb.base/break.exp: Remove unused variable
4510         bp_location5.
4511         * gdb.base/hbreak2.exp: Likewise.
4512         * gdb.base/sepdebug.exp: Likewise.
4513
4514 2012-03-08  Yao Qi  <yao@codesourcery.com>
4515             Pedro Alves  <palves@redhat.com>
4516
4517         Fix PR server/13392.
4518         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
4519         (tracepoint_change_loc_2): Remove kfail.  Return if failed to
4520         download tracepoints.
4521         * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
4522         (pending_tracepoint_resolved_during_trace): Likewise.
4523         (pending_tracepoint_installed_during_trace): Likewise.
4524         (pending_tracepoint_with_action_resolved): Likewise.
4525
4526 2012-03-08  Keith Seitz  <keiths@redhat.com>
4527
4528         * gdb.ada/array_bounds.exp: Get breakpoint for line
4529         with "START", not "STOP".
4530         * gdb.python/py-infthread.exp: Do not continue to
4531         line marked "Break here.", which is undefined.
4532
4533 2012-03-08  Luis Machado  <lgustavo@codesourcery.com>
4534
4535         Revert:
4536
4537         2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4538
4539         Implement testsuite workaround for PR breakpoints/13781.
4540         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4541         (set breakpoint condition-evaluation host): New conditional command.
4542
4543 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4544
4545         Fix CU relative vs. absolute DIE offsets.
4546         * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
4547         one.
4548
4549 2012-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
4550
4551         Fix false FAIL on distros with relro linkage as default.
4552         * gdb.reverse/solib-precsave.exp: Try to compile the test using
4553         -Wl,-z,norelro first.
4554
4555 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
4556
4557         * gdb.ada/bp_on_var: New testcase.
4558
4559 2012-03-06  Joel Brobecker  <brobecker@adacore.com>
4560
4561         * gdb.ada/bp_enum_homonym: New testcase.
4562
4563 2012-03-06  Yao Qi  <yao@codesourcery.com>
4564
4565         * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
4566         x86_64-*-* and i?86-*-*.
4567         Set up KFAIL for gdb/13808.
4568
4569 2012-03-05  Tom Tromey  <tromey@redhat.com>
4570
4571         * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4572         * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4573
4574 2012-03-05  Tom Tromey  <tromey@redhat.com>
4575
4576         * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4577
4578 2012-03-04  Yao Qi  <yao@codesourcery.com>
4579
4580         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4581         messages for KFAIL.
4582
4583 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4584
4585         * gdb.ada/arrayidx.exp: Call get_compiler_info.  New variable old_gcc.
4586         (print one_two_three, indexes off, print few_reps, indexes off)
4587         (print many_reps, indexes off, print empty, indexes off)
4588         (print one_two_three, print few_reps, print many_reps, print empty):
4589         Call setup_xfail if $gcc_old.
4590
4591 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4592
4593         Implement testsuite workaround for PR breakpoints/13781.
4594         * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4595         (set breakpoint condition-evaluation host): New conditional command.
4596
4597 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4598
4599         Code cleanup.
4600         * gdb.cp/mb-templates.exp: New variables executable.  Use it for
4601         binfile.  use clean_restart.  Replace gdb_expect by gdb_test_multiple.
4602         Replace GDB restart by kill and delete_breakpoints.  Replace breakpoint
4603         number 1 by $bpnum.  Four times.
4604
4605 2012-03-03  Yao Qi  <yao@codesourcery.com>
4606
4607         * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4608
4609 2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
4610
4611         Setup KFAIL for PR server/13796.
4612         * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4613
4614 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
4615
4616         * gdb.ada/operator_bp: New testcase.
4617
4618 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
4619
4620         * gdb.ada/info_locals_renaming: New testcase.
4621
4622 2012-03-02  Tom Tromey  <tromey@redhat.com>
4623
4624         * gdb.base/nextoverexit.c: New file.
4625         * gdb.base/nextoverexit.exp: New file.
4626
4627 2012-03-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4628
4629         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4630         parameter.
4631
4632 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
4633
4634         * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4635         core registers.
4636
4637 2012-03-01  Maciej W. Rozycki  <macro@mips.com>
4638             Maciej W. Rozycki  <macro@codesourcery.com>
4639             Daniel Jacobowitz  <dan@codesourcery.com>
4640
4641         * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4642
4643 2012-03-01  Pedro Alves  <palves@redhat.com>
4644
4645         PR gdb/13767
4646
4647         * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4648         (gdb_collect_globals_test): Call it.
4649
4650 2012-03-01  Keith Seitz  <keiths@redhat.com>
4651
4652         * gdb.cp/method2.exp: Output of overload menu is now
4653         alphabetized.  Update tests for "break A::method".
4654         * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4655         of hard-coding them.
4656         Overload menu is alphabetized: rewrite to accommodate.
4657         Unset variables LINE and TYPES which are used in other tests.
4658         Compute the output of "info break".
4659         Update the breakpoint table after all breakpoints are deleted.
4660         (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4661         compute ACTUALS and the method body based on parameters.
4662         Update expected output accordingly.
4663         * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4664         unique comments to allow the use of gdb_get_line_number.
4665
4666 2012-03-01  Keith Seitz  <keiths@redhat.com>
4667
4668         * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4669         some Tcl syntax.
4670         * gdb.cp/ovldbreak.exp: Likewise.
4671
4672 2012-03-01  Keith Seitz  <keiths@redhat.com>
4673
4674         * gdb.base/help.exp (help show user): Update expected result
4675         for new doc string changes (add "non-python").
4676
4677 2012-03-01  Scott J. Goldman <scottjg@vmware.com>
4678
4679         * gdb.python/py-cmd.exp: Add test to verify that python commands can
4680         be put in the user-defined category and that the commands appear in
4681         "help user-defined".
4682
4683 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
4684
4685         * gdb.ada/tagged_not_init: New testcase.
4686
4687 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
4688
4689         * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4690         * gdb.ada/enum_idx_packed: New testcase.
4691
4692 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
4693
4694         * gdb.ada/aliased_array: New testcase.
4695
4696 2012-02-29  Joel Brobecker  <brobecker@adacore.com>
4697
4698         * gdb.ada/whatis_array_val: New testcase.
4699
4700 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4701
4702         Fix disp-step-syscall.exp: fork: single step over fork.
4703         * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4704         whitespaces.
4705         (single step over $syscall): Remove its check.
4706         (single step over $syscall final pc): New check.
4707
4708 2012-02-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
4709
4710         Support processors without SSSE3.
4711         * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4712         pabsd into ...
4713         (ssse3_test): ... a new function.
4714         (main): Call ssse3_test.
4715         * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4716         Update expected values everywhere.
4717         (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4718         (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4719         (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4720         (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4721         (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4722         (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4723         Move these tests lower.
4724         (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4725         (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4726         (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4727         New tests.
4728
4729 2012-02-29  Yao Qi  <yao@codesourcery.com>
4730             Pedro Alves  <palves@redhat.com>
4731
4732         * gdb.trace/trace-mt.c: New.
4733         * gdb.trace/trace-mt.exp: New.
4734
4735 2012-02-28  Thomas Schwinge  <thomas@codesourcery.com>
4736
4737         * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4738         numbers instead of hardcoding them.
4739         * gdb.base/annota1.c: Provide suitable markers.
4740         * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4741         numbers instead of hardcoding them.
4742         * gdb.base/annota3.c: Provide suitable markers.
4743
4744         * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4745         * gdb.base/annota3.c: Likewise.
4746         * gdb.base/sigall.c: Likewise.
4747         * gdb.base/signals.c: Likewise.
4748         * gdb.reverse/sigall-reverse.c: Likewise.
4749
4750 2012-02-27  Maciej W. Rozycki  <macro@codesourcery.com>
4751
4752         * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4753         failure return path.
4754
4755 2012-02-27  Luis Machado  <lgustavo@codesourcery.com>
4756
4757         * gdb.base/save-bp.exp: Account for new condition evaluator output.
4758
4759 2012-02-24  Luis Machado  <lgustavo@codesourcery.com>
4760
4761         * gdb.base/cond-eval-mode.exp: New file.
4762
4763 2012-02-24  Pedro Alves  <palves@redhat.com>
4764
4765         * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4766         (top level): Use with_test_prefix.
4767
4768 2012-02-24  Pedro Alves  <palves@redhat.com>
4769
4770         * gdb.threads/attach-into-signal.exp (corefunc): Use
4771         with_test_prefix.
4772
4773 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4774
4775         Fix false FAILs on old CPUs without SSE.
4776         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4777         Return untested for Illegal instruction.
4778
4779 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
4780
4781         Fix false FAILs with glibc debug infos installed.
4782         * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4783         * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4784
4785 2012-02-22  Sterling Augustine  <saugustine@google.com>
4786
4787         * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4788         constant with cast.
4789
4790 2012-02-21  Pedro Alves  <palves@redhat.com>
4791
4792         * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4793
4794 2012-02-21  Pedro Alves  <palves@redhat.com>
4795
4796         * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4797
4798 2012-02-21  Pedro Alves  <palves@redhat.com>
4799
4800         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4801         with_test_prefix.
4802
4803 2012-02-21  Pedro Alves  <palves@redhat.com>
4804
4805         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4806         with_test_prefix here.
4807         (top level): Do it here instead.  Remove `:' from the
4808         with_test_prefix string.
4809         * gdb.base/attach-pie-misread.exp: Remove the leading space the
4810         the suffix `:' from the with_test_prefix prefix string.
4811         * gdb.base/break-interp.exp: Ditto.
4812         * gdb.base/catch-load.exp: Ditto.
4813         * gdb.base/disp-step-syscall.exp: Ditto.
4814         * gdb.base/jit-so.exp: Ditto.
4815         * gdb.base/jit.exp: Ditto.
4816         * gdb.base/sepdebug.exp: Ditto.
4817         * gdb.base/solib-display.exp: Ditto.
4818         * gdb.base/solib-overlap.exp: Ditto.
4819         * gdb.base/watch-cond-infcall.exp: Ditto.
4820         * gdb.base/watchpoint.exp: Ditto.
4821         * gdb.dwarf2/dw2-noloc.exp: Ditto.
4822         * gdb.mi/mi-watch.exp: Ditto.
4823         * gdb.mi/mi2-watch.exp: Ditto.
4824         * gdb.threads/non-ldr-exc-1.exp: Ditto.
4825         * gdb.threads/non-ldr-exc-2.exp: Ditto.
4826         * gdb.threads/non-ldr-exc-3.exp: Ditto.
4827         * gdb.threads/non-ldr-exc-4.exp: Ditto.
4828         * gdb.threads/watchpoint-fork.exp: Ditto.
4829         * gdb.threads/watchthreads-reorder.exp: Ditto.
4830         * gdb.trace/change-loc.exp: Ditto.
4831         * gdb.trace/pending.exp: Ditto.
4832         * gdb.trace/status-stop.exp: Ditto.
4833         * gdb.trace/strace.exp: Ditto.
4834         * gdb.trace/trace-break.exp: Ditto.
4835         * gdb.trace/unavailable.exp: Ditto.
4836         * lib/gdb.exp (with_test_prefix): Always prefix with space and
4837         suffix with colon.  Adjust leading comments.
4838
4839 2012-02-21  Pedro Alves  <palves@redhat.com>
4840             Tom Tromey  <tromey@redhat.com>
4841
4842         * lib/gdb.exp: Add description of test prefixes.
4843         (with_test_prefix): New procedure.
4844         * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4845         * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4846         * gdb.base/break-interp.exp: Use with_test_prefix.  Use append
4847         instead of lappend to append to pf_prefix.
4848         * gdb.base/catch-load.exp: Use with_test_prefix.
4849         * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4850         * gdb.base/jit-so.exp: Use with_test_prefix.
4851         * gdb.base/jit.exp: Use with_test_prefix.
4852         * gdb.base/return-nodebug.exp (do_test): Use append instead of
4853         lappend to append to pf_prefix.
4854         * gdb.base/sepdebug.exp: Use with_test_prefix.
4855         * gdb.base/solib-display.exp: Use with_test_prefix.
4856         * gdb.base/solib-overlap.exp: Use with_test_prefix.
4857         * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4858         * gdb.base/watchpoint.exp: Use with_test_prefix.
4859         * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4860         * gdb.mi/mi-watch.exp: Use with_test_prefix.
4861         * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4862         * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4863         * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4864         * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4865         * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4866         * gdb.threads/watchpoint-fork.exp: Use with_test_prefix.  Use
4867         append instead of lappend to append to pf_prefix.
4868         * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4869         * gdb.trace/change-loc.exp: Use with_test_prefix.
4870         * gdb.trace/pending.exp: Use with_test_prefix.
4871         * gdb.trace/status-stop.exp: Use with_test_prefix.
4872         * gdb.trace/strace.exp: Use with_test_prefix.
4873         * gdb.trace/trace-break.exp: Use with_test_prefix.
4874         * gdb.trace/unavailable.exp: Use with_test_prefix.  Use append
4875         instead of lappend to append to pf_prefix.
4876
4877 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4878
4879         Fix racy FAILs.
4880         * gdb.base/inferior-died.c (main): Add return of 0.
4881         * gdb.base/inferior-died.exp (continue): Fix expectation of
4882         asynchronous events.
4883         (p 1): New test.
4884
4885 2012-02-20  Pedro Alves  <palves@redhat.com>
4886
4887         * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4888         lin-lwp output.  Set SIGALRM to stop.  Adjust tests to not rely on
4889         gdb's internal debug output.  For the non-threaded case, look for
4890         "Program received signal SIGLARM", for the threaded case, peek at
4891         the thread's siginfo.
4892
4893 2012-02-20  Pedro Alves  <palves@redhat.com>
4894
4895         General cleanup, make output test messages unique, and build
4896         different executable files for the non-threaded and threaded
4897         cases.
4898
4899         * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4900         Delete.
4901         (executable_nothr, executable_thr): New globals.
4902         (top level): Adjust to delete both executables.
4903         (corefunc): New parameter $executable.  Set $pf_prefix instead of
4904         hand writing a prefix in tests.  Issue a clean_restart and enable
4905         lin-lwp debug output here.
4906         (top level): Adjust.  Use build_executable.  Don't start gdb here,
4907         and don't enable lin-lwp debug output here.
4908         * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4909
4910 2012-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4911
4912         Fix racy FAILs.
4913         * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4914         "continue" command.
4915
4916 2012-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
4917
4918         Fix for gdbserver non-extended mode.
4919         * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4920         and gdb_run_cmd.
4921
4922 2012-02-17  Tom Tromey  <tromey@redhat.com>
4923
4924         * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4925         * gdb.python/py-events.exp: Check 'dir' output.
4926         * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4927
4928 2012-02-17  Yao Qi  <yao@codesourcery.com>
4929
4930         * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4931
4932 2012-02-16  Tom Tromey  <tromey@redhat.com>
4933
4934         * gdb.base/inferior-died.c: Don't include stdio.h.
4935
4936 2012-02-16  Tom Tromey  <tromey@redhat.com>
4937
4938         * gdb.base/inferior-died.c: New file.
4939         * gdb.base/inferior-died.exp: New file.
4940
4941 2012-02-15  Aleksandar Ristovski  <aristovski@qnx.com>
4942
4943         * gdb.base/break-inline.exp: New file.
4944         * gdb.base/break-inline.c: New file.
4945
4946 2012-02-15  Tom Tromey  <tromey@redhat.com>
4947
4948         * gdb.base/pc-fp.exp: Add "info register" tests.
4949
4950 2012-02-15  Tom Tromey  <tromey@redhat.com>
4951
4952         * gdb.base/regs.exp: Remove.
4953
4954 2012-02-15  Pedro Alves  <palves@redhat.com>
4955
4956         * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4957         the target doesn't support tracepoints.
4958         * gdb.trace/circ.exp: Ditto.
4959         * gdb.trace/collection.exp: Ditto.
4960         * gdb.trace/packetlen.exp: Ditto.
4961         * gdb.trace/passc-dyn.exp: Ditto.
4962         * gdb.trace/report.exp: Ditto.
4963         * gdb.trace/tfind.exp: Ditto.
4964         * gdb.trace/tspeed.exp: Ditto.
4965         * gdb.trace/tsv.exp: Ditto.
4966         * gdb.trace/unavailable.exp: Ditto.
4967         * gdb.trace/while-dyn.exp: Ditto.
4968
4969 2012-02-15  Pedro Alves  <palves@redhat.com>
4970
4971         * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4972         gdb_test_multiple, and call unsupported instead of fail, if the
4973         remote side does not support the request.
4974
4975 2012-02-15  Pedro Alves  <palves@redhat.com>
4976
4977         * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4978         * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4979         * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4980         * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4981         * gdb.server/server-run.exp: Make sure gdb is disconnected.
4982         * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4983         prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4984         doesn't start with "extended-" already.
4985
4986 2012-02-15  Pedro Alves  <palves@redhat.com>
4987
4988         Support extended-remote.  Avoid cascading timeouts.
4989
4990         * gdb.base/attach.exp (do_attach_tests): Add expected output for
4991         the extended-remote target.  If attaching with no file fails, load
4992         the file manually.
4993         * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4994
4995 2012-02-14  Stan Shebs  <stan@codesourcery.com>
4996
4997         * gdb.base/ena-dis-br.exp: Add enable count test.
4998
4999 2012-02-13  Pedro Alves  <palves@redhat.com>
5000
5001         * config/mips-idt.exp: Delete.
5002         * gdb.base/a2-run.exp: Remove mips-idt xfails.
5003         * gdb.base/bitfields.exp: Remove mips-idt restarts.
5004         * gdb.base/break.exp: Remove mips-idt references.
5005         * gdb.base/chng-syms.exp: Ditto.
5006         * gdb.base/default.exp: Ditto.
5007         * gdb.base/funcargs.exp (funcargs_reload): Delete.
5008         (top level): Don't call it.
5009         * gdb.base/opaque.exp: Remove mips-idt restarts.
5010         * gdb.base/ptype.exp: Remove mips-idt xfails.
5011         * gdb.base/scope.exp: Remove mips-idt restarts.
5012         * gdb.base/sepdebug.exp: Remove mips-idt references.
5013         * gdb.base/watchpoint.exp (maybe_clean_restart)
5014         (maybe_reinitialize): Delete.
5015         (test_disabling_watchpoints, test_disabling_watchpoints)
5016         (test_watchpoint_triggered_in_syscall)
5017         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5018         Don't call them.
5019
5020 2012-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
5021
5022         * gdb.server/server-exec-info.exp: New file.
5023
5024 2012-02-10  Pedro Alves  <palves@redhat.com>
5025
5026         * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5027         always non-empty.
5028         (test_attach): Always pass $exec to test_attach_gdb.
5029
5030 2012-02-08  Tom Tromey  <tromey@redhat.com>
5031
5032         * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5033         before inferior is started.
5034
5035 2012-02-07  Tom Tromey  <tromey@redhat.com>
5036
5037         * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5038         Symbol.value.
5039         * gdb.python/py-symbol.c (qq): Set default value.
5040
5041 2012-02-07  Tom Tromey  <tromey@redhat.com>
5042
5043         * gdb.python/py-symbol.c (qq): New global.
5044         * gdb.python/py-symbol.exp: Add test for frame-less
5045         lookup_symbol.
5046         * gdb.python/py-symtab.exp: Fix line number.
5047
5048 2012-02-03  Joel Brobecker  <brobecker@adacore.com>
5049
5050         * gdb.ada/mi_task_arg: New testcase.
5051
5052 2012-02-02  Pedro Alves  <palves@redhat.com>
5053
5054         * gdb.reverse/until-precsave.exp: Also put "record save" under the
5055         extended timeout.
5056
5057 2012-02-02  Pedro Alves  <palves@redhat.com>
5058
5059         * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5060         * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5061
5062 2012-02-02  Pedro Alves  <palves@redhat.com>
5063
5064         * gdb.base/term.exp: Rewrite.
5065         * gdb.base/term.c: New.
5066
5067 2012-02-02  Pedro Alves  <palves@redhat.com>
5068
5069         * gdb.base/default.exp (run "r" abbreviation, run): Add
5070         extended-remote expected output.
5071
5072 2012-02-02  Tom Tromey  <tromey@redhat.com>
5073
5074         * gdb.cp/dispcxx.exp: New file.
5075         * gdb.cp/dispcxx.cc: New file.
5076
5077 2012-02-01  Tom Tromey  <tromey@redhat.com>
5078
5079         * gdb.base/jit-simple.exp: New file.
5080         * gdb.base/jit-simple.c: New file.
5081
5082 2012-01-30  Yao Qi  <yao@codesourcery.com>
5083
5084         * gdb.base/skip.exp: Make test result unique.
5085
5086 2012-01-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
5087
5088         * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5089         compatibility with valgrind-3.7.0.
5090
5091 2012-01-27  Pedro Alves  <palves@redhat.com>
5092
5093         * gdb.base/watchpoint.exp (no_hw): New global.
5094         (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5095         disable hw watchpoints.
5096         (test_wide_location_1, test_wide_location_2): If no_hw is set,
5097         don't expect hw watchpoints.
5098         (no_hw_watchpoints): Always clean restart.
5099         (do_tests): New procedure, factored out from the top level.
5100         (top level): Run tests twice.  Once with hw watchpoints enabled,
5101         another time with hw watchpoints disabled.
5102
5103 2012-01-27  Pedro Alves  <palves@redhat.com>
5104
5105         * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5106         out from the top level.
5107         (top level): Call it instead.
5108
5109 2012-01-27  Pedro Alves  <palves@redhat.com>
5110
5111         * gdb.base/watchpoint.exp (top level): Re-enable hardware
5112         watchpoints sooner.
5113
5114 2012-01-27  Pedro Alves  <palves@redhat.com>
5115
5116         * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5117
5118 2012-01-27  Pedro Alves  <palves@redhat.com>
5119
5120         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5121         "You may have requested too many hardware
5122         breakpoints/watchpoints".
5123
5124 2012-01-27  Pedro Alves  <palves@redhat.com>
5125
5126         * gdb.base/watchpoint.exp (maybe_clean_restart)
5127         (maybe_reinitialize): New.
5128         (test_disabling_watchpoints): Call maybe_reinitialize.  Don't
5129         expect "hit N times".
5130         (test_disabling_watchpoints, test_complex_watchpoint)
5131         (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5132         Call maybe_clean_restart.
5133         (top level): Use clean_restart.  Remove "mips-idt-*"
5134         reinitialization.
5135
5136 2012-01-27  Pedro Alves  <palves@redhat.com>
5137
5138         * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5139
5140 2012-01-27  Pedro Alves  <palves@redhat.com>
5141
5142         * gdb.base/watchpoint.exp: Clean restart after tests that don't
5143         require `initialize' anymore.  Remove unnecessary `initialize'
5144         calls.
5145
5146 2012-01-27  Pedro Alves  <palves@redhat.com>
5147
5148         * gdb.base/watchpoint.exp (wp_set): Delete.
5149         (initialize, test_simple_watchpoint, top level): Remove dead code.
5150
5151 2012-01-27  Pedro Alves  <palves@redhat.com>
5152
5153         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5154         typo.
5155
5156 2012-01-27  Pedro Alves  <palves@redhat.com>
5157
5158         * config/extended-gdbserver.exp: New file.
5159         * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5160         comment.
5161         (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5162         * boards/native-extended-gdbserver.exp: New file.
5163
5164 2012-01-26  Pedro Alves  <palves@redhat.com>
5165
5166         * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5167         and gdb_test_multiple.
5168
5169 2012-01-26  Pedro Alves  <palves@redhat.com>
5170
5171         Make test messages unique, and more identifiable.
5172         * gdb.multi/watchpoint-multi.exp: Change test messages.
5173
5174 2012-01-25  Tom Tromey  <tromey@redhat.com>
5175
5176         * gdb.base/solib-disc.exp: Fix regexps.
5177
5178 2012-01-24  Tom Tromey  <tromey@redhat.com>
5179
5180         * lib/mi-support.exp (mi_expect_stop): Add special case for
5181         solib-event.
5182         * gdb.base/catch-load-so.c: New file.
5183         * gdb.base/catch-load.exp: New file.
5184         * gdb.base/catch-load.c: New file.
5185         * gdb.base/break-interp.exp (reach_1): Update regexp.
5186
5187 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5188
5189         Fix fuzzy results.
5190         * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5191         lpsimple and func.
5192
5193 2012-01-24  Gary Benson  <gbenson@redhat.com>
5194
5195         Delete #if 0'd out code.
5196         * gdb.base/default.exp (info catch): Remove.
5197         * gdb.base/gdb_history (info catch): Likewise.
5198         * gdb.base/help.exp (info catch): Likewise.
5199
5200 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5201
5202         Fix watchpoints to be specific for each inferior.
5203         * gdb.multi/watchpoint-multi.c: New file.
5204         * gdb.multi/watchpoint-multi.exp: New file.
5205
5206 2012-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5207
5208         Fix watchpoints across inferior fork.
5209         * gdb.threads/watchpoint-fork-child.c: New file.
5210         * gdb.threads/watchpoint-fork-mt.c: New file.
5211         * gdb.threads/watchpoint-fork-parent.c: New file.
5212         * gdb.threads/watchpoint-fork-st.c: New file.
5213         * gdb.threads/watchpoint-fork.exp: New file.
5214         * gdb.threads/watchpoint-fork.h: New file.
5215
5216 2012-01-23  Pedro Alves  <palves@redhat.com>
5217
5218         * gdb.base/call-signal-resume.exp: Allow output after "return".
5219
5220 2012-01-20  Pedro Alves  <palves@redhat.com>
5221
5222         * gdb.python/py-finish-breakpoint.py: Fix typo.
5223
5224 2012-01-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
5225
5226         * gdb.base/info-proc.exp: Also run on remote targets.  Main
5227         "info proc" command is now always present; whether target supports
5228         actual info proc operation is detected when attempting to issue
5229         the command.
5230
5231 2012-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5232
5233         * .gdbinit: Remove.
5234
5235 2012-01-19  Pedro Alves  <palves@redhat.com>
5236
5237         * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5238         look at the funtions' returns.
5239         * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5240         (jprint.print(int, int)): Change return type to int.  Adjust.
5241
5242 2012-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5243
5244         PR gdb/9538
5245         * gdb.base/sepdebug.exp: New test.
5246
5247 2012-01-18  Pedro Alves  <palves@redhat.com>
5248
5249         * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5250         Allow output before ^done.
5251
5252 2012-01-16  Tom Tromey  <tromey@redhat.com>
5253
5254         * gdb.linespec/linespec.exp: Change some tests to use $decimal.
5255         Add tests for relative directory.
5256
5257 2012-01-16  Tom Tromey  <tromey@redhat.com>
5258
5259         * gdb.base/printcmds.c (enum flag_enum): New.
5260         (three): New global.
5261         * gdb.base/printcmds.exp (test_print_enums): Add test for flag
5262         enum printing.
5263         * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
5264         FlagEnumerationPrinter.
5265         * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
5266         * gdb.python/py-pp-maint.c (enum flag_enum): New.
5267         (fval): New global.
5268
5269 2012-01-16  Pedro Alves  <palves@redhat.com>
5270
5271         * lib/gdb.exp (banned_procedures): New variable.
5272         (banned_variables_traced): Rename to ...
5273         (banned_traced): ... this.
5274         (gdb_init): Also trace banned procedures.
5275         (gdb_finish): Also untrace banned procedures.
5276
5277 2012-01-16  Pedro Alves  <palves@redhat.com>
5278
5279         Remove all calls to strace.
5280
5281 2012-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
5282
5283         * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
5284         * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
5285
5286 2012-01-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
5287
5288         * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
5289         * gdb.base/pie-execl.exp: Likewise.
5290
5291 2012-01-12  Keith Seitz  <keiths@redhat.com>
5292
5293         PR mi/10586
5294         * gdb.mi/var-cmd.c (struct anonymous): New structure.
5295         (do_anonymous_type_tests): New function.
5296         (main): Call do_anonymous_type_tests.
5297         * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
5298         (verify_everything): New procedure.
5299         * gdb.mi/mi-var-cp.cc (class A): New class.
5300         (anonymous_structs_and_unions): New function.
5301         (main): Call anonymous_structs_and_unions.
5302         * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
5303         (verify_everything): New procedure.
5304
5305 2012-01-12  Keith Seitz  <keiths@redhat.com>
5306
5307         * lib/mi-support.exp: Expand comments about PATH_EXPR.
5308         (varobj_tree::get_path_expr): Assume that all varobjs are
5309         compound unless they are known simple types.
5310         Adjust path expressions based on parent type, path parent type,
5311         and tree language.
5312         (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
5313         the root varobj.
5314         (mi_walk_varobj_tree): Add LANGUAGE parameter.
5315
5316 2012-01-11  Pedro Alves  <palves@redhat.com>
5317
5318         * gdb.base/default.exp (core-file): Don't expect "GDB can't read
5319         core files on this machine" anymore.
5320
5321 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
5322
5323         * gdb.base/watchpoint.c (recurser): Initialize local_x.
5324         (main): Repeat recurser call.
5325         * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
5326         equivalent to 'local_x'.
5327
5328 2012-01-11  Paul Hilfinger  <hilfingr@adacore.com>
5329             Joel Brobecker <brobecker@adacore.com>
5330
5331         * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
5332
5333 2012-01-05  Pedro Alves  <alves.ped@gmail.com>
5334
5335         * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
5336         * gdb.python/py-events.c (first): Add bits for new "step N" test.
5337         * gdb.python/py-events.exp: Test that "step N" tripping on a
5338         breakpoint emits a breakpoint event.
5339
5340 2012-01-03  Joel Brobecker  <brobecker@adacore.com>
5341
5342         * gdb.base/auxv.exp: Reformat the copyright notice.
5343
5344 2012-01-03  Yao Qi  <yao@codesourcery.com>
5345
5346         * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
5347         (strace_trace_on_diff_addr): New.
5348         * gdb.trace/strace.c: (main): Add two local variables.
5349
5350 2011-01-02  Ulrich Weigand  <uweigand@de.ibm.com>
5351
5352         * gdb.cell/fork.exp: Delete breakpoints after reaching main.
5353         * gdb.cell/gcore.exp: Likewise.
5354         * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
5355         to verify the correct instance of main is selected.
5356
5357 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
5358
5359         * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
5360         gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
5361         gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
5362         gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
5363         gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
5364         gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
5365         gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
5366         gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
5367         gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
5368         gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
5369         gdb.threads/thread_check.c: Reformat copyright header.
5370
5371 2011-12-30  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5372
5373         * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
5374         * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
5375         is not enabled.
5376
5377 2011-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
5378
5379         * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
5380         parameter to self_exec, adjust the function.
5381         (main): Check for argv[1] "exit".  Use argv[0] for test_exec_exit.
5382         * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
5383         (set var do_exit = 0): Remove test.
5384         (newline at end of file): Add one.
5385
5386 2011-12-27  Joel Brobecker  <brobecker@adacore.com>
5387
5388         * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
5389         New files.
5390
5391 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5392
5393         Fix racy FAILs.
5394         * gdb.threads/fork-thread-pending.c (barrier): New variable.
5395         (thread_function, thread_forker): Call pthread_barrier_wait for it.
5396         (main): Call pthread_barrier_init for it.
5397
5398 2011-12-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
5399
5400         Fix double send_gdb leading to racy FAILs.
5401         * gdb.base/break.exp (set silent break bp_location1): Replace
5402         3x send_gdb and gdb_expect by gdb_test.
5403         * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
5404         * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
5405         (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
5406         instead of send_gdb.  Twice.
5407         * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
5408         3x send_gdb and gdb_expect by gdb_test.
5409         * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
5410
5411 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5412
5413         * gdb.linespec/linespec.exp: Compile using {c++}.
5414
5415 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5416
5417         * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
5418         (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
5419         (verify GCC PR debug/51668): New test.
5420
5421 2011-12-23  Kevin Pouget  <kevin.pouget@st.com>
5422
5423         Introduce gdb.FinishBreakpoint in Python.
5424         * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
5425         py-finish-breakpoint2
5426         (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
5427         * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
5428         instead of line number.
5429         * gdb.python/py-finish-breakpoint.c: New file.
5430         * gdb.python/py-finish-breakpoint.exp: New file.
5431         * gdb.python/py-finish-breakpoint.py: New file.
5432         * gdb.python/py-finish-breakpoint2.cc: New file.
5433         * gdb.python/py-finish-breakpoint2.exp: New file.
5434         * gdb.python/py-finish-breakpoint2.py: New file.
5435
5436 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
5437
5438         Partial fix of compatibility with gcc-4.7.
5439         * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
5440         into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
5441         Add comment to add a PASS case in the future.
5442
5443         Fix compatibility with gcc-4.7.
5444         * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
5445
5446 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
5447
5448         PR tdep/12797
5449         * gdb.base/callfuncs.exp: Remove KFAIL.
5450
5451 2011-12-21  Joel Brobecker  <brobecker@adacore.com>
5452
5453         * gdb.ada/task_bp: New testcase.
5454
5455 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5456
5457         * gdb.base/reread.exp: If srcfile2 fails to build retry it with
5458         -DNO_SECTIONS.
5459         * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
5460
5461 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5462
5463         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
5464         PR gcc/45997 XFAIL conditional for gcc <= 4.5.
5465         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5466         Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
5467         conditional for gcc <= 4.5.
5468
5469 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5470
5471         * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
5472         by XFAIL.
5473         * gdb.cp/static-method.exp (info addr A::func())
5474         (list static-method.cc:xxx::(anonymous namespace)::A::func)
5475         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5476         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5477         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
5478         * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
5479         (test value of F in k3_m): Likewise.
5480         * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5481         Likewise.
5482
5483 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
5484
5485         * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
5486         (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
5487         Remove.
5488         * gdb.threads/attachstop-mt.c: Remove.
5489         * gdb.threads/attachstop-mt.exp: Remove.
5490
5491 2011-12-17  Mark Kettenis  <kettenis@gnu.org>
5492
5493         * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
5494
5495 2011-12-16  Doug Evans  <dje@google.com>
5496
5497         * boards/native-stdio-gdbserver.exp: New file.
5498         * boards/native-gdbserver.exp: New file.
5499
5500         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
5501         gdbserver output.
5502         (gdbserver_default_get_remote_address): New function.
5503         (gdbserver_start): Call gdb,get_remote_address to compute argument
5504         to "target remote" command.
5505
5506 2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
5507
5508         * gdb.python/py-function.exp: Change "on" to "full" for
5509         python print-stack.  Add set/show python print-stack
5510         off|full|message tests.
5511
5512 2011-12-15  Yao Qi  <yao@codesourcery.com>
5513
5514         * gdb.trace/strace.c: New
5515         * gdb.trace/strace.exp: New.
5516
5517 2011-12-14  Tom Tromey  <tromey@redhat.com>
5518
5519         * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
5520
5521 2011-12-14  Doug Evans  <dje@google.com>
5522
5523         * lib/gdb.exp (gdb_start_cmd): Fix error return value.
5524
5525 2011-12-14  Pedro Alves  <pedro@codesourcery.com>
5526
5527         PR threads/10729
5528
5529         * gdb.mi/watch-nonstop.c: New file.
5530         * gdb.mi/mi-watch-nonstop.exp: New file.
5531
5532 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
5533             Doug Evans  <dje@google.com>
5534
5535         * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
5536         (clean_restart): Remove references to the gdb_stub target board
5537         variable.
5538         (gdb_step_for_stub): Delete.
5539
5540         * gdb.base/annota1.exp: Remove all references to [target_info
5541         exists gdb_stub], gdb_step_for_stub and usestubs.
5542         * gdb.base/annota3.exp: Ditto.
5543         * gdb.base/async.exp: Ditto.
5544         * gdb.base/break.exp: Ditto.
5545         * gdb.base/code-expr.exp: Ditto.
5546         * gdb.base/commands.exp: Ditto.
5547         * gdb.base/completion.exp: Ditto.
5548         * gdb.base/condbreak.exp: Ditto.
5549         * gdb.base/consecutive.exp: Ditto.
5550         * gdb.base/cvexpr.exp: Ditto.
5551         * gdb.base/define.exp: Ditto.
5552         * gdb.base/display.exp: Ditto.
5553         * gdb.base/ena-dis-br.exp: Ditto.
5554         * gdb.base/environ.exp: Ditto.
5555         * gdb.base/gnu-ifunc.exp: Ditto.
5556         * gdb.base/maint.exp: Ditto.
5557         * gdb.base/pending.exp: Ditto.
5558         * gdb.base/sect-cmd.exp: Ditto.
5559         * gdb.base/sepdebug.exp: Ditto.
5560         * gdb.base/unload.exp: Ditto.
5561         * gdb.base/watchpoint-solib.exp: Ditto.
5562         * gdb.cp/annota2.exp: Ditto.
5563         * gdb.cp/annota3.exp: Ditto.
5564         * gdb.dwarf2/dw2-inline-param.exp: Ditto.
5565         * gdb.hp/gdb.compat/xdb1.exp: Ditto.
5566         * gdb.mi/mi-pending.exp: Ditto.
5567         * gdb.trace/circ.exp: Ditto.
5568         * gdb.cp/ovldbreak.exp: Ditto.  Adjust expected line numbers.
5569         * gdb.base/list.exp: Ditto.
5570
5571         * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5572         breakpoint function and all references to the usestubs macro.
5573         * gdb.base/exprs.c: Ditto.
5574         * gdb.base/freebpcmd.c: Ditto.
5575         * gdb.base/bitfields.c: Ditto.
5576         * gdb.base/bitfields2.c: Ditto.
5577         * gdb.base/break.c: Ditto.
5578         * gdb.base/call-sc.c: Ditto.
5579         * gdb.base/call-signals.c: Ditto.
5580         * gdb.base/callfuncs.c: Ditto.
5581         * gdb.base/charset.c: Ditto.
5582         * gdb.base/consecutive.c: Ditto.
5583         * gdb.base/constvars.c: Ditto.
5584         * gdb.base/funcargs.c: Ditto.
5585         * gdb.base/int-type.c: Ditto.
5586         * gdb.base/interrupt.c: Ditto.
5587         * gdb.base/langs0.c: Ditto.
5588         * gdb.base/list0.c: Ditto.
5589         * gdb.base/mips_pro.c: Ditto.
5590         * gdb.base/miscexprs.c: Ditto.
5591         * gdb.base/nodebug.c: Ditto.
5592         * gdb.base/opaque0.c: Ditto.
5593         * gdb.base/pointers.c: Ditto.
5594         * gdb.base/printcmds.c: Ditto.
5595         * gdb.base/ptype.c: Ditto.
5596         * gdb.base/recurse.c: Ditto.
5597         * gdb.base/reread1.c: Ditto.
5598         * gdb.base/reread2.c: Ditto.
5599         * gdb.base/restore.c: Ditto.
5600         * gdb.base/return.c: Ditto.
5601         * gdb.base/run.c: Ditto.
5602         * gdb.base/scope0.c: Ditto.
5603         * gdb.base/sepdebug.c: Ditto.
5604         * gdb.base/setshow.c: Ditto.
5605         * gdb.base/setvar.c: Ditto.
5606         * gdb.base/sigall.c: Ditto.
5607         * gdb.base/signals.c: Ditto.
5608         * gdb.base/structs.c: Ditto.
5609         * gdb.base/structs2.c: Ditto.
5610         * gdb.base/testenv.c: Ditto.
5611         * gdb.base/twice.c: Ditto.
5612         * gdb.base/unwindonsignal.c: Ditto.
5613         * gdb.base/watchpoint.c: Ditto.
5614         * gdb.base/watchpoints.c: Ditto.
5615         * gdb.base/whatis.c: Ditto.
5616         * gdb.cp/classes.cc: Ditto.
5617         * gdb.cp/cplusfuncs.cc: Ditto.
5618         * gdb.cp/derivation.cc: Ditto.
5619         * gdb.cp/formatted-ref.cc: Ditto.
5620         * gdb.cp/misc.cc: Ditto.
5621         * gdb.cp/overload.cc: Ditto.
5622         * gdb.cp/ovldbreak.cc: Ditto.
5623         * gdb.cp/ref-params.cc: Ditto.
5624         * gdb.cp/ref-types.cc: Ditto.
5625         * gdb.cp/templates.cc: Ditto.
5626         * gdb.cp/virtfunc.cc: Ditto.
5627         * gdb.hp/gdb.aCC/run.c: Ditto.
5628         * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5629         * gdb.hp/gdb.compat/xdb0.c: Ditto.
5630         * gdb.reverse/consecutive-reverse.c: Ditto.
5631         * gdb.reverse/sigall-reverse.c: Ditto.
5632         * gdb.reverse/until-reverse.c: Ditto.
5633         * gdb.reverse/watch-reverse.c: Ditto.
5634         * gdb.trace/actions.c: Ditto.
5635         * gdb.trace/circ.c: Ditto.
5636         * gdb.trace/collection.c: Ditto.
5637
5638 2011-12-13  Pedro Alves  <pedro@codesourcery.com>
5639
5640         * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5641         (func6, func7): New.
5642         (main): Call func6 and func7.
5643         * gdb.base/watchpoint.exp (test_wide_location_1)
5644         (test_wide_location_2): New.
5645         (top level): Re-enable hardware watchpoints if necessary.  Call
5646         test_wide_location_1 and test_wide_location_2.
5647
5648 2011-12-11  Yao Qi  <yao@codesourcery.com>
5649
5650         * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5651
5652 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
5653
5654         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5655         expected output for unsupported case.
5656
5657 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
5658
5659         PR testsuite/12649
5660         * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5661         Protect gdb_test_multiple by final $gdb_prompt match.
5662
5663 2011-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
5664
5665         * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5666         New variable, new test.
5667         (list static-method.cc:xxx::(anonymous namespace)::A::func)
5668         (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5669         (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5670         (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5671         them if HAVE_GCC_45682_FIXED is not set.
5672
5673 2011-12-10  Yao Qi  <yao@codesourcery.com>
5674
5675         * gdb.trace/status-stop.exp: New.
5676         * gdb.trace/status-stop.c: New.
5677
5678 2011-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5679
5680         * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5681         timeout.
5682
5683 2011-12-08  Tom Tromey  <tromey@redhat.com>
5684
5685         * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5686         condition.
5687
5688 2011-12-07  Stan Shebs  <stan@codesourcery.com>
5689
5690         * gdb.trace/tfind.exp: Update for output changes.
5691
5692 2011-12-07  Pedro Alves  <pedro@codesourcery.com>
5693
5694         * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5695         throws "Cannot insert catchpoints in this configuration".
5696         * gdb.ada/mi_catch_ex.exp: Likewise.
5697
5698 2011-12-06  Pedro Alves  <pedro@codesourcery.com>
5699
5700         * gdb.base/break-always.exp: Test changing memory at addresses
5701         with breakpoints inserted.
5702
5703 2011-12-06  Joel Brobecker  <brobecker@acacore.com>
5704
5705         * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5706         involving a fully qualified function name.
5707
5708 2011-12-06  Tom Tromey  <tromey@redhat.com>
5709
5710         * gdb.ada/homonym.exp: Add three breakpoint tests.
5711
5712 2011-12-06  Tom Tromey  <tromey@redhat.com>
5713
5714         * gdb.base/solib-weak.exp (do_test): Remove kfail.
5715         * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5716         * gdb.objc/objcdecode.exp: Update for output changes.
5717         * gdb.linespec/linespec.exp: New file.
5718         * gdb.linespec/lspec.cc: New file.
5719         * gdb.linespec/lspec.h: New file.
5720         * gdb.linespec/body.h: New file.
5721         * gdb.linespec/base/two/thefile.cc: New file.
5722         * gdb.linespec/base/one/thefile.cc: New file.
5723         * gdb.linespec/Makefile.in: New file.
5724         * gdb.cp/templates.exp (test_template_breakpoints): Update for
5725         output changes.
5726         * gdb.cp/re-set-overloaded.exp: Remove kfail.
5727         * gdb.cp/ovldbreak.exp: Update for output changes.  "all" test now
5728         makes one breakpoint.
5729         * gdb.cp/method2.exp (test_break): Update for output changes.
5730         * gdb.cp/mb-templates.exp: Update for output changes.
5731         * gdb.cp/mb-inline.exp: Update for output changes.
5732         * gdb.cp/mb-ctor.exp: Update for output changes.
5733         * gdb.cp/ovsrch.exp: Use fully-qualified names.
5734         * gdb.base/solib-symbol.exp: Run to main later.  Breakpoint now
5735         has multiple matches.
5736         * gdb.base/sepdebug.exp: Disable pending breakpoints.  Update for
5737         error message change.
5738         * gdb.base/list.exp (test_list_filename_and_number): Update for
5739         error message change.
5740         * gdb.base/break.exp: Disable pending breakpoints.  Update for
5741         output changes.
5742         * configure.ac: Add gdb.linespec.
5743         * configure: Rebuild.
5744         * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5745
5746 2011-12-06  Ulrich Weigand  <uweigand@de.ibm.com>
5747
5748         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5749         last_break register on s390*-*-* targets.
5750
5751 2011-12-06  Joel Brobecker  <brobecker@adacore.com>
5752
5753         * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5754         * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5755         of parameter X in procedure Foo.
5756
5757 2011-12-05  Stan Shebs  <stan@codesourcery.com>
5758
5759         * gdb.trace/tfind.exp: Update help string matches.
5760
5761 2011-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5762
5763         * gdb.server/ext-run.exp (get process list): Accept also systemd
5764         as PID 1.
5765
5766 2011-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
5767             Pedro Alves  <pedro@codesourcery.com>
5768
5769         * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5770         starting GDB.
5771         * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5772         $use_gdb_stub.
5773         * gdb.base/display.exp: Likewise.
5774         * gdb.base/ending-run.exp: Likewise.
5775         * gdb.base/list.exp (test_listsize): Likewise.
5776         * gdb.base/setshow.exp: Likewise.
5777         * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5778         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5779         check by global $use_gdb_stub.
5780         (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5781         (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5782         (default_gdb_init): Unset global $use_gdb_stub.
5783         (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5784         by global $use_gdb_stub.
5785         * lib/gdbserver-support.exp: Extend comments for set_board_info
5786         gdb_protocol and gdb,socketport.
5787         (gdbserver_start_extended): Set global gdbserver_protocol and
5788         gdbserver_gdbport.  Clear global use_gdb_stub.
5789         * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5790         from target use_gdb_stub.
5791         (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5792
5793 2011-12-03  Doug Evans  <dje@google.com>
5794
5795         * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5796         (gdb_step_for_stub): Add comments.
5797
5798 2011-12-02  Maciej W. Rozycki  <macro@codesourcery.com>
5799
5800         * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5801         to the caller.
5802         (gdb_test_multiple): Likewise.
5803
5804 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5805
5806         Fix gdb.mi/mi-solib.exp without system debug info installed.
5807         * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5808         expect attribute, return 0 for it.  Update comments.
5809
5810 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5811
5812         * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5813         (corrupted list): Adjust the expectation.
5814
5815 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5816
5817         PR threads/13448
5818         * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5819         * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5820         * gdb.threads/tls-var-main.c: New file.
5821         * gdb.threads/tls-var.c: New file.
5822         * gdb.threads/tls-var.exp: New file.
5823
5824 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5825
5826         PR testsuite/12649
5827         * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5828         Protect gdb_test_multiple by final $gdb_prompt match.
5829         * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5830         * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5831         (test_tracepoints): Likewise.
5832
5833 2011-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
5834
5835         PR breakpoints/13346
5836         * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5837         * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5838         * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5839
5840 2011-12-01  Joel Brobecker  <brobecker@adacore.com>
5841
5842         * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5843         * gdb.ada/homonym/homonym.adb: For use of all types defined
5844         locally inside both Get_Value subprograms.
5845
5846 2011-12-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
5847
5848         Fix racy FAILs.
5849         * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5850         of send_gdb.
5851
5852 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
5853
5854         * gdb.base/testenv.exp: Skip on remote targets.  Unset global
5855         environment variable after test completed.
5856
5857 2011-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
5858
5859         * gdb.base/solib-nodir.exp: Skip if remote target.
5860         * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5861         application.  Call gdb_load_shlibs.
5862         * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5863
5864 2011-11-29  Joel Brobecker  <brobecker@adacore.com>
5865
5866         * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5867
5868 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
5869
5870         * gdb.ada/fullname_bp: New testcase.
5871
5872 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5873
5874         PR testsuite/12649
5875         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5876         Wrap send_gdb into a new gdb_test.
5877
5878         Code cleanup.
5879         * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5880         Convert send_gdb and gdb_expect to gdb_test_multiple.
5881
5882 2011-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
5883
5884         * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5885
5886 2011-11-23  Keith Seitz  <keiths@redhat.com>
5887
5888         * lib/mi-support.exp (varobj_tree): New namespace and procs.
5889         (mi_varobj_tree_test_children_callback): New proc.
5890         (mi_walk_varobj_tree): New proc.
5891
5892 2011-11-22  Tom Tromey  <tromey@redhat.com>
5893
5894         * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5895         Add "use_mi_command" argument.
5896         (mi_run_cmd, mi_run_with_cli): New procs.
5897         * gdb.mi/solib-lib.c: New file.
5898         * gdb.mi/solib-main.c: New file.
5899         * gdb.mi/mi-solib.exp: New file.
5900
5901 2011-11-21  Doug Evans  <dje@google.com>
5902
5903         * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5904         _Unwind_DebugHook is missing.
5905
5906 2011-11-20  Stan Shebs  <stan@codesourcery.com>
5907
5908         * gdb.trace/tstatus.exp: New.
5909         * gdb.trace/actions.c: Include string.h.
5910
5911 2011-11-18  Yao Qi  <yao@codesourcery.com>
5912
5913         * gdb.trace/pending.exp: New.
5914         * gdb.trace/pending.c: New.
5915         * gdb.trace/pendshr1.c: New.
5916         * gdb.trace/pendshr2.c: New.
5917         * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5918         tracepoint location becomes pending.
5919         (tracepoint_change_loc_2): New.
5920
5921 2011-11-16  David S. Miller  <davem@davemloft.net>
5922
5923         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5924         target is sparc*-*-linux*
5925
5926 2011-11-15  Paul Koning  <paul_koning@dell.com>
5927
5928         * gdb.python/py-type.exp: New testcases for exceptions on scalar
5929         types.
5930
5931 2011-11-14  Doug Evans  <dje@google.com>
5932
5933         * gdb.base/shell.exp: New file.
5934
5935 2011-11-14  Stan Shebs  <stan@codesourcery.com>
5936
5937         * gdb.trace/ftrace.c: New.
5938         * gdb.trace/ftrace.exp: New.
5939
5940 2011-11-14  Yao Qi  <yao@codesourcery.com>
5941
5942         * gdb.trace/change-loc-1.c: New.
5943         * gdb.trace/change-loc-2.c: New.
5944         * gdb.trace/change-loc.c: New.
5945         * gdb.trace/change-loc.exp:  New.
5946         * gdb.trace/change-loc.h:  New.
5947         * gdb.trace/trace-break.c (marker): Define new symbol.
5948         * gdb.trace/trace-break.exp (break_trace_same_addr_5):
5949         New.
5950         (break_trace_same_addr_6): New.
5951
5952 2011-11-12  Matt Rice  <ratmice@gmail.com>
5953
5954         * gdb.base/info-macros.exp: Make tests for info definitions
5955         test info macro.  Add tests for info macro argument processing.
5956         Rename a few tests.
5957
5958 2011-11-11  Keith Seitz  <keiths@redhat.com>
5959
5960         PR gdb/12843
5961         * gdb.base/linespecs.exp: New file.
5962
5963 2011-11-11  Doug Evans  <dje@google.com>
5964
5965         * gdb.threads/print-threads.exp: Extend timeout for slower
5966         tests.
5967
5968 2011-11-10  Doug Evans  <dje@google.com>
5969
5970         * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5971         "record to end of main" test.
5972
5973         * gdb.python/py-type.c (TS): New typedef.
5974         (ts): New global.
5975         * gdb.python/py-type.exp: Test field list of typedef.
5976
5977 2011-11-10  Joel Brobecker  <brobecker@adacore.com>
5978
5979         * gdb.ada/small_reg_param: New testcase.
5980
5981 2011-11-09  Tom Tromey  <tromey@redhat.com>
5982
5983         * gdb.cp/destrprint.exp: New file.
5984         * gdb.cp/destrprint.cc: New file.
5985
5986 2011-11-08  Meador Inge  <meadori@codesourcery.com>
5987
5988         * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5989         (switch_stack_to_other): New test function.
5990         * gdb.arch/thumb-prologue.exp: New test cases.
5991
5992 2011-11-08  Maciej W. Rozycki  <macro@codesourcery.com>
5993
5994         * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5995
5996 2011-11-08  Yao Qi  <yao@codesourcery.com>
5997
5998         * gdb.exp (supports_process_record): New.
5999         (supports_reverse): New.
6000         * gdb.reverse/break-precsave.exp: Call support_process_record
6001         to run test conditionally.
6002         * gdb.reverse/consecutive-precsave.exp: Likewise.
6003         * gdb.reverse/i386-precsave.exp: Likewise.
6004         * gdb.reverse/machinestate-precsave.exp: Likewise.
6005         * gdb.reverse/solib-precsave.exp: Likewise.
6006         * gdb.reverse/step-precsave.exp: Likewise.
6007         * gdb.reverse/until-precsave.exp: Likewise.
6008         * gdb.reverse/watch-precsave.exp: Likewise.
6009         * gdb.reverse/break-reverse.exp: Call support_reverse  to run
6010         test conditionally.
6011         * gdb.reverse/consecutive-reverse.exp: Likewise.
6012         * gdb.reverse/finish-precsave.exp: Likewise.
6013         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6014         * gdb.reverse/finish-reverse.exp: Likewise.
6015         * gdb.reverse/i386-reverse.exp: Likewise.
6016         * gdb.reverse/i386-sse-reverse.exp: Likewise.
6017         * gdb.reverse/machinestate.exp: Likewise.
6018         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6019         * gdb.reverse/sigall-precsave.exp: Likewise.
6020         * gdb.reverse/sigall-reverse.exp: Likewise.
6021         * gdb.reverse/solib-reverse.exp: Likewise.
6022         * gdb.reverse/step-reverse.exp: Likewise.
6023         * gdb.reverse/until-reverse.exp: Likewise.
6024         * gdb.reverse/watch-reverse.exp: Likewise.
6025
6026 2011-11-05  Yao Qi  <yao@codesourcery.com>
6027
6028         * gdb.trace/trace-break.exp: Add test on setting two
6029         fast tracepoints at the same address.
6030
6031 2011-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
6032
6033         * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6034
6035 2011-11-02  Stan Shebs  <stan@codesourcery.com>
6036
6037         * gdb.trace/collection.c: Add code using strings.
6038         * gdb.trace/collection.exp: Add tests of string collection.
6039
6040 2011-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6041
6042         * gdb.base/skip-solib.exp (executable_main): New variable.
6043         (binfile_main): Base it on that.
6044         Use $executable_main in clean_restart calls.  Drop gdb_exit and
6045         gdb_start calls.
6046
6047 2011-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6048
6049         Fix racy FAILs.
6050         * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6051         breakpoint_re globals import by async.  Set string_regex to .* for
6052         async.  Remove the optional thread_selected_re and breakpoint_re
6053         globals expectations.
6054
6055 2011-11-01  Joseph Myers  <joseph@codesourcery.com>
6056
6057         * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6058         well as Cygwin.
6059
6060 2011-11-01  Justin Lebar <justin.lebar@gmail.com>
6061
6062         Add tests for skip command.
6063         * gdb.base/skip-solib-lib.c: New
6064         * gdb.base/skip-solib-main.c: New
6065         * gdb.base/skip-solib.exp: New
6066         * gdb.base/skip.c: New
6067         * gdb.base/skip.exp: New
6068         * gdb.base/skip1.c: New
6069         * gdb.base/Makefile.in: Adding new files.
6070
6071 2011-10-31  Yao Qi  <yao@codesourcery.com>
6072             Pedro Alves  <pedro@codesourcery.com>
6073
6074         * gdb.trace/trace-break.c: New.
6075         * gdb.trace/trace-break.exp: New.
6076
6077 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6078
6079         * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6080         break-here-2.
6081
6082 2011-10-28  Pedro Alves  <pedro@codesourcery.com>
6083
6084         * gdb.threads/no-unwaited-for-left.c: New.
6085         * gdb.threads/no-unwaited-for-left.exp: New.
6086         * gdb.threads/non-ldr-exc-1.c: New.
6087         * gdb.threads/non-ldr-exc-1.exp: New.
6088         * gdb.threads/non-ldr-exc-2.c: New.
6089         * gdb.threads/non-ldr-exc-2.exp: New.
6090         * gdb.threads/non-ldr-exc-3.c: New.
6091         * gdb.threads/non-ldr-exc-3.exp: New.
6092         * gdb.threads/non-ldr-exc-4.c: New.
6093         * gdb.threads/non-ldr-exc-4.exp: New.
6094
6095 2011-10-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
6096
6097         * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6098         * gdb.base/attach-pie-misread.exp: Likewise.
6099         * gdb.base/break-interp.exp: Likewise.
6100         * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6101         testcases for use_gdb_stub.
6102         * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6103         (continue): New testcase.
6104         * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6105         * gdb.threads/attach-into-signal.exp: Likewise.
6106         * gdb.threads/attach-stopped.exp: Likewise.
6107         * gdb.threads/attachstop-mt.exp: Likewise.
6108
6109 2011-10-28  Paul Koning  <paul_koning@dell.com>
6110
6111         * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6112
6113 2011-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6114
6115         * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6116         (mi_gdb_test): Import globals thread_selected_re
6117         and breakpoint_re.  Expect them optionally at the regex start.
6118
6119 2011-10-27  Doug Evans  <dje@google.com>
6120
6121         * gdb.python/python.exp: Test source -s.
6122
6123 2011-10-26  Paul Koning  <paul_koning@dell.com>
6124
6125         * gdb.python/lib-types.cc (struct A): New structure.
6126         * gdb.python/lib-types.exp (deepitems): New tests.
6127
6128 2011-10-25  Paul Koning  <paul_koning@dell.com>
6129
6130         PR python/13327
6131
6132         * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6133         fetch_lazy method.
6134
6135 2011-10-24  Yao Qi  <yao@codesourcery.com>
6136
6137         * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6138         target is tic6x-*-*.
6139
6140 2011-10-21  Joel Brobecker  <brobecker@adacore.com>
6141
6142         * gdb.ada/mi_task_info/task_switch.adb: New file.
6143         * gdb.ada/mi_task_info.exp: New file.
6144
6145 2011-10-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
6146
6147         * gdb.cp/expand-psymtabs-cxx.exp: New file.
6148         * gdb.cp/expand-psymtabs-cxx.cc: New file.
6149
6150 2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>
6151
6152         PR python/12656
6153
6154         * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6155         global_block tests.
6156
6157 2011-10-18  Tom Tromey  <tromey@redhat.com>
6158
6159         * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6160
6161 2011-10-18  Tom Tromey  <tromey@redhat.com>
6162
6163         * gdb.base/source.exp: Don't include full file name in test name.
6164         * gdb.python/python.exp: Don't include full file name in test
6165         name.
6166
6167 2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
6168
6169         * gdb.base/attach-pie-noexec.c: New files.
6170         * gdb.base/attach-pie-noexec.exp: New files.
6171
6172 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
6173
6174         * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6175         prompt for each extra line in command.
6176
6177 2011-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
6178
6179         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6180         Revert the part of:
6181         2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6182         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6183         Change the expected string.
6184
6185 2011-10-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6186
6187         Fix results with system glibc debug info installed.
6188         * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6189         (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6190         Accept also __libc_ symbol prefix and no prefix.
6191
6192 2011-10-14  Keith Seitz  <keiths@redhat.com>
6193
6194         PR c++/13225
6195         * gdb.cp/converts.cc (foo3_1): New function.
6196         (foo3_2): New functions.
6197         * gdb.cp/converts.exp: Add tests for int to pointer conversion
6198         and null pointer conversions of integer constant zero.
6199         Add test to check if all arguments are checked for incompatible
6200         conversion BADNESS.
6201
6202 2011-10-14  Tom Tromey  <tromey@redhat.com>
6203
6204         * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6205         * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6206         linespec.
6207
6208 2011-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6209
6210         Fix internal error regression.
6211         * gdb.dwarf2/implptr-optimized-out.S: New file.
6212         * gdb.dwarf2/implptr-optimized-out.exp: New file.
6213
6214 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
6215
6216         Fix empty DWARF expressions DATA vs. SIZE conditionals.
6217         * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6218         (loclist): New.
6219         (4): New abbrev.
6220         * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6221         Use prepare_for_testing, remove clean_restart.
6222         (p arraynoloc, p arraycallnoloc): New tests.
6223
6224 2011-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
6225
6226         * gdb.cp/namespace-enum.exp (executable): New variable.
6227         (binfile): Use ${objdir}/${subdir}/ prefix.
6228         Use ${executable} for clean_restart.
6229
6230 2011-10-11  Sterling Augustine  <saugustine@google.com>
6231
6232         * gdb.cp/Makefile.in: Add namespace-enum test.
6233         * gdb.cp/namespace-enum.exp: New file.
6234         * gdb.cp/namespace-enum.c: New file.
6235         * gdb.cp/namespace-enum-main.c: New file.
6236
6237 2011-10-11  Ulrich Weigand  <ulrich.weigand@linaro.org>
6238
6239         * gdb.python/py-shared.exp: Relax filename check to handle remote:
6240         sysroot.
6241
6242 2011-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6243
6244         Reimplement @entry in input expressions.
6245         * gdb.base/exprs.c (v_int_array_init): New variable.
6246         * gdb.base/exprs.exp (print v_int_array_init)
6247         (print *v_int_array_init@1, print *v_int_array_init@2)
6248         (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6249         (print v_int_array_init[1]@1): New tests.
6250
6251 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
6252
6253         * gdb.cp/gdb2495.exp: Do not include directories in filename in
6254         expected message.
6255
6256 2011-10-09  Doug Evans  <dje@google.com>
6257
6258         * gdb.base/alias.exp: Add tests for alias command.
6259
6260 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6261
6262         * gdb.arch/amd64-entry-value.s: New file.
6263         * gdb.mi/mi2-amd64-entry-value.s: New file.
6264
6265 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6266
6267         Display @entry parameter values even for references.
6268         * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
6269         functions.
6270         (main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
6271         reference and datap_input.
6272         * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
6273         breakpoints.
6274         (continue to breakpoint: entry_reference: reference)
6275         (entry_reference: bt at entry)
6276         (continue to breakpoint: entry_reference: breakhere_reference)
6277         (entry_reference: bt, entry_reference: ptype regparam)
6278         (entry_reference: p regparam, entry_reference: ptype regparam@entry)
6279         (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
6280         (entry_reference: p regcopy, entry_reference: p nodataparam)
6281         (entry_reference: p nodataparam@entry): New tests.
6282
6283 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6284
6285         Support @entry in input expressions.
6286         * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
6287         (entry_stack: p s1@entry, entry_stack: p s2@entry)
6288         (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
6289         (tailcall: p j@entry): New tests.
6290         * gdb.cp/koenig.cc (A::entry): New function.
6291         (main): Call it.
6292         * gdb.cp/koenig.exp (p entry (c)): New test.
6293
6294 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6295
6296         Display @entry parameter values (without references).
6297         * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
6298         (different, validity, invalid): New functions.
6299         (main): Call them.
6300         * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
6301         stacktest, breakhere_stacktest, different, breakhere_different,
6302         breakhere_validity and breakhere_invalid.
6303         (entry: bt): Update for @entry.
6304         (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
6305         (entry_validity: *, entry_invalid: *): Many new tests.
6306         * gdb.base/break.exp
6307         (run until breakpoint set at small function, optimized file): Accept
6308         also the @entry suffix.
6309         * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
6310         * gdb.mi/mi2-amd64-entry-value.c: New files.
6311         * gdb.mi/mi2-amd64-entry-value.exp: New files.
6312
6313 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6314
6315         Protect entry values against self tail calls.
6316         * gdb.arch/amd64-entry-value.cc (self2, self): New.
6317         (main): Call self.
6318         * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
6319         (set debug entry-values 1, self: bt debug entry-values): New tests.
6320
6321 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6322
6323         Recognize virtual tail call frames.
6324         * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
6325         (amb_b, amb_a): New.
6326         (main): Call a and b.
6327         * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
6328         (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
6329         (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
6330         New tests.
6331
6332 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6333
6334         Implement basic support for DW_TAG_GNU_call_site.
6335         * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
6336         * gdb.arch/amd64-entry-value.cc: New file.
6337         * gdb.arch/amd64-entry-value.exp: New file.
6338
6339 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6340
6341         Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
6342         * gdb.dwarf2/implptr-64bit.S: New file.
6343         * gdb.dwarf2/implptr-64bit.exp: New file.
6344
6345 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6346
6347         Fix initial language detection with -readnow.
6348         * gdb.cp/readnow-language.cc: New file.
6349         * gdb.cp/readnow-language.exp: New file.
6350
6351 2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
6352
6353         Fix printed anonymous struct name.
6354         * gdb.cp/anon-struct.exp (print type of X::t2): New test.
6355
6356 2011-10-09  Joseph Myers  <joseph@codesourcery.com>
6357
6358         * gdb.base/solib-symbol.exp: Do not include directories in
6359         filenames in expected messages.
6360
6361 2011-10-07  Doug Evans  <dje@google.com>
6362
6363         * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
6364
6365 2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
6366
6367         Allow Python notification of new object-file loadings.
6368         * gdb.python/py-events.exp: Test newobjfile event.
6369         * gdb.python/py-events.py: Register newobjfile callback.
6370         * gdb.python/py-events.c: Add call to shared library
6371         * gdb.python/py-events-shlib.c: New file.
6372
6373 2011-10-06  Joseph Myers  <joseph@codesourcery.com>
6374
6375         * gdb.base/fixsection.exp: Do not include directories in filename
6376         in expected message.
6377
6378 2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
6379
6380         Add tests for passing of environment variables to inferior.
6381         * gdb.base/testenv.c: New test source.
6382         * gdb.base/testenv.exp: New expect test.
6383
6384 2011-10-04  Paul Koning  <paul_koning@dell.com>
6385
6386         * gdb.python/py-value.c (main): Break before return.
6387
6388 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
6389
6390         PR python/12691: Add the inferior to Python exited event
6391         * gdb.python/py-events.exp: Test the inferior attribute of exited
6392         event with a fork.
6393         * gdb.python/py-events.py: Print inferior number on exit.
6394         * gdb.python/py-events.c: Fork the inferior.
6395
6396 2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6397
6398         * gdb.base/jit.exp: Add testcase name to log message
6399
6400 2011-10-03  Paul Koning  <paul_koning@dell.com>
6401             Jan Kratochvil  <jan.kratochvil@redhat.com>
6402
6403         * gdb.python/py-value.exp
6404         (python inval = gdb.parse_and_eval('*(int*)0'))
6405         (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
6406         (set argc=2, python print argc_lazy): New tests.
6407
6408 2011-10-02  Joel Brobecker  <brobecker@adacore.com>
6409
6410         * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
6411
6412 2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6413             Pedro Alves  <pedro@codesourcery.com>
6414
6415         * gdb.python/py-value.exp (test_value_in_inferior): New variable
6416         can_read_0, test for it.
6417         (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
6418         (parse_and_eval with memory error): ... here, make it untested if
6419         can_read_0.
6420
6421 2011-09-30  Marek Polacek  <mpolacek@redhat.com>
6422
6423         * gdb.python/python.exp (verify pagination beforehand)
6424         (verify pagination afterwards): Fix race by splitting the line.
6425
6426 2011-09-29  Joseph Myers  <joseph@codesourcery.com>
6427
6428         * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
6429         for 64-bit multilibs from i?86-* targets.
6430
6431 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
6432
6433         * lib/gdb.exp: Fix a typo in one of the comments.
6434
6435 2011-09-29  Marek Polacek  <mpolacek@redhat.com>
6436
6437         * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
6438         matching pattern.
6439
6440 2011-09-28  Paul Koning  <paul_koning@dell.com>
6441
6442         * gdb.python/py-type.c (enum E): New.
6443         * gdb.python/py-type.exp (test_fields): Add tests for Python
6444         mapping access to fields.
6445         (test_enums): New test for field access on enums.
6446
6447 2011-09-27  Stan Shebs  <stan@codesourcery.com>
6448
6449         * gdb.trace/collection.exp: Test collection of $_ret.
6450
6451 2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
6452
6453         * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
6454         list of compilation switches for <*-*-freebsd*>.
6455
6456 2011-09-19  Stan Shebs  <stan@codesourcery.com>
6457
6458         * gdb.trace/tspeed.exp: New file.
6459         * gdb.trace/tspeed.c: New file.
6460
6461 2011-09-18  Yao Qi  <yao@codesourcery.com>
6462
6463         * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
6464         instructions.
6465         (test_adr_32bit, test_pop_pc): Likewise.
6466         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
6467         Thumb instructions.
6468         * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
6469         in gdb_test_multiple.
6470         (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
6471
6472 2011-09-17  Yao Qi  <yao@codesourcery.com>
6473
6474         * lib/gdb.exp (can_single_step_to_signal_handler): New.
6475         * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
6476         support single step to signal handler.
6477
6478 2011-09-17  Yao Qi  <yao@codesourcery.com>
6479
6480         * gdb.base/disp-step-fork.c: New.
6481         * gdb.base/disp-step-syscall.exp: New.
6482         * gdb.base/disp-step-vfork.c: New.
6483
6484 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
6485
6486         * gdb.ada/tasks.exp: Make the expected output for
6487         the `info tasks' tests more resilient to spacing
6488         changes.
6489
6490 2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6491
6492         * gdb.python/py-evthreads.exp (Run to breakpoint 1)
6493         (reached breakpoint 2, reached breakpoint 3): Update expected output.
6494
6495 2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
6496
6497         PR Python/12692 Add gdb.selected_inferior() to Python interface.
6498         * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
6499
6500 2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
6501
6502         Handle multiple breakpoint hits in Python interface:
6503         * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
6504         presence.
6505         * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
6506         breakpoint hits.
6507
6508 2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
6509             Jan Kratochvil  <jan.kratochvil@redhat.com>
6510
6511         * gdb.python/py-events.exp: Remove pretty printing comment.
6512         * gdb.python/py-evsignal.exp: New file.
6513         * gdb.python/py-evthreads.c: Include signal.h.
6514         (thread3): Remove variable count3.  Remove variable bad and use raise
6515         instead.
6516         (thread2): Remove variable count2.  Move thread3 pthread_create here,
6517         merge pthread_join to a single line.
6518         (main): Remove variable count1.  Merge pthread_join with pthread_create
6519         to a single line.
6520         * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
6521         KFAIL python/12966 for gdbserver.  Test return value of
6522         gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
6523         gdb_expect by gdb_test and gdb_test_multiple.
6524         (thread 2, thread 3): New tests.
6525
6526 2011-09-12  Matt Rice  <ratmice@gmail.com>
6527             Pedro Alves  <pedro@codesourcery.com>
6528
6529         PR gdb/13175
6530
6531         * gdb.base/interp.exp: New tests.
6532         * gdb.base/interp.c: New file.
6533
6534 2011-09-12  Doug Evans  <dje@google.com>
6535
6536         * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
6537         * gdb.dwarf2/typeddwarf.exp: Ditto.
6538
6539 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6540
6541         Fix compatibility with x32 arch.
6542         * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
6543         * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
6544         is_x86_like_target.
6545         * testsuite/gdb.trace/collection.exp: Likewise.
6546         * testsuite/gdb.trace/report.exp: Likewise.
6547         * testsuite/gdb.trace/unavailable.exp: Likewise.
6548         * testsuite/gdb.trace/while-dyn.exp: Likewise.
6549         * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
6550         (is_x86_like_target): Check also is_amd64_regs_target.
6551
6552 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6553
6554         PR breakpoints/12435
6555         * gdb.arch/amd64-prologue-xmm.c: New file.
6556         * gdb.arch/amd64-prologue-xmm.exp: New file.
6557         * gdb.arch/amd64-prologue-xmm.s: New file.
6558
6559 2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6560
6561         * gdb.dwarf2/dw2-param-error-main.c: New file.
6562         * gdb.dwarf2/dw2-param-error.S: New file.
6563         * gdb.dwarf2/dw2-param-error.exp: New file.
6564
6565 2011-09-08  Pedro Alves  <pedro@codesourcery.com>
6566
6567         * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
6568         inferior's pid and look for a core dump named core.$pid.  Use
6569         `remote_file' commands on the host instead of hand coding shell
6570         commands on the build.
6571         * gdb.base/valgrind-db-attach.exp: Kill the program before
6572         finishing the test.
6573
6574 2011-09-02  Matt Rice  <ratmice@gmail.com>
6575
6576         * lib/prompt.exp: New file for testing the first prompt.
6577         * gdb.python/py-prompt.exp: Ditto.
6578         * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6579
6580 2011-09-02  Pedro Alves  <pedro@codesourcery.com>
6581
6582         * gdb.threads/gcore-thread.exp: Set the global core_supported to
6583         0, before testing gcore.
6584
6585 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6586
6587         * dw2-ifort-parameter-debug.S: Update copyright year.
6588         * dw2-ifort-parameter.c: Update copyright year.
6589         * dw2-ifort-parameter.exp: Update copyright year.
6590
6591         * dw2-ifort-parameter-debug.S: New file.
6592         * dw2-ifort-parameter.c: New file.
6593         * dw2-ifort-parameter.exp: New file.
6594
6595 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
6596
6597         * gdb.base/commands.exp (error_clears_commands_left): New function.
6598         (): Call it.
6599
6600 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
6601
6602         * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6603         (C): Initialize `a'.
6604         * gdb.mi/mi-inheritance-syntax-error.exp
6605         (-data-evaluate-expression $path):  Expect `a' as 5.
6606
6607 2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
6608
6609         PR mi/11912
6610         * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6611         * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6612         * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6613         keyword in output of -var-info-path-expression.
6614
6615 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
6616
6617         * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6618         * gdb.trace/collection.exp: Likewise.
6619         * gdb.trace/report.exp: Likewise.
6620         * gdb.trace/unavailable.exp: Likewise.
6621         * gdb.trace/while-dyn.exp: Likewise.
6622
6623 2011-08-18  Keith Seitz  <keiths@redhat.com>
6624
6625         PR c++/12266
6626         * gdb.cp/meth-typedefs.cc: New file.
6627         * gdb.cp/meth-typedefs.exp: New file.
6628
6629 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
6630
6631         * gdb.python/python.exp: Add extended-prompt tests.
6632
6633 2011-08-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6634
6635         * gdb.arch/i386-dr3-watch.exp
6636         (watchpoint on gap1 does not fit debug registers)
6637         (delete all watchpoints): Fix racy expect strings.
6638
6639 2011-08-14  Yao Qi  <yao@codesourcery.com>
6640
6641         * gdb.base/maint.exp: set data_section to ".neardata".
6642         * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6643         * gdb.base/savedregs.exp: Handle SIGILL.
6644         * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6645         * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6646
6647 2011-08-12  Doug Evans  <dje@google.com>
6648
6649         * gdb.python/py-symbol.exp: Add test for symbol.type.
6650
6651 2011-08-12  Ulrich Weigand  <ulrich.weigand@linaro.org>
6652
6653         * gdb.threads/pthreads.exp: Enable on non-native configurations.
6654         * gdb.mi/mi-pthreads.exp: Likewise.
6655         * gdb.mi/mi2-pthreads.exp: Likewise.
6656         * gdb.mi/gdb669.exp.exp: Likewise.
6657
6658 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
6659
6660         * lib/mi-support.exp (detect_async): Rename to...
6661         (mi_detect_async): ... this.
6662         * gdb.mi/mi-nonstop-exit.exp: Adjust.
6663         * gdb.mi/mi-nonstop.exp: Adjust.
6664         * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6665         * gdb.mi/mi-nsintrall.exp: Adjust.
6666         * gdb.mi/mi-nsmoribund.exp: Adjust.
6667         * gdb.mi/mi-nsthrexec.exp: Adjust.
6668
6669 2011-08-09  Pedro Alves  <pedro@codesourcery.com>
6670
6671         * gdb.base/display.c (do_loops): New `p_i' local.
6672         * gdb.base/display.exp: Test displaying a variable that is
6673         temporarily at a bad address.
6674
6675 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6676
6677         * gdb.dwarf2/dw2-op-stack-value.S: New file.
6678         * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6679
6680 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6681
6682         * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
6683         * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6684         (p fuNC_symtab): Permit also ppc64 leading dot.
6685
6686 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
6687
6688         * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6689         procedure.
6690         (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6691
6692 2011-08-05  Yao Qi  <yao@codesourcery.com>
6693
6694         * gdb.base/callfuncs.exp: Set language after main.
6695         * gdb.cp/cplusfuncs.exp: Likewise.
6696         * gdb.cp/inherit.exp: Likewise.
6697
6698 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
6699
6700         * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6701         * gdb.base/watch-vfork.exp: Skip on remote targets.
6702
6703 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
6704
6705         * gdb.threads/thread-find.exp: Support remote targets.
6706
6707 2011-08-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
6708
6709         * gdb.base/jit.exp: Download solib_binfile to target.
6710         * gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
6711         and call dlopen without full path name.
6712         * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6713         dlopen without full path name.
6714
6715 2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
6716
6717         * gdb.base/break-always.exp: Complete the test
6718         with duplicated breakpoints and enabling/disabling them.
6719
6720 2011-08-02  Tom Tromey  <tromey@redhat.com>
6721
6722         PR gdb/11289:
6723         * gdb.cp/overload.exp: Fix regexps.  Remove kfails.
6724
6725 2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6726
6727         PR gdb/13045
6728         * gdb.base/float.exp: Add new test case for PR gdb/13045
6729         * gdb.base/float.c: New file.
6730
6731 2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
6732
6733         * gdb.python/py-mi.exp: Test printers returning string hint, and
6734         also not returning a value.
6735         * gdb.python/py-prettyprint.c: Add testcase for above.
6736         * gdb.python/py-prettyprint.py: Add test printer for above.
6737
6738 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6739
6740         * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6741         (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6742         (.Ldie30) Add as field "data4".
6743         (.Ldie32) Rename field "b" to "shl".
6744         (abbrev4) Change for the "data4" field.
6745         (abbrev5, abbrev6) Remove.
6746         * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6747         (p &s.shl): ... here.  Add comment.
6748         (p &s.data4): New.
6749
6750 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6751
6752         Fix crash on lval_computed values.
6753         * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6754
6755 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6756
6757         * gdb.base/help.exp (help whatis): Update the expected string.
6758
6759 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
6760
6761         * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6762         * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6763         * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6764         Change the expected string.
6765
6766 2011-07-26  Pedro Alves  <pedro@codesourcery.com>
6767
6768         * gdb.base/watchpoint.exp
6769         (test_disable_enable_software_watchpoint): New procedure.
6770         (top level): Run it.
6771
6772 2011-07-26  Ulrich Weigand  <ulrich.weigand@linaro.org>
6773
6774         * gdb.python/py-mi.exp: Avoid '+' in filenames.  Call C version of
6775         executable file "${binfile}", C++ version "${binfile}-cxx".
6776         * gdb.python/py-prettyprint.exp: Likewise.
6777         * gdb.python/py-symbol.exp: Likewise.
6778         * gdb.python/py-type.exp: Likewise.
6779         * gdb.python/py-value.exp: Likewise.
6780         * gdb.python/py-template.exp (test_template_arg): Pass full executable
6781         file name instead of just suffix.
6782
6783 2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
6784
6785         Fix implicit pointer offsets.
6786         * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6787         * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6788         (continue to breakpoint: continue to baz breakpoint for implptr)
6789         (sanity check element 0, sanity check element 1)
6790         (enter the inlined function, check element 0 for the offset)
6791         (check element 1 for the offset)
6792         (continue to breakpoint: ignore the second baz breakpoint): New tests.
6793         (set foo breakpoint for implptr): Update the breakpoint number.
6794
6795 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
6796
6797         * gdb.python/py-mi.exp: Use different file names for different
6798         versions of the executable under test.
6799         * gdb.python/py-prettyprint.exp: Likewise.
6800         * gdb.python/py-symbol.exp: Likewise.
6801         * gdb.python/py-template.exp: Likewise.
6802         * gdb.python/py-type.exp: Likewise.
6803         * gdb.python/py-value.exp: Likewise.
6804
6805 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
6806
6807         * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6808         flag after restarting GDB if necessary.
6809
6810 2011-07-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
6811
6812         * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6813
6814 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
6815
6816         * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6817         backend doesn't leave used debug registers behind.
6818
6819 2011-07-22  Tom Tromey  <tromey@redhat.com>
6820
6821         * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6822         * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6823         argument.
6824         * gdb.dwarf2/typeddwarf-amd64.S: New file.
6825
6826 2011-07-21  Matt Rice  <ratmice@gmail.com>
6827
6828         * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6829         in mostlyclean rule.  Add files ending in .core.
6830
6831 2011-07-21  Matt Rice  <ratmice@gmail.com>
6832
6833         PR macros/12999
6834         * gdb.base/info-macros.c: New test sources.
6835         * gdb.base/info-macros.exp: New tests.
6836
6837 2011-07-21  Phil Muldoon  <pmuldoon@redhat.com>
6838
6839         * gdb.python/python.exp: Add prompt substitution tests.
6840
6841 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6842
6843         Fix crash if referenced CU is aged out.
6844         * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6845         New.
6846         * gdb.dwarf2/implptr.exp: Likewise.
6847
6848 2011-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
6849
6850         * gdb.dwarf2/implptr.S: Rebuilt.
6851         * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6852         (bar): Use them for j, k, l.
6853         * gdb.dwarf2/implptr.exp: New variable opts.  Support runtest parameter
6854         COMPILE.
6855         (print j in implptr:bar): Update for the intp typedef.
6856         (print p[0].x in implptr:foo): Use more exact regex.
6857
6858 2011-07-18  Tom Tromey  <tromey@redhat.com>
6859
6860         * gdb.cp/static-method.exp: Add missing single quote.
6861
6862 2011-07-18  Yao Qi  <yao@codesourcery.com>
6863
6864         * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6865         supported.
6866         * gdb.mi/mi-nonstop-exit.exp: Likewise.
6867         * gdb.mi/mi-nonstop.exp: Likewise.
6868         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6869         * gdb.mi/mi-nsintrall.exp: Likewise.
6870         * gdb.mi/mi-nsmoribund.exp: Likewise.
6871         * gdb.mi/mi-nsthrexec.exp: Likewise.
6872         * gdb.python/py-evthreads.exp: Likewise.
6873
6874 2011-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6875
6876         Code cleanup.
6877         * gdb.cp/namespace.exp (xfail_class_types): New variable.  Initialize
6878         it.  Substitute it instead of test_compiler_info everywhere.
6879
6880 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
6881
6882         * gdb.base/type-opaque.exp: Use gdb_load_shlibs.  Run test on
6883         remote targets as well.
6884
6885 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
6886
6887         * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6888         * gdb.threads/tls-shared.exp: Use it.  Call gdb_load_shlibs.
6889
6890 2011-07-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
6891
6892         * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6893         a remote machine, not the host.
6894         (gdb_compile_shlib): Set soname if target is remote.
6895
6896 2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6897
6898         * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6899
6900 2011-07-13  Matt Rice <ratmice@gmail.com>
6901
6902         * gdb.python/py-objfile-script-gdb.py: Renamed to
6903         py-objfile-script-gdb.py.in.
6904         * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6905         py-objfile-script-gdb.py.
6906         * gdb.python/py-objfile-script.exp: Update reference to
6907         py-objfile-script-gdb.py.
6908
6909 2011-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6910
6911         * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6912         reference undefined label.
6913
6914 2011-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6915
6916         * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6917         (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6918         (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6919         * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6920
6921 2011-07-11  Phil Muldoon  <pmuldoon@redhat.com>
6922
6923         PR python/12438
6924         * gdb.python/python.exp: Add maint set/show python print-stack
6925         deprecated tests.  Add set/show python print-backtrace tests.
6926
6927 2011-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
6928
6929         * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6930         debug info.
6931
6932 2011-07-06  Matt Rice  <ratmice@gmail.com>
6933
6934         * gdb.python/python.exp: Update filename paths.
6935         * gdb.python/py-symtab.exp: Ditto.
6936
6937 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
6938
6939         * gdb.python/py-evthreads.exp: Add missing `$'.
6940
6941 2011-07-06  Jie Zhang  <jie.zhang@analog.com>
6942
6943         * config/bfin.exp: New file.
6944         * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6945         * gdb.asm/bfin.inc: New file.
6946
6947 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
6948
6949         * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
6950         the whole output.
6951
6952 2011-07-05  Tom Tromey  <tromey@redhat.com>
6953
6954         * gdb.java/jprint.java (jprint.hi): New field.
6955         * gdb.java/jprint.exp: Print string.
6956
6957 2011-07-05  Thiago Jung Bauermann  <bauerman.ibm.com>
6958
6959         * gdb.base/call-sc.c: Fix typos.
6960         * gdb.base/ifelse.exp: Likewise.
6961         * gdb.base/structs.c: Likewise.
6962
6963 2011-07-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6964
6965         * gdb.base/jit-so.exp: New test.
6966         * gdb.base/jit-dlmain.c: New file.
6967         * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6968
6969 2011-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
6970
6971         * gdb.cp/m-static.exp: Call get_compiler_info.
6972         (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6973         * gdb.cp/pr9167.exp (p b): Likewise.
6974         * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6975         (test value of P in inner_m, test type of Z in inner_m): Call
6976         setup_xfail for gcc <= 4.5.
6977
6978 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6979
6980         * gdb.cp/paren-type.cc: New files.
6981         * gdb.cp/paren-type.exp: New files.
6982
6983 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6984
6985         Stop on first linespec terminator instead of eating what we can.
6986         * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6987         * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6988         * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6989         (break C::f()): ... this one.
6990         (break C::operator()()): New test.
6991         * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6992         * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6993         test.
6994
6995 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
6996
6997         Fall back linespec to minimal symbols.
6998         * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6999         error message.
7000         * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7001         * gdb.cp/minsym-fallback-main.cc: New file.
7002         * gdb.cp/minsym-fallback.cc: New file.
7003         * gdb.cp/minsym-fallback.exp: New file.
7004         * gdb.cp/minsym-fallback.h: New file.
7005
7006 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7007
7008         * gdb.cp/no-dmgl-verbose.cc: New file.
7009         * gdb.cp/no-dmgl-verbose.exp: New file.
7010
7011 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7012
7013         * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7014         __GI_.
7015         * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7016         (f): New function.
7017         * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7018         (complete p 'func<short>(): ... here.
7019         * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7020         * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7021         * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7022         * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7023         Make them KFAIL gcc/49546.
7024
7025 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7026
7027         * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7028
7029 2011-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
7030
7031         Test GCC PR debug/49546.
7032         * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7033         (test type of F in k3_m, test value of F in k3_m): New.
7034         * gdb.cp/temargs.cc (struct S3, struct K3): New.
7035         (main): New variable k3.  Call k3.k3_m.
7036
7037 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
7038
7039         * gdb.ada/packed_array.exp: Fix expected outout.
7040
7041 2011-07-01  Jean-Charles Delay  <delay@adacore.com>
7042
7043         * gdb.ada/packed_array.exp: fixed expected output.
7044
7045 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7046
7047         * gdb.ada/same_enum: New testcase.
7048
7049 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7050
7051         * gdb.ada/ptr_typedef: New testcase.
7052
7053 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7054
7055         * gdb.ada/arrayptr.exp: Add ptype test.
7056
7057 2011-07-01  Joel Brobecker  <brobecker@adacore.com>
7058
7059         * gdb.ada/char_enum: New testcase.
7060
7061 2011-07-01  Yao Qi  <yao@codesourcery.com>
7062
7063         * gdb.base/dump.exp (capture_pointer_with_type): New.
7064         Get value from address instead of name.
7065         Start GDB once, and do `dump' and `restore'
7066         tests together.
7067
7068 2011-06-30  Jie Zhang <jie.zhang@analog.com>
7069             Mike Frysinger  <vapier@gentoo.org>
7070
7071         * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7072         helper functions for getting/setting remotetimeout variable.
7073         * lib/gdb.exp (gdb_load): If the target is remote, set
7074         $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7075         with $loadtimeout.  Set $load_ok to 0 before doing the load.
7076         Instead of returning, immediately, set $load_ok to 0.  Call
7077         set_remotetimeout with $oldremotetimeout, and then return if
7078         $load_ok is 1.
7079
7080 2011-06-30  Andrew Burgess  <aburgess@broadcom.com>
7081
7082         * gdb.python/py-template.exp: Don't run this test if the target
7083         does not support c++ tests.
7084
7085 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
7086
7087         Fix non-only rename list for Fortran modules import.
7088         * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7089         tests.
7090         * gdb.fortran/module.f90 (module moduse): New.
7091         (program module): use moduse, test var_x, var_y and var_z.
7092
7093 2011-06-29  Tom Tromey  <tromey@redhat.com>
7094
7095         PR testsuite/12040:
7096         * gdb.fortran/array-element.exp: Use f90, not f77.
7097         * gdb.fortran/complex.exp: Use f90, not f77.
7098         * gdb.fortran/derived-type.exp: Use f90, not f77.
7099         * gdb.fortran/library-module.exp: Use f90, not f77.
7100         * gdb.fortran/logical.exp: Use f90, not f77.
7101         * gdb.fortran/module.exp: Use f90, not f77.
7102         * gdb.fortran/multi-dim.exp: Use f90, not f77.
7103         * gdb.fortran/subarray.exp: Use f90, not f77.
7104
7105 2011-06-29  Tom Tromey  <tromey@redhat.com>
7106
7107         * gdb.fortran/charset.exp: New file.
7108         * gdb.fortran/charset.f90: New file.
7109
7110 2011-06-29  Tom Tromey  <tromey@redhat.com>
7111
7112         PR testsuite/12040:
7113         * lib/future.exp: New file, mostly extracted from ada.exp.
7114         Rewrote compatibility code to use rename.
7115         (gdb_find_gfortran): New proc.
7116         (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7117         gfortran patch.
7118         * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7119         Move to future.exp.
7120         * lib/gdb.exp: Always load future.exp.
7121
7122 2011-06-28  Yao Qi  <yao@codesourcery.com>
7123
7124         * gdb.cp/exception.cc: Don't include iostream.
7125         (bar): Remove print statement.
7126         (catcher): New.
7127         (main): Remove print statements.  Call function catcher.
7128         * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7129         Set breakpoint on catcher, and check the value of parameter.
7130
7131 2011-06-23  Yao Qi  <yao@codesourcery.com>
7132
7133         * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7134         breakpoint 1.2 is disabled.  KFAIL for uclinux.
7135
7136 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7137
7138         * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7139         mi_gdb_test.
7140
7141 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7142
7143         * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7144
7145 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7146
7147         * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7148
7149 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
7150
7151         * gdb.mi/mi2-basics.exp: Fix races.  Honour the
7152         `test_exec_and_symbol_mi_operatons' return value.
7153         (test_mi_interpreter_selection): Use mi_gdb_test instead of
7154         gdb_test_multiple.
7155         (test_exec_and_symbol_mi_operatons): Likewise.
7156         (test_path_specification): Likewise.
7157
7158 2011-06-23  Yao Qi  <yao@codesourcery.com>
7159
7160         * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7161         supported.
7162         * lib/gdb.exp (support_displaced_stepping): New.
7163
7164 2011-06-23  Yao Qi  <yao@codesourcery.com>
7165
7166         * gdb.threads/execl.exp: Skip on remote target.
7167
7168 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
7169
7170         * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
7171         mi_gdb_test.
7172
7173 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7174
7175         * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
7176
7177 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7178
7179         * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
7180         mi_gdb_test.
7181
7182 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
7183
7184         * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7185
7186 2011-06-14  Yao Qi  <yao@codesourcery.com>
7187
7188         gdb/testsuite/
7189         * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7190
7191 2011-06-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
7192
7193         * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7194
7195 2011-06-10  Tom Tromey  <tromey@redhat.com>
7196
7197         * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7198         Add tests for pointer-to-member-function.
7199         * gdb.cp/temargs.cc (S::somefunc): New function.
7200         (K2): New class.
7201         (main): Instantiate K2; call method.
7202
7203 2011-06-08  Joel Brobecker  <brobecker@adacore.com>
7204
7205         * gdb.python/py-inferior.c (f2): Make str an array rather
7206         than a pointer.
7207         * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7208
7209 2011-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7210
7211         * gdb.base/async-shell.c: New file.
7212         * gdb.base/async-shell.exp: New file.
7213
7214 2011-06-06  Pedro Alves  <pedro@codesourcery.com>
7215
7216         * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7217
7218 2011-06-03  Joel Brobecker  <brobecker@adacore.com>  (obvious fix)
7219
7220         From Stephen Kitt  <steve@sk2.org>
7221         * gdb.base/help.exp: Adjust following some spelling corrections
7222         in GDB.
7223
7224 2011-06-01  Yao Qi  <yao@codesourcery.com>
7225
7226         * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7227
7228 2010-05-31  Keith Seitz  <keiths@redhat.com>
7229
7230         PR c++/12750
7231         * gdb.cp/static-method.cc: New file.
7232         * gdb.cp/static-method.exp: New file.
7233
7234 2010-05-31  Keith Seitz  <keiths@redhat.com>
7235
7236         PR symtab/12704
7237         * gdb.cp/anon-ns.cc: New file.
7238         * gdb.cp/anon-ns.exp: New file.
7239
7240 2011-05-31  Pedro Alves  <pedro@codesourcery.com>
7241
7242         * gdb.arch/i386-dr3-watch.c: New file.
7243         * gdb.arch/i386-dr3-watch.exp: New file.
7244
7245 2011-05-30  Yao Qi  <yao@codesourcery.com>
7246
7247         * gdb.base/callfuncs.c (t_structs_fc): New.
7248         (t_structs_dc, t_structs_ldc): New.
7249         (t_double_many_args):
7250         (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7251         (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7252         (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7253         * gdb.base/callfuncs.exp: Call new functions.
7254
7255 2011-05-30  Yao Qi  <yao@codesourcery.com>
7256
7257         * gdb.base/callfuncs.exp (rerun_and_prepare): New.
7258         Call rerun_and_prepare for each test to isolate effects.
7259
7260 2011-05-30  Yao Qi  <yao@codesourcery.com>
7261
7262         * gdb.base/varargs.c (find_max_float_real): New.
7263         (find_max_double_real, find_max_long_double_real): New.
7264         * gdb.base/varargs.exp: Call these new added functions.
7265         * lib/gdb.exp (setup_kfail_for_target): New.
7266
7267 2011-05-30  Yao Qi  <yao@codesourcery.com>
7268
7269         * gdb.base/funcargs.c (callca, callcb, callcc): New.
7270         (callcd, callce, callcf, callc1a, callc1b): New.
7271         (callc2a, callc2b): New.
7272         * gdb.base/funcargs.exp (complex_args): New.
7273         (complex_integral_args, complex_float_integral_args): New.
7274         * lib/gdb.exp (support_complex_tests): New.  Determine
7275         whether to run test cases on _Complex types.
7276
7277 2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7278
7279         * gdb.threads/leader-exit.c: New file.
7280         * gdb.threads/leader-exit.exp: New file.
7281
7282 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
7283
7284         * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
7285
7286 2011-05-27  Marek Polacek  <mpolacek@redhat.com>
7287
7288         * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
7289         remove the `supported' variable.
7290         * gdb.mi/mi-nonstop.exp: Likewise.
7291         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7292         * gdb.mi/mi-nsintrall.exp: Likewise.
7293         * gdb.mi/mi-nsmoribund.exp: Likewise.
7294         * gdb.mi/mi-nsthrexec.exp: Likewise.
7295
7296 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
7297
7298         * gdb.reverse/finish-reverse-bkpt.exp: New test.
7299
7300 2011-05-26  Pedro Alves  <pedro@codesourcery.com>
7301
7302         * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
7303
7304 2011-05-24  Keith Seitz  <keiths@redhat.com>
7305
7306         PR breakpoint/12803
7307         * gdb.cp/cmpd-minsyms.cc (a): New method.
7308         (b): New method.
7309         (c): New method.
7310         * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
7311
7312 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
7313
7314         * gdb.base/commands.exp (watchpoint_command_test): Check that the
7315         watchpoint's command list didn't execute when the watchpoint went
7316         out of scope.
7317
7318 2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
7319
7320         Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
7321         * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
7322         * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
7323         * gdb.arch/i386-gnu-cfi.exp: Likewise.
7324         * gdb.arch/i386-permbkpt.exp: Likewise.
7325         * gdb.arch/i386-prologue.exp: Likewise.
7326         * gdb.arch/i386-size-overlap.exp: Likewise.
7327         * gdb.arch/i386-size.exp: Likewise.
7328         * gdb.arch/i386-unwind.exp: Likewise.
7329         * gdb.reverse/i386-precsave.exp: Likewise.
7330         * gdb.reverse/i386-reverse.exp: Likewise.
7331         * gdb.reverse/i386-sse-reverse.exp: Likewise.
7332         * gdb.reverse/i387-env-reverse.exp: Likewise.
7333         * gdb.reverse/i387-stack-reverse.exp: Likewise.
7334
7335 2011-05-24  Pedro Alves  <pedro@codesourcery.com>
7336
7337         * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
7338         file doesn't error, using MI.
7339
7340 2011-05-23  Tom Tromey  <tromey@redhat.com>
7341
7342         * gdb.base/charset.exp (string_display): Add tests to assign to
7343         arrays.
7344         * gdb.base/charset.c (short_array, int_array, long_array): New.
7345
7346 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
7347
7348         Cope with async mode.
7349
7350         * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
7351         into gdb_test + mi_expect_stop.
7352
7353 2011-05-20  Pedro Alves  <pedro@codesourcery.com>
7354
7355         * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
7356         (callme): Remove printf call.
7357
7358 2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
7359
7360         * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
7361         quote pattern to avoid problems with Cygwin/mingw expect versions.
7362         * gdb.base/default.exp (show convenience): Use double
7363         quote pattern for regular expressions.
7364
7365 2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7366
7367         Fix -readnow for -gdwarf-4 unused type units.
7368         * gdb.dwarf2/dw4-sig-type-unused.S: New file.
7369         * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
7370
7371 2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
7372
7373         * gdb.base/kill-after-signal.c: New file.
7374         * gdb.base/kill-after-signal.exp: New file.
7375
7376 2011-05-16  Pedro Alves  <pedro@codesourcery.com>
7377
7378         * gdb.ada/start.exp: Call untested with the correct test filename.
7379         * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
7380         test filename.  Make the test's binary unique.
7381         * gdb.arch/i386-signal.exp: Call untested with the correct test
7382         filename.
7383         * gdb.arch/i386-size-overlap.exp: Ditto.
7384         * gdb.arch/Makefile.in (EXECUTABLES): Update.
7385         * gdb.base/gcore-buffer-overflow.exp: Ditto.
7386         * gdb.cp/call-c.exp: Ditto.
7387         * gdb.mi/mi-reverse.exp: Call untested with the correct test
7388         filename.  Make the test's binary unique.
7389         * gdb.mi/Makefile.in (EXECUTABLES): Update.
7390         * gdb.python/py-mi.exp: Ditto.
7391         * gdb.python/Makefile.in (EXECUTABLES): Update.
7392         * gdb.reverse/i386-precsave.exp: Ditto.
7393         * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
7394         test filename.
7395         * gdb.reverse/i387-stack-reverse.exp: Ditto.
7396         * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
7397         unique.
7398         * gdb.reverse/sigall-reverse.exp: Call untested with the correct
7399         test filename.
7400         * gdb.reverse/Makefile.in (EXECUTABLES): Update.
7401         * gdb.trace/tfile.exp: Ditto.
7402
7403 2011-05-14  Yao Qi  <yao@codesourcery.com>
7404
7405         * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
7406         type.
7407
7408 2011-05-13  Doug Evans  <dje@google.com>
7409
7410         * gdb.python/py-objfile-script.exp: New file.
7411         * gdb.python/py-objfile-script.c: New file.
7412         * gdb.python/py-objfile-script-gdb.py: New file.
7413         * testsuite/gdb.python/py-section-script.exp: Test
7414         "info auto-load-scripts".
7415
7416 2011-05-13  Tom Tromey  <tromey@redhat.com>
7417
7418         * gdb.dwarf2/clztest.exp: New file.
7419         * gdb.dwarf2/clztest.c: New file.
7420         * gdb.dwarf2/clztest.S: New file.
7421
7422 2011-05-13  Doug Evans  <dje@google.com>
7423
7424         * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
7425         String16 tests.
7426
7427 2011-05-13  Tom Tromey  <tromey@redhat.com>
7428
7429         * lib/gdb.exp (is_x86_like_target): New proc.
7430         * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
7431         * gdb.dwarf2/valop.exp: Use is_x86_like_target.
7432         * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
7433         -nostdlib to compiler.
7434         * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
7435         * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
7436         * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
7437         * gdb.dwarf2/dw2-restore.exp: Check for LP64.
7438         * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
7439
7440 2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7441
7442         * gdb.python/py-function.exp: Test setting a value from a function
7443         which executes a command.
7444
7445 2011-05-12  Tom Tromey  <tromey@redhat.com>
7446
7447         * gdb.dwarf2/typeddwarf.S: New file.
7448         * gdb.dwarf2/typeddwarf.c: New file.
7449         * gdb.dwarf2/typeddwarf.exp: New file.
7450
7451 2011-05-12  Marek Polacek  <mpolacek@redhat.com>
7452
7453         * gdb.mi/mi-basics.exp: Fix races.  Honour the
7454         `test_exec_and_symbol_mi_operatons' return value.
7455         (test_mi_interpreter_selection): Use mi_gdb_test instead of
7456         gdb_test_multiple.
7457         (test_exec_and_symbol_mi_operatons): Likewise.
7458         (test_path_specification): Likewise.
7459
7460 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7461
7462         * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
7463         (gdb_touch_execfile): Remove catch wrappers.  New variable time.
7464         Replace `file copy' and `file rename' by `file mtime'.  Twice.
7465
7466 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7467
7468         * gdb.base/readline-ask.c: New file.
7469         * gdb.base/readline-ask.exp: New file.
7470         * gdb.base/readline-ask.inputrc: New file.
7471
7472 2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
7473
7474         * gdb.cell/bt.exp: Delete breakpoints before running to signal
7475         to avoid race condition.
7476         * gdb.cell/coremaker.c: Use small stack size.
7477         * gdb.cell/ea-standalone.exp: Use file name without path as
7478         argument to c_to.
7479         * gdb.cell/fork.exp: Allow other output when continuing to end.
7480
7481 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7482
7483         * gdb.threads/corethreads.c: New file.
7484         * gdb.threads/corethreads.exp: New file.
7485
7486 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7487
7488         * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
7489         Try to compile the test using -Wl,-z,norelro first.
7490         (load_core): New variable libthread_db_seen, initialize it.
7491         (zeroed-threads cannot be listed): Protect it by XFAIL on
7492         !$libthread_db_seen.
7493
7494 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7495
7496         PR 12573
7497         * gdb.dwarf2/dw2-skip-prologue.S: New file.
7498         * gdb.dwarf2/dw2-skip-prologue.c: New file.
7499         * gdb.dwarf2/dw2-skip-prologue.exp: New file.
7500
7501 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7502
7503         * gdb.cp/psymtab-parameter.cc: New file.
7504         * gdb.cp/psymtab-parameter.exp: New file.
7505
7506 2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
7507
7508         Fix a race.
7509         * gdb.cp/static-print-quit.exp (print c): Split to ...
7510         (print c - <return>, print c - q <return>, print c - to quit):
7511         ... these.  Make the testfile untested on gdb-7.1.
7512
7513 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
7514
7515         * lib/gdb.exp (exec_target_file, exec_symbol_file,
7516         gdb_rename_execfile, gdb_touch_execfile): New.
7517         * gdb.base/reread.exp: Use new procs to handle multiple
7518         exec files.
7519
7520 2011-05-05  Yao Qi  <yao@codesourcery.com>
7521
7522         * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
7523         (test_adr_32bit, test_pop_pc): New.
7524         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
7525         (test_adr_32bit, test_pop_pc): New.
7526
7527 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
7528
7529         * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
7530         * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
7531         targets.
7532         * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
7533         handle targets.
7534
7535 2011-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
7536
7537         * gdb.base/completion.exp (complete help info wat): Rename to ...
7538         (complete 'help info wat'): ... here.
7539         Remove all `-re ".*' and `-re "^.*' redundant regexes.
7540         (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
7541
7542 2011-05-04  Pedro Alves  <pedro@codesourcery.com>
7543
7544         * gdb.base/completion.exp: Use gdb_test_multiple instead of
7545         gdb_test and explicit $gdb_prompt/timeout matches.
7546
7547 2011-05-04  Yao Qi  <yao@codesourcery.com>
7548
7549         * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
7550         and __thumb2__.
7551
7552 2011-05-03  Marek Polacek  <mpolacek@redhat.com>
7553
7554         * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
7555         in place of `gdb_test "delete breakpoints"'.  This eliminates two
7556         testcases.
7557
7558 2011-05-02  Pedro Alves  <pedro@codesourcery.com>
7559
7560         PR testsuite/12649
7561         Fix races.
7562
7563         * gdb.base/completion.exp: Remove all sleep calls.  Remove
7564         unnecessary regexs.  Don't explicitly expect anything after the
7565         prompt.  Eat the prompt if necessary.
7566
7567 2011-05-02  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7568
7569         * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
7570         accept to show the caller line again as well as the line after.
7571
7572 2011-04-29  Phil Muldoon  <pmuldoon@redhat.com>
7573
7574         PR mi/12531
7575
7576         * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7577         compile target.
7578         * gdb.python/py-prettyprint.exp: Add C++ object for
7579         CPLUS_FAKE_CHILD test.
7580
7581 2011-04-28  Ulrich Weigand  <ulrich.weigand@linaro.org>
7582
7583         * gdb.base/signest.exp: New file.
7584         * gdb.base/signest.c: Likewise.
7585
7586 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7587
7588         * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7589         thread and breakpoint notifications.
7590
7591 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7592
7593         * gdb.base/fortran-sym-case.c: New file.
7594         * gdb.base/fortran-sym-case.exp: New file.
7595         * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7596         * gdb.dwarf2/dw2-case-insensitive.c: New file.
7597         * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7598
7599 2011-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
7600
7601         * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7602         * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7603         false #1', `if true else false #2' and `if true else false #3'.
7604
7605 2011-04-27  Ulrich Weigand  <ulrich.weigand@linaro.org>
7606
7607         * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7608         while delivering signal.
7609
7610 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
7611
7612         MI breakpoint notifications.
7613
7614         * testsuite/gdb.mi/mi-cli.exp: Adust.
7615         * testsuite/gdb.mi/mi2-cli.exp: Adust.
7616         * testsuite/gdb.mi/mi-watch.exp: Adust.
7617         * testsuite/gdb.mi/mi2-watch.exp: Adust.
7618         * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7619         notifications.
7620
7621 2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
7622
7623         * gdb.base/gdbindex-stabs-dwarf.c: New file.
7624         * gdb.base/gdbindex-stabs.c: New file.
7625         * gdb.base/gdbindex-stabs.exp: New file.
7626
7627 2011-04-25  Yao Qi  <yao@codesourcery.com>
7628
7629         * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7630         with /*...*/.
7631         * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7632
7633 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7634
7635         * gdb.python/py-value.exp (test_objfiles): Name the first test
7636         `py-value in file.filename'.
7637
7638 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
7639
7640         * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7641         * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7642         * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7643         !gdbserver_reconnect_p..
7644         (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7645
7646 2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
7647
7648         * gdb.cp/cpcompletion.exp (complete class methods)
7649         (complete class methods beginning with F): Move them above runto.  New
7650         comment about the runto delimiter.
7651
7652 2011-04-20  Pedro Alves  <pedro@codesourcery.com>
7653
7654         * gdb.base/maint.exp: Test that "maint print registers" works
7655         without a running program.
7656
7657 2011-04-20  Marek Polacek  <mpolacek@redhat.com>
7658
7659         * gdb.base/setshow.exp: Fix racy tests.
7660         ($old_gdb_prompt): New variable.
7661
7662 2011-04-19  Tom Tromey  <tromey@redhat.com>
7663
7664         * gdb.mi/mi-nsmoribund.exp:
7665         * gdb.hp/gdb.objdbg/objdbg01.exp:
7666         * gdb.base/structs.exp (test_struct_returns):
7667         * gdb.base/call-sc.exp (test_scalar_returns):
7668         * gdb.base/bigcore.exp: Remove duplicate words.
7669
7670 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
7671
7672         * gdb.base/break-interp-lib.c (v, vptr): New variables.
7673         * gdb.base/break-interp.exp (test_attach): New comment.
7674
7675 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
7676
7677         * gdb.threads/gcore-thread.exp ($core0file): New variable.
7678         (clear __stack_user.next, clear stack_used.next)
7679         (save a zeroed-threads corefile): New test.
7680         Call core_load for $core0file.
7681         (zeroed-threads cannot be listed): New test.
7682
7683 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
7684
7685         * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7686         filename.
7687         ($srcfile): Preserve the original value.
7688         ($testfile): Match it the .exp filename.
7689         ($corefile): New variable.  Substitute it around.
7690         Use clean_restart.
7691         ($prev_timeout): Remove.
7692         (load_core): Move core loading into this proc.
7693         Fix restore of $timeout if load_core fails.
7694
7695 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
7696
7697         * gdb.base/eu-strip-infcall.c: New file.
7698         * gdb.base/eu-strip-infcall.exp: New file.
7699
7700 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
7701
7702         * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7703         * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7704
7705 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
7706
7707         Fix Python access to inlined frames.
7708         * gdb.python/py-frame-inline.c: New file.
7709         * gdb.python/py-frame-inline.exp: New file.
7710
7711 2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7712
7713         * gdb.base/gdb1090.exp: Change breakpoint location to read the
7714         content of 's24' correctly (avoiding "optimized out").
7715         * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7716
7717 2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7718
7719         * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7720
7721 2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
7722
7723         * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7724         expect a colon in watch -location output.
7725
7726 2011-04-13  Marek Polacek  <mpolacek@redhat.com>
7727
7728         * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
7729         New testcase `expect response to define backtrace'.  Also remove
7730         redundant `default' block.
7731
7732 2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7733
7734         * gdb.python/py-prettyprint.c (struct hint_error): New.
7735         (main): New variable hint_error.
7736         * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7737         "print hint_error".
7738         * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7739         (register_pretty_printers): Register it.
7740
7741 2011-04-04  Tom Tromey  <tromey@redhat.com>
7742
7743         * gdb.cp/maint.exp (test_help): Update.
7744         (test_namespace): Likewise.
7745
7746 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
7747
7748         * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7749         * gdb.ada/arrayptr.exp: Add new tests.
7750
7751 2011-04-01  Joel Brobecker  <brobecker@adacore.com>
7752
7753         * gdb.ada/mi_catch_ex: New testcase.
7754
7755 2011-04-01  Pedro Alves  <pedro@codesourcery.com>
7756
7757         * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7758         base::overload(void) method without specifying "const".
7759
7760 2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
7761
7762         * gdb.arch/thumb-singlestep.S: New file.
7763         * gdb.arch/thumb-singlestep.exp: Likewise.
7764
7765 2011-03-31  Tom Tromey  <tromey@redhat.com>
7766
7767         * gdb.python/py-prettyprint.py (exception_flag): New global.
7768         (NoStringContainerPrinter._iterator.next): Check it.
7769         * gdb.python/py-prettyprint.c (main): New variable nstype2.
7770         * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7771
7772 2011-03-29  Tom Tromey  <tromey@redhat.com>
7773
7774         * gdb.cp/anon-struct.cc: New file.
7775         * gdb.cp/anon-struct.exp: New file.
7776
7777 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7778
7779         Test STT_GNU_IFUNC support.
7780         * gdb.base/gnu-ifunc-lib.c: New file.
7781         * gdb.base/gnu-ifunc.c: New file.
7782         * gdb.base/gnu-ifunc.exp: New file.
7783
7784 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7785
7786         Support a ring of related breakpoints.
7787         * gdb.base/watchpoint-delete.c: New file.
7788         * gdb.base/watchpoint-delete.exp: New file.
7789
7790 2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
7791
7792         * gdb.ada/arrayparam.exp (print first after function call): Use
7793         explicit package name.  Add a comment
7794         (print lasta after function call): Rename ...
7795         (print last after function call): ... it and use explicit package
7796         name.
7797         (print length after function call): Use explicit package name.
7798         * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7799         * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7800         (multiple matches for symbol i): Rename ...
7801         (multiple matches for symbol integervar): ... it.
7802         * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7803         * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7804
7805 2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
7806
7807         * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7808         environment variable to make grep output more predictable. Move
7809         all the environment setup into gdb_init so it's done once per test
7810         case rather than each time we start gdb.
7811
7812 2011-03-24  Tom Tromey  <tromey@redhat.com>
7813
7814         * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
7815         test.
7816
7817 2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7818
7819         * gdb.dwarf2/dw2-entry-value-main.c: New file.
7820         * gdb.dwarf2/dw2-entry-value.S: New file.
7821         * gdb.dwarf2/dw2-entry-value.exp: New file.
7822
7823 2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
7824
7825         PR python/12183
7826
7827         * gdb.python/py-function.exp: Add GdbError tests.
7828
7829 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
7830
7831         * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7832         (reglocal_test_func, statlocal_test_func): New functions.
7833         (globals_test_func): Call new functions.
7834         * gdb.trace/unavailable.exp (gdb_collect_args_test)
7835         (gdb_collect_locals_test): New procedure.
7836         (gdb_trace_collection_test): Call new procedures.
7837
7838 2011-03-18  Pedro Alves  <pedro@codesourcery.com>
7839
7840         * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7841         (test_register, test_register_unavailable): New procedures.
7842         (gdb_unavailable_registers_test): New procedure.
7843         (gdb_trace_collection_test): Call it.
7844
7845 2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
7846
7847         PR python/12149
7848
7849         * gdb.python/python.exp: Add gdb.write tests.
7850
7851 2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
7852
7853         * gdb.python/Makefile.in: Add py-objfile.
7854         * gdb.python/py-objfile.exp: New file.
7855         * gdb.python/py-objfile.c: New file.
7856         * gdb.python/py-block.exp: Add is_valid tests.
7857         * gdb.python/py-inferior.exp: Ditto.
7858         * gdb.python/py-infthread.exp: Ditto.
7859         * gdb.python/py-symbol.exp: Ditto.
7860         * gdb.python/py-symtab.exp: Ditto.
7861
7862 2011-03-16  Keith Seitz  <keiths@redhat.com>
7863
7864         PR c++/12273
7865         * gdb.cp/cmpd-minsyms.exp: New test.
7866         * gdb.cp/cmpd-minsyms.cc: New file.
7867
7868         PR c++/11734
7869         * gdb.cp/ovsrch.exp: New test.
7870         * gdb.cp/ovsrch.h: New file.
7871         * gdb.cp/ovsrch1.cc: New file.
7872         * gdb.cp/ovsrch2.cc: New file.
7873         * gdb.cp/ovsrch3.cc: New file.
7874         * gdb.cp/ovsrch4.cc: New file.
7875
7876 2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
7877
7878         PR gdb/12528
7879         * gdb.base/Makefile.in: Adjust EXECUTABLES.
7880         * gdb.base/break-on-linker-gcd-function.exp: New test.
7881         * gdb.base/break-on-linker-gcd-function.cc: New file.
7882
7883 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
7884
7885         * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7886
7887 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
7888
7889         * lib/gdb.exp (gdb_unload): Add another termination case.
7890
7891 2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7892
7893         * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7894         * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7895         * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7896         Provide a stub byte there.
7897         (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7898         DW_AT_entry_pc.
7899         (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7900
7901 2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
7902
7903         * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7904         using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
7905         "generic ABI, auto".
7906         (altivec_abi_tests): Accept vectors returned by reference.
7907
7908 2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
7909
7910         * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7911
7912 2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
7913
7914         * gdb.python/py-section-script.exp: Skip test if no Python support.
7915
7916 2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
7917
7918         * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7919
7920 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
7921
7922         * gdb.python/py-parameter.exp: Update tests to the new Python
7923         parameter API. Add "no documentation" test.  Add deprecated API
7924         backward compatibility test.
7925
7926 2011-03-09  Tom Tromey  <tromey@redhat.com>
7927
7928         * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7929         gdb_continue_to_end.
7930
7931 2011-03-09  Mark Kettenis  <kettenis@gnu.org>
7932
7933         * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7934         tabs.
7935
7936 2011-03-09  Tom Tromey  <tromey@redhat.com>
7937
7938         * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
7939         parentheses.
7940         (gdb_continue_to_end): Add "allow_extra" parameter.  Use
7941         $command.
7942         * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7943         argument to gdb_continue_to_end.
7944         * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7945         argument to gdb_continue_to_end.
7946         * gdb.cp/annota3.exp: Fix regex.
7947         * gdb.cp/annota2.exp: Fix regex.
7948         * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7949         gdb_continue_to_end.
7950         * gdb.base/call-signal-resume.exp: Revert earlier patch.
7951         * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7952         gdb_continue_to_end.
7953
7954 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7955
7956         * gdb.server/ext-run.exp
7957         (load new file without any gdbserver inferior): New test.
7958
7959 2011-03-07  Tom Tromey  <tromey@redhat.com>
7960
7961         * Makefile.in (TAGS): Rewrite.
7962
7963 2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7964
7965         * gdb.trace/report.exp (12.1: trace report #1): New match for the
7966         initial commands echo.  New match for `Found trace'.  Anchor all the
7967         other matches.  Anchor and match for `No trace frame found' the final
7968         match.
7969
7970 2011-03-07  Tom Tromey  <tromey@redhat.com>
7971
7972         * Makefile.in (TAGS): New target.
7973
7974 2011-03-07  Tom Tromey  <tromey@redhat.com>
7975
7976         * lib/opencl.exp (skip_opencl_tests): Update for exit message
7977         change.
7978         * lib/mi-support.exp (mi_gdb_test): Update for exit message
7979         change.
7980         * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
7981         exit message change.
7982         (skip_altivec_tests): Update for exit message change.
7983         (skip_vsx_tests): Likewise.
7984         (gdb_continue_to_end): Likewise.  Add 'command' argument.
7985         * lib/cell.exp (skip_cell_tests): Update for exit message change.
7986         * gdb.threads/tls.exp: Update for exit message change.
7987         * gdb.threads/thread-unwindonsignal.exp: Use
7988         gdb_continue_to_end.
7989         * gdb.threads/step.exp (step_it): Update for exit message change.
7990         (continue_all): Likewise.
7991         * gdb.threads/print-threads.exp (test_all_threads): Update for
7992         exit message change.
7993         * gdb.threads/interrupted-hand-call.exp: Use
7994         gdb_continue_to_end.
7995         * gdb.threads/execl.exp: Use gdb_continue_to_end.
7996         * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7997         gdb_continue_to_end.
7998         * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7999         * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8000         * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8001         * gdb.cp/method.exp: Update for exit message change.
8002         * gdb.cp/mb-templates.exp: Update for exit message change.
8003         * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8004         * gdb.cp/annota3.exp: Update for exit message change.
8005         * gdb.cp/annota2.exp: Update for exit message change.
8006         * gdb.cell/fork.exp: Use gdb_continue_to_end.
8007         * gdb.base/term.exp: Update for exit message change.
8008         * gdb.base/step-test.exp (test_i): Update for exit message change.
8009         * gdb.base/sigstep.exp (advance): Update for exit message change.
8010         (advancei): Likewise.
8011         * gdb.base/siginfo.exp: Update for exit message change.
8012         * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8013         * gdb.base/reread.exp: Use gdb_continue_to_end.
8014         * gdb.base/langs.exp: Use gdb_continue_to_end.
8015         * gdb.base/interrupt.exp: Update for exit message change.
8016         * gdb.base/gdb1555.exp: Update for exit message change.
8017         * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8018         * gdb.base/ending-run.exp: Update for exit message change.
8019         * gdb.base/chng-syms.exp: Update for exit message change.
8020         * gdb.base/checkpoint.exp: Update for exit message change.
8021         * gdb.base/catch-syscall.exp (check_for_program_end): Use
8022         gdb_continue_to_end.
8023         (test_catch_syscall_with_wrong_args): Likewise.
8024         * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8025         * gdb.base/break-interp.exp (test_ld): Update for exit message
8026         change.
8027         * gdb.base/bang.exp: Update for exit message change.
8028         * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8029         (do_call_attach_tests): Likewise.
8030         * gdb.base/a2-run.exp: Update for exit message change.
8031         * gdb.arch/ppc-dfp.exp: Update for exit message change.
8032         * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8033         * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8034
8035 2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
8036
8037         * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8038
8039 2011-03-03  Tom Tromey  <tromey@redhat.com>
8040
8041         * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8042         * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8043         * gdb.hp/gdb.aCC/configure.ac: Remove.
8044         * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8045         * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8046         * gdb.hp/gdb.base-hp/configure.ac: Remove.
8047         * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8048         * gdb.hp/gdb.compat/configure (Makefile): Remove.
8049         * gdb.hp/gdb.compat/configure.ac: Remove.
8050         * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8051         * gdb.hp/gdb.defects/configure (Makefile): Remove.
8052         * gdb.hp/gdb.defects/configure.ac: Remove.
8053         * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8054         * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8055         * gdb.hp/gdb.objdbg/configure.ac: Remove.
8056         * gdb.hp/configure.ac: Remove.
8057         * gdb.hp/configure: Remove.
8058         * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8059         substitution.
8060         (Makefile): Remove rule.
8061         * gdb.cell/configure.ac: Remove.
8062         * gdb.cell/configure: Remove.
8063         * gdb.stabs/Makefile.in (Makefile): Remove.
8064         (distclean): Don't remove config.status or config.log.
8065         * gdb.stabs/configure (Makefile): Remove.
8066         * gdb.stabs/configure.ac: Remove.
8067         * configure: Rebuild.
8068         * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8069         Remove stabs- and cell-specific logic.  Test for existence of
8070         ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
8071         subdirectories, gdb.cell, and and gdb.stabs.
8072         * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8073
8074 2011-03-03  Joel Brobecker  <brobecker@adacore.com>
8075
8076         * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8077         end of buffer.
8078
8079 2011-03-02  Joel Brobecker  <brobecker@adacore.com>
8080
8081         * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8082         gdb_test when running a test where we expected no output back.
8083
8084 2011-02-28  Michael Snyder  <msnyder@vmware.com>
8085
8086         * gdb.cp/overload.cc: Change initializer value to integer.
8087
8088 2011-02-27  Michael Snyder  <msnyder@vmware.com>
8089
8090         * gdb.multi/base.exp: Add test for remove-inferiors.
8091
8092 2011-02-26  Joel Brobecker  <brobecker@adacore.com>
8093
8094         * gdb.python/py-frame.exp: Simplify the initialization phase
8095         using prepare_for_testing.
8096
8097 2011-02-25  Michael Snyder  <msnyder@vmware.com>
8098
8099         * gdb.multi/base.exp: Add tests for info inferiors with args.
8100
8101 2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8102
8103         * gdb.dwarf2/dw2-ranges.S: Rename to ...
8104         * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8105         * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8106         Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8107         asmfile3.  Comment the STABS (#3) file compilation.  Compile
8108         everything through assembler.  Provide KFAIL for symtab/12497.
8109         * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8110         * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8111         * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8112         * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8113
8114 2011-02-24  Michael Snyder  <msnyder@vmware.com>
8115
8116         * gdb.base/break.exp: Add tests for delete breakpoints using
8117         convenience variables and value history references.
8118
8119 2011-02-24  Michael Snyder  <msnyder@vmware.com>
8120
8121         * gdb.base/break.exp: Remove debugging 'printf' accidentally
8122         left behind in previous check-in.
8123
8124 2011-02-23  Michael Snyder  <msnyder@vmware.com>
8125
8126         * gdb.base/break.exp: Add tests for "info break" with arguments.
8127         * gdb.trace/infotrace.exp: Update patterns for error and help.
8128         * gdb.base/completion.exp: Update pattern.
8129         * gdb.base/ena-dis-br.exp: Update pattern.
8130         * gdb.base/help.exp: Update patterns.
8131
8132 2011-02-23  Michael Snyder  <msnyder@vmware.com>
8133
8134         * gdb.base/memattr.exp: New test.
8135         * gdb.base/memattr.c: Test load for memattr.exp.
8136
8137 2011-02-22  Doug Evans  <dje@google.com>
8138
8139         * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8140
8141 2011-02-22  Michael Snyder  <msnyder@vmware.com>
8142
8143         * Makefile.in: Make more clean.
8144         * gdb.ada/Makefile.in: Ditto.
8145         * gdb.arch/Makefile.in: Ditto.
8146         * gdb.asm/Makefile.in: Ditto.
8147         * gdb.base/Makefile.in: Ditto.
8148         * gdb.cp/Makefile.in: Ditto.
8149         * gdb.dwarf2/Makefile.in: Ditto.
8150         * gdb.java/Makefile.in: Ditto.
8151         * gdb.mi/Makefile.in: Ditto.
8152         * gdb.modula2/Makefile.in: Ditto.
8153         * gdb.python/Makefile.in: Ditto.
8154         * gdb.server/Makefile.in: Ditto.
8155         * gdb.stabs/Makefile.in: Ditto.
8156         * gdb.threads/Makefile.in: Ditto.
8157         * gdb.trace/Makefile.in: Ditto.
8158
8159 2011-02-22  Michael Snyder  <msnyder@vmware.com>
8160
8161         * gdb.threads/thread-find.exp: Add tests for bad input to
8162         info threads.
8163
8164 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8165
8166         * gdb.python/py-breakpoint.exp: Fix the expected output of
8167         one of the "maint info breakpoints" tests to accept the output
8168         generated on platforms that do not have hardware watchpoints.
8169
8170 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8171
8172         * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8173         clean_restart.  Be a little stricter in the expected output
8174         for one of the tests.  Fix a typo in one of the comments.
8175
8176 2011-02-22  Joel Brobecker  <brobecker@adacore.com>
8177
8178         * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8179         Delete variable binfile, no longer use.  Add or modify test
8180         comments to make them unique.
8181
8182 2011-02-21  Michael Snyder  <msnyder@vmware.com>
8183
8184         * Makefile.in: Update for make clean.
8185         * gdb.ada/Makefile.in: Ditto.
8186         * gdb.arch/Makefile.in: Ditto.
8187         * gdb.asm/Makefile.in: Ditto.
8188         * gdb.base/Makefile.in: Ditto.
8189         * gdb.cp/Makefile.in: Ditto.
8190         * gdb.dwarf2/Makefile.in: Ditto.
8191         * gdb.java/Makefile.in: Ditto.
8192         * gdb.mi/Makefile.in: Ditto.
8193         * gdb.modula2/Makefile.in: Ditto.
8194         * gdb.python/Makefile.in: Ditto.
8195         * gdb.server/Makefile.in: Ditto.
8196         * gdb.stabs/Makefile.in: Ditto.
8197         * gdb.threads/Makefile.in: Ditto.
8198         * gdb.trace/Makefile.in: Ditto.
8199
8200 2011-02-21  Michael Snyder  <msnyder@vmware.com>
8201
8202         * gdb.threads/thread-find.exp: Update patterns for changes in
8203         output of "info threads" command.
8204
8205 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8206             Ulrich Weigand  <uweigand@de.ibm.com>
8207
8208         * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8209         (skip_hw_watchpoint_tests): Likewise.
8210         (skip_hw_watchpoint_multi_tests): Likewise.
8211
8212 2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
8213
8214         * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8215         (skip_hw_watchpoint_tests): Likewise.
8216         (skip_hw_watchpoint_multi_tests): Likewise.
8217         (skip_hw_watchpoint_access_tests): Likewise.
8218
8219         * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8220         * gdb.base/pr11022.exp: Likewise.
8221         * gdb.base/watch-read.exp: Likewise.
8222         * gdb.base/watch_thread_num.exp: Likewise.
8223         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8224         * gdb.base/watchpoint-hw.exp: Likewise.
8225         * gdb.base/watchpoint.exp: Likewise.
8226         * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8227         * gdb.threads/watchthreads-reorder.exp: Likewise.
8228         * gdb.threads/watchthreads.exp: Likewise.
8229         * gdb.threads/watchthreads2.exp: Likewise.
8230
8231 2011-02-21  Joel Brobecker  <brobecker@adacore.com>
8232
8233         * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8234         the debugger is unable to find the array bounds.
8235
8236 2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
8237
8238         * gdb.cp/typedef-operator.exp: New file.
8239         * gdb.cp/typedef-operator.cc: New file.
8240
8241 2011-02-17  Michael Snyder  <msnyder@vmware.com>
8242
8243         * gdb.threads/thread-find.exp: Fix regular expressions.
8244
8245 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
8246
8247         * gdb.ada/packed_array: Expand testcase to test printing of
8248         unconstrained packed array.
8249
8250 2011-02-17  Joel Brobecker  <brobecker@adacore.com>
8251
8252         * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8253
8254 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
8255
8256         * gdb.trace/collection.c (globalarr3): New global.
8257         (main): Initialize it before collecting, and and clear it
8258         afterwards.
8259         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8260         collecting with '{type} addr', where the addr expression is not an
8261         rvalue.
8262
8263 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
8264
8265         * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
8266         a bool variable. Expect correct OpenCL names for vector types. Use the
8267         uc3 variable name instead of referring to the uchar3 built-in type.
8268         Escape the asterisk at the half pointer test.
8269
8270 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
8271
8272         * gdb.trace/collection.c (globalarr2): New global.
8273         (main): Initialize it before collecting, and and clear it
8274         afterwards.
8275         * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8276         collecting overlapping memory ranges.
8277
8278 2011-02-15  Michael Snyder  <msnyder@vmware.com>
8279
8280         * gdb.base/default.exp: Add tests for thread commands.
8281         * gdb.base/help.exp: Add tests for thread commands.
8282         * gdb.threads/thread-find.exp: New test for thread find command.
8283
8284 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
8285
8286         * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
8287
8288 2011-02-15  Yao Qi  <yao@codesourcery.com>
8289
8290         PR tdep/12352
8291         * gdb.arch/arm-disp-step.S : New test for str instruction.
8292         * gdb.arch/arm-disp-step.exp : Likewise.
8293
8294 2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8295
8296         * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
8297         "vector_register2_vr" test strings.  Test the extended floating
8298         point registers (F32~F63).
8299         * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
8300         IBM XL C compiler.  Make the test program use a register provided
8301         by the compiler for the lxvd2x instruction.
8302
8303 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8304
8305         * gdb.trace/unavailable.cc (class Base, class Middle, class
8306         Derived): New types.
8307         (derived_unavail, derived_partial, derived_whole): New globals.
8308         (virtual_partial): New global.
8309         (virtualp): Point at virtual_partial.
8310         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
8311         related to unavailable vptr.
8312
8313 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8314
8315         * gdb.trace/unavailable.cc (a, b, c): New globals.
8316         (main): Set and clear them.
8317         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
8318         `a' and `c', and check that `b' isn't collected, although `a' and
8319         `c' are.
8320
8321 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8322
8323         * gdb.trace/unavailable.cc (struct Virtual): New.
8324         (virtualp): New global pointer.
8325         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
8326         printing a pointer to an object whose type has a vtable, with
8327         print object on.
8328
8329 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8330
8331         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
8332         value repeat handles unavailableness.
8333
8334 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8335
8336         * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
8337         tests for building arrays from unavailable values, subscripting
8338         non-memory rvalue unvailable arrays, and accessing fields or
8339         baseclasses of non-lazy unavailable values,
8340         * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
8341         struct types.
8342         (g_smallstruct, g_smallstruct_b): New globals.
8343
8344 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
8345
8346         * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
8347
8348 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
8349
8350         Fix const/volatile qualifiers of C++ types, PR c++/12328.
8351         * gdb.cp/overload-const.exp: New file.
8352         * gdb.cp/overload-const.cc: New file.
8353
8354 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
8355
8356         * gdb.opencl/callfuncs.cl: New file.
8357         * gdb.opencl/callfuncs.exp: New test.
8358         * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
8359
8360 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
8361
8362         * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
8363         when computing result.
8364         * gdb.arch/altivec-abi.exp: Update expected results.
8365
8366 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8367
8368         * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
8369         * gdb.base/jit.exp: Likewise.
8370         * gdb.base/pie-execl.exp: Likewise.
8371         * gdb.base/solib-nodir.exp: Likewise.
8372         * gdb.base/solib-overlap.exp: Likewise.
8373
8374 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
8375
8376         * gdb.trace/collection.c (global_pieces): New.
8377         * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
8378         New procedure.
8379         (gdb_trace_collection_test): Call it.
8380
8381 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
8382
8383         * gdb.python/py-evthreads.c: New file.
8384         * gdb.python/py-evthreads.exp: New file.
8385         * gdb.python/py-events.py: New file.
8386         * gdb.python/py-events.exp: New file.
8387         * gdb.python/py-events.c: New file.
8388
8389 2011-02-04 David Daney <ddaney@caviumnetworks.com>
8390
8391         * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
8392
8393 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
8394
8395         * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
8396         gdb.base/disasm-end-cu.exp: New test for disassembling over the
8397         boundary between two compilation units.
8398
8399 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
8400
8401         * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
8402         (Virtual): New structs.
8403         (virtual_o, virtual_middle_b): New globals.
8404         * gdb.cp/virtbase.exp: New tests.
8405
8406 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
8407
8408         * gdb.base/jit.exp: New file.
8409         * gdb.base/jit-main.c: New file.
8410         * gdb.base/jit-solib.c: New file.
8411
8412 2011-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
8413
8414         * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
8415         proceed to initial kernel entry point.
8416         * gdb.opencl/datatypes.exp: Likewise.
8417         * gdb.opencl/operators.exp: Likewise.
8418         * gdb.opencl/vec_comps.exp: Likewise.
8419
8420 2011-01-31  Sami Wagiaalla  <swagiaal@redhat.com>
8421
8422         * gdb.cp/nsnested.cc: New.
8423         * gdb.cp/nsnested.exp: New.
8424         * gdb.cp/nsnoimports.exp: New.
8425         * gdb.cp/nsnoimports.cc: New.
8426
8427 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
8428
8429         * gdb.base/interact.exp: Add extra tests that verify that
8430         the value of the interactive-mode setting does not change
8431         after the script is sourced.
8432
8433 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
8434
8435         * gdb.cp/noparam.exp: New file.
8436         * gdb.cp/noparam.cc: New file.
8437
8438 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
8439
8440         * gdb.trace/tfile.exp: Test that with no traceframe selected,
8441         there's no stack or registers.
8442
8443 2011-01-26  Tom Tromey  <tromey@redhat.com>
8444
8445         * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
8446         space before string output.  Add test for "set print pretty off"
8447         case.
8448
8449 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
8450
8451         * gdb.base/frame-args.exp: Adjust.
8452         * gdb.dwarf2/dw2-noloc.exp: Adjust.
8453         * gdb.dwarf2/dw2-inline-param.exp: Adjust.
8454         * gdb.dwarf2/pieces.exp: Adjust.
8455         * gdb.opt/clobbered-registers-O2.exp: Adjust.
8456         * gdb.opt/inline-locals.exp: Adjust.
8457         * gdb.threads/fork-child-threads.exp: Adjust.
8458
8459 2011-01-25  Ken Werner  <ken.werner@de.ibm.com>
8460
8461         * gdb.opencl/convs_casts.cl: Move program scope variables into the
8462         OpenCL kernel function. Add a comment as marker. Add address space
8463         qualifiers for the remaining program scope variables.
8464         * gdb.opencl/datatypes.cl: Likewise.
8465         * gdb.opencl/operators.cl: Likewise.
8466         * gdb.opencl/vec_comps.cl: Likewise.
8467         * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
8468         Add breakpoint at the marker comment.
8469         * gdb.opencl/datatypes.exp: Likewise.
8470         * gdb.opencl/operators.exp: Likewise.
8471         * gdb.opencl/vec_comps.exp: Likewise.
8472
8473 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
8474
8475         * gdb.base/printcmds.c (some_struct): New struct and instance.
8476         * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
8477         procedure.
8478         <global scope>: Call it.
8479
8480 2011-01-21  Ken Werner  <ken.werner@de.ibm.com>
8481
8482         * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
8483         argument to the gdb_compile_opencl_hostapp call.
8484
8485 2011-01-19  Yao Qi  <yao@codesourcery.com>
8486
8487         * lib/dwarf.exp (dwarf2_support): Change supported targets to a
8488         positve list.
8489
8490 2011-01-19  Yao Qi  <yao@codesourcery.com>
8491
8492         * gdb.asm/asm-source.exp: Replace ARM target triplet with a
8493         canonical form.
8494         Remove "xscale-*-*"
8495         * gdb.xml/tdesc-regs.exp: Likewise.
8496         * gdb.python/py-section-script.exp: Replace ARM target triplet
8497         with canonical form.
8498         Match arm*-*-symbianelf*.
8499         * gdb.base/dup-sect.exp: Likewise.
8500         * lib/dwarf.exp: New.
8501         * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
8502         dwarf2_support.
8503         * gdb.dwarf2/dup-psym.exp: Likewise.
8504         * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
8505         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8506         * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
8507         * gdb.dwarf2/dw2-basic.exp: Likewise.
8508         * gdb.dwarf2/dw2-compressed.exp: Likewise.
8509         * gdb.dwarf2/dw2-const.exp: Likewise.
8510         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
8511         * gdb.dwarf2/dw2-cu-size.exp: Likewise.
8512         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8513         * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
8514         * gdb.dwarf2/dw2-filename.exp: Likewise.
8515         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8516         * gdb.dwarf2/dw2-inline-param.exp: Likewise.
8517         * gdb.dwarf2/dw2-intercu.exp: Likewise.
8518         * gdb.dwarf2/dw2-intermix.exp: Likewise.
8519         * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
8520         * gdb.dwarf2/dw2-noloc.exp: Likewise.
8521         * gdb.dwarf2/dw2-op-call.exp: Likewise.
8522         * gdb.dwarf2/dw2-producer.exp: Likewise.
8523         * gdb.dwarf2/dw2-ranges.exp: Likewise.
8524         * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
8525         * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
8526         * gdb.dwarf2/dw2-strp.exp: Likewise.
8527         * gdb.dwarf2/dw2-unresolved.exp: Likewise.
8528         * gdb.dwarf2/implptr.exp: Likewise.
8529         * gdb.dwarf2/mac-fileno.exp: Likewise.
8530         * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
8531         * gdb.dwarf2/pieces.exp: Likewise.
8532         * gdb.dwarf2/pr11465.exp: Likewise.
8533         * gdb.dwarf2/valop.exp: Likewise.
8534         * gdb.dwarf2/watch-notconst.exp: Likewise.
8535         * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
8536
8537 2011-01-19  Tom Tromey  <tromey@redhat.com>
8538
8539         * gdb.python/py-infthread.exp: Add thread tests.
8540
8541 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
8542
8543         * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
8544
8545 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
8546
8547         * gdb.ada/widewide: New testcase.
8548
8549 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
8550
8551         * gdb.base/interact.exp: New testcase.
8552
8553 2011-01-12  Tom Tromey  <tromey@redhat.com>
8554
8555         * gdb.mi/gdb2549.exp: Update for error message changes.
8556         * gdb.mi/mi-cli.exp: Likewise.
8557         * gdb.mi/mi-disassemble.exp: Likewise.
8558         * gdb.mi/mi-pthreads.exp: Likewise.
8559         * gdb.mi/mi-regs.exp: Likewise.
8560         * gdb.mi/mi-stack.exp: Likewise.
8561         * gdb.mi/mi-var-block.exp: Likewise.
8562         * gdb.mi/mi-var-cmd.exp: Likewise.
8563         * gdb.mi/mi2-cli.exp: Likewise.
8564         * gdb.mi/mi2-disassemble.exp: Likewise.
8565         * gdb.mi/mi2-pthreads.exp: Likewise.
8566         * gdb.mi/mi2-regs.exp: Likewise.
8567         * gdb.mi/mi2-stack.exp: Likewise.
8568         * gdb.mi/mi2-var-block.exp: Likewise.
8569         * gdb.mi/mi2-var-cmd.exp: Likewise.
8570
8571 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
8572             Jan Kratochvil  <jan.kratochvil@redhat.com>
8573
8574         PR fortran/11104 and DWARF unbound arrays detection.
8575         * gdb.fortran/multi-dim.exp: New file.
8576         * gdb.fortran/multi-dim.f90: New file.
8577
8578 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
8579
8580         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8581         expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8582         add new tests for opcode dumping.
8583
8584 2011-01-11  Tom Tromey  <tromey@redhat.com>
8585
8586         * gdb.python/py-infthread.exp: Load gdb-python.exp.
8587
8588 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
8589
8590         Convert hardware watchpoints to use breakpoint_ops.
8591         * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8592         type is not supported.
8593         * gdb.base/foll-fork.exp: Likewise.
8594         * gdb.base/foll-vfork.exp: Likewise.
8595
8596 2011-01-10  Phil Muldoon  <pmuldoon@redhat.com>
8597
8598         * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8599         Use load_lib gdb-python.exp.
8600         * gdb.python/python.exp: Ditto.
8601         * gdb.python/py-function.exp: Ditto.
8602
8603 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
8604
8605         * gdb.threads/tls.exp ("info address me"): Fix expected output.
8606
8607 2011-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
8608
8609         * configure: Regenerate.
8610
8611 2011-01-06  Tom Tromey  <tromey@redhat.com>
8612
8613         * gdb.python/py-frame.exp: Test gdb.newest_frame.
8614
8615 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
8616
8617         * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8618         gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8619         gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8620         gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8621         gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8622         gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8623         gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8624         gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8625         gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8626         gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8627         gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8628         gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8629         gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8630         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8631         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8632         gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8633         gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8634         gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8635         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8636         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8637         gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8638         gdb.ada/uninitialized_vars.exp,
8639         gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8640         Simplify by using clean_restart.
8641
8642 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
8643
8644         Add marker to be used as anchor for inserting breakpoints.
8645         * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8646         * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8647         Likewise.
8648
8649         Remove uses of gdb_start_cmd.
8650         * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8651         * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8652
8653         Do not run testcase if testing with GDBserver.
8654         * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8655         if testing with GDBserver.
8656
8657 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
8658
8659         * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8660         gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8661         copyright header.
8662
8663 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
8664
8665         * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8666         testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8667         testsuite/gdb.fortran/complex.f,
8668         testsuite/gdb.fortran/derived-type.f90,
8669         testsuite/gdb.fortran/library-module-lib.f90,
8670         testsuite/gdb.fortran/library-module-main.f90,
8671         testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8672         testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8673         Copyright year update.
8674
8675 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
8676
8677         * gdb.base/langs1.f: Add copyright header.
8678
8679 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8680
8681         * gdb.base/morestack.exp: New file.
8682         * gdb.base/morestack.c: New file.
8683
8684 2011-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8685
8686         * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8687
8688 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
8689
8690         * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8691         * gdb.ada/arrayptr.exp: Add test printing that new variable.
8692
8693 2010-12-29  Joel Brobecker  <brobecker@adacore.com>
8694
8695         * gdb.ada/lang_switch.exp: Correct expected parameter value.
8696
8697 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
8698
8699         * gdb.threads/tls.exp: Fix typo.
8700
8701         * gdb.threads/thread-specific.exp (get_thread_list): Update.
8702         * gdb.threads/execl.exp: Update.
8703
8704 2010-12-23  Yao Qi  <yao@codesourcery.com>
8705
8706         * gdb.arch/arm-disp-step.exp: New.
8707         * gdb.arch/arm-disp-step.S: New.
8708
8709 2010-12-21  Tom Tromey  <tromey@redhat.com>
8710
8711         * gdb.threads/execl.exp: Update.
8712         * gdb.threads/linux-dp.exp: Update.
8713         * gdb.threads/manythreads.exp: Update.
8714         * gdb.threads/tls.exp: Update.
8715
8716 2010-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8717
8718         * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8719         (NextOverThrowDerivates) <resumebpt>: New.
8720         (resumebpt_test): New.
8721         (main): Call resumebpt_test.
8722         * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8723
8724 2010-12-12  Stan Shebs  <stan@codesourcery.com>
8725
8726         * gdb.trace/tsv.exp: Test print command on trace state variables.
8727
8728 2010-12-09  Tom Tromey  <tromey@redhat.com>
8729
8730         * gdb.base/interp.exp: Add regression test.
8731
8732 2010-12-09  Tom Tromey  <tromey@redhat.com>
8733
8734         * gdb.java/jnpe.java: New file.
8735         * gdb.java/jnpe.exp: New file.
8736         * gdb.cp/nextoverthrow.exp: New file.
8737         * gdb.cp/nextoverthrow.cc: New file.
8738
8739 2010-12-07  Doug Evans  <dje@google.com>
8740
8741         * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8742         of data-directory.
8743         * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8744         updated.
8745         * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8746
8747 2010-11-29  Michael Snyder  <msnyder@vmware.com>
8748
8749         * gdb.base/callfuncs.exp: Test for skip_float_tests.
8750         * gdb.base/call-sc.exp: Ditto.
8751         * gdb.base/finish.exp: Ditto.
8752         * gdb.base/return.exp: Ditto.
8753         * gdb.base/return2.exp: Ditto.
8754
8755 2010-11-30  Doug Evans  <dje@google.com>
8756
8757         * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8758         (gdb_expect_list): Fix spelling errors in comments.
8759         * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8760         send_gdb/gdb_expect_list where applicable.
8761         * gdb.base/call-ar-st.exp: Ditto.
8762         * gdb.base/funcargs.exp: Ditto.
8763         * gdb.base/gcore.exp: Ditto.
8764         * gdb.base/page.exp: Ditto.
8765         * gdb.base/sigaltstack.exp: Ditto.
8766         * gdb.base/siginfo.exp: Ditto.
8767         * gdb.base/sigstep.exp: Ditto.
8768         * gdb.base/trace-commands.exp: Ditto.
8769
8770 2010-11-29  Doug Evans  <dje@google.com>
8771
8772         * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8773         printer-name;subprinter-name.
8774
8775 2010-11-29  Tom Tromey  <tromey@redhat.com>
8776
8777         * gdb.dwarf2/implptr.exp: New file.
8778         * gdb.dwarf2/implptr.c: New file.
8779         * gdb.dwarf2/implptr.S: New file.
8780
8781 2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>
8782
8783         PR python/12199
8784
8785         * gdb.python/py-breakpoint.exp: Test the delete method.
8786
8787 2010-11-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
8788
8789         Fix step_resume_breakpoint unsaved during an infcall.
8790         * gdb.base/step-resume-infcall.exp: New file.
8791         * gdb.base/step-resume-infcall.c: New file.
8792
8793 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
8794
8795         * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8796
8797 2010-11-24  Edjunior Machado  <emachado@br.ibm.com>
8798
8799         * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8800         on ppc64's symbols; "finish" and "return" commands must accept to
8801         show the caller line again as well as the line after.
8802         * gdb.asm/powerpc64.inc: New file.
8803
8804 2010-11-23  Doug Evans  <dje@google.com>
8805
8806         * lib/gdb.exp (gdb_test_sequence): New function.
8807         (gdb_expect_list): Add verbose -log call for each pattern.
8808         * gdb.base/signals.exp (test_handle_all_print): Call it.
8809         Reduce timeout increment from 6 minutes to 1 minute.
8810         * gdb.server/ext-run.exp: Call it.
8811
8812 2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>
8813
8814         PR python/12212
8815
8816         * gdb.python/python.exp: Check that selected_thread raises an
8817         error when no inferior is loaded.
8818
8819 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8820
8821         * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8822         * gdb.dwarf2/dw2-stack-boundary.S: New file.
8823
8824 2010-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8825
8826         * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8827         * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8828
8829 2010-11-18  Doug Evans  <dje@google.com>
8830
8831         * gdb.server/ext-run.exp: Fix intermittent failures.
8832
8833 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
8834
8835         * gdb.stabs/gdb11479.exp: Use runto_main.
8836
8837 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
8838
8839         * gdb.base/break-entry.exp: Skip if using a stub.
8840
8841 2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
8842
8843         * gdb.python/py-inferior.exp: Pack values in target endianness.
8844
8845 2010-11-12  Tom Tromey  <tromey@redhat.com>
8846
8847         * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8848         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8849         MemoryError.
8850         * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8851         type.
8852         * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8853         MemoryError.
8854         (test_subscript_regression): Update exception type.
8855
8856 2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
8857
8858         * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8859         breakpoint tests.
8860
8861 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
8862
8863         * gdb.base/watchpoint.exp: Test "watch -location" with an
8864         innacessible location.
8865
8866 2010-11-09  Edjunior Machado  <emachado@br.ibm.com>
8867             Luis Machado  <luisgpm@br.ibm.com>
8868
8869         * gdb.base/maint.exp: Expect "." prefix.
8870         * gdb.base/nodebug.exp: Expect "." Likewise.
8871         * gdb.base/sepsymtab.exp: Expect "." Likewise.
8872         * gdb.base/watchpoint-cond-gone.exp: Likewise.
8873         * gdb.base/watchpoint.exp: Expect a software watch to be created for
8874         POWER server processors.
8875
8876 2010-11-08  Edjunior Machado  <emachado@br.ibm.com>
8877             Luis Machado  <luisgpm@br.ibm.com>
8878
8879         * gdb.base/break-entry.exp: convert entry point for
8880         ppc64 and expect leading `.' on ppc64's symbols
8881
8882 2010-11-05  Doug Evans  <dje@google.com>
8883
8884         * gdb.base/help.exp: Update expected output.
8885         * gdb.python/py-param.exp: Delete, contents moved to ...
8886         * gdb.python/py-parameter.exp: ... here.  New file.
8887         Add test for gdb.parameter ("directories").
8888
8889 2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
8890
8891         * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8892         * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8893         * configure: Regenerate.
8894         * gdb.opencl/Makefile.in: New File.
8895         * gdb.opencl/datatypes.exp: Likewise.
8896         * gdb.opencl/datatypes.cl: Likewise.
8897         * gdb.opencl/operators.exp: Likewise.
8898         * gdb.opencl/operators.cl: Likewise.
8899         * gdb.opencl/vec_comps.exp: Likewise.
8900         * gdb.opencl/vec_comps.cl: Likewise.
8901         * gdb.opencl/convs_casts.exp: Likewise.
8902         * gdb.opencl/convs_casts.cl: Likewise.
8903         * lib/opencl.exp: Likewise.
8904         * lib/opencl_hostapp.c: Likewise.
8905         * lib/opencl_kernel.cl: Likewise.
8906         * lib/cl_util.c: Likewise.
8907         * lib/cl_util.c: Likewise.
8908         * gdb.base/default.exp (set language): Add "opencl" to the list of
8909         languages.
8910
8911 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
8912
8913         * gdb.cp/overload.exp: Added test for inheritance overload.
8914         * gdb.cp/overload.cc: Ditto.
8915         * gdb.cp/oranking.exp: Removed releveant kfails.
8916
8917 2010-11-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
8918             Joel Brobecker  <brobecker@adacore.com>
8919
8920         * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8921         check test_compiler_info.
8922
8923 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
8924
8925         * gdb.base/gnu_vector.exp: Adjust expect messages.
8926
8927 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
8928
8929         * gdb.base/gnu_vector.exp: Add unary operator tests.
8930
8931 2010-11-03  Ken Werner  <ken.werner@de.ibm.com>
8932
8933         * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8934
8935 2010-11-02  Doug Evans  <dje@google.com>
8936
8937         * gdb.python/py-pp-maint.c: New file.
8938         * gdb.python/py-pp-maint.exp: New file.
8939         * gdb.python/py-pp-maint.py: New file.
8940
8941 2010-11-02  Tom Tromey  <tromey@redhat.com>
8942
8943         * gdb.base/default.exp: Remove "scheme" from language list.
8944
8945 2010-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8946
8947         Revert:
8948         2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8949         * gdb.threads/sigstep-threads.exp: New file.
8950         * gdb.threads/sigstep-threads.c: New file.
8951
8952 2010-10-20  Michael Snyder  <msnyder@vmware.com>
8953
8954         * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8955
8956 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
8957
8958         * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8959         Skip test completely if gdb,no_hardware_watchpoints.
8960
8961 2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
8962
8963         * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8964         strict, but do not check for any particular function name within libc.
8965
8966 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
8967
8968         * gdb.cp/smartp.exp: New test.
8969         * gdb.cp/smartp.cc : New test.
8970
8971 2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
8972
8973         * gdb.cp/converts.exp: Test pointer to bool conversion.
8974         Test pointer to long conversion.
8975         * gdb.cp/oranking.exp: Removed relevant kfail.
8976
8977 2010-10-18  Tom Tromey  <tromey@redhat.com>
8978
8979         * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8980         argument to lazy_string.
8981         * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8982         (pp_ls.to_string): Use it.
8983         * gdb.python/py-prettyprint.c (main): Move declarations to top.
8984         Add "estring2" local.
8985
8986 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8987
8988         Fix s390x compatibility.
8989         * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS.  Twice.
8990         * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8991
8992 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8993
8994         * gdb.threads/sigstep-threads.exp: New file.
8995         * gdb.threads/sigstep-threads.c: New file.
8996
8997 2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
8998
8999         * gdb.base/pie-execl.exp: New file.
9000         * gdb.base/pie-execl.c: New file.
9001
9002 2010-10-13  Doug Evans  <dje@google.com>
9003             Jan Kratochvil  <jan.kratochvil@redhat.com>
9004
9005         PR exp/12117
9006         * gdb.cp/ptype-cv-cp.cc: New file.
9007         * gdb.cp/ptype-cv-cp.exp: New file.
9008
9009 2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
9010
9011         * gdb.cp/converts.cc: New test program.
9012         * gdb.cp/converts.exp: New test.
9013         * gdb.cp/overload.exp: Added test for void* vs int*.
9014         * gdb.cp/overload.exp: Ditto.
9015         * gdb.cp/oranking.exp: Removed related kfail.
9016
9017 2010-10-13  Doug Evans  <dje@google.com>
9018
9019         * lib/gdb-python.exp (gdb_check_python_config): New function.
9020         * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9021         * gdb.python/lib-types.cc: New file.
9022         * gdb.python/lib-types.exp: New file.
9023
9024 2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9025
9026         * gdb.python/py-error.exp: New file.
9027         * gdb.python/py-error.py: New file.
9028
9029 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9030
9031         * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9032         gdb_test_multiple.
9033
9034 2010-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
9035
9036         * gdb.base/break-interp.exp: Use ldlags for linking flags.
9037         * gdb.base/prelink.exp: Likewise.
9038         * gdb.base/solib-nodir.exp: Likewise.
9039         * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9040         (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9041         * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9042
9043 2010-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
9044
9045         * break-interp.exp (test_ld): Use two separate gdb_expect statements
9046         for the "info files" test to avoid timeouts on slow machines.
9047
9048 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9049
9050         * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9051         (main): Make openlib dummy call.
9052
9053 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9054
9055         Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9056         * break-interp.exp (reach): Move the core body ...
9057         (reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
9058         (test_ld): Provide always real argument, even to the linker.  Replace
9059         dl_main by _dl_debug_state.
9060
9061 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9062
9063         Fix results of prelinked PIEs on ppc*.
9064         * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9065         Accept also DISPLACEMENT "PRESENT".
9066         (main): Replace "ZERO" displacements by "PRESENT".
9067
9068 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
9069
9070         * gdb.cp/oranking.exp: New test.
9071         * gdb.cp/oranking.cc: New test program.
9072
9073 2010-10-08  Ken Werner  <ken.werner@de.ibm.com>
9074
9075         * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9076         * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9077
9078 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
9079
9080         * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9081         lush, lynx) New constant.
9082         * gdb.base/constvars.exp: Test const array types.
9083         * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9084
9085 2010-10-06  Doug Evans  <dje@google.com>
9086
9087         * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9088         of syscall staging area.
9089
9090 2010-10-06  Ken Werner  <ken.werner@de.ibm.com>
9091
9092         * gdb.base/gnu_vector.c: Add variable c4.
9093         * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9094         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9095
9096 2010-10-05  Maciej W. Rozycki  <macro@codesourcery.com>
9097
9098         * gdb.arch/altivec-abi.exp: Fix a typo.
9099
9100 2010-10-02  Maciej W. Rozycki  <macro@codesourcery.com>
9101
9102         * lib/mi-support.exp (thread_selected_re): Correct pattern used
9103         to match a thread ID.
9104
9105 2010-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9106
9107         Fix s390x testcase compatibility.
9108         * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9109
9110 2010-10-01  Doug Evans  <dje@google.com>
9111
9112         * lib/gdb-python.exp: New file.
9113         * gdb.python/py-block.exp: Use it.
9114         * gdb.python/py-breakpoint.exp: Ditto.
9115         * gdb.python/py-frame.exp: Ditto.
9116         * gdb.python/py-inferior.exp: Ditto.
9117         * gdb.python/py-param.exp: Ditto.
9118         * gdb.python/py-prettyprint.exp: Ditto.
9119         * gdb.python/py-shared.exp: Ditto.
9120         * gdb.python/py-symbol.exp: Ditto.
9121         * gdb.python/py-symtab.exp: Ditto.
9122         * gdb.python/py-type.exp: Ditto.
9123         * gdb.python/py-value.exp: Ditto.
9124         * gdb.python/python.exp: Ditto.
9125
9126 2010-09-30  Tom Tromey  <tromey@redhat.com>
9127
9128         * gdb.base/anon.exp: New file.
9129         * gdb.base/anon.c: New file.
9130
9131 2010-09-30  Tom Tromey  <tromey@redhat.com>
9132
9133         * gdb.base/completion.exp: Test completion through anonymous
9134         union.
9135         * gdb.base/break1.c (struct some_struct): Add anonymous union.
9136
9137 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
9138
9139         Fix printing parameters of inlined functions.
9140         * gdb.dwarf2/dw2-inline-param.exp: New file.
9141         * gdb.dwarf2/dw2-inline-param-main.c: New file.
9142         * gdb.dwarf2/dw2-inline-param.S: New file.
9143
9144 2010-09-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
9145
9146         PR corefiles/12071.
9147         * gdb.base/corefile.exp (quit with a process, no question: load core)
9148         (quit with a core file): New tests.
9149
9150 2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
9151
9152         Fix GDB crash on inferior calls with self-referencing classes.
9153         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9154         * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9155         * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9156
9157 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9158
9159         Fix lost siginfo_t for inferior calls.
9160         * gdb.base/siginfo-infcall.exp: New file.
9161         * gdb.base/siginfo-infcall.c: New file.
9162
9163 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9164
9165         * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9166
9167 2010-09-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
9168
9169         * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9170         New test.
9171         * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9172
9173 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9174
9175         * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9176         type of our const type.
9177
9178 2010-09-22  Sami Wagiaalla  <swagiaal@redhat.com>
9179
9180         * gdb.cp/pr12028.cc: New.
9181         * gdb.cp/pr12028.exp: New.
9182
9183 2010-09-22  Joel Brobecker  <brobecker@adacore.com>
9184
9185         * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9186
9187 2010-09-16  Phil Muldoon  <pmuldoon@redhat.com>
9188             Jan Kratochvil  <jan.kratochvil@redhat.com>
9189
9190         PR mi/11407
9191         * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9192         * gdb.mi/dw2-ref-missing-frame-main.c New File.
9193         * gdb.mi/dw2-ref-missing-frame.S New File.
9194         * gdb.mi/dw2-ref-missing-frame.exp New File.
9195
9196 2010-09-14  Tom Tromey  <tromey@redhat.com>
9197
9198         PR symtab/8399:
9199         * gdb.threads/tls.exp: Remove kfail.  Update expected output.
9200
9201 2010-09-14  Tom Tromey  <tromey@redhat.com>
9202
9203         PR exp/11803:
9204         * gdb.threads/tls.exp: Use C++.
9205         (check_thread_local): Use K::another_thread_local.
9206         * gdb.threads/tls.c (class K): New.
9207         (another_thread_local): Now a member of K.
9208         (spin): Update.  No longer K&R C.
9209
9210 2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
9211
9212         * gdb.cp/koenig.cc: created class for testing member lookup.
9213         * gdb.cp/koenig.exp: Added test for member lookup.
9214
9215 2010-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
9216
9217         Fix false FAILs on sourcetree topdir directory containing "kill".
9218         * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9219         source line matching regexp.
9220
9221 2010-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9222
9223         * gdb.python/python.exp (set height 0, collect help from uiout)
9224         (verify help to uiout): New tests.
9225
9226 2010-09-10  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9227
9228         * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9229         is_lp64_target to check 64bit target.
9230
9231 2010-09-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
9232
9233         * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9234         (test_ld) <powerpc64-*>: New.
9235
9236 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
9237
9238         * gdb.cp/templates.exp (test_template_args): Allow "struct".
9239
9240 2010-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
9241
9242         * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9243         (FunctionArg::method): New function.
9244         (empty, arg): New variables.
9245         (main): Call arg.method.
9246         * gdb.cp/templates.exp (test_template_args): New function.
9247         (do_tests): Call it.
9248
9249 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
9250
9251         * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9252         of "next" to proceed over pthread_exit call.
9253
9254 2010-09-08  Ulrich Weigand  <uweigand@de.ibm.com>
9255
9256         * gdb.base/maint.exp: Avoid wildcards against potentially very long
9257         "maint print statistics" output to prevent expect timeouts.
9258
9259 2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
9260
9261         * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
9262         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9263         (test_float_rejected): ... here.
9264         * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
9265         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9266         (test_float_rejected): ... here.
9267         * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
9268         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9269         (test_float_rejected): ... here.
9270         * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
9271         Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9272         (test_float_rejected): ... here.
9273
9274 2010-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
9275
9276         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
9277         before disabling hardware watchpoints.
9278         (test_inaccessible_watchpoint): Check that hardware watchpoints
9279         are used.  Test for watchpoints on a constant address.
9280
9281 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9282
9283         * gdb.base/ui-redirect.exp: New file.
9284
9285 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9286             Joel Brobecker  <brobecker@adacore.com>
9287
9288         * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
9289
9290 2010-08-31  Doug Evans  <dje@google.com>
9291
9292         * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
9293
9294 2010-08-30  Tom Tromey  <tromey@redhat.com>
9295
9296         PR python/11792:
9297         * gdb.python/py-value.exp (test_subscript_regression): Add
9298         dynamic_type test.
9299
9300 2010-08-30  Daniel Jacobowitz  <dan@codesourcery.com>
9301
9302         * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
9303         instead of running to main.  Do not test the main function.
9304         * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
9305         Add new main.
9306
9307 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
9308
9309         * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
9310         one test.
9311
9312 2010-08-24  Doug Evans  <dje@google.com>
9313
9314         PR symtab/11942
9315         * gdb.dwarf2/dw4-sig-types.cc: New file.
9316         * gdb.dwarf2/dw4-sig-types.h: New file.
9317         * gdb.dwarf2/dw4-sig-types-b.cc: New file.
9318         * gdb.dwarf2/dw4-sig-types.exp: New file.
9319
9320 2010-08-23  Tom Tromey  <tromey@redhat.com>
9321
9322         PR python/11145:
9323         * gdb.python/py-value.c (Base, Derived): New types.
9324         (base): New global.
9325         * gdb.python/py-value.exp (test_subscript_regression): Add
9326         dynamic_cast test.
9327
9328 2010-08-23  Tom Tromey  <tromey@redhat.com>
9329
9330         PR python/10676:
9331         * gdb.python/py-type.exp (test_fields): Add tests for type
9332         equality.
9333
9334 2010-08-23  Tom Tromey  <tromey@redhat.com>
9335
9336         PR python/11915:
9337         * gdb.python/py-type.exp (test_fields): Add tests for array.
9338
9339 2010-08-23  Keith Seitz  <keiths@redhat.com>
9340
9341         * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
9342         have any children. Create a new abbrev for it.
9343         Add missing terminal sequence to .debug_abbrev.
9344
9345 2010-08-20  Keith Seitz  <keiths@redhat.com>
9346
9347         PR symtab/11465:
9348         * gdb.dwarf2/pr11465.exp: New test.
9349         * gdb.dwarf2/pr11465.S: New file.
9350         * gdb.dwarf2/dw2-double-set-die-type.S: New file.
9351         * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
9352
9353 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
9354
9355         * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
9356         registers.  Update data sets with the new v2_double element in the
9357         VSX register union.  Add vector_register3_vr data set for the AltiVec
9358         registers.  Use gdb_test_no_output instead of send_gdb.
9359
9360 2010-08-19  Pedro Alves  <pedro@codesourcery.com>
9361
9362         * gdb.python/py-shared.exp: New file, factored out from
9363         python.exp.
9364         * gdb.python/py-shared.c: New file.
9365         * gdb.python/py-shared-sl.c: New file.
9366         * gdb.python/python-1.c: New file.
9367         * gdb.python/python-sl.c: Delete.
9368         * gdb.python/python.c: Mention python-1.c.
9369         * gdb.python/python.exp: Move shared library tests to
9370         py-shared.exp.
9371         * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
9372         (MISCELLANEOUS): New.
9373         (clean mostlyclean): Also remove $MISCELLANEOUS.
9374
9375 2010-08-19  Doug Evans  <dje@google.com>
9376
9377         PR exp/11926
9378         * gdb.base/printcmds.exp (test_float_accepted): New function.
9379         Move existing float tests there.  Add tests for floats with suffixes.
9380         (test_float_rejected): New function.
9381         * gdb.java/jv-print.exp (test_float_accepted): New function.
9382         (test_float_rejected): New function.
9383         * gdb.objc/print.exp: New file.
9384         * gdb.pascal/print.exp: New file.
9385         * lib/objc.exp: New file.
9386
9387 2010-08-19  Pierre Muller  <muller@ics.u-strasbg.fr>
9388
9389         * gdb.base/default.exp (info set): Avoid full buffer error and force
9390         reading up to final gdb prompt.
9391         (show): Likewise.
9392
9393 2010-08-18  Tom Tromey  <tromey@redhat.com>
9394
9395         PR symtab/11919:
9396         * gdb.base/completion.exp: Add test.
9397
9398 2010-08-18  Doug Evans  <dje@google.com>
9399
9400         * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
9401         * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
9402         * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
9403         Simplify, early exit if runto_main fails.
9404         * gdb.fortran/exprs.exp: load_lib fortran.exp.
9405         (set_lang_fortran): Moved to lib/fortran.exp.
9406         * gdb.fortran/types.exp: load_lib fortran.exp.
9407         (set_lang_fortran): Moved to lib/fortran.exp.
9408         * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
9409         * gdb.java/jprint.exp (set_lang_java): Ditto.
9410         * gdb.java/jv-exp.exp: load_lib java.exp.
9411         If set_lang_java fails, issue a warning instead of failure to be
9412         consistent with other set_lang_foo uses.
9413         (set_lang_java): Moved to lib/java.exp.
9414         * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
9415         If set_lang_java fails, issue a warning instead of failure to be
9416         consistent with other set_lang_foo uses.
9417         * gdb.pascal/types.exp: load_lib pascal.exp.
9418         (set_lang_pascal): Moved to lib/pascal.exp.
9419         * lib/fortran.exp: New file.
9420         * lib/java.exp (set_lang_java): New function.
9421         * lib/pascal.exp (set_lang_pascal): New function.
9422
9423 2010-08-18  Yao Qi  <yao@codesourcery.com
9424
9425         * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
9426         func_nofb_start and func_loopfb_start, so that address of functions
9427         is equal to these labels on Thumb.
9428
9429 2010-08-18  Yao Qi  <yao@codesourcery.com>
9430
9431         * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
9432         to reflect latest c source file.
9433
9434 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9435
9436         * gdb.cp/infcall-dlopen.exp: New file.
9437         * gdb.cp/infcall-dlopen.cc: New file.
9438         * gdb.cp/infcall-dlopen-lib.cc: New file.
9439
9440 2010-08-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
9441             Pedro Alves  <pedro@codesourcery.com>
9442
9443         PR breakpoints/11371
9444
9445         * gdb.base/watch-cond-infcall.exp: New file.
9446         * gdb.base/watch-cond-infcall.c: New file.
9447
9448 2010-08-16  Tom Tromey  <tromey@redhat.com>
9449
9450         * gdb.base/help.exp: Update.
9451         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
9452         watchpoint.
9453         (test_watch_location): New proc.
9454         (test_watchpoint_in_big_blob): Delete watchpoint.
9455         * gdb.base/watchpoint.c (func5): New function.
9456         (main): Call it.
9457
9458 2010-08-16  Doug Evans  <dje@google.com>
9459
9460         * gdb.python/python.exp: Fix syntax in "post event insertion" test.
9461
9462 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
9463
9464         * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
9465         tests.
9466
9467 2010-08-11  Ken Werner  <ken.werner@de.ibm.com>
9468
9469         * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
9470         * gdb.base/gnu_vector.c: New File.
9471         * gdb.base/gnu_vector.exp: Likewise.
9472
9473 2010-08-11  Phil Muldoon  <pmuldoon@redhat.com>
9474
9475         * gdb.python/python.c: New File.
9476         * gdb.python/python-sl.c: New File.
9477         * gdb.python/python.exp: Test solib_address and decode_line
9478         * functions.
9479
9480 2010-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
9481
9482         * gdb.python/python.exp (show height, set height 10)
9483         (verify pagination beforehand, verify pagination beforehand: q)
9484         (gdb.execute does not page, verify pagination afterwards)
9485         (verify pagination afterwards: q): New.
9486
9487 2010-08-02  Doug Evans  <dje@google.com>
9488
9489         * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
9490         because of an older gcc, change test2
9491         "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
9492         to unsupported.
9493
9494 2010-07-30  Kazu Hirata  <kazu@codesourcery.com>
9495
9496         * gdb.base/break-always.exp: Do not expect full paths to file
9497         names.
9498         * gdb.base/commands.exp: Likewise.
9499
9500 2010-07-30  Doug Evans  <dje@google.com>
9501
9502         * gdb.cp/temargs.exp: For new tests that require newer gccs,
9503         xfail them when run with older gccs.
9504
9505         * lib/gdb.exp (build_executable): Forward "c++" option to
9506         get_compiler_info.
9507
9508         * gdb.python/py-type.exp (test_template): Mark as xfail tests
9509         "python print ttype.template_argument(1)" and
9510         "python print isinstance(ttype.template_argument(1), gdb.Value)"
9511         if using gcc 4.4 or earlier.
9512
9513         * gdb.base/valgrind-db-attach.exp: Use unique test name for
9514         attach-to-debugger handling.
9515
9516 2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
9517
9518         * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
9519         * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
9520         (main): Use copyreloc.
9521         * gdb.base/prelink.exp (split debug of executable)
9522         (.dynbss vs. .bss address shift): New tests.
9523
9524 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
9525
9526         * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
9527         in gdb_test_multiple.
9528
9529 2010-07-29  Pedro Alves  <pedro@codesourcery.com>
9530
9531         * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
9532         environment.
9533
9534 2010-07-28  Tom Tromey  <tromey@redhat.com>
9535
9536         PR python/11060:
9537         * gdb.python/py-type.c (Temargs): New template.
9538         (temvar): New variable.
9539         * gdb.python/py-type.exp (test_template): New proc.
9540
9541 2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
9542
9543         * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
9544         gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
9545
9546 2010-07-28  Tom Tromey  <tromey@redhat.com>
9547
9548         PR c++/9946:
9549         * gdb.cp/temargs.exp: New file.
9550         * gdb.cp/temargs.cc: New file.
9551
9552 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9553
9554         * gdb.base/help.exp (help disassemble): Update the content.
9555
9556 2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
9557
9558         * gdb.threads/ia64-sigill.exp: New file.
9559         * gdb.threads/ia64-sigill.c: New file.
9560
9561 2010-07-27  Tom Tromey  <tromey@redhat.com>
9562
9563         * gdb.opt/inline-cmds.c (ATTR): New define.
9564         (func1): Use it.
9565         (func2): Likewise.
9566         (func3): Likewise.
9567         (outer_inline1): Likewise.
9568         (outer_inline2): Likewise.
9569         * gdb.opt/inline-bt.c (ATTR): New define.
9570         (func1): Use it.
9571         (func2): Likewise.
9572         * gdb.opt/inline-locals.c (ATTR): New define.
9573         (func1): Use it.
9574         (func2): Likewise.
9575
9576 2010-07-27  Tom Tromey  <tromey@redhat.com>
9577
9578         * gdb.stabs/gdb11479.c (hack): New function.
9579         (test): Use it.
9580         (test2): Use it.
9581         * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9582         (int32_search_buf, int64_search_buf): No longer static.
9583         (x): Remove.
9584         * gdb.base/relocate.c (hack): New function.
9585
9586 2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
9587
9588         * gdb.python/py-value.exp (test_inferior_function_call): New function.
9589         * gdb.python/py-value.c (func1): New function.
9590         (func2): Likewise.
9591
9592 2010-07-26  Corinna Vinschen  <vinschen@redhat.com>
9593
9594         * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9595         as not to clash with .data section.
9596
9597 2010-07-26  Jerome Guitton  <guitton@adacore.com>
9598
9599         * gdb.base/code_elim.exp: New file.
9600         * gdb.base/code_elim1.c: New file.
9601         * gdb.base/code_elim2.c: New file.
9602
9603 2010-07-21  Pedro Alves  <pedro@codesourcery.com>
9604
9605         PR symtab/11827
9606
9607         * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9608         (some_volatile_enum): New variable.
9609         * gdb.base/printcmds.exp (test_print_enums): New.
9610         <top level>: Call it.
9611
9612 2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
9613
9614         * gdb.cp/fpointer.cc: New test.
9615         * gdb.cp/fpointer.exp: New test.
9616
9617 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9618
9619         * gdb.base/solib-nodir.exp: New file.
9620         * lib/gdb.exp (runto): New case for a GDB internal error.
9621
9622 2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
9623             Ulrich Weigand  <uweigand@de.ibm.com>
9624             Tom Tromey  <tromey@redhat.com>
9625
9626         * gdb.base/charset-malloc.c: New file.
9627         * gdb.base/charset.c (malloc_stub): New prototype.
9628         (main): Call it instead of malloc itself.
9629         * gdb.base/charset.exp: Use only prepare_for_testing.
9630         (binfile): Remove the variable.
9631
9632 2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
9633
9634         Make core files the process_stratum.
9635         * gdb.base/corefile.exp (run: load core again)
9636         (run: sanity check we see the core file, run: with core)
9637         (run: core file is cleared, attach: load core again)
9638         (attach: sanity check we see the core file, attach: with core)
9639         (attach: core file is cleared): New tests.
9640         * gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.
9641
9642 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
9643
9644         * gdb.arch/altivec-abi.exp: New tests.
9645
9646 2010-07-13  Tom Tromey  <tromey@redhat.com>
9647
9648         * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9649         (main): Use it.
9650         * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9651
9652 2010-07-13  Tom Tromey  <tromey@redhat.com>
9653
9654         * gdb.base/label.exp: New file.
9655         * gdb.base/label.c: New file.
9656
9657 2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
9658             H.J. Lu  <hongjiu.lu@intel.com>
9659
9660         * lib/gdb.exp (is_ilp32_target): New.
9661         (is_lp64_target): Likewise.
9662
9663         * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9664         target.
9665         * gdb.arch/amd64-disp-step.exp: Likewise.
9666         * gdb.arch/amd64-dword.exp: Likewise.
9667         * gdb.arch/amd64-i386-address.exp: Likewise.
9668         * gdb.arch/amd64-word.exp: Likewise.
9669
9670         * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9671         target.
9672         * gdb.arch/i386-bp_permanent.exp: Likewise.
9673         * gdb.arch/i386-byte.exp: Likewise.
9674         * gdb.arch/i386-disp-step.exp: Likewise.
9675         * gdb.arch/i386-gnu-cfi.exp: Likewise.
9676         * gdb.arch/i386-prologue.exp: Likewise.
9677         * gdb.arch/i386-size-overlap.exp: Likewise.
9678         * gdb.arch/i386-size.exp: Likewise.
9679         * gdb.arch/i386-sse.exp: Likewise.
9680         * gdb.arch/i386-unwind.exp: Likewise.
9681         * gdb.arch/i386-word.exp: Likewise.
9682
9683         * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9684         test only when building 64-bit executables.  Do not hard-code
9685         -m64 option.
9686
9687 2010-07-07  Doug Evans  <dje@google.com>
9688
9689         * lib/gdb.exp (gdb_test_list_exact): New function.
9690         * gdb.base/default.exp (show convenience): Call it, add tests for
9691         $_sdata = void, $_thread = 0.
9692
9693 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9694             Joel Brobecker  <brobecker@adacore.com>
9695
9696         Fix re-run of PIE executable, PR shlibs/11776.
9697         * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9698         Remove $displacement_main to match the solib-svr4.c change.  New "kill"
9699         and re-"run" of the inferior.
9700
9701 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9702             Joel Brobecker  <brobecker@adacore.com>
9703
9704         Cope with missing /usr/sbin/prelink.
9705         * lib/prelink-support.exp (prelink_no):
9706         <result == 1 && $output is "no such file or directory">: New.
9707         (prelink_yes): Likewise.  Return on failed prelink_no.
9708
9709 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9710             Joel Brobecker  <brobecker@adacore.com>
9711
9712         * gdb.base/attach-pie-misread.exp: Load prelink-support.exp.  Replace
9713         build_executable by build_executable_own_libs.  Replace "prelink -R"
9714         execution by a call of prelink_yes.  Comment why "prelink -r" needs no
9715         change.
9716         * gdb.base/break-interp.exp: Load prelink-support.exp.  Rename calls of
9717         copy to file_copy.  Move setting opts --dynamic-linker and -rpath,
9718         mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9719         Replace build_executable by build_executable_own_libs's function
9720         build_executable_own_libs.
9721         (prelinkNO): Create new stub to call prelink_no.
9722         (prelinkYES): Create new stub to call prelink_yes.
9723         (test_attach): Rename calls of copy to file_copy.
9724         (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9725         (copy): Move to ...
9726         * lib/prelink-support.exp: ... a new file.  Rename prelinkNO to
9727         prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9728         * gdb.base/prelink.exp: Disable testcase also for is_remote and
9729         skip_shlib_tests.  Load prelink-support.exp.  Replace gdb_compile with
9730         special flags by gdb_compile_shlib.  Replace second gdb_compile by
9731         build_executable_own_libs.  Replace "prelink -R" execution by a call of
9732         prelink_yes.  Replace "prelink -u" and second "prelink -R" execution by
9733         a second call of prelink_yes.  Replace restart commands by
9734         clean_restart.
9735         (prelink): Rename to ...
9736         (seen displacement message): ... this test.  Extend its expectation
9737         strictness.
9738
9739 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9740
9741         * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9742         * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9743         displacement message exactly once.
9744
9745 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9746             Joel Brobecker  <brobecker@adacore.com>
9747
9748         * gdb.base/break-interp.exp (test_attach): Keep $interp changed.  Move
9749         its restore after the <$relink_args != ""> loop.  new comment.
9750
9751 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
9752             Joel Brobecker  <brobecker@adacore.com>
9753
9754         * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9755         code for it.  New variable relink_args.
9756         (prelinkYES): Call prelinkNO.
9757         (test_attach): Accept new parameter relink_args.  Re-prelink the binary
9758         in such case.  Move the core code to ...
9759         (test_attach_gdb): ... a new function.  Send GDB command "file".
9760         Extend expected "Attaching to " string.
9761
9762 2010-07-02  Tom Tromey  <tromey@redhat.com>
9763
9764         * gdb.base/bitops.exp: Remove extraneous "pass".
9765
9766 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
9767
9768         * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9769
9770 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
9771
9772         * gdb.base/help.exp: Adjust expected output.
9773
9774 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
9775
9776         * gdb.base/help.exp: Adjust expected output.
9777
9778 2010-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
9779
9780         * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9781         (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9782         c++/11702.
9783
9784 2010-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
9785             Doug Evans  <dje@google.com>
9786
9787         * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9788         add .dynamic entry'.
9789
9790 2010-06-29  Doug Evans  <dje@google.com>
9791
9792         Test PR c++/11702.
9793         * gdb.cp/m-static.exp: Add testcase.
9794         * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9795
9796 2010-06-28  Phil Muldoon  <pmuldoon@redhat.com>
9797             Tom Tromey  <tromey@redhat.com>
9798             Thiago Jung Bauermann  <bauerman@br.ibm.com>
9799
9800         * gdb.python/py-inferior.c: New File.
9801         * gdb.python/py-infthread.c: New File.
9802         * gdb.python/py-inferior.exp: New File.
9803         * gdb.python/py-infthread.exp: New File.
9804
9805 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9806
9807         * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9808         (ptype ::C::OtherFileClass typedefs): New.
9809         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9810         (C::OtherFileClass::cOtherFileClassVar2): New.
9811         (C::OtherFileClass::cOtherFileClassVar_use): Use also
9812         cOtherFileClassVar2.
9813         (C::cOtherFileType2, C::cOtherFileVar2): New.
9814         (C::cOtherFileVar_use): use also cOtherFileVar2.
9815         * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9816
9817 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9818
9819         * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9820         (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9821         (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9822         (print ::C::cOtherFileVar)
9823         (whatis C::OtherFileClass::cOtherFileClassType)
9824         (whatis ::C::OtherFileClass::cOtherFileClassType)
9825         (print C::OtherFileClass::cOtherFileClassVar)
9826         (print ::cOtherFileClassVar)
9827         (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9828         (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9829         trailing content.
9830         * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9831         (C::OtherFileClass::cOtherFileClassVar)
9832         (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9833         (C::cOtherFileVar, C::cOtherFileVar_use): New.
9834
9835 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9836
9837         Test PR c++/11703 and PR gdb/1448.
9838         * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9839         gdb/1448.
9840
9841 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9842
9843         * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9844         (main) <rtti_data>: New.
9845         * gdb.cp/virtbase.exp (print rtti_data): New.
9846
9847 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9848             Joel Brobecker  <brobecker@adacore.com>
9849
9850         * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9851
9852 2010-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
9853
9854         * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9855
9856 2010-06-28  Doug Evans  <dje@google.com>
9857
9858         * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9859
9860 2010-06-27  Doug Evans  <dje@google.com>
9861
9862         * gdb.cp/m-static.exp: Update expected test output.
9863
9864 2010-06-25  Paul Hilfinger  <hilfinger@adacore.com>
9865
9866         * gdb.gdb/selftest.exp: Adjust expected message for
9867         capturing start-up runtime.
9868
9869 2010-06-25  Tom Tromey  <tromey@redhat.com>
9870
9871         PR python/10808:
9872         * gdb.python/python.exp: Add new tests.
9873
9874 2010-06-25  Sami Wagiaalla  <swagiaal@redhat.com>
9875
9876         * gdb.cp/operator.cc: Created an import loop.
9877         * gdb.cp/operator.exp: Added testcase for import loop.
9878
9879 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9880
9881         Test PR python/11407.
9882         * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9883         * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9884         Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9885         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9886         executable_nofb and executable_fb.  New variables srcsfile, objsfile,
9887         srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9888         binfile.  Call gdb_compile with clean_restart twice.
9889         (func_nofb print, func_nofb backtrace, func_loopfb print)
9890         (func_loopfb backtrace): New.
9891
9892 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
9893
9894         * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9895         * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9896         by a hand made one.
9897         * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment.  Remove
9898         i?86 requirement.  Remove variables srcfile and binfile.  New variable
9899         sources, executable_nofb and executable_fb.  Call prepare_for_testing.
9900
9901 2010-06-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9902
9903         * gdb.cell/dwarfaddr.exp: New file.
9904         * gdb.cell/dwarfaddr.S: New file.
9905
9906 2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
9907
9908         Test PR 9436.
9909         * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9910
9911 2010-06-24  Hui Zhu  <teawater@gmail.com>
9912
9913         * gdb.base/eval.exp: New file.
9914
9915 2010-06-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9916
9917         * gdb.cell/fork.exp: New file.
9918         * gdb.cell/fork.c: Likewise.
9919         * gdb.cell/fork-spu.c: Likewise.
9920
9921 2010-06-22  Pierre Muller  <muller@ics.u-strasbg.fr>
9922
9923         * lib/gdb.exp (banned_variables_traced): New global variable.
9924         (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9925         (gdb_init): Use `trace add variable' instead of obsolete
9926         `trace variable'.
9927
9928 2010-06-21  Doug Evans  <dje@google.com>
9929
9930         * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9931
9932 2010-06-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9933
9934         * gdb.arch/spu-ls.exp: New file.
9935         * gdb.arch/spu-ls.c: Likewise.
9936
9937 2010-06-18  Stan Shebs  <stan@codesourcery.com>
9938
9939         * gdb.threads/thread-specific.exp: Add tests of $_thread.
9940
9941 2010-06-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9942
9943         * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9944         * gdb.base/watch-cond.exp: Likewise.
9945         * gdb.python/py-breakpoint.exp: Likewise.
9946
9947 2010-06-18  Pedro Alves  <pedro@codesourcery.com>
9948
9949         * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9950         clean_restart, make sure every test has a distinct message, and
9951         that messages don't include the executable' full path.
9952
9953 2010-06-17  Doug Evans  <dje@google.com>
9954
9955         * gdb.arch/i386-size.exp: Updated expected output for
9956         DISASSEMBLY_OMIT_FNAME.
9957
9958 2010-06-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9959             Sergio Durigan Junior  <sergiodj@redhat.com>
9960
9961         * gdb.base/watch-notconst.c: New file.
9962         * gdb.base/watch-notconst.S: New file.
9963         * gdb.base/watch-notconst2.c: New file.
9964         * gdb.base/watch-notconst2.S: New file.
9965         * gdb.base/watch-notconst.exp: New file.
9966         * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9967         (func4): Add operations on `global_ptr_ptr'.
9968         * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9969         routine to test watchpoints created with a constant expression.
9970         (test_inaccessible_watchpoint): Include tests for watchpoints
9971         created with a constant expression.
9972
9973 2010-06-14  Kevin Buettner  <kevinb@redhat.com>
9974
9975         * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9976         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9977         gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9978         gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9979         gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9980         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9981         gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9982         of `_start'.
9983
9984 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9985
9986         * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9987         not supported on the target.
9988         * gdb.mi/mi-nonstop-exit.exp: Likewise.
9989         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9990         * gdb.mi/mi-nsintrall.exp: Likewise.
9991         * gdb.mi/mi-nsmoribund.exp: Likewise.
9992         * gdb.mi/mi-nsthrexec.exp: Likewise.
9993
9994 2010-06-11  Stan Shebs  <stan@codesourcery.com>
9995
9996         * gdb.base/permissions.exp: New file.
9997
9998 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9999
10000         * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10001         does not support ELF executable class.
10002
10003 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10004
10005         * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10006
10007 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10008
10009         * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10010         (runto): Catch "The target does not support running in non-stop mode.".
10011
10012 2010-06-11  Michael Snyder  <msnyder@vmware.com>
10013
10014         * gdb.base/setshow.exp (set language asm): Don't use
10015         gdb_test_no_output, fails on some targets.
10016
10017 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10018
10019         * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10020         * gdb.cp/pr9167.exp: Likewise.
10021
10022 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10023
10024         * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10025
10026 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10027
10028         * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10029
10030 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10031
10032         * gdb.base/charset.c (main): Make sure malloc gets linked in.
10033
10034 2010-06-11  Tom Tromey  <tromey@redhat.com>
10035
10036         PR gdb/9977, PR exp/11636::
10037         * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10038         (pieces_test_f6): Update expected output.
10039
10040 2010-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10041
10042         * gdb.base/moribund-step.exp: New.
10043
10044 2010-06-08  Michael Snyder  <msnyder@vmware.com>
10045
10046         * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10047         * gdb.ada/boolean_expr.exp:
10048         * gdb.ada/frame_args.exp: Ditto.
10049         * gdb.ada/lang_switch.exp: Ditto.
10050         * gdb.ada/ptype_arith_binop.exp: Ditto.
10051         * gdb.ada/ref_param.exp: Ditto.
10052         * gdb.ada/type_coercion.exp:Ditto.
10053
10054         * gdb.asm/asm-source.exp: Ditto.
10055
10056         * gdb.base/attach.exp: Ditto.
10057         * gdb.base/bitfields2.exp: Ditto.
10058         * gdb.base/call-signal-resume.exp: Ditto.
10059         * gdb.base/callfuncs.exp: Ditto.
10060         * gdb.base/commands.exp: Ditto.
10061         * gdb.base/dbx.exp: Ditto.
10062         * gdb.base/default.exp: Ditto.
10063         * gdb.base/dump.exp: Ditto.
10064         * gdb.base/exprs.exp: Ditto.
10065         * gdb.base/freebpcmd.exp: Ditto.
10066         * gdb.base/interrupt.exp: Ditto.
10067         * gdb.base/list.exp: Ditto.
10068         * gdb.base/long_long.exp: Ditto.
10069         * gdb.base/maint.exp: Ditto.
10070         * gdb.base/ptype.exp: Ditto.
10071         * gdb.base/return.exp: Ditto.
10072         * gdb.base/setshow.exp: Ditto.
10073         * gdb.base/sigbpt.exp: Ditto.
10074         * gdb.base/sigrepeat.exp: Ditto.
10075
10076         * gdb.cp/classes.exp: Ditto.
10077
10078         * gdb.dwarf2/dw2-restore.exp: Ditto.
10079
10080         * gdb.gdb/selftest.exp: Ditto.
10081
10082         * gdb.multi/base.exp: Ditto.
10083         * gdb.multi/bkpt-multi-exec.exp: Ditto.
10084
10085         * gdb.python/py-block.exp: Ditto.
10086         * gdb.python/py-prettyprint.exp: Ditto.
10087         * gdb.python/py-template.exp: Ditto.
10088
10089         * gdb.server/ext-attach.exp: Ditto.
10090         * gdb.server/ext-run.exp: Ditto.
10091         * gdb.server/server-mon.exp: Ditto.
10092
10093         * gdb.threads/fork-thread-pending.exp: Ditto.
10094         * gdb.threads/hand-call-in-threads.exp: Ditto.
10095         * gdb.threads/interrupted-hand-call.exp: Ditto.
10096         * gdb.threads/linux-dp.exp: Ditto.
10097         * gdb.threads/manythreads.exp: Ditto.
10098         * gdb.threads/print-threads.exp: Ditto.
10099         * gdb.threads/pthreads.exp: Ditto.
10100         * gdb.threads/schedlock.exp: Ditto.
10101         * gdb.threads/thread-unwindonsignal.exp: Ditto.
10102         * gdb.threads/threadapply.exp: Ditto.
10103
10104 2010-06-08  Michael Snyder  <msnyder@vmware.com>
10105
10106         * gdb.ada/exec_changed.exp:
10107         Use ".*" instead of "" as wildcard regexp.
10108
10109         * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10110         * gdb.base/call-ar-st.exp: Ditto.
10111         * gdb.base/checkpoint.exp: Ditto.
10112         * gdb.base/default.exp: Ditto.
10113         * gdb.base/dump.exp: Ditto.
10114         * gdb.base/ending-run.exp: Ditto.
10115         * gdb.base/fileio.exp: Ditto.
10116         * gdb.base/miscexprs.exp: Ditto.
10117         * gdb.base/pointers.exp: Ditto.
10118         * gdb.base/readline.exp: Ditto.
10119         * gdb.base/reread.exp: Ditto.
10120         * gdb.base/restore.exp: Ditto.
10121         * gdb.base/shlib-call.exp: Ditto.
10122         * gdb.base/valgrind-db-attach.exp: Ditto.
10123         * gdb.base/volatile.exp: Ditto.
10124         * gdb.base/watchpoints.exp: Ditto.
10125
10126         * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10127
10128         * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10129         * gdb.python/py-value.exp: Ditto.
10130
10131         * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10132         * gdb.trace/circ.exp: Ditto.
10133         * gdb.trace/collection.exp: Ditto.
10134         * gdb.trace/packetlen.exp: Ditto.
10135         * gdb.trace/passc-dyn.exp: Ditto.
10136         * gdb.trace/report.exp: Ditto.
10137         * gdb.trace/tfile.exp: Ditto.
10138         * gdb.trace/tfind.exp: Ditto.
10139         * gdb.trace/while-dyn.exp: Ditto.
10140
10141 2010-06-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10142
10143         * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10144
10145 2010-06-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
10146
10147         Test PR 10640.
10148         * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10149
10150 2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
10151
10152         * gdb.cp/koenig.exp: Test for ADL operators.
10153         * gdb.cp/koenig.cc: Added ADL operators.
10154         * gdb.cp/operator.exp: New test.
10155         * gdb.cp/operator.cc: New test.
10156
10157 2010-06-04  Michael Snyder  <msnyder@vmware.com>
10158
10159         * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10160         * gdb.base/pending.exp: Ditto.
10161
10162         * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10163
10164 2010-06-04  Doug Evans  <dje@google.com>
10165
10166         * gdb.python/py-prettyprint.exp: Add new test for enabled and
10167         disabled printers.
10168         * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10169         (enable_lookup_function): New function.
10170
10171 2010-06-04  Tom Tromey  <tromey@redhat.com>
10172
10173         * gdb.python/py-value.exp (test_value_hash): Don't test equality
10174         of hash and id.
10175
10176 2010-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10177
10178         * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10179         newline.
10180         * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10181         (empty verbose non-noisy clear, empty verbose noisy clear)
10182         (empty non-verbose noisy clear): Likewise.
10183
10184 2010-06-03  Michael Snyder  <msnyder@vmware.com>
10185
10186         * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10187         * gdb.base/display.exp: Ditto.
10188         * gdb.base/find.exp: Ditto.
10189         * gdb.base/ifelse.exp: Ditto.
10190         * gdb.base/multi-forks.exp: Ditto.
10191         * gdb.base/recurse.exp: Ditto.
10192         * gdb.base/setshow.exp: Ditto.
10193         * gdb.base/value-double-free.exp: Ditto.
10194         * gdb.base/watch-vfork.exp: Ditto.
10195         * gdb.base/watch_thread_num.exp: Ditto.
10196         * gdb.base/watchpoint-solib.exp: Ditto.
10197         * gdb.base/watchpoint.exp: Ditto.
10198         * gdb.base/watchpoints.exp: Ditto.
10199
10200         * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10201         * gdb.cp/overload.exp: Ditto.
10202         * gdb.cp/virtfunc.exp: Ditto.
10203
10204         * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10205
10206         * gdb.reverse/watch-precsave.exp:
10207         Replace gdb_test with gdb_test_no_output.
10208
10209         * gdb.threads/attach-into-signal.exp:
10210         Replace gdb_test with gdb_test_no_output.
10211         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10212         * gdb.threads/watchthreads.exp: Ditto.
10213         * gdb.threads/watchthreads2.exp: Ditto.
10214
10215         * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10216         * gdb.trace/tfind.exp: Ditto.
10217
10218 2010-06-03  Joel Brobecker  <brobecker@adacore.com>
10219
10220         * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10221         successful test if message is the empty string.
10222
10223 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10224
10225         * gdb.fortran/module.exp (stopped language detection): New test.
10226
10227 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10228
10229         Support DW_TAG_module as separate namespaces.
10230         * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10231         gdb.fortran/library-module-lib.f90: New.
10232         * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10233         (print i): Remove.
10234         (continue to breakpoint: i-is-1, print var_i value 1)
10235         (continue to breakpoint: i-is-2, print var_i value 2)
10236         (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10237         (print var_d, print var_i value 14, ptype modmany, complete `modm)
10238         (complete `modmany, complete `modmany`, complete `modmany`var)
10239         (show language, setting breakpoint at module): New tests.
10240         * gdb.fortran/module.f90 (module mod): Remove.
10241         (module mod1, module mod2, module modmany, subroutine sub1)
10242         (subroutine sub2, program module): New.
10243
10244 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10245
10246         * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10247         (print value of rUC, print value of rI, print value of UI): ... here.
10248         * gdb.cp/anon-union.exp (pass): Rename to ...
10249         (print z 2): ... here.
10250
10251 2010-06-02  Michael Snyder  <msnyder@vmware.com>
10252
10253         * gdb.trace/actions.exp: Use gdb_test_no_output.
10254         * gdb.trace/circ.exp: Ditto.
10255         * gdb.trace/packetlen.exp: Ditto.
10256         * gdb.trace/save-trace.exp: Ditto.
10257         * gdb.trace/tracecmd.exp: Ditto.
10258         * gdb.trace/tsv.exp: Ditto.
10259
10260         * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
10261         * gdb.threads/hand-call-in-thraeds.exp: Ditto.
10262         * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10263         * gdb.threads/manythreads.exp: Ditto.
10264         * gdb.threads/print-threads.exp: Ditto.
10265         * gdb.threads/pthreads.exp: Ditto.
10266         * gdb.threads/schedlock.exp: Ditto.
10267         * gdb.threads/staticthreads.exp: Ditto.
10268         * gdb.threads/thread-specific.exp: Ditto.
10269         * gdb.threads/thread-unwindonsignal.exp: Ditto.
10270         * gdb.threads/threadapply.exp: Ditto.
10271         * gdb.threads/watchthreads.exp: Ditto.
10272         * gdb.threads/watchthreads2.exp: Ditto.
10273
10274         * gdb.python/py-block.exp: Use gdb_test_no_output.
10275         * gdb.python/py-prettyprint.exp: Ditto.
10276         * gdb.python/py-template.exp: Ditto.
10277         * gdb.python/py-value.exp: Ditto.
10278
10279         * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
10280         * gdb.reverse/watch-reverse.exp: Ditto.
10281
10282         * gdb.server/ext-attach.exp: Use gdb_test_no_output.
10283         * gdb.server/ext-run.exp: Ditto.
10284
10285         * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
10286         * gdb.dwarf2/dw2-compressed.exp: Ditto.
10287         * gdb.dwarf2/dw2-intercu.exp: Ditto.
10288         * gdb.dwarf2/dw2-intermix.exp: Ditto.
10289         * gdb.dwarf2/dw2-producer.exp: Ditto.
10290         * gdb.dwarf2/mac-fileno.exp: Ditto.
10291
10292         * gdb.gdb/observer.exp: Use gdb_test_no_output.
10293         * gdb.gdb/selftest.exp: Ditto.
10294
10295         * gdb.multi/base.exp: Use gdb_test_no_output.
10296
10297         * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
10298
10299 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10300
10301         * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
10302
10303 2010-06-02  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
10304
10305         * gdb.cp/class2.exp: Use gdb_test_no_output.
10306         * gdb.cp/classes.exp: Ditto.
10307         * gdb.cp/extern-c.exp: Ditto.
10308         * gdb.cp/inherit.exp: Ditto.
10309         * gdb.cp/maint.exp: Ditto.
10310         * gdb.cp/mb-inline.exp: Ditto.
10311         * gdb.cp/mb-templates.exp: Ditto.
10312         * gdb.cp/method2.exp: Ditto.
10313         * gdb.cp/misc.exp: Ditto.
10314         * gdb.cp/ovldbreak.exp: Ditto.
10315         * gdb.cp/punctuator.exp: Ditto.
10316         * gdb.cp/templates.exp: Ditto.
10317         * gdb.cp/virtbase.exp: Ditto.
10318
10319         * gdb.threads/attach-stopped.exp:
10320         Replace uses of send_gdb / gdb_expect.
10321         * gdb.threads/attachstop-mt.exp:
10322         Replace uses of send_gdb / gdb_expect.
10323         * gdb.threads/gcore-thread.exp:
10324         Replace uses of send_gdb / gdb_expect.
10325         * gdb.threads/hand-call-in-threads.exp:
10326         Replace uses of send_gdb / gdb_expect.
10327         * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
10328         * gdb.threads/print-threads.exp:
10329         Replace uses of send_gdb / gdb_expect.
10330         * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
10331         * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
10332         * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
10333
10334         * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
10335         * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
10336         * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
10337         * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
10338         * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
10339         * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
10340         * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
10341         * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
10342         * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
10343         * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
10344         * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
10345
10346 2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10347
10348         * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
10349
10350 2010-06-02  Sami Wagiaalla  <swagiaal@redhat.com>
10351
10352         * gdb.cp/koenig.exp: Added new test case.
10353         * gdb.cp/koenig.cc: Ditto.
10354
10355 2010-06-01  Michael Snyder  <msnyder@vmware.com>
10356
10357         * gdb.base/arithmet.exp: Use gdb_test_no_output.
10358         * gdb.base/arrayidx.exp: Ditto.
10359         * gdb.base/attach.exp: Ditto.
10360         * gdb.base/auxv.exp: Ditto.
10361         * gdb.base/bigcre.exp: Ditto.
10362         * gdb.base/break-always.exp: Ditto.
10363         * gdb.base/break-interp.exp: Ditto.
10364         * gdb.base/break.exp: Ditto.
10365         * gdb.base/breakpoint-shadow.exp: Ditto.
10366         * gdb.base/call-ar-st.exp: Ditto.
10367         * gdb.base/call-sc.exp: Ditto.
10368         * gdb.base/call-signal-resume.exp: Ditto.
10369         * gdb.base/callfuncs.exp: Ditto.
10370         * gdb.base/catch-syscall.exp: Ditto.
10371         * gdb.base/charset.exp: Ditto.
10372         * gdb.base/code-expr.exp: Ditto.
10373         * gdb.base/commands.exp: Ditto.
10374         * gdb.base/cond-expr.exp: Ditto.
10375         * gdb.base/condbreak.exp: Ditto.
10376         * gdb.base/cursal.exp: Ditto.
10377         * gdb.base/cvexpr.exp: Ditto.
10378         * gdb.base/default.exp: Ditto.
10379         * gdb.base/del.exp: Ditto.
10380         * gdb.base/detach.exp: Ditto.
10381         * gdb.base/display.exp: Ditto.
10382         * gdb.base/ena-dis-br.exp: Ditto.
10383         * gdb.base/eval-skip.exp: Ditto.
10384         * gdb.base/foll-fork.exp: Ditto.
10385         * gdb.base/foll-vfork.exp: Ditto.
10386         * gdb.base/frame-args.exp: Ditto.
10387         * gdb.base/funcargs.exp: Ditto.
10388         * gdb.base/gcore-buffer-overflow.exp: Ditto.
10389         * gdb.base/gdbvars.exp: Ditto.
10390         * gdb.base/help.exp: Ditto.
10391         * gdb.base/ifelse.exp: Ditto.
10392         * gdb.base/included.exp: Ditto.
10393         * gdb.base/list.exp: Ditto.
10394         * gdb.base/macscp.exp: Ditto.
10395         * gdb.base/maint.exp: Ditto.
10396         * gdb.base/multi-fork.exp: Ditto.
10397         * gdb.base/overlays.exp: Ditto.
10398         * gdb.base/page.exp: Ditto.
10399         * gdb.base/pending.exp: Ditto.
10400         * gdb.base/pointers.exp: Ditto.
10401         * gdb.base/pr11022.exp: Ditto.
10402         * gdb.base/prelink.exp: Ditto.
10403         * gdb.base/printcmds.exp: Ditto.
10404         * gdb.base/psymtab.exp: Ditto.
10405         * gdb.base/randomize.exp: Ditto.
10406         * gdb.base/relational.exp: Ditto.
10407         * gdb.base/relocate.exp: Ditto.
10408         * gdb.base/remote.exp: Ditto.
10409         * gdb.base/sepdebug.exp: Ditto.
10410         * gdb.base/set-lang-auto.exp: Ditto.
10411         * gdb.base/setshow.exp: Ditto.
10412         * gdb.base/setvar.exp: Ditto.
10413         * gdb.base/signals.exp: Ditto.
10414         * gdb.base/signull.exp: Ditto.
10415         * gdb.base/sigstep.exp: Ditto.
10416         * gdb.base/sizeof.exp: Ditto.
10417         * gdb.base/solib-disc.exp: Ditto.
10418         * gdb.base/store.exp: Ditto.
10419         * gdb.base/structs.exp: Ditto.
10420         * gdb.base/structs2.exp: Ditto.
10421         * gdb.base/subst.exp: Ditto.
10422         * gdb.base/term.exp: Ditto.
10423         * gdb.base/trace-commands.exp: Ditto.
10424         * gdb.base/unwindonsignal.exp: Ditto.
10425         * gdb.base/valgrind-db-attach.exp: Ditto.
10426         * gdb.base/varargs.exp: Ditto.
10427         * gdb.base/watch-cond.exp: Ditto.
10428         * gdb.base/watch_thread_num.exp: Ditto.
10429         * gdb.base/watchpoint-cond-gone.exp: Ditto.
10430         * gdb.base/watchpoint.exp: Ditto.
10431         * gdb.base/whatis-exp.exp: Ditto.
10432
10433 2010-06-01  Michael Snyder  <msnyder@vmware.com>
10434
10435         * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
10436         * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
10437         * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
10438         * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
10439         * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
10440         * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
10441         * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
10442         * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
10443         * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
10444         * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
10445         * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
10446         * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
10447         * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
10448         * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
10449         * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
10450
10451 2010-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10452
10453         * gdb.base/commands.exp (begin commands on watch): Remove excessive
10454         trailing newline.
10455         * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
10456         * gdb.java/jmisc.exp (p *args\n): Rename to ...
10457         (p *args): ... here and remove excessive trailing newline.
10458
10459 2010-05-31  Joel Brobecker  <brobecker@adacore.com>
10460
10461         * gdb.base/subst.exp: Fix call to gdb_test with empty message.
10462
10463 2010-05-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
10464
10465         Accept the new Linux kernel "t (tracing stop)" string.
10466         * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
10467         Update comment.
10468         (state_wait) <T (tracing stop)>: New.
10469         (main): Update the state_wait expect string.
10470
10471 2010-05-28  Pedro Alves  <pedro@codesourcery.com>
10472
10473         * limits.c, limits.exp: Delete files.
10474         * Makefile.in (clean mostlyclean): Adjust.
10475         * tracecmd.exp: Adjust.
10476
10477 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10478
10479         * gdb.base/tui-layout.exp: New.
10480
10481 2010-05-28  Michael Snyder  <msnyder@vmware.com>
10482
10483         * gdb.reverse/break-precsave.exp:
10484         Replace uses of send_gdb / gdb_expect.
10485         * gdb.reverse/break-reverse.exp:
10486         Replace uses of send_gdb / gdb_expect.
10487         * gdb.reverse/consecutive-precsave.exp:
10488         Replace uses of send_gdb / gdb_expect.
10489         * gdb.reverse/consecutive-reverse.exp:
10490         Replace uses of send_gdb / gdb_expect.
10491         * gdb.reverse/finish-precsave.exp:
10492         Replace uses of send_gdb / gdb_expect.
10493         * gdb.reverse/finish-reverse.exp:
10494         Replace uses of send_gdb / gdb_expect.
10495         * gdb.reverse/i386-precsave.exp:
10496         Replace uses of send_gdb / gdb_expect.
10497         * gdb.reverse/i386-reverse.exp:
10498         Replace uses of send_gdb / gdb_expect.
10499         * gdb.reverse/i386-sse-reverse.exp:
10500         Replace uses of send_gdb / gdb_expect.
10501         * gdb.reverse/i387-env-reverse.exp:
10502         Replace uses of send_gdb / gdb_expect.
10503         * gdb.reverse/i387-stack-reverse.exp:
10504         Replace uses of send_gdb / gdb_expect.
10505         * gdb.reverse/machinestate-precsave.exp:
10506         Replace uses of send_gdb / gdb_expect.
10507         * gdb.reverse/machinestate.exp:
10508         Replace uses of send_gdb / gdb_expect.
10509         * gdb.reverse/sigall-precsave.exp:
10510         Replace uses of send_gdb / gdb_expect.
10511         * gdb.reverse/sigall-reverse.exp:
10512         Replace uses of send_gdb / gdb_expect.
10513         * gdb.reverse/solib-precsave.exp:
10514         Replace uses of send_gdb / gdb_expect.
10515         * gdb.reverse/solib-reverse.exp:
10516         Replace uses of send_gdb / gdb_expect.
10517         * gdb.reverse/step-precsave.exp:
10518         Replace uses of send_gdb / gdb_expect.
10519         * gdb.reverse/step-reverse.exp:
10520         Replace uses of send_gdb / gdb_expect.
10521         * gdb.reverse/until-precsave.exp:
10522         Replace uses of send_gdb / gdb_expect.
10523         * gdb.reverse/until-reverse.exp:
10524         Replace uses of send_gdb / gdb_expect.
10525         * gdb.reverse/watch-precsave.exp:
10526         Replace uses of send_gdb / gdb_expect.
10527         * gdb.reverse/watch-reverse.exp:
10528         Replace uses of send_gdb / gdb_expect.
10529
10530 2010-05-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
10531
10532         * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
10533         excessive newline.
10534
10535 2010-05-27  Michael Snyder  <msnyder@vmware.com>
10536
10537         * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
10538         * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
10539         * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
10540         * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
10541         * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
10542         * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
10543         * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
10544         * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
10545         * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
10546         * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
10547         * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
10548         * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
10549         * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
10550         * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
10551         * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
10552         * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
10553         * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
10554         * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
10555         * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
10556
10557 2010-05-26  Michael Snyder  <msnyder@vmware.com>
10558
10559         * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
10560         * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
10561
10562         * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
10563         * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
10564         * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
10565
10566         * gdb.reverse/consecutive-reverse.exp:
10567         Replace uses of send_gdb / gdb_expect.
10568         * gdb.reverse/consecutive-precsave.exp:
10569         Replace uses of send_gdb / gdb_expect.
10570
10571         * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10572         * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10573         * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
10574         * gdb.mi/mi-ns-stale-regcache.exp:
10575         Replace uses of send_gdb / gdb_expect.
10576         * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10577         * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10578         * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10579         * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10580         * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10581         * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10582         * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10583         * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10584         * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
10585
10586 2010-05-26  Michael Snyder  <msnyder@vmware.com>
10587
10588         * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
10589
10590         * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
10591
10592         * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10593         * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10594         * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10595         * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10596         * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10597         * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10598         * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10599         * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10600         * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
10601
10602 2010-05-25  Tom Tromey  <tromey@redhat.com>
10603
10604         * gdb.base/macscp.exp: Add missing space after setup_kfail.
10605
10606 2010-05-25  Tom Tromey  <tromey@redhat.com>
10607
10608         * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10609         argument order.
10610         * gdb.base/macscp.exp: Fix setup_kfail argument order.
10611         * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10612         order.
10613         * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10614         order.
10615         * gdb.base/call-sc.exp (setup_kfails): Remove.
10616         (setup_compiler_kfails): Remove.
10617         * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10618         argument order.
10619         * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10620         * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10621         (advancei): Fix setup_kfail argument order.
10622         * gdb.base/radix.exp: Fix setup_kfail argument order.
10623         * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10624         order.
10625         * gdb.base/structs.exp (setup_kfails): Remove.
10626         (setup_compiler_kfails): Fix setup_kfail argument order.
10627         * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10628         order.
10629         * gdb.java/jmain.exp: Fix setup_kfail argument order.
10630         * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10631         setup_kfail argument order.
10632         * gdb.cp/overload.exp: Fix setup_kfail argument order.
10633
10634 2010-05-25  Tom Tromey  <tromey@redhat.com>
10635
10636         * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10637
10638 2010-05-25  Michael Snyder  <msnyder@vmware.com>
10639
10640         * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10641         * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10642         * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10643         * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10644         * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10645         * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10646         * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10647         * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10648         * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
10649         * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10650         * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10651         * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10652         * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10653         * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10654         * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10655         * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10656         * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10657         * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10658         * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10659         * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10660         * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10661         * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10662         * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
10663         * gdb.base/default.exp: Replace send_gdb with gdb_test.
10664         * gdb.base/define.exp: Replace send_gdb with gdb_test.
10665         * gdb.base/display.exp: Replace send_gdb with gdb_test.
10666         * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10667         * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10668         * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10669         * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10670         * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10671         * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10672         * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10673         * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10674         * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10675         * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10676         * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10677         * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10678         * gdb.base/help.exp: Replace send_gdb with gdb_test.
10679         * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10680         * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10681         * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
10682         * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10683         * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10684         * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10685         * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10686         * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
10687         * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
10688
10689 2010-05-25  Doug Evans  <dje@google.com>
10690
10691         * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10692         gdb.string_to_argv.
10693
10694 2010-05-21  Tom Tromey  <tromey@redhat.com>
10695
10696         * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10697         Call it.
10698         * gdb.dwarf2/pieces.S: Update.
10699         * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10700
10701 2010-05-21  Tom Tromey  <tromey@redhat.com>
10702
10703         * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10704         Call it.
10705         * gdb.dwarf2/pieces.c (struct C): New.
10706         (f6): New function.
10707         * gdb.dwarf2/pieces.S: Replace.
10708
10709 2010-05-21  Tom Tromey  <tromey@redhat.com>
10710
10711         * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10712         Call it.
10713
10714 2010-05-21  Tom Tromey  <tromey@redhat.com>
10715
10716         * gdb.dwarf2.pieces.exp: New file.
10717         * gdb.dwarf2.pieces.S: New file.
10718         * gdb.dwarf2.pieces.c: New file.
10719
10720 2010-05-20  Pedro Alves  <pedro@codesourcery.com>
10721             Joel Brobecker  <brobecker@adacore.com>
10722
10723         * lib/gdb.exp (gdb_test_no_output): New function.
10724         * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10725         when testing commands that should produce no output.
10726
10727 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
10728
10729         * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10730         parameter that we want to watch being a constant.
10731
10732 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
10733
10734         * gdb.ada/cond_lang: New testcase.
10735
10736 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
10737
10738         * lib/gdb.exp (banned_variables): New variable/constant.
10739         (gdb_init): Add write trace on variables listed in banned_variables.
10740         (gdb_finish): Remove write traces on variables listed in
10741         banned_variables.
10742
10743 2010-05-17  Joel Brobecker  <brobecker@adacore.com>
10744
10745         * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10746         * gdb.cp/koenig.exp: Likewise.
10747
10748 2010-05-14  Phil Muldoon  <pmuldoon@redhat.com>
10749
10750         PR python/11482
10751
10752         * gdb.python/py-value.exp (test_value_hash): New function.
10753
10754 2010-05-11  Pierre Muller  <muller@ics.u-strasbg.fr>
10755
10756         PR exp/11530.
10757         * gdb.base/gdb11530.c: New file.
10758         * gdb.base/gdb11530.exp: New file.
10759
10760 2010-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10761
10762         * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10763         * gdb.dwarf2/dw2-modula2-self-type.S: New.
10764
10765 2010-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
10766
10767         * gdb.cp/koenig.exp: New test.
10768         * gdb.cp/koenig.cc: New test program.
10769
10770 2010-05-05  Joel Brobecker  <brobecker@adacore.com>
10771
10772         Remove the use of prms_id and bug_id throughout the testsuite.
10773
10774 2010-05-04  Pierre Muller  <muller@ics.u-strasbg.fr>
10775
10776         PR exp/11349.
10777         * testsuite/gdb.cp/ref-types.exp: Add test to examine
10778         use a reference local variable.
10779
10780 2010-05-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10781
10782         * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10783         * gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
10784         variable different_dir. Move debugfile into a full directory pathname
10785         under DIFFERENT_DIR.
10786         * lib/gdb.exp (separate_debug_filename): Remove.
10787         (gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
10788         variable debug_dir and mkdir of it.  Update function comments.
10789
10790 2010-04-29  Pedro Alves  <pedro@codesourcery.com>
10791
10792         PR gdb/11557
10793
10794         * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10795         files.
10796
10797 2010-04-29  Phil Muldoon  <pmuldoon@redhat.com>
10798
10799         * gdb.python/py-param.exp: New File.
10800
10801 2010-04-29  Mihail Zenkov  <mihail.zenkov@gmail.com>
10802
10803         * gdb.base/default.exp: Fix "set language" test.
10804
10805 2010-04-24  Pierre Muller  <muller@ics.u-strasbg.fr>
10806
10807         PR breakpoints/11531.
10808         * gdb.base/gdb11531.c: New file.
10809         * gdb.base/gdb11531.exp: New file.
10810
10811 2010-04-26  Tom Tromey  <tromey@redhat.com>
10812
10813         * gdb.base/completion.exp: Add tests for completion and deprecated
10814         commands.
10815
10816 2010-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10817
10818         * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10819         (print /x char_array): Escape curly brackets.
10820
10821 2010-04-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
10822
10823         Fix deadlock on looped list of loaded shared objects.
10824         * gdb.base/solib-corrupted.exp: New.
10825
10826 2010-04-23  Doug Evans  <dje@google.com>
10827
10828         * gdb.python/py-section-script.c: New file.
10829         * gdb.python/py-section-script.exp: New file.
10830         * gdb.python/py-section-script.py: New file.
10831
10832 2010-04-20  Chris Moller  <cmoller@redhat.com>
10833
10834         PR 10179
10835
10836         * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10837         * gdb.base/pr10179-a.c:
10838         * gdb.base/pr10179-b.c:
10839         * gdb.base/pr10179.exp: New files.
10840
10841 2010-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
10842
10843         Fix crashes on dangling display expressions.
10844         * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10845         is SEP.
10846         (lib_flags): Remove the "debug" keyword.
10847         (libsepdebug): New variable for iterating new loop.
10848         (save_pf_prefix): New variable wrapping the loop.
10849         (sep_lib_flags): New variable derived from LIB_FLAGS.  Use it.
10850         * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10851
10852 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
10853
10854         * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10855
10856 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
10857
10858         PR stabs/11479.
10859         * gdb.stabs/gdb11479.exp: New file.
10860         * gdb.stabs/gdb11479.c: New file.
10861
10862 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
10863
10864         * gdb.base/charset.c (Strin16, String32): New variables.
10865         * gdb.base/charset.exp (gdb_test): Test correct display
10866         of 16 or 32 bit strings.
10867
10868 2010-04-21  Chris Moller  <cmoller@redhat.com>
10869
10870         PR 9167
10871         * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10872         * gdb.cp/pr9167.cc: New file.
10873         * gdb.cp/pr9167.exp: New file.
10874
10875
10876 2010-04-21  Pierre Muller  <muller@ics.u-strasbg.fr>
10877
10878         PR pascal/11492.
10879         * gdb.pascal/gdb11492.pas: New file.
10880         * gdb.pascal/gdb11492.exp: New file.
10881
10882 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
10883
10884         * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
10885
10886 2010-04-20  Joel Brobecker  <brobecker@adacore.com>
10887
10888         * gdb.ada/dyn_loc: New testcase.
10889
10890 2010-04-20  Chris Moller  <cmoller@redhat.com>
10891
10892         PR 10867
10893
10894         * gdb.cp/Makefile.in  (EXECUTABLES): Added pr10687
10895         * gdb.cp/pr10687.cc: New file.
10896         * gdb.cp/pr10687.exp: New file.
10897
10898
10899 2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10900             Sergio Durigan Junior  <sergiodj@redhat.com>
10901
10902         * gdb.fortran/logical.exp: New testcase.
10903         * gdb.fortran/logical.f90: New file.
10904
10905 2010-04-19  Doug Evans  <dje@google.com>
10906
10907         * gdb.base/help.exp (help source): Update expected output.
10908
10909 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
10910
10911         * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10912         gdb_reinitialize_dir and gdb_load by clean_restart.  Remove trailing
10913         gdb_exit and return.
10914         (executable): New variable.
10915         (binfile): Use it.
10916
10917 2010-04-19  Pedro Alves  <pedro@codesourcery.com>
10918
10919         PR breakpoints/8554.
10920
10921         * gdb.trace/save-trace.exp: Adjust.
10922
10923 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
10924
10925         PR corefiles/11511
10926         * gdb.arch/system-gcore.exp: New.
10927         * gdb.arch/gcore.c: Likewise.
10928
10929 2010-04-15  Doug Evans  <dje@google.com>
10930
10931         * gdb.python/py-progspace.c: New file.
10932         * gdb.python/py-progspace.exp: New file.
10933
10934         * gdb.base/source.exp: Add tests for "source -s".
10935
10936 2010-04-14  Phil Muldoon  <pmuldoon@redhat.com>
10937
10938         * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10939         * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10940         * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10941         * gdb.python/py-mi.exp: New test for to_string returning None.
10942
10943 2010-04-12  Phil Muldoon  <pmuldoon@redhat.com>
10944
10945         * gdb.python/py-breakpoint.c: Make result global.
10946
10947 2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
10948
10949         Fix non-GNU make compatibility.
10950         * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10951
10952 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
10953
10954         * gdb.python/py-breakpoint.exp: New File.
10955         * gdb.python/py-breakpoint.C: Ditto.
10956
10957 2010-04-08  Stan Shebs  <stan@codesourcery.com>
10958
10959         * gdb.trace/actions.exp: Clear default-collect.
10960         * gdb.trace/save-trace.exp: Clear default-collect.
10961
10962 2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
10963
10964         * gdb.python/py-value: Add null string variable.
10965           (test_lazy_string): Test zero length, NULL address lazy
10966           strings.
10967
10968 2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
10969
10970         * gdb.arch/i386-avx.c: New.
10971         * gdb.arch/i386-avx.exp: Likewise.
10972
10973         * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10974
10975 2010-04-06  Doug Evans  <dje@google.com>
10976
10977         * gdb.base/source-test.gdb: New file.
10978         * gdb.base/source.exp: Test source -v.
10979
10980 2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10981
10982         * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10983
10984 2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
10985
10986         * gdb.stabs/aout.sed: Convert all backslash to double backslash
10987         within one line, unless it is followed by a double quote.
10988         * gdb.stabs/hppa.sed: Idem.
10989         * gdb.stabs/weird.def: Add char and String constants
10990         * gdb.stabs/weird.exp: Check for correct parsing of
10991         char and string constants.
10992         * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10993         in .stabs to .stabx substitution.
10994
10995 2010-04-05  Stan Shebs  <stan@codesourcery.com>
10996
10997         * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10998         constant global.
10999         * gdb.trace/tfile.exp: Try to print them.
11000
11001 2010-04-04  Stan Shebs  <stan@codesourcery.com>
11002
11003         * gdb.base/completion.exp: Update for new "info watchpoints".
11004         * gdb.base/default.exp: Ditto.
11005         * gdb.base/help.exp: Ditto.
11006         * gdb.base/watchpoint.exp: Ditto.
11007         * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11008
11009 2010-04-04  Stan Shebs  <stan@codesourcery.com>
11010
11011         * gdb.trace/tfile.exp: Sharpen tfind test.
11012
11013 2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
11014
11015         * gdb.base/break-entry.exp: New.
11016
11017 2010-04-02  Hui Zhu  <teawater@gmail.com>
11018             Michael Snyder <msnyder@vmware.com>
11019
11020         * gdb.reverse/i386-sse-reverse.exp: New file.
11021         * gdb.reverse/i386-sse-reverse.c: New file.
11022
11023 2010-04-02  Pedro Alves  <pedro@codesourcery.com>
11024
11025         * gdb.trace/tfind.exp: Adjust expected disassembly output.
11026
11027 2010-04-01  Stan Shebs  <stan@codesourcery.com>
11028
11029         * gdb.trace/actions.exp: Tweak expected output.
11030         * gdb.trace/while-stepping.exp: Tweak expected output.
11031
11032 2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
11033
11034         * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11035
11036 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11037
11038         * gdb.base/commands.exp: Adjust.
11039         * gdb.cp/extern-c.exp: Adjust.
11040
11041 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11042
11043         * gdb.trace/collection.c (local_test_func): Define a local struct,
11044         and instanciate it.
11045
11046 2010-04-01  Pedro Alves  <pedro@codesourcery.com>
11047
11048         * gdb.trace/collection.exp (gdb_collect_args_test)
11049         (gdb_collect_argarray_test): XFAIL the tests that assume the
11050         argarray argument's elements are collected.
11051
11052 2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
11053
11054         * gdb.dwarf2/dw2-bad-parameter-type.exp,
11055         gdb.dwarf2/dw2-bad-parameter-type.S: New.
11056
11057 2010-03-31  Stan Shebs  <stan@codesourcery.com>
11058
11059         * gdb.trace/save-trace.exp: Test save/restore of default-collect
11060         and tracepoint conditionals.
11061         (gdb_verify_tracepoints): Delete unused return.
11062
11063 2010-03-26  Keith Seitz  <keiths@redhat.com>
11064
11065         * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11066         appear in the output before main.
11067         Remove KFAIL for gdb/2215 aka bz 9320.
11068
11069 2010-03-30  Doug Evans  <dje@google.com>
11070
11071         * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11072         by dejagnu.
11073         * gdb.arch/amd64-dword.exp: Ditto.
11074
11075         * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11076         match.
11077         (break printf): Ditto.
11078
11079 2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
11080
11081         * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11082         gcc < 4.4.
11083         * gdb.cp/shadow.exp: Ditto.
11084
11085 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
11086
11087         * gdb.trace/collection.exp (run_trace_experiment): Make sure
11088         "tstart" is silent.
11089
11090 2010-03-29  Pedro Alves  <pedro@codesourcery.com>
11091
11092         * gdb.trace/collection.exp (executable): New.
11093         (binfile): Use it.
11094         (fpreg, spreg, pcreg): New.
11095         (test_register): Use gdb_test_multiple.  Pass /x to print.
11096         (prepare_for_trace_test): New.
11097         (run_trace_experiment): Use "continue", not gdb_run_cmd.
11098         (gdb_collect_args_test, gdb_collect_argstruct_test)
11099         (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11100         prepare_for_trace_test.
11101         (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
11102         fpreg, spreg and pcreg.
11103         (gdb_collect_expression_test, gdb_collect_globals_test): Use
11104         prepare_for_trace_test.
11105         (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
11106         try to detect tracing support here.  Don't set breakpoints at
11107         `begin' or `end' here.
11108         <global scope>: Use clean_restart.  Run to main before checking
11109         for tracing support.  Check for for tracing support here.
11110
11111 2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11112
11113         * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11114         " as $displacement" to "seen displacement message".
11115
11116 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
11117
11118         * gdb.trace/while-dyn.exp (executable): New variable.
11119         (binfile): Use it.
11120         (test_while_stepping): New function.  Move most tests here.  Call
11121         it once for each of the while-stepping, stepping and ws aliases.
11122
11123 2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11124
11125         * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11126         that do not provide the tagless_struct type name at all.
11127         (test_print_anon_union): Do not check value of uninitialized
11128         union member.  Do not use cp_test_ptype_class, so we can accept
11129         "long" as well as "long int".
11130
11131 2010-03-26  Pedro Alves  <pedro@codesourcery.com>
11132
11133         * gdb.trace/tfile.c (tohex, bin2hex): New.
11134         (write_error_trace_file): Hexify error description.
11135
11136 2010-03-25  Stan Shebs  <stan@codesourcery.com>
11137
11138         * gdb.trace/tfile.c: Generate an additional trace file, improve
11139         portability.
11140         * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11141         files in a better way.
11142
11143 2010-03-25  Keith Seitz  <keiths@redhat.com>
11144
11145         * gdb.java/jprint.exp: XFAIL printing of static class members
11146         because of GCC debuginfo problem.
11147
11148 2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
11149
11150         * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11151
11152 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11153
11154         * gdb.base/completion.exp: Allow long instead of long int.
11155         * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11156         * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
11157         variable p.
11158         * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11159         * gdb.base/pointers.exp: Allow long instead of long int.
11160         * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11161         * gdb.base/step-line.exp: Allow a directory before the source file name.
11162
11163 2010-03-24  Tom Tromey  <tromey@redhat.com>
11164
11165         PR breakpoints/9352:
11166         * gdb.base/default.exp: Update.
11167         * gdb.base/commands.exp: Update.
11168         * gdb.cp/extern-c.exp: Test setting commands on multiple
11169         breakpoints at once.
11170
11171 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11172
11173         * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11174         if gdb,nosignals.
11175         * gdb.base/watchpoints.c: Do not include unnecessary headers.
11176         * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11177         exited".
11178
11179 2010-03-24  Stan Shebs  <stan@codesourcery.com>
11180
11181         * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11182
11183 2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
11184
11185         * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11186         * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11187         argument.  Handle "short" and "long".
11188         (Top level): Pass overprototyped output for old_fptr and xptr.
11189
11190 2010-03-23  Pedro Alves  <pedro@codesourcery.com>
11191
11192         * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11193         format strings and add casts to avoid compiler warnings.
11194
11195 2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
11196
11197         * lib/trace-support.exp (gdb_trace_setactions):
11198         Don't expect whitespace after ">" prompt.
11199         * gdb.trace/actions.exp: Adjust for output changes.
11200         * gdb.trace/while-stepping.exp: Likewise.
11201
11202 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11203
11204         * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11205         and r157645).
11206
11207 2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11208
11209         * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11210         New.
11211
11212 2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
11213
11214         * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11215         * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11216
11217 2010-03-19  Stan Shebs  <stan@codesourcery.com>
11218
11219         * gdb.trace/ax.exp: New file.
11220
11221 2010-03-19  Doug Evans  <dje@google.com>
11222
11223         * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11224         output from gcc.
11225
11226         * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11227         named /usr/sbin/prelink<foo>.
11228
11229 2010-03-18  Stan Shebs  <stan@codesourcery.com>
11230
11231         * gdb.trace/circ.exp: Test circular-trace-buffer.
11232         * gdb.trace/tfile.exp: Update tstatus test.
11233
11234 2010-03-18  Joel Brobecker  <brobecker@adacore.com>
11235
11236         * gdb.dwarf2/dw2-anonymous-func.S: New file.
11237         * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11238
11239 2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11240
11241         * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11242
11243 2010-03-18  Pedro Alves  <pedro@codesourcery.com>
11244
11245         * gdb.base/default.exp: Adjust the expected output of the finish
11246         and until commands when the inferior is not being run.
11247
11248 2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
11249
11250         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11251         * gdb.cp/nsusing.exp: Ditto.
11252
11253 2010-03-15  Tom Tromey  <tromey@redhat.com>
11254
11255         * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
11256         * gdb.cp/userdef.cc (operator==): New function.
11257         (main): New locals mem1, mem2.
11258
11259 2010-03-15  Jie Zhang  <jie@codesourcery.com>
11260
11261         * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
11262         Declare and use new loadtimeout variable.
11263
11264 2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
11265
11266         * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
11267         Use gdb_load later.
11268
11269 2010-03-14  Pedro Alves  <pedro@codesourcery.com>
11270
11271         * gdb.base/solib-disc.c (main): Make format of fprintf a string
11272         literal.  Add missing endlines to prints to stderr.
11273
11274 2010-03-12  Tom Tromey  <tromey@redhat.com>
11275
11276         PR c++/9708:
11277         * gdb.cp/m-static.exp: Add regression test.
11278         * gdb.cp/m-static.cc (method): New method.
11279         (main): Call it.
11280
11281 2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
11282
11283         * gdb.cp/gdb2384-base.h: Created 'namespace B'.
11284         * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
11285
11286 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
11287
11288         * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
11289
11290 2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
11291
11292         * lib/gdb.exp (skip_stl_tests): New.
11293         (gdb_compile): Symbian needs -ldl.
11294         (shlib_target_file): New.
11295         (shlib_symbol_file): New.
11296         (gdb_load_shlibs): Use shlib_target_file.
11297         * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
11298         * gdb.cp/exception.exp: Use skip_stl_tests.
11299         * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
11300         * gdb.cp/try_catch.exp: Use skip_stl_tests.
11301         * gdb.cp/mb-templates.exp: Ditto.
11302         * gdb.base/commands.exp: Relax regexes.
11303         * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
11304         shlib_target_file and shlib_symbol_file.
11305         * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
11306         sections.
11307         * gdb.base/ending-run.exp: Accept E32Main for symbian.
11308         * gdb.base/solib-disc.exp: Use
11309         shlib_target_file and shlib_symbol_file.
11310         * gdb.base/unload.exp: Don't skip on symbian.  Use
11311         shlib_target_file and shlib_symbol_file.
11312         * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
11313
11314 2010-03-12  Pedro Alves  <pedro@codesourcery.com>
11315
11316         * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
11317         * gdb.trace/report.exp: Adjust for x86 and x86_64.
11318         Issue a tfind end before looking for a tracepoint frame.
11319         * gdb.trace/tfind.exp: Adjust tstatus output.
11320         Adjust disassembly output.
11321         * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
11322
11323 2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11324
11325         * gdb.base/break-interp.exp: Create new displacement parameter value
11326         for the test_ld calls.
11327         (reach): New parameter displacement, verify its content.  New push of
11328         pf_prefix "reach-$func:".  Import global expect_out.
11329         (test_core): New parameter displacement, verify its content.  New push
11330         of pf_prefix "core:".  New command "set verbose on".  Import global
11331         expect_out.
11332         (test_attach): New parameter displacement, verify its content.  New
11333         push of pf_prefix "attach:".  New command "set verbose on".  Import
11334         global expect_out.
11335         (test_ld): New parameter displacement, pass it to the reach, test_core
11336         and test_attach calls and verify its content in the "ld.so exit" test.
11337         * gdb.base/prelink.exp: Remove gdb_exit and final return.
11338         (prelink): Update expected text, use gdb_test.
11339
11340 2010-03-10  Doug Evans  <dje@google.com>
11341
11342         * gdb.base/checkpoint.exp: Fix comment.
11343         Lengthen timeout while doing >600 checkpoints test.
11344         Rename duplicate "kill all one" test to keep test names unique.
11345
11346 2010-03-10  Pedro Alves  <pedro@codesourcery.com>
11347
11348         * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
11349
11350 2010-03-08  Keith Seitz  <keiths@redhat.com>
11351
11352         * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
11353         * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
11354         (dm_type_long): New function.
11355         (dm_type_unsigned_short): New function.
11356         (dm_type_unsigned_long): New function.
11357         (myint): New typedef.
11358         * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
11359         long, unsigned shor and long, operator char*, and typedef.
11360         (test_lookup_operator_functions): Add operator char* test.
11361         (test_paddr_operator_functions): Likewise.
11362         (test_paddr_overloaded_functions): Use probe values for
11363         short, long, and unsigned short and long.
11364         (test_paddr_hairy_functions): If the demangler probe detected
11365         gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
11366         demangler.
11367         * gdb.cp/expand-sals.exp: Backtrace may contain class names.
11368         * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
11369         and "print null_pmf".
11370         Add test "ptype a.*pmf".
11371         * gdb.cp/overload.exp: Allow optional "int" to appear with
11372         "short" and "long".
11373         * gdb.cp/ovldbreak.exp: Use append to construct super-duper
11374         long expect value for men_overload1arg.
11375         Allow "int" to appear with "short" and "long".
11376         When testing "info break", add argument for main (void).
11377         Also allow "int" to appear with "short" and "long".
11378         Ditto with "unsigned" and "long long".
11379         * gdb.java/jmain.exp: Do not enclose methods names in single
11380         quotes.
11381         * gdb.java/jmisc.exp: Likewise.
11382         * gdb.java/jprint.exp: Likewise.
11383         * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
11384
11385         From Jan Kratochvil  <jan.kratochvil@redhat.com>:
11386         * gdb.cp/exception.exp (backtrace after first throw)
11387         (backtrace after second throw): Allow a namespace before __cxa_throw.
11388         (backtrace after first catch, backtrace after second catch): Allow
11389         a namespace before __cxa_begin_catch.
11390
11391         * gdb.cp/cpexprs.exp: New file.
11392         * gdb.cp/cpexprs.cc: New file.
11393
11394         From Daniel Jacobowitz  <dan@codesourcery.com>
11395         * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
11396         to use string_to_regexp.
11397         (ctor, dtor): New functions.  Use them to match constructor
11398         and destructor function types.
11399         (Top level): Use runto_main.
11400
11401 2010-03-05  Tom Tromey  <tromey@redhat.com>
11402
11403         * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
11404         gdb.target_charset.
11405         (pp_ns.to_string): Likewise.
11406
11407 2010-03-04  Keith Seitz  <keiths@redhat.com>
11408
11409         * gdb.cp/overload.exp: Test that the filename portion of a linespec
11410         can be quoted.  Test that both the filename and function/line
11411         portions can be quoted at the same time.
11412
11413 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
11414
11415         * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
11416
11417 2010-03-03  Doug Evans  <dje@google.com>
11418
11419         * lib/gdb.exp (gdb_compile_pthreads): Handle case where
11420         libc contains libpthread.
11421
11422         * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
11423         * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
11424         of gdb_compile.  Add another pattern to match android backtrace.
11425
11426 2010-03-03  Tom Tromey  <tromey@redhat.com>
11427
11428         PR gdb/11345:
11429         * gdb.base/printcmds.exp (test_printf): Add test.
11430
11431 2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>
11432
11433         * gdb.arch/amd64-byte.exp: New.
11434         * gdb.arch/amd64-dword.exp: Likewise.
11435         * gdb.arch/amd64-pseudo.c: Likewise.
11436         * gdb.arch/amd64-word.exp: Likewise.
11437         * gdb.arch/i386-byte.exp: Likewise.
11438         * gdb.arch/i386-pseudo.c: Likewise.
11439         * gdb.arch/i386-word.exp: Likewise.
11440
11441 2010-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
11442
11443         * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
11444         types.  Add structreg, bitfields, and flags registers.
11445         * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
11446         registers.
11447
11448 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11449
11450         * gdb.xml/tdesc-regs.exp (architecture): New.  Set it for x86.
11451         (load_description): Set architecture if defined.
11452
11453 2010-02-28  Phil Muldoon  <pmuldoon@redhat.com>
11454
11455         * gdb.python/py-frame.exp: Add read_var block tests.
11456         * gdb.python/py-frame.c (block): New function.
11457
11458 2010-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
11459             Daniel Jacobowitz  <dan@codesourcery.com>
11460
11461         * gdb.base/callfuncs.exp: New tests for $spval 0 and -1.  Remove return.
11462
11463 2010-02-25  David S. Miller  <davem@davemloft.net>
11464
11465         * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
11466         fix logic for setting all_syscalls_numbers.
11467
11468 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
11469
11470         * Makefile.in: Add py-block and py-symbol.
11471         * gdb.python/py-symbol.exp: New File.
11472         * gdb.python/py-symtab.exp: New File.
11473         * gdb.python/py-block.exp: New File.
11474         * gdb.python/py-symbol.c: New File.
11475         * gdb.python/py-block.c: New File.
11476
11477 2010-02-24  Phil Muldoon  <pmuldoon@redhat.com>
11478
11479         PR python/11314
11480         * lib/gdb.exp (skip_python_tests): New function.
11481         * gdb.python/py-cmd.exp: Use skip_python_tests.
11482         * gdb.python/py-frame.exp: Likewise.
11483         * gdb.python/py-function.exp: Likewise.
11484         * gdb.python/py-prettyprint.exp: Likewise.
11485         * gdb.python/py-template.exp: Likewise.
11486         * gdb.python/py-type.exp: Likewise.
11487         * gdb.python/py-value.exp: Likewise.
11488
11489 2010-02-22  Pedro Alves  <pedro@codesourcery.com>
11490
11491         PR9605
11492
11493         * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
11494
11495 2010-02-19  Tom Tromey  <tromey@redhat.com>
11496
11497         PR c++/8693, PR c++/9496:
11498         * gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
11499         regression tests.
11500
11501 2010-02-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
11502
11503         Fix compatibility with m68k as.
11504         * gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
11505         Use only /* comments */.
11506
11507 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11508
11509         * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
11510         * configure: Regenerate.
11511
11512 2010-02-18  Daniel Jacobowitz  <dan@codesourcery.com>
11513
11514         * gdb.python/py-type.exp: Check for Python support.
11515
11516 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
11517
11518         * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
11519         `regsub' syntax available.
11520
11521 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
11522
11523         * gdb.base/shmain.c (main): Remove printf call.
11524         * gdb.base/sizeof.c (main): Cast return of sizeof to int.
11525         * gdb.base/unload.c (main): Make format of fprintf a string
11526         literal.  Add missing endlines to prints to stderr.
11527         * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
11528
11529 2010-02-17  Tom Tromey  <tromey@redhat.com>
11530
11531         * gdb.java/jprint.java (jprint.props): New field.
11532         * gdb.java/jprint.exp (set_lang_java): Add regression test.
11533
11534 2010-02-17  Pedro Alves  <pedro@codesourcery.com>
11535
11536         * gdb.base/charset.exp: Don't assume new `regsub' syntax
11537         available.
11538
11539 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11540
11541         * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
11542         creation to support remote host testing.
11543
11544 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11545
11546         * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
11547         Recognize "command not found".
11548
11549 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11550
11551         * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
11552         single-stepping.
11553
11554 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11555
11556         * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
11557         if arguments are not supported.
11558
11559 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11560
11561         * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
11562         be const or non-const.
11563
11564 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11565
11566         * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
11567         mi_send_resuming_command to send -exec-continue.
11568
11569 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11570
11571         * gdb.base/list.exp (test_list_filename_and_function): Add test
11572         with single quotes.
11573         * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11574         matching.
11575         * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11576         Add KFAIL'd tests for PR gdb/11289.
11577
11578 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11579
11580         * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11581
11582 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11583
11584         * gdb.base/comp-dir/subdir/dummy.txt: New file.
11585         * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11586         a temporary directory.
11587
11588 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
11589
11590         * gdb.base/charset.exp: Use a single regular expression to match
11591         show host-charset and show target-charset output.
11592
11593 2010-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
11594
11595         * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11596         "Illegal process-id" expect string more exact.
11597         (attach to digits-starting nonsense is prohibited): New.
11598
11599 2010-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11600
11601         * gdb.base/prelink.exp (set verbose on): New.
11602
11603 2010-02-12  Tomas Holmberg  <th@virtutech.com>
11604
11605         * mi-reverse.exp: New file. Test for reverse option to the
11606         following MI commands: exec-continue, exec-finish, exec-next,
11607         exec-step, exec-next-instruction, exec-step-instruction.
11608
11609 2010-02-09  Joel Brobecker  <brobecker@adacore.com>
11610
11611         * gdb.ada/ptype_tagged_param: New testcase.
11612
11613 2010-02-08  Tom Tromey  <tromey@redhat.com>
11614
11615         PR c++/8017:
11616         * gdb.cp/overload.exp: Add tests.
11617         * gdb.cp/overload.cc (struct K): New.
11618         (namespace N): New.
11619         (main): Call new functions.
11620         (K::staticoverload): Define.
11621
11622 2010-02-08  Chris Moller  <moller@mollerware.com>
11623
11624         PR gdb/10728
11625         * gdb.cp/pr10728-x.h: New file.
11626         * gdb.cp/pr10728-x.cc: New file.
11627         * gdb.cp/pr10728-y.cc: New file.
11628         * gdb.cp/pr10728.exp: New file.
11629         * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11630
11631 2010-02-08  Chris Moller  <moller@mollerware.com>
11632
11633         PR gdb/9067
11634         * gdb.cp/pr9067.exp:  New
11635         * gdb.cp/pr9067.cc:   New
11636         * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11637
11638 2010-02-08  Joel Brobecker  <brobecker@adacore.com>
11639
11640         * lib/gdb.exp (gdb_test_timeout): New global variable.
11641         Set it to timeout if not already set.
11642         (gdb_init): Reset the value of timeout to gdb_test_timeout.
11643
11644 2010-02-05  Doug Evans  <dje@google.com>
11645
11646         * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11647         user.
11648
11649 2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
11650
11651         PR c++/7935:
11652         * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11653
11654 2010-02-04  Tom Tromey  <tromey@redhat.com>
11655
11656         * gdb.cp/virtbase.exp: Make test case names unique.
11657
11658 2010-02-02  Tom Tromey  <tromey@redhat.com>
11659
11660         * gdb.cp/virtbase.exp: Add regression tests.
11661         * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11662         (main): Instantiate RHC.
11663
11664 2010-02-02  Tom Tromey  <tromey@redhat.com>
11665
11666         * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11667         type-printing change.
11668
11669 2010-02-02  Tom Tromey  <tromey@redhat.com>
11670
11671         PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11672         * gdb.cp/virtbase.cc: New file.
11673         * gdb.cp/virtbase.exp: New file.
11674         * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11675
11676 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
11677
11678         PR libc/11214:
11679         * gdb.threads/current-lwp-dead.c: Include features.h.
11680         (HAS_NOMMU): New.
11681         (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11682
11683 2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
11684
11685         * gdb.base/symbol-without-target_section.exp,
11686         gdb.base/symbol-without-target_section.c: New.
11687
11688 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
11689
11690         * gdb.base/bigcore.exp: Reset increased timeout.
11691         * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11692
11693 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
11694
11695         * gdb.base/gcore.exp (capture_command_output): Use
11696         gdb_test_multiple.
11697
11698 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
11699
11700         * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11701         * gdb.arch/thumb2-it.exp (test_it_break): New function.
11702         (Top level): Call it.
11703
11704 2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
11705
11706         * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11707
11708 2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
11709
11710         * gdb.base/call-strs.exp, gdb.base/default.exp,
11711         gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11712         gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11713         gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11714         gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11715         gdb.base/watchpoint-solib.exp: Save and restore timeout.
11716         * gdb.base/ending-run.exp: Correct restore of timeout.
11717         * gdb.base/page.exp: Remove unnecessary timeout setting.
11718
11719 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
11720
11721         * gdb.ada/rec_return: New testcase.
11722
11723 2010-01-29  Joel Brobecker  <brobecker@adacore.com>
11724
11725         * gdb.ada/call_pn: New testcase.
11726
11727 2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
11728
11729         * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11730         (Top level): Use it to resume.
11731         * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11732         the Thumb mode displaced stepping error as unsupported.
11733
11734 2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
11735
11736         * gdb.cp/nsusing.exp: Added more tests.
11737         * gdb.cp/nsrecurs.exp: Ditto.
11738         * gdb.cp/nsusing.cc: Added test functions.
11739         * gdb.cp/nsrecurs.cc: Ditto.
11740
11741 2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
11742
11743         * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11744         absolute directory pathnames in gdb.sum file.
11745
11746 2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
11747
11748         * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11749         * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11750
11751 2010-01-26  Tom Tromey  <tromey@redhat.com>
11752
11753         PR exp/7643:
11754         * gdb.base/printcmds.exp (test_print_string_constants): Remove
11755         setup_kfail.
11756
11757 2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
11758
11759         * gdb.cp/nsrecurs.exp: New test.
11760         * gdb.cp/nsrecurs.cc: New test program.
11761         * gdb.cp/nsstress.exp: New test.
11762         * gdb.cp/nsstress.cc: New test program.
11763         * gdb.cp/nsdecl.exp: New test.
11764         * gdb.cp/nsdecl.cc: New test program.
11765
11766 2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
11767
11768         * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11769         imported into file scope.
11770         Marked test as xfail.
11771         * gdb.cp/namespace-using.cc (marker5): New function.
11772         * gdb.cp/shadow.exp: New test.
11773         * gdb.cp/shadow.cc: New test program.
11774         * gdb.cp/nsimport.exp: New test.
11775         * gdb.cp/nsimport.cc: New test program.
11776
11777 2010-01-25  Tom Tromey  <tromey@redhat.com>
11778
11779         PR gdb/11049:
11780         * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11781         with "set print null-stop on".
11782
11783 2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
11784
11785         * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11786         Adjust it for DISASSEMBLY_OMIT_FNAME.
11787
11788 2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11789
11790         PR symtab/11199:
11791         * gdb.dwarf2/member-ptr-forwardref.exp,
11792         gdb.dwarf2/member-ptr-forwardref.S: New.
11793
11794 2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11795
11796         * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11797         (thread1_func): Protect thread1_tid with thread1_tid_cond by
11798         thread1_tid_mutex.  Remove gdbstop_mutex handling.
11799         (thread2_func): Protect thread2_tid with thread2_tid_cond by
11800         thread2_tid_mutex.  Remove gdbstop_mutex handling.
11801         (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11802         pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
11803         pthread_cond_wait conditionalizations by while loops.
11804
11805 2010-01-20  Tom Tromey  <tromey@redhat.com>
11806
11807         PR backtrace/10770:
11808         * gdb.dwarf2/pr10770.exp: New file.
11809         * gdb.dwarf2/pr10770.c: New file.
11810         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11811
11812 2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
11813
11814         * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11815         that target was removed, and the test always runs native anyway.
11816
11817 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
11818
11819         * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11820         gdb.base/watchpoint-cond-gone-stripped.c: New.
11821
11822 2010-01-19  Tom Tromey  <tromey@redhat.com>
11823
11824         PR c++/8000:
11825         * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
11826         existing tests.
11827         * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11828         (main): Use AAA::SomeEnum.
11829
11830 2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
11831
11832         * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11833         (test_ignore_count): Declare line_callme_body global.
11834         (run to breakpoint with ignore count): Use line_callme_body.
11835         * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11836         (set line_main_hello, set line_main_return): Reindent.
11837         (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11838         New.
11839         (continue to callee4): Use line_callee4_body.
11840         (check *stopped from CLI command): Use line_callee4_next.
11841         * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11842         (set line_main_hello, set line_main_return): Reindent.
11843         (set line_callee4_head, set line_callee4_body): New.
11844         (continue to callee4): Use line_callee4_body.
11845
11846 2010-01-18  Tom Tromey  <tromey@redhat.com>
11847
11848         PR c++/9680:
11849         * gdb.cp/casts.cc: Add new classes and variables.
11850         * gdb.cp/casts.exp: Test new operators.
11851
11852 2010-01-18  Tom Tromey  <tromey@redhat.com>
11853             Thiago Jung Bauermann  <bauerman@br.ibm.com>
11854
11855         * gdb.python/source2.py: New file.
11856         * gdb.python/source1: New file.
11857         * gdb.python/python.exp: Test "source" command.
11858
11859 2010-01-15  Stan Shebs  <stan@codesourcery.com>
11860
11861         * gdb.trace/tfile.c: New file.
11862         * gdb.trace/tfile.exp: New file.
11863
11864 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11865
11866         * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11867
11868 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11869
11870         * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11871
11872 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11873
11874         * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11875         (libfunc): New parameter action.  Implement also selectable "sleep".
11876         * gdb.base/break-interp-main.c: Include assert.h.
11877         (libfunc): New parameter action.
11878         (main): New parameters argc and argv.  Assert argc.  Pass argv.
11879         * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11880         (test_attach): New proc.
11881         (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
11882         * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
11883
11884 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11885
11886         * gdb.base/break-interp.exp (test_core): New proc.
11887         (test_ld): Call it.
11888
11889 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11890
11891         * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11892         * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
11893         New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
11894         and gdb_compile_shlib.  Use new -Wl compiler options.
11895         (dl bt, main bt): New tests.
11896
11897 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11898
11899         Support PIEs with no symfile_objfile.
11900         * gdb.base/break-interp.exp: New argument at the test_ld calls.
11901         (test_ld): New parameter trynosym.
11902         (test_ld <$trynosym>): New block.
11903
11904 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
11905
11906         * gdb.base/break-interp.exp: New file.
11907
11908 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
11909
11910         * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11911         * gdb.python/py-prettyprint.py (pp_ls): New printer.
11912         * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11913         test.
11914         * gdb.python/py-prettyprint.c: Define lazystring test structure.
11915         * gdb.python/py-mi.exp: Add lazy string test.
11916
11917 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
11918
11919         * lib/mi-support.exp (mi_check_thread_states): Handle
11920         core number in thread listing.
11921
11922 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
11923
11924         * gdb.base/maint.exp: Adjust the expected output for the
11925         "maint print type" test. Use gdb_test_multiple instead of
11926         gdb_sent/gdb_expect.
11927
11928 2010-01-11  Doug Evans  <dje@google.com>
11929
11930         * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11931         from gdbserver_download.  All callers updated.
11932
11933         * gdb.server/ext-run.exp: "info os processes" requires xml support.
11934
11935 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11936
11937         Implement binary numbers parsing.
11938         * gdb.base/printcmds.exp (test_integer_literals_accepted)
11939         (test_integer_literals_rejected): New binary tests.
11940
11941 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11942
11943         * gdb.cell/configure: Regenerate.
11944
11945 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
11946
11947         * gdb.base/corefile.exp: Move the core finding block out and call it as
11948         core_find, new variable $corefile, replace corefile by $corefile and
11949         [file tail $corefile] for usage vs. test names resp.
11950         * lib/gdb.exp (core_find): Move it as a new function here.  New
11951         parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
11952         $destcore.  Return "" on error.
11953
11954 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
11955
11956         Workaround PR binutils/10802.
11957         * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11958         (twice).
11959
11960 2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
11961
11962         * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11963
11964 2010-01-08  Joel Brobecker  <brobecker@adacore.com>
11965
11966         * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11967         call, to avoid interruption.
11968
11969 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
11970
11971         * gdb.stabs/weird.def (args93): New.
11972
11973 2010-01-07  Doug Evans  <dje@google.com>
11974
11975         * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11976
11977 2010-01-07  Tom Tromey  <tromey@redhat.com>
11978
11979         * gdb.base/source.exp: Use correct line number.
11980
11981 2010-01-05  Stan Shebs  <stan@codesourcery.com>
11982
11983         * gdb.trace/tracecmd.exp: Test ftrace.
11984
11985 2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11986
11987         * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11988
11989 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
11990
11991         * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11992         "uint_for_mi_testing".
11993
11994 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
11995
11996         Test indented comment in file being sourced.
11997         * gdb.base/commands.exp: Test indented comment in file being sourced.
11998
11999 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
12000
12001         * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12002         gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12003         gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12004         notice.
12005
12006 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
12007
12008         * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12009         notice.
12010
12011 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
12012
12013         * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12014         missing $after_stopped and comma (,) expectation.
12015
12016 2009-12-31  Stan Shebs  <stan@codesourcery.com>
12017
12018         * gdb.trace/actions.exp: Test teval action.
12019
12020 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
12021
12022         * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12023         (top level): Call test_watchpoint_in_big_blob.
12024         * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12025         watchpoints.
12026         (func3): Write to buf.
12027
12028 2009-12-29  Stan Shebs  <stan@codesourcery.com>
12029
12030         * gdb.trace/actions.exp: Test default-collect.
12031
12032 2009-12-28  Stan Shebs  <stan@codesourcery.com>
12033
12034         * gdb.trace/tsv.exp: New file.
12035         * gdb.base/completion.exp: Update ambiguous info output.
12036
12037 2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
12038
12039         * gdb.base/find.c (main): Reference search buffers.
12040         * gdb.base/included.c (main): Reference integer.
12041         * gdb.base/ptype.c (charfoo): Declare.
12042         (intfoo): Call charfoo.
12043         * gdb.base/scope0.c (useitp): New function.
12044         (usestatics): Use useitp.
12045         (useit): Add a type for val.
12046         * gdb.base/scope1.c (useit1): Take a pointer argument.
12047         (usestatics1): Update calls to useit1.
12048         * gdb.cp/call-c.cc: Declare foo.
12049         (main): Call foo.
12050         * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12051         * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12052         (main): Call C::ensureRefs and ensureOtherRefs.
12053         * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12054         variables.
12055         (ensureOtherRefs): New function.
12056         * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12057         * gdb.cp/templates.cc (main): Call t5i.value.
12058
12059 2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
12060
12061         Fix compatibility with G++-4.5.
12062         * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12063         * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12064         (uncaught return): Remove.
12065
12066 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
12067             Phil Muldoon  <pmuldoon@redhat.com>
12068
12069         * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12070         (bp_location13, bp_location14, bp_location17, bp_location18)
12071         (marker3_proto, marker4_proto): New variables.
12072         (breakpoint info): Update output.
12073         (run until breakpoint at marker3, run until breakpoint at marker4): New
12074         tests.
12075
12076 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
12077
12078         * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12079         Replace the printf call of Y by provided "y-set-1" label.  New block
12080         for the second shared library.
12081         * gdb.base/unload.exp: Compile also the second library, call
12082         gdb_load_shlibs also for it.  Use now gdb_breakpoint.
12083         (single pending breakpoint info): Rename to ...
12084         (pending breakpoint info before run): ... this extended test.
12085         (libfile2, libname2, libsrcfile2, libsrc2)
12086         (lib_sl2): New variables.
12087         (exec_opts): Set also SHLIB_NAME2.
12088         (pending breakpoint info on first run at shrfunc1)
12089         (pending breakpoint info on second run at shrfunc1)
12090         (pending breakpoint info on second run at shrfunc2)
12091         (print y from libfile, print y from libfile2): New tests.
12092         * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12093         * gdb.base/unloadshr2.c: New.
12094
12095 2009-12-22  Hui Zhu  <teawater@gmail.com>
12096
12097         * gdb.reverse/sigall-reverse.exp: Adjust.
12098
12099 2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
12100
12101         PR gdb/10884
12102
12103         * gdb.mi/var-cmd.c (do_bitfield_tests): New
12104         (main): Call do_bitfield_tests.
12105         * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
12106
12107 2009-12-20  Joel Brobecker  <brobecker@adacore.com>
12108
12109         * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12110         gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12111         gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12112         gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12113         gdb.modula2/unbounded1.c: Update copyright header.
12114
12115 2009-12-10  Chris Moller  <moller@mollerware.com>
12116
12117         PR gdb/9399
12118         * gdb.cp/virtfunc2.exp: New tests
12119         * gdb.cp/virtfunc2.cc: New tests
12120         * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12121
12122 2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
12123
12124         * gdb.reverse/i387-env-reverse.c: New file.
12125         * gdb.reverse/i387-env-reverse.exp: New file.
12126         * gdb.reverse/i387-stack-reverse.c: New file.
12127         * gdb.reverse/i387-stack-reverse.exp: New file.
12128
12129 2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
12130
12131         * gdb.python/py-type.exp (test_range): New test.
12132
12133 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
12134
12135         PR python/10805
12136
12137         * gdb.python/py-type.exp: New file.
12138         * gdb.python/py-type.c: New file.
12139         * Makefile.in: Add py-type.
12140
12141 2009-12-03  Tom Tromey  <tromey@redhat.com>
12142
12143         * gdb.python/py-value.exp (test_parse_and_eval): New
12144         function.
12145
12146 2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12147
12148        PR gdb/11022
12149
12150        * gdb.base/pr11022.exp: New test.
12151        * gdb.base/pr11022.c: New test.
12152
12153 2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
12154
12155         Fix spurious false FAILs.
12156         * gdb.base/structs.c (chartest): New.
12157         (main): Fill-in chartest.
12158         * gdb.base/structs.exp (anychar_re, first): New.
12159         (start_structs_test): Import global anychar_re and first.
12160         New gdb_test call "set print elements 300; ${testfile}"
12161         (start_structs_test <$first>): New block.
12162         (any): Import global anychar_re.  New variable ac.  Use ${ac}.
12163
12164 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
12165
12166         * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12167
12168 2009-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
12169
12170         * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12171         Force $srcfile file.
12172         * gdb.base/foll-fork.c (callee): Comment out the printf call.
12173
12174 2009-11-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12175
12176         * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12177         * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12178         * gdb.threads/watchthreads-reorder.exp: Likewise.
12179
12180 2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
12181
12182         PR gdb/8704
12183
12184         * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12185         "if", and "thread".  Correct matching in the previous test.
12186
12187 2009-11-25  Daniel Jacobowitz  <dan@codesourcery.com>
12188
12189         * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12190
12191 2009-11-23  Michael Snyder  <msnyder@vmware.com>
12192
12193         * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12194         * gdb.reverse-watch-precsave.exp: Ditto.
12195
12196 2009-11-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
12197
12198         * gdb.asm/asm-source.exp: Adjust.
12199         * gdb.base/help.exp: Adjust.
12200
12201 2009-11-22  Pedro Alves  <pedro@codesourcery.com>
12202
12203         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12204         (do_syscall_tests_without_xml): Set data-directory to
12205         /the/path/to/nowhere.
12206
12207 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
12208
12209         * gdb.threads/local-watch-wrong-thread.c,
12210         gdb.threads/local-watch-wrong-thread.exp: New files.
12211
12212 2009-11-21  Pedro Alves  <pedro@codesourcery.com>
12213
12214         * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12215         assume new `regsub' syntax available.
12216
12217 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12218
12219         * gdb.base/watchpoint-hw-hit-once.exp,
12220         gdb.base/watchpoint-hw-hit-once.c: New.
12221
12222 2009-11-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
12223
12224         * gdb.threads/watchthreads-reorder.exp,
12225         gdb.threads/watchthreads-reorder.c: New.
12226
12227 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
12228
12229         * gdb.xml/tdesc-regs.exp: Use for m68k.
12230
12231 2009-11-15  Pedro Alves  <pedro@codesourcery.com>
12232
12233         * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12234
12235 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12236
12237         * lib/gdb.exp (current_target_name): New procedure.
12238         (gdb_wrapper_target): New variable.
12239         (gdb_wrapper_init): Set gdb_wrapper_target.
12240         (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12241         wrapper.
12242
12243 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12244
12245         * gdb.base/remote.exp: Delete the slowest load test.
12246         Do not load with fixed packet sizes.
12247
12248 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12249
12250         * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12251
12252 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12253
12254         * gdb.base/freebpcmd.exp: Delete unused variable.  Specify
12255         srcfile when setting a breakpoint.
12256
12257 2009-11-13  Maciej W. Rozycki  <macro@codesourcery.com>
12258
12259         * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
12260         macros.
12261
12262 2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
12263
12264         * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
12265         to be in memory.
12266         * gdb.base/display.c (force_mem): New.
12267         (do_loops): Use it.  Add breakpoint comments.
12268         (do_vars): Add a breakpoint comment.
12269         * gdb.base/display.exp: Use gdb_get_line_number.  Remove hardcoded
12270         line numbers.
12271
12272 2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
12273
12274         * gdb.base/pending.exp: Use gdb_run_cmd to start the program
12275         instead of a bare "run".
12276
12277 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
12278
12279         * gdb.python/py-prettyprint.exp: Adjust.
12280
12281 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12282
12283         * lib/cell.exp (skip_cell_tests): Clean up test files before
12284         returning.
12285
12286 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12287
12288         * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
12289         and the breakpoint menu.  Do not call perror if a prompt is seen.
12290         Consume the following GDB prompt.
12291         * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
12292         * gdb.cp/namespace.exp: Use gdb_test.
12293         * gdb.cp/templates.exp: Use gdb_test.
12294         (test_template_breakpoints): Use gdb_test_multiple.
12295
12296 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12297
12298         * gdb.base/break1.c (struct some_struct, values): Move earlier.
12299         (marker4): Reference values.
12300
12301 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12302
12303         * gdb.base/macscp.exp: Avoid the first FAIL if macro information
12304         is missing.
12305
12306 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12307
12308         * gdb.base/break.c (need_malloc): New.
12309         * gdb.base/constvars.c (main): Reference crass and crisp.
12310         * gdb.base/gdb1821.c (main): Reference bar.
12311         * gdb.cp/gdb1355.cc (main): Reference s1.
12312         * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
12313         (main): Call them.
12314         * gdb.cp/hang2.cc (dummy2): Define.
12315         * gdb.cp/hang3.cc (dummy3): Define.
12316         * gdb.cp/m-data.cc (main): Reference shadow.
12317
12318 2009-11-12  Daniel Jacobowitz  <dan@codesourcery.com>
12319             Nathan Froyd  <froydnj@codesourcery.com>
12320
12321         * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
12322         remote host.
12323
12324 2009-11-12  Nathan Froyd  <froydnj@codesourcery.com>
12325
12326         * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
12327         * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
12328         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12329         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12330         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12331         * gdb.dwarf2/dw2-producer.exp: Likewise.
12332         * gdb.dwarf2/mac-fileno.exp: Likewise.
12333         * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
12334         py-prettyprint.py to the remote host.
12335         * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
12336
12337 2009-11-11  Keith Seitz  <keiths@redhat.com>
12338
12339         * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
12340         use it instead of "Foo".
12341         * gdb.cp/classes.exp (do_tests): Add a test to access
12342         a method through a typedef'd class name.
12343
12344 2009-11-11  Nathan Froyd  <froydnj@codesourcery.com>
12345
12346         * gdb.base/long_long.exp: Permit leading zeros on floating-point
12347         exponents.
12348         * gdb.base/pointers.exp: Likewise.
12349         * gdb.cp/ref-types.exp: Likewise.
12350
12351 2009-11-11  Keith Seitz  <keiths@redhat.com>
12352
12353         * gdb.cp/cplusfuncs.cc (class foo): Add operators
12354         new[] and delete[].
12355         * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
12356         "void".
12357         (probe_demangler): Remove all single-quoting of
12358         method and variable names.
12359         (info_func_regexp): Remove the word "void" from any
12360         occurrence of "(void)".
12361         (print_addr_2): Remove all single-quoting of
12362         method names.
12363         (print_addr_2_kfail): Likewise.
12364         (print_addr): Single-quote C function names before
12365         passing to print_addr_2.
12366         (test_paddr_operator_functions): Remove single-quoting
12367         for method names.
12368         Add tests for operator new[] and operator delete[].
12369
12370 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12371
12372         * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
12373
12374 2009-11-09  Keith Seitz  <keiths@redhat.com>
12375
12376         * gdb.cp/overload.exp: Add tests for resolving overloaded
12377         methods in expression parsing/evaluation.
12378
12379 2009-11-10  Daniel Jacobowitz  <dan@codesourcery.com>
12380
12381         * lib/gdb.exp (default_gdb_version): Use --version instead of
12382         --command.
12383
12384 2009-11-10  Nathan Sidwell  <nathan@codesourcery.com>
12385
12386         * lib/gdb.exp (gdb_compile_test): New.
12387         (skip_ada_tests, skip_java_tests): New.
12388         (gdb_compile): Use gdb_compile_test for f77.
12389         * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
12390         * lib/java.exp (compile_java_from_source): Remove runtests check,
12391         use gdb_compile_test to record result.
12392         * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
12393         gdb.ada/exec_changed.exp, gdb.ada/start.exp,
12394         gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
12395         gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
12396         gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
12397         gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
12398         gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
12399         gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
12400         gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
12401         adjust gdb_compile invocations.
12402
12403 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
12404
12405         * Makefile.in (abs_builddir): New.
12406         (site.exp): New target `$(abs_builddir)/site.exp'.  New comment.
12407         (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
12408         `$(abs_builddir)/site.exp'.
12409
12410 2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
12411
12412         * config/m68k-emc.exp, lib/emc-support.exp,
12413         gdb.trace/gdb_c_test.c: Delete.
12414         * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
12415         gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12416         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12417         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12418         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12419         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
12420         casing for m68k-*-elf.
12421
12422 2009-11-03  Pedro Alves  <pedro@codesourcery.com>
12423
12424         * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
12425         * gdb.arch/i386-prologue.exp: Likewise.
12426         * gdb.arch/i386-unwind.exp: Likewise.
12427
12428 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
12429
12430         * lib/gdb.exp (gdb_expect): Fix timeout typo.
12431
12432 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
12433
12434         * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
12435
12436 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
12437
12438         * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
12439
12440 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12441
12442         * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
12443
12444 2009-11-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12445
12446         * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
12447         * gdb.base/sepdebug2.c: New file.
12448
12449 2009-10-31  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12450
12451         * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
12452         the modified warnings for catch syscall.  Verify if GDB was compiled
12453         with support for lib expat, and choose which tests to run depending
12454         on this.
12455
12456 2009-10-30  Vladimir Prus  <vladimir@codesourcery.com>
12457
12458         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
12459         that composite commands are parsed OK. And also test
12460         that breakpoint commands do work.
12461
12462 2009-10-23  Michael Snyder  <msnyder@vmware.com>
12463
12464         gdb.reverse/consecutive-precsave.exp: Change expect pattern
12465         to allow for new disassembly style.
12466
12467 2009-10-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12468
12469         * gdb.asm/asm-source.exp: Adjust.
12470
12471 2009-10-22  Michael Snyder  <msnyder@vmware.com>
12472
12473         * gdb.reverse/break-precsave.exp: New test.
12474         * gdb.reverse/consecutive-precsave.exp: Ditto.
12475         * gdb.reverse/finish-precsave.exp: Ditto.
12476         * gdb.reverse/i386-precsave.exp: Ditto.
12477         * gdb.reverse/machinestate-precsave.exp: Ditto.
12478         * gdb.reverse/sigall-precsave.exp: Ditto.
12479         * gdb.reverse/solilb-precsave.exp: Ditto.
12480         * gdb.reverse/step-precsave.exp: Ditto.
12481         * gdb.reverse/until-precsave.exp: Ditto.
12482         * gdb.reverse/watch-precsave.exp: Ditto.
12483
12484 2009-10-22  Michael Snyder  <msnyder@vmware.com>
12485
12486         * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
12487         for gdb_expect.  Adjust one test's expect strings for the new
12488         format of disassemble.
12489         * gdb.reverse/finish-reverse.exp: Delete 'return'.
12490         * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
12491         gdb_test_multiple.
12492         * gdb.reverse/step-reverse.exp: Delete 'return'.
12493         * gdb.reverse/until-reverse.exp: Delete blank lines.
12494         * gdb.reverse/watch-reverse.exp: Delete blank lines.
12495
12496 2009-10-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
12497
12498         * gdb.base/consecutive.exp: Adjust.
12499         * gdb.base/display.exp: Likewise.
12500         * gdb.base/pc-fp.exp: Likewise.
12501         * gdb.base/sigbpt.exp: Likewise.
12502
12503 2009-10-19  Michael Snyder  <msnyder@vmware.com>
12504
12505         * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
12506         * gdb.reverse/finish-reverse.c: Ditto.
12507         * gdb.reverse/sigall-reverse.c: Ditto.
12508         * gdb.reverse/solib-reverse.c: Ditto.
12509         * gdb.reverse/step-reverse.c: Ditto.
12510         * gdb.reverse/watch-reverse.c: Ditto.
12511
12512 2009-10-19  Pedro Alves  <pedro@codesourcery.com>
12513             Stan Shebs  <stan@codesourcery.com>
12514
12515         * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
12516         * gdb.base/foll-exec.exp: Adjust to expect a process id before
12517         "Executing new program".
12518         * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
12519         * gdb.base/multi-forks.exp: Ditto.  Adjust to the inferior being
12520         left listed after having been killed.
12521         * gdb.base/attach.exp: Adjust to spell out "symbol-file".
12522         * gdb.base/maint.exp: Adjust test.
12523
12524         * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
12525         * gdb.multi/Makefile.in: New.
12526         * gdb.multi/base.exp: New.
12527         * gdb.multi/goodbye.c: New.
12528         * gdb.multi/hangout.c: New.
12529         * gdb.multi/hello.c: New.
12530         * gdb.multi/bkpt-multi-exec.c: New.
12531         * gdb.multi/bkpt-multi-exec.exp: New.
12532         * gdb.multi/crashme.c: New.
12533
12534 2009-10-13  Tristan Gingold  <gingold@adacore.com>
12535
12536         * gdb.base/sepdebug.exp: Check debug info are found.
12537
12538 2009-10-08  Pedro Alves  <pedro@codesourcery.com>
12539
12540         * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
12541         bits.
12542
12543 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12544
12545         * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
12546
12547 2009-10-07  Joel Brobecker  <brobecker@adacore.com>
12548
12549         * gdb.base/watchpoints.c: Add copyright header.  Reformat one
12550         of the comments.
12551
12552 2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
12553
12554         * gdb.base/annota1.exp: Remove obsolete match_max increase.
12555         * gdb.base/annota3.exp: Idem.
12556         * gdb.base/maint.exp: Idem.
12557
12558 2009-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
12559
12560         * lib/gdb.exp (default_gdb_init): Set current value of match_max
12561         to default.
12562
12563 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
12564
12565         * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
12566         mingw and cygwin targets.
12567
12568 2009-10-02  Pierre Muller  <muller@ics.u-strasbg.fr>
12569             Pedro Alves  <pedro@codesourcery.com>
12570
12571         * lib/gdb.exp (gdb_compile): Avoid adding
12572         gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12573
12574 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
12575
12576         * gdb.base/shr1.c: Use %p in format string.
12577         * gdb.base/unload.c: Avoid warning in fprintf.
12578         * gdb.base/watchpoint-solib.c: Idem.
12579
12580 2009-10-01  Pierre Muller  <muller@ics.u-strasbg.fr>
12581
12582         * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12583         long type.
12584         (test_unlink): Correct printf string.
12585         * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12586         * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12587
12588 2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
12589
12590         * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12591         * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12592         * gdb.arch/ia64-breakpoint-shadow.S: New file.
12593
12594 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12595
12596         * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12597         * gdb.objc/nondebug.exp: Likewise.
12598
12599 2009-09-29  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12600
12601         * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12602         target_info setting.
12603
12604         * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12605         that detect new threads during "info threads".
12606
12607 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12608
12609         * gdb.threads/manythreads.c (main): Increase thread stack size
12610         to 2*PTHREAD_STACK_MIN.
12611         * gdb.threads/multi-create.c (main): Likewise.
12612         (create_function): Likewise.
12613
12614 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12615
12616         * gdb.base/dump.exp: Pass difference of pointer types instead
12617         of integer types as offset to restore in intarr3.srec case.
12618
12619 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12620
12621         * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12622
12623 2009-09-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12624
12625         * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12626
12627 2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
12628
12629         New test for two watchpoints, with disabling of
12630         the first inserted.
12631         * testsuite/gdb.base/watchpoints.c: New file.
12632         * testsuite/gdb.base/watchpoints.exp: New file.
12633
12634 2009-09-25  Tom Tromey  <tromey@redhat.com>
12635
12636         * gdb.base/charset.exp: Test utf-16 strings with Python.
12637
12638 2009-09-25  Tom Tromey  <tromey@redhat.com>
12639
12640         * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12641         UCS-4.
12642         * gdb.base/charset.c (utf_32_string): Rename.
12643         (init_utf32): Rename.
12644         (main): Update.
12645
12646 2009-09-22  Tom Tromey  <tromey@redhat.com>
12647
12648         * gdb.python/py-function.exp: Add regression tests.
12649
12650 2009-09-21  Keith Seitz  <keiths@redhat.com>
12651
12652         * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12653         with invalid operator.
12654
12655 2009-09-21  Keith Seitz  <keiths@redhat.com>
12656
12657         * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12658         and destructor using typedef name of class.
12659         * gdb.cp/classes.cc (class Base1): Add a destructor.
12660         (base1): New typedef.
12661         (use_methods): Instanitate an object of type base1.
12662         * gdb.cp/templates.exp (test_template_typedef): New procedure.
12663         (do_tests): Call test_template_typedef.
12664         * gdb.cp/templates.cc (Baz::~Baz): New method.
12665         (intBazOne): New typedef.
12666         (main): Instantiate intBazOne.
12667
12668 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
12669
12670         PR python/10633
12671
12672         * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12673         Function.
12674         (run_lang_tests): Add print elements test.
12675
12676 2009-09-21  Phil Muldoon <pmuldoon@redhat.com>
12677
12678         * gdb.python/py-value.exp (test_subscript_regression): New
12679         function.  Test for invalid subscripts.
12680         * gdb.python/py-value.c (main): Add test array, and pointer to it.
12681         (ptr_ref): New function.
12682
12683 2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
12684
12685         * gdb.base/default.exp: Fix "show convenience".
12686
12687 2009-09-15  Tom Tromey  <tromey@redhat.com>
12688
12689         * lib/mi-support.exp (mi_create_varobj): Update.
12690         (mi_create_floating_varobj): Likewise.
12691         (mi_create_dynamic_varobj): New proc.
12692         (mi_varobj_update): Update.
12693         (mi_varobj_update_with_type_change): Likewise.
12694         (mi_varobj_update_kv_helper): New proc.
12695         (mi_varobj_update_dynamic_helper): Rewrite.
12696         (mi_varobj_update_dynamic): New proc.
12697         (mi_list_varobj_children): Update.
12698         (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12699         * gdb.python/python-prettyprint.py (pp_outer): New class.
12700         (pp_nullstr): Likewise.
12701         (lookup_function): Register new printers.
12702         * gdb.python/python-prettyprint.c (struct substruct): New type.
12703         (struct outerstruct): Likewise.
12704         (substruct_test): New function.
12705         (struct nullstr): New type.
12706         (string_1, string_2): New globals.
12707         (main): Add new tests.
12708         * gdb.python/python-mi.exp: Added regression tests.
12709         * gdb.mi/mi2-var-display.exp: Update.
12710         * gdb.mi/mi2-var-cmd.exp: Update.
12711         * gdb.mi/mi2-var-child.exp: Update.
12712         * gdb.mi/mi2-var-block.exp: Update.
12713         * gdb.mi/mi-var-invalidate.exp: Update.
12714         * gdb.mi/mi-var-display.exp: Update.
12715         * gdb.mi/mi-var-cmd.exp: Update.
12716         * gdb.mi/mi-var-child.exp: Update.
12717         * gdb.mi/mi-var-block.exp: Update.
12718         * gdb.mi/mi-break.exp: Update.
12719         * gdb.mi/gdb701.exp: Update.
12720
12721 2009-09-14  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12722
12723         * Makefile.in: Inclusion of catch-syscall object.
12724         * gdb.base/catch-syscall.c: New file.
12725         * gdb.base/catch-syscall.exp: New file.
12726
12727 2009-09-12  Michael Snyder  <msnyder@vmware.com>
12728
12729         * gdb.reverse/step-reverse.exp: Explicitly check for targets
12730         that can support reverse debuggnig.
12731
12732 2009-09-11  Tom Tromey  <tromey@redhat.com>
12733
12734         * gdb.dwarf2/valop.S: New file.
12735         * gdb.dwarf2/valop.exp: New file.
12736
12737 2009-09-11  Mark Kettenis  <kettenis@gnu.org>
12738
12739         * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12740
12741 2009-09-10  Doug Evans  <dje@google.com>
12742
12743         * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12744         Add $gdb_prompt to second breakpoint regexp.
12745
12746 2009-09-08  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>
12747
12748         * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12749         names, add missing ones.
12750         * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12751         * gdb.python/py-frame.c: Rename from python-frame.c.
12752         * gdb.python/py-frame.exp: Rename from python-frame.exp.  Adjust
12753         testfile name.
12754         * gdb.python/py-function.exp: Rename from python-function.exp.
12755         * gdb.python/py-mi.exp: Rename from python-mi.exp.  Adjust
12756         testfile name.
12757         * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12758         * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12759         Adjust testfile name.
12760         * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12761         * gdb.python/py-template.cc: Rename from python-template.cc.
12762         * gdb.python/py-template.exp: Rename from python-template.exp.
12763         Adjust testfile name.
12764         * gdb.python/py-value.c: Rename from python-value.c.
12765         * gdb.python/py-value.exp: Rename from python-value.exp.  Adjust
12766         testfile name.
12767
12768 2009-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
12769
12770         * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12771         $bpt2address.
12772         (Second breakpoint address is valid on ia64)
12773         (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12774
12775 2009-09-03  Joseph Myers  <joseph@codesourcery.com>
12776
12777         * gdb.base/ending-run.exp: Restrict regular expression matching
12778         line number to require closing brace following.
12779
12780 2009-09-03  Doug Evans  <dje@google.com>
12781
12782         * gdb.base/store.exp (check_set): Fix typo in expected value message.
12783
12784 2009-09-02  Tom Tromey  <tromey@redhat.com>
12785
12786         * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12787
12788 2009-09-02  Tom Tromey  <tromey@redhat.com>
12789
12790         * gdb.dwarf2/callframecfa.exp: New file.
12791         * gdb.dwarf2/callframecfa.S: New file.
12792
12793 2009-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
12794
12795         * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12796         gdb.base/solib-overlap-main.c: New.
12797
12798 2009-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
12799
12800         PR gdb/10565
12801
12802         * gdb.base/bitfields.c (struct container, container): New.
12803         (main): Initialize it and call break5.
12804         * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12805
12806 2009-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
12807
12808         Support constant DW_AT_data_member_location by GCC PR debug/40659.
12809         * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12810
12811 2009-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
12812
12813         * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12814
12815 2009-08-26  Michael Snyder  <msnyder@vmware.com>
12816
12817         * gdb.base/i386-reverse.c: New file.
12818         * gdb.base/i386-reverse.exp: New file.
12819         * gdb.base/Makefile.in: Add new files to be removed.
12820
12821 2009-08-26  Joseph Myers  <joseph@codesourcery.com>
12822
12823         * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12824         environment-pwd for remote host.
12825         * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12826
12827 2009-08-24  Keith Seitz  <keiths@redhat.com>
12828
12829         * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12830         Add two new C++ completer tests which limit the output to a
12831         given class.
12832
12833 2009-08-24  Michael Snyder  <msnyder@vmware.com>
12834
12835         * gdb.base/del.exp: Fix typo in comment.
12836         * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12837
12838 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12839
12840         * configure: Regenerate.
12841         * gdb.hp/configure: Likewise.
12842         * gdb.hp/gdb.aCC/configure: Likewise.
12843         * gdb.hp/gdb.base-hp/configure: Likewise.
12844         * gdb.hp/gdb.compat/configure: Likewise.
12845         * gdb.hp/gdb.defects/configure: Likewise.
12846         * gdb.hp/gdb.objdbg/configure: Likewise.
12847         * gdb.stabs/configure: Likewise.
12848
12849 2009-08-19  Doug Evans  <dje@google.com>
12850
12851         * gdb.base/gdbvars.c: New file.
12852         * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12853
12854 2009-08-14  Pedro Alves  <pedro@codesourcery.com>
12855
12856         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12857         gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12858
12859 2009-08-13  Pedro Alves  <pedro@codesourcery.com>
12860
12861         * gdb.base/default.exp: Adjust "set language test": it's now an
12862         enum command.  Larger help string moved to "help set language".
12863         * gdb.base/help.exp: Adjust "help set language" expected output,
12864         now lists all known languages.
12865
12866 2009-08-11  Nathan Froyd  <froydnj@codesourcery.com>
12867
12868         * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12869         all frame arguments.
12870         * gdb.arch/altivec-regs.exp: Likewise.
12871
12872 2009-08-07  Tom Tromey  <tromey@redhat.com>
12873
12874         * gdb.base/setshow.exp: Add tests for changes to set language, set
12875         check range, and set check type.
12876
12877 2009-08-03  Vladimir Prus  <vladimir@codesourcery.com>
12878
12879         * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12880         * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
12881         Call it.
12882
12883 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12884
12885         * configure.ac: Run gdb.cell tests when appropriate.
12886         * configure: Regenerate.
12887         * lib/cell.exp: New file.
12888         * gdb.cell: New directory.
12889         * gdb.cell/configure.ac: New file.
12890         * gdb.cell/configure: New file.
12891         * gdb.cell/Makefile.in: New file.
12892         * gdb.cell/arch.exp: New file.
12893         * gdb.cell/break.c: New file.
12894         * gdb.cell/break.exp: New file.
12895         * gdb.cell/break-spu.c: New file.
12896         * gdb.cell/bt.c: New file.
12897         * gdb.cell/bt2-spu.c: New file.
12898         * gdb.cell/bt-spu.c: New file.
12899         * gdb.cell/bt.exp: New file.
12900         * gdb.cell/coremaker.c: New file.
12901         * gdb.cell/coremaker-spu.c: New file.
12902         * gdb.cell/core.exp: New file.
12903         * gdb.cell/gcore.exp: New file.
12904         * gdb.cell/data.c: New file.
12905         * gdb.cell/data.exp: New file.
12906         * gdb.cell/data-spu.c: New file.
12907         * gdb.cell/ea-cache.exp: New file.
12908         * gdb.cell/ea-cache.c: New file.
12909         * gdb.cell/ea-cache-spu.c: New file.
12910         * gdb.cell/ea-standalone.c: New file.
12911         * gdb.cell/ea-standalone.exp: New file.
12912         * gdb.cell/ea-test.c: New file.
12913         * gdb.cell/ea-test.exp: New file.
12914         * gdb.cell/f-regs.exp: New file.
12915         * gdb.cell/mem-access.c: New file.
12916         * gdb.cell/mem-access.exp: New file.
12917         * gdb.cell/mem-access-spu.c: New file.
12918         * gdb.cell/ptype.exp: New file.
12919         * gdb.cell/registers.exp: New file.
12920         * gdb.cell/size.c: New file.
12921         * gdb.cell/sizeof.exp: New file.
12922         * gdb.cell/size-spu.c: New file.
12923         * gdb.cell/solib.exp: New file.
12924         * gdb.cell/solib-symbol.exp: New file.
12925
12926 2009-07-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12927
12928         * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12929
12930 2009-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
12931
12932         * gdb.base/float.exp: Handle VFP registers.
12933
12934 2009-07-14  Michael Snyder  <msnyder@vmware.com>
12935
12936         * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12937         to bring gdb to the beginning of the calling line.
12938
12939         * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12940         confusing the i386 epilogue unwinder.
12941
12942 2009-07-14  Stan Shebs  <stan@codesourcery.com>
12943
12944         * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12945
12946 2009-07-14  Michael Snyder  <msnyder@vmware.com>
12947
12948         * gdb.reverse/step-reverse.exp (stepi into function call):
12949         Call instruction may not be first instruction in the line.
12950         (reverse stepi from a function call): Used wrong line number.
12951
12952 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12953
12954         * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12955
12956 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12957
12958         Fix gdb.base/macscp.exp when using custom inputrc.
12959         * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12960         * gdb.base/readline.exp: Remove env(INPUTRC) set and restore.  Remove
12961         env(TERM) set.
12962         * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12963         * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12964
12965 2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12966
12967         Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12968         * gdb.base/annota1.exp (thread_test): Import global $testfile.
12969         Change the compilation target to match the testcase name.
12970         * gdb.base/sect-cmd.exp: Change the compilation target to match the
12971         testcase name.
12972         * a2-run.exp: Use for setup prepare_for_testing.  Change the
12973         compilation target to match the testcase name.
12974         * gdb.base/commands.exp: Likewise.
12975         * gdb.base/finish.exp: Likewise.
12976         * gdb.base/float.exp: Likewise.
12977         * gdb.base/info-target.exp: Likewise.
12978         * gdb.base/relational.exp: Likewise.
12979         * gdb.base/term.exp: Likewise.
12980         * gdb.base/until.exp: Likewise.
12981         * gdb.base/volatile.exp: Likewise.
12982         * gdb.base/whatis-exp.exp: Likewise.
12983
12984 2009-07-11  Hui Zhu  <teawater@gmail.com>
12985
12986         * gdb.base/help.exp (disassemble): Update expected help text.
12987
12988 2009-07-09  Tom Tromey  <tromey@redhat.com>
12989
12990         * lib/gdb.exp: Handle TRANSCRIPT.
12991         (remote_spawn, remote_close, send_gdb): New procs.
12992
12993 2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
12994
12995         * gdb.python/python-prettyprint.c: Add counted null string
12996         structure.
12997         * gdb.python/python-prettyprint.exp: Print null string. Test for
12998         embedded nulls.
12999         * gdb.python/python-prettyprint.py (pp_ns): New Function.
13000         * gdb.python/python-value.exp (test_value_in_inferior): Add
13001         variable length string fetch tests.
13002         * gdb.python/python-value.c (main): Add strings for string fetch tests.
13003
13004 2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
13005
13006         * gdb.base/dump.exp (inaccessible memory is reported): New test.
13007
13008 2009-07-07  Tom Tromey  <tromey@redhat.com>
13009
13010         * gdb.base/call-rt-st.exp: Update for change to escape output.
13011         * gdb.base/callfuncs.exp: Likewise.
13012         * gdb.base/charset.exp: Likewise.
13013         * gdb.base/constvars.exp: Likewise.
13014         * gdb.base/long_long.exp: Likewise.
13015         * gdb.base/pointers.exp: Likewise.
13016         * gdb.base/printcmds.exp: Likewise.
13017         * gdb.base/setvar.exp: Likewise.
13018         * gdb.base/store.exp: Likewise.
13019         * gdb.cp/ref-types.exp: Likewise.
13020         * gdb.mi/mi-var-child.exp: Likewise.
13021         * gdb.mi/mi-var-display.exp: Likewise.
13022         * gdb.mi/mi2-var-display.exp: Likewise.
13023         * gdb.base/charset.exp: Test octal escape sequence length.
13024         Update for change to escape output.
13025
13026 2009-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13027
13028         * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13029
13030 2009-07-06  Daniel Jacobowitz  <dan@codesourcery.com>
13031
13032         * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13033
13034 2009-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
13035
13036         * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13037         gdbserver increasing $portnum if "Can't bind address" has been seen.
13038
13039 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
13040
13041         * gdb.base/ending-run.exp: Add "step out of main" pattern for
13042         mingw32ce.
13043
13044 2009-07-05  Pedro Alves  <pedro@codesourcery.com>
13045
13046         * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13047         VFP format.
13048
13049 2009-07-02  Pedro Alves  <pedro@codesourcery.com>
13050
13051         * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13052         linux.  Adjust to use "inferior", "info inferiors", "detach
13053         inferior" and "kill inferior" instead of "restart", "info fork",
13054         "detach fork" and "delete fork".
13055         * gdb.base/ending-run.exp: Spell out "info".
13056         * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13057         the "kill" command.
13058
13059 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13060
13061         * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13062         change to prefix TLS offset in hex with 0x.
13063
13064 2009-07-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13065
13066         * gdb.base/default.exp: Update test case for "x" changes.
13067
13068 2009-07-01  Tristan Gingold  <gingold@adacore.com>
13069
13070         * gdb.base/bigcore.exp: Make darwin untested.
13071
13072 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13073
13074         * gdb.base/completion.exp (directory completion): Create the directory.
13075         New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13076         escapeuniquesub.
13077         (directory completion 2): Expect now ${escapeuniquesub}.
13078         (Glob remaining of directory test): Remove one excessive newline.
13079         Expect the real output.
13080
13081 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13082
13083         Fix `make check//%' target after `make check' has been ran.
13084         * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency.  Add
13085         a mkdir call.
13086         (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13087         (%/.dir): Remove.
13088
13089 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13090
13091         * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13092         the expected result record.
13093
13094 2009-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
13095
13096         Remove racy FAILs relying just on the timeouts.
13097         * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13098         (annotation_level 2): Remove racy FAILs.
13099
13100 2009-06-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13101
13102         gdb/10275
13103         * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13104
13105 2009-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
13106
13107         * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13108
13109 2009-06-30  Vladimir Prus  <vladimir@codesourcery.com>
13110
13111         * gdb.mi/mi-stack.exp: Testing symbolic options
13112         to -stack-list-locals and -stack-list-arguments.
13113
13114 2009-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
13115
13116         * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13117
13118 2009-06-29  Tom Tromey  <tromey@redhat.com>
13119
13120         * dg-extract-results.sh: New file.
13121         * Makefile.in (FORCE_PARALLEL): New variable.
13122         (CHECK_TARGET): New conditional variable.
13123         (check): Use CHECK_TARGET.
13124         (DO_RUNTEST): New variable.
13125         (check-single): New target.
13126         (TEST_DIRS): New variable.
13127         (TEST_TARGETS): Likewise.
13128         (check-parallel): New target.
13129         (check-gdb.%): New pattern.
13130         (BASE1_FILES): New variable.
13131         (BASE2_FILES): Likewise.
13132         (check-gdb.base%): New pattern.
13133         (%/.dir): New pattern.
13134         * configure: Rebuild.
13135         * aclocal.m4 (AM_CONDITIONAL): New defun.
13136         * configure.ac: Check whether user is using GNU make.
13137         (GMAKE): New conditional.
13138
13139 2009-06-29  Sami Wagiaalla  <swagiaal@redhat.com>
13140
13141         * gdb.cp/namespace-nested-import.cc: New test.
13142         * gdb.cp/namespace-nested-import.exp: New test.
13143
13144 2009-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
13145
13146         * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13147         * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13148         * gdb.opt/Makefile.in (EXECUTABLES): Update.
13149         * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13150         * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13151         gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13152         gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13153         gdb.opt/inline-markers.c: New files.
13154         * lib/gdb.exp (skip_inline_frame_tests): New function.
13155         (skip_inline_var_tests): New function.
13156
13157 2009-06-27  Andreas Schwab  <schwab@linux-m68k.org>
13158
13159         * gdb.cp/exception.exp: Don't require $hex before inner frame in
13160         backtrace.
13161
13162 2009-06-27  Michael Snyder  <msnyder@vmware.com>
13163
13164         * gdb.reverse: New directory.
13165         * gdb.reverse/break-reverse.c: New test.
13166         * gdb.reverse/break-reverse.exp: New test.
13167         * gdb.reverse/consecutive-reverse.c: New test.
13168         * gdb.reverse/consecutive-reverse.exp: New test.
13169         * gdb.reverse/finish-reverse.c: New test.
13170         * gdb.reverse/finish-reverse.exp: New test.
13171         * gdb.reverse/machinestate.c: New test.
13172         * gdb.reverse/ms1.c: New test.
13173         * gdb.reverse/machinestate.exp: New test.
13174         * gdb.reverse/Makefile.in: New file.
13175         * gdb.reverse/shr2.c: New test.
13176         * gdb.reverse/solib-reverse.c: New test.
13177         * gdb.reverse/solib-reverse.exp: New test.
13178         * gdb.reverse/step-reverse.c: New test.
13179         * gdb.reverse/step-reverse.exp: New test.
13180         * gdb.reverse/until-reverse.c: New test.
13181         * gdb.reverse/ur1.c: New test.
13182         * gdb.reverse/until-reverse.exp: New test.
13183         * gdb.reverse/watch-reverse.c: New test.
13184         * gdb.reverse/watch-reverse.exp: New test.
13185         * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13186         * configure: Regenerate.
13187
13188 2009-06-26  Doug Evans  <dje@google.com>
13189
13190         * gdb.base/psymtab.exp: Turn off pending breakpoints.
13191
13192 2009-06-26  Pierre Muller  <muller@ics.u-strasbg.fr>
13193
13194         * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13195         windows problem for 'file delete $binfile'.
13196
13197 2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
13198
13199         * gdb.cp/namespace-using.exp: New test.
13200         * gdb.cp/namespace-using.cc: New test.
13201
13202 2009-05-20  Joel Brobecker  <brobecker@adacore.com>
13203
13204         * gdb.ada/variant_record_packed_array: New testcase.
13205
13206 2009-06-23  Tom Tromey  <tromey@redhat.com>
13207
13208         * gdb.base/charset.exp (test_combination): Regression test.
13209         * gdb.base/charset.c (my_wchar_t): New typedef.
13210         (myvar): New global.
13211         (main): Set myvar.
13212
13213 2009-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
13214
13215         * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13216         target.
13217
13218 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13219
13220         * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13221
13222 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13223
13224         * gdb.mi/gdb680.exp: Update test for error message.
13225
13226 2009-06-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13227
13228         * gdb.base/annota1.exp: Allow multiple occurrences of the
13229         frames-invalid annotation.
13230         * gdb.cp/annota2.exp: Likewise.
13231
13232 2009-06-15  Phil Muldoon  <pmuldoon@redhat.com>
13233
13234         * gdb.cp/gdb2495.cc: New file.
13235         * gdb.cp/gdb2495.exp: New file.
13236
13237 2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13238
13239         Report error on GDB crash during runto.
13240         * lib/gdb.exp (runto <eof>): New.
13241
13242 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
13243
13244         * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13245         gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13246         gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13247         gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13248         gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13249         gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13250         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13251         gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13252         gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13253         gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13254         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
13255         gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
13256         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13257         gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
13258         gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
13259         gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
13260         gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
13261         gdb.server/server-mon.exp, gdb.server/server-run.exp,
13262         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13263         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13264         gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
13265         gdb.trace/passcount.exp, gdb.trace/report.exp,
13266         gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
13267         gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
13268         gdb.trace/while-stepping.exp: Use a unique name for the compiled
13269         executable.
13270
13271 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
13272
13273         * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
13274         defined before referencing it.
13275
13276 2009-06-03  Doug Evans  <dje@google.com>
13277
13278         * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
13279         * gdb.arch/i386-see.c: Ditto.
13280
13281 2009-05-30  Pierre Muller  <muller@ics.u-strasbg.fr>
13282
13283         * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
13284         (check_macro): Return 1 if undefined.
13285         If first test fails, check if macro debug information is available,
13286         and report unsupported test if no macro information is found.
13287
13288 2009-05-29  Doug Evans  <dje@google.com>
13289
13290         * gdb.threads/hand-call-in-threads.exp: New.
13291         * gdb.threads/hand-call-in-threads.c: New.
13292
13293 2009-05-29  Michael Snyder  <msnyder@vmware.com>
13294
13295         * gdb.base/break-always.exp: Change "1" to "on".
13296         Add confirmation check.
13297
13298 2009-05-28  Pedro Alves  <pedro@codesourcery.com>
13299
13300         * gdb.threads/threxit-hop-specific.c: New.
13301         * gdb.threads/threxit-hop-specific.exp: New.
13302         * gdb.threads/thread-execl.c: New.
13303         * gdb.threads/thread-execl.exp: New.
13304
13305 2009-05-27  Tom Tromey  <tromey@redhat.com>
13306             Thiago Jung Bauermann  <bauerman@br.ibm.com>
13307
13308         * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
13309         (mi_child_regexp): Likewise.
13310         (mi_list_varobj_children_range): Likewise.
13311         (mi_get_features): Likewise.
13312         (mi_list_varobj_children): Rewrite.
13313         * gdb.python/python-mi.exp: New file.
13314
13315 2009-05-27  Tom Tromey  <tromey@redhat.com>
13316             Thiago Jung Bauermann  <bauerman@br.ibm.com>
13317             Phil Muldoon  <pmuldoon@redhat.com>
13318             Paul Pluzhnikov  <ppluzhnikov@google.com>
13319
13320         * gdb.python/python-prettyprint.exp: New file.
13321         * gdb.python/python-prettyprint.c: New file.
13322         * gdb.python/python-prettyprint.py: New file.
13323         * gdb.base/display.exp: print/r is now valid.
13324
13325 2009-05-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
13326             Tom Tromey  <tromey@redhat.com>
13327             Pedro Alves  <pedro@codesourcery.com>
13328             Paul Pluzhnikov  <ppluzhnikov@google.com>
13329
13330         * gdb.python/python-template.exp: New file.
13331         * gdb.python/python-template.cc: New file.
13332         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13333         tests.
13334         * gdb.python/python-value.exp (py_objfile_tests): New proc.
13335         Call it.
13336         (test_value_after_death): New proc.
13337         * gdb.python/python-value.c (PTR): New typedef.
13338         (main): New variable 'x'.
13339
13340 2009-05-27  Tom Tromey  <tromey@redhat.com>
13341
13342         * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13343         tests.
13344         * gdb.python/python-value.exp (py_objfile_tests): New proc.
13345         Call it.
13346
13347 2009-05-27  Pedro Alves  <pedro@codesourcery.com>
13348
13349         * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
13350
13351 2009-05-24  Pedro Alves  <pedro@codesourcery.com>
13352
13353         * gdb.threads/fork-thread-pending.c: New.
13354         * gdb.threads/fork-thread-pending.exp: New.
13355
13356 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13357
13358         * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
13359         * gdb.dwarf2/dw2-strp.S (a_string2): New.
13360
13361 2009-05-18  Jon Beniston  <jon@beniston.com>
13362
13363         * gdb.asm/asm-source.exp: Add lm32 target.
13364
13365 2009-05-17  Pedro Alves  <pedro@codesourcery.com>
13366
13367         * gdb.base/foll-fork.c: Include stdlib.h.  Add markers for
13368         `gdb_get_line_number'.  Call `callee' in both parent and child.
13369         * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
13370         `gdb_get_line_number' instead of hardcoding line numbers.
13371         (catch_fork_unpatch_child): New procedure to test detaching
13372         breakpoints from child fork.
13373         (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
13374         hardcoding line numbers.
13375         (do_fork_tests): Run `catch_fork_unpatch_child'.
13376
13377 2009-05-17  Vladimir Prus  <vladimir@codesourcery.com>
13378
13379         * gdb.mi/mi-cmd-var.exp: Check that when varobj
13380         of structure type enters or leaves the scope, it
13381         is reported by -var-update.
13382
13383 2009-05-11  Doug Evans  <dje@sebabeach.org>
13384
13385         * gdb.mi/nsintrall.c (main): Fix off-by-one error.
13386         * gdb.threads/pending-step.c (main): Fix off-by-one error.
13387         * gdb.threads/schedlock.c (main): Fix off-by-one error.
13388
13389 2009-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13390
13391         * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
13392
13393 2009-04-30  Doug Evans  <dje@google.com>
13394
13395         * gdb.threads/watchthreads2.exp: New testcase.
13396         * gdb.threads/watchthreads2.c: New testcase.
13397
13398 2009-04-29  Doug Evans  <dje@google.com>
13399
13400         * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
13401         * gdb.cp/mb-ctor.cc: Ditto.
13402         * gdb.cp/mb-inline.exp: Add multi-line source statement test.
13403         * gdb.cp/mb-inline.h (multi_line_foo): New function.
13404         * gdb.cp/mb-inline1.cc: Call it.
13405         * gdb.cp/mb-inline2.cc: Ditto.
13406         * gdb.cp/mb-templates.exp: Add multi-line source statement test.
13407         * gdb.cp/mb-templates.cc (multi_line_foo): New template.
13408
13409 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
13410
13411         * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
13412         (info_macro): Remova `decimal' declaration.  New variable `nonzero'.
13413         Replace all uses of `decimal' by `nonzero'.
13414         (info macro FROM_COMMANDLINE): New test.
13415
13416 2009-04-27  Tom Tromey  <tromey@redhat.com>
13417
13418         * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
13419
13420 2009-04-27  Doug Evans  <dje@google.com>
13421
13422         * gdb.threads/watchthreads.c (main): Initialize args before starting
13423         the threads.  Plus formatting cleanup.
13424         * gdb.threads/watchthreads.exp: Avoid errant failures due to
13425         biased scheduling of one thread.
13426
13427 2009-04-27  Jerome Guitton  <guitton@adacore.com>
13428
13429         * gdb.cp/templates.cc (GetMax): New template.
13430         (main): Declare two instances of GetMax.
13431         * gdb.cp/templates.exp: Add new test.
13432
13433 2009-04-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
13434
13435         * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
13436
13437 2009-04-22  Joseph Myers  <joseph@codesourcery.com>
13438
13439         * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
13440
13441 2009-04-15  Tom Tromey  <tromey@redhat.com>
13442
13443         * gdb.base/charset.exp: Add regression test.
13444
13445 2009-04-14  Joel Brobecker  <brobecker@adacore.com>
13446
13447         * gdb.base/exe-lock.exp: New testcase.
13448
13449 2009-04-13  Tom Tromey  <tromey@redhat.com>
13450
13451         * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
13452         operator on Frame.
13453
13454 2009-04-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13455
13456         * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
13457         * gdb.server/ext-attach.exp: Likewise.
13458
13459 2009-04-03  Vladimir Prus  <vladimir@codesourcery.com>
13460
13461         Eliminate some sleep usage.
13462
13463         * gdb.mi/basics.c (do_nothing): New.
13464         (main): Use do_nothing instead of printf, so that
13465         not to introduce race condition between output of
13466         inferiour and output of gdb. Do not use sleep as it
13467         is not generally available on embedded targets.
13468
13469 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
13470
13471         * gdb.server/ext-attach.exp: Expect an optional process id after
13472         "Detached from remote process".
13473
13474 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13475
13476         * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
13477         gdb.dwarf2/dw2-unresolved.exp: New.
13478
13479 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
13480
13481         * gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
13482         mi_run_to_main.
13483
13484 2009-04-02  Pedro Alves  <pedro@codesourcery.com>
13485
13486         * gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
13487         mi_run_to_main.  Skip thread exit test on remote targets.
13488         * gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
13489         mi_run_to_main.
13490         * gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
13491         mi_run_to_main.
13492         * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
13493         when expecting ^connected.  Detect when the target doesn't support
13494         non-stop mode.
13495         (mi_run_cmd): Detect if non-stop mode was requested by isn't
13496         supported.  Return -1 on error, 0 on success.
13497         (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
13498         (mi_runto): Return mi_runto_helper's result explicitly.
13499
13500 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
13501
13502         * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
13503
13504 2009-04-01  Tom Tromey  <tromey@redhat.com>
13505
13506         * gdb.base/funcargs.exp: Set print frame-arguments to "all".
13507         * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
13508         * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
13509         * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
13510
13511 2009-03-31  Daniel Jacobowitz  <dan@codesourcery.com>
13512             Jan Kratochvil  <jan.kratochvil@redhat.com>
13513
13514         PR gdb/931
13515         * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
13516         output.
13517         * gdb.cp/templates.exp: Allow canonical output.  Remove KFAILs
13518         for gdb/931.
13519         * dw2-strp.S (DW_AT_language): Change to C++.
13520         (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
13521
13522 2009-03-31  Joel Brobecker  <brobecker@adacore.com>
13523
13524         * gdb.ada/tasks: New testcase.
13525
13526 2009-03-30  Stan Shebs  <stan@codesourcery.com>
13527
13528         * gdb.trace/actions.exp: Update to match new info trace format.
13529         * gdb.trace/deltrace.exp: Ditto.
13530         * gdb.trace/infotrace.exp: Ditto.
13531         * gdb.trace/passcount.exp: Ditto.
13532         * gdb.trace/save-trace.exp: Ditto.
13533         * gdb.trace/while-stepping.exp: Ditto.
13534         * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
13535
13536 2009-03-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
13537
13538         * gdb.python/python-frame.c: New file.
13539         * gdb.python/python-frame.exp: New file.
13540
13541 2009-03-29  Thiago Jung Bauermann  <bauerman@br.ibm.com>
13542
13543         * gdb.python/python-value.exp: Add tests for the address
13544         attribute.
13545
13546 2009-03-29  Andreas Schwab  <schwab@linux-m68k.org>
13547
13548         * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
13549
13550 2009-03-26  Doug Evans  <dje@google.com>
13551
13552         * gdb.mi/mi-nonstop-exit.exp: New file.
13553         * gdb.mi/non-stop-exit.c: New file.
13554
13555 2009-03-26  Tom Tromey  <tromey@redhat.com>
13556
13557         Update for change to prologue skipping:
13558         * gdb.mi/mi2-simplerun.exp: Update.
13559         * gdb.mi/mi2-break.exp: Update.
13560         * gdb.mi/mi-simplerun.exp: Update.
13561         * gdb.mi/mi-break.exp: Update.
13562         * gdb.base/ending-run.exp: Update.
13563
13564 2009-03-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
13565
13566         * gdb.python/python-value.exp (test_value_in_inferior): Test
13567         gdb.Value.is_optimized_out attribute.
13568
13569 2009-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
13570
13571         * gdb.dwarf2/dw2-noloc-main.c: New file.
13572         * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13573         (.text): Remove.
13574         (.data): New.
13575         (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13576         (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13577         (DW_TAG_subprogram func_cu1, noloc): Remove.
13578         (main): New.
13579         * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13580         `dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
13581         (file_symbols): New procedure.
13582
13583 2009-03-25  Tom Tromey  <tromey@redhat.com>
13584
13585         * gdb.base/charset.exp (valid_target_charset): New proc.
13586         Use it to skip tests on invalid charsets.
13587
13588 2009-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
13589
13590         * gdb.base/completion.exp: Add a test for directory completion.
13591
13592 2009-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13593
13594         Fix a racy FAIL.
13595         * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13596         * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13597
13598 2009-03-21  Thiago Jung Bauermann  <bauerman@br.ibm.com>
13599
13600         * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13601         * gdb.python/python-function.exp: Add test for function returning
13602         a GDB value.
13603
13604 2009-03-20  Thiago Jung Bauermann  <bauerman@br.ibm.com>
13605
13606         * gdb.python/python-function.exp: New file.
13607
13608 2009-03-20  Tom Tromey  <tromey@redhat.com>
13609
13610         * gdb.base/store.exp: Update for change to escape output.
13611         * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13612         to escape output.
13613         * gdb.base/pointers.exp: Update for change to escape output.
13614         * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13615         to escape output.
13616         * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13617         escape output.
13618         * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13619         to escape output.
13620         * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13621         escape output.
13622         * gdb.base/setvar.exp: Update for change to escape output.
13623         * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13624         * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13625         to escape output.
13626         (test_print_string_constants): Likewise.
13627         * gdb.base/charset.exp (valid_host_charset): Check size of
13628         wchar_t.  Handle UCS-2 and UCS-4.  Add tests for wide and unicode
13629         cases.  Handle "auto"-related output.
13630         * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13631         (uvar, Uvar): New globals.
13632
13633 2009-03-19  Jerome Guitton  <guitton@adacore.com>
13634
13635         * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13636         deltas.
13637         * gdb.ada/fixed_points.exp: Ditto.
13638
13639 2009-03-18  Pedro Alves  <pedro@codesourcery.com>
13640
13641         * return-nodebug.c: Don't include stdio.h.
13642         (init): Delete.
13643         (func): Delete definition and provide extern declaration.
13644         (t): New.
13645         (main): Don't call printf.  Call func and store its result in t.
13646         * return-nodebug1.c: New.
13647         * return-nodebug.exp: Don't expect stdio output.  Instead, print
13648         the global variable t.  Drop printf formatters and cast types from
13649         foreach loop.  Don't use prepare_for_testing.  Compile
13650         return-nodebug.c and return-nodebug1.c in separate steps.  Don't
13651         define FORMAT or CAST.
13652
13653 2009-03-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13654
13655         * gdb.base/solib-display.exp: Disable test for remote targers.
13656
13657 2009-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
13658
13659         * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13660
13661 2009-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
13662
13663         Fix a racy FAIL.
13664         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13665         code from `follow parent, print pids'.
13666         (`follow child, print pids', `follow parent, print pids'): Call it.
13667         Replace `gdb_test "break..."' by gdb_breakpoint.
13668
13669 2009-03-13  Vladimir Prus  <vladimir@codesourcery.com>
13670
13671         * gdb.mi/mi-cli.exp: Adjust for output difference in
13672         sync and async modes.
13673
13674 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
13675
13676         * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13677         that was checked in by mistake. Remove loading of ada.exp, since
13678         this is not necessary in this case.
13679
13680 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
13681
13682         * gdb.ada/ptype_arith_binop.exp: New testcase.
13683
13684 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
13685
13686         * gdb.ada/mod_from_name: New testcase.
13687
13688 2009-03-12  Joel Brobecker  <brobecker@adacore.com>
13689
13690         * gdb.ada/tick_last_segv: New testcase.
13691
13692 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
13693
13694         * gdb.mi/mi-cli.exp: Remove debug print.
13695
13696 2009-03-12  Vladimir Prus  <vladimir@codesourcery.com>
13697
13698         * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13699         include the token in ^running and frame info in *stopped.
13700
13701 2009-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13702
13703         * solib-display.exp: New file.
13704         * solib-display-main.c: New file.
13705         * solib-display-lib.c: New file.
13706
13707 2009-03-05  Pedro Alves  <pedro@codesourcery.com>
13708
13709         * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13710
13711 2009-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
13712
13713         * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13714         (list_and_check_macro): Use more specific test name.
13715         (next to definition): Make the test names unique.
13716
13717 2009-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
13718
13719         * gdb.pascal/floats.exp: Accept approximate results everywhere.
13720
13721 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
13722
13723         * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13724         notifications.
13725         * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13726         * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13727         * lib/mi-support.exp (library_loaded_re): New.
13728         (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13729
13730 2009-02-17  Vladimir Prus  <vladimir@codesourcery.com>
13731
13732         * gdb.gdb/observer.exp: Use test_notification observer, not
13733         normal_stop, everywhere.
13734         (test_normal_stop_notifications): Rename to...
13735         (test_notifications): ...this.
13736         (test_observer_normal_stop): Rename to...
13737         (test_observer): ...this.
13738
13739 2009-02-16  Doug Evans  <dje@google.com>
13740
13741         * gdb.arch/amd64-disp-step.S (test_int3): New test.
13742         * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13743         * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13744         (test_prefixed_syscall,test_int3): New tests.
13745         * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13746         (test_prefixed_syscall,test_int3): New tests.
13747
13748 2009-02-14  Vladimir Prus  <vladimir@codesourcery.com>
13749
13750         * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13751         (mi_expect_interrupt): Likewise.
13752         * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13753         response.
13754
13755 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
13756
13757         * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13758         * gdb.base/pc-fp.exp (get_valueofx): Remove.
13759         Replace calls to get_valueofx by get_hexadecimal_valueof.
13760
13761 2009-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
13762
13763         * lib/gdb.exp (get_valueof): Accept anything as a return value.
13764         (get_integer_valueof): New procedure.
13765         (get_sizeof): Use new get_integer_value_of.
13766         * gdb.base/sizeof.exp: Replace all uses of get_valueof
13767         by get_integer_valueof.
13768
13769 2009-02-13  Tom Tromey  <tromey@redhat.com>
13770
13771         * gdb.base/remote.exp (get_sizeof): Remove.
13772         * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13773         * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13774         * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13775         * lib/gdb.exp (get_valueof): Move from long_long.exp.
13776         (get_sizeof): Likewise.
13777
13778 2009-02-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
13779
13780         PR fortran/9806
13781         * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13782
13783 2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13784
13785         * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13786
13787 2009-02-06  Pedro Alves  <pedro@codesourcery.com>
13788
13789         * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13790
13791 2009-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
13792
13793         * gdb.python/python-cmd.exp: New file.
13794
13795 2009-02-06  Tristan Gingold  <gingold@adacore.com>
13796
13797         * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13798
13799 2009-02-05  Tristan Gingold  <gingold@adacore.com>
13800
13801         * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13802         pointer is dereferenced and use this signal name in regexp.
13803         * gdb.base/signull.exp: Ditto.
13804         * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13805         * gdb.base/signull.c (main): Ditto.
13806
13807 2009-02-04  Tom Tromey  <tromey@redhat.com>
13808             Thiago Jung Bauermann  <bauerman@br.ibm.com>
13809
13810         * gdb.python/python-value.exp: Use `gdb.history' instead of
13811         `gdb.value_from_history'.
13812         (test_value_numeric_ops): Add test for conversion of enum constant.
13813         * gdb.python/python-value.c (enum e): New type.
13814         (evalue): New global.
13815         (main): Use argv.
13816
13817 2009-02-04  Jerome Guitton  <guitton@adacore.com>
13818
13819         * gdb.ada/uninitialized_vars: New test program.
13820         * gdb.ada/uninitialized_vars.exp: New testcase.
13821
13822 2009-02-02  Tom Tromey  <tromey@redhat.com>
13823
13824         * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13825         * gdb.cp/pr2489.cc: Rename...
13826         * gdb.cp/pr9594.cc: ... to this.
13827
13828 2009-02-02  Tom Tromey  <tromey@redhat.com>
13829
13830         * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13831         * gdb.cp/pr2489.cc: New file.
13832         * gdb.cp/cpcompletion.exp: New file.
13833
13834 2009-02-02  Tom Tromey  <tromey@redhat.com>
13835
13836         PR exp/9059:
13837         * gdb.cp/call-c.exp: Add regression test.
13838         * gdb.cp/call-c.cc (FooHandle): New typedef.
13839         (main): New variable 'handle'.
13840
13841 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
13842
13843         * lib/mi-support.exp (et_mi_thread_list)
13844         (check_mi_and_console_threads): Adjust for current thread in
13845         -thread-list-ids output.
13846
13847 2009-01-30  Vladimir Prus  <vladimir@codesourcery.com>
13848
13849         * gdb.mi/mi-break.exp (test_disabled_creation): New.
13850         Call it.
13851
13852 2009-01-28  Doug Evans  <dje@google.com>
13853
13854         * gdb.arch/amd64-disp-step.S: New file.
13855         * gdb.arch/amd64-disp-step.exp: New file.
13856         * gdb.arch/i386-disp-step.S: New file.
13857         * gdb.arch/i386-disp-step.exp: New file.
13858
13859 2009-01-27  Pierre Muller  <muller@ics.u-strasbg.fr>
13860
13861         * gdb.base/find.exp: Set newline variable
13862         using quotes instead of braces to fix cygwin failures.
13863
13864 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
13865
13866         * gdb.base/radix.exp: Add tests to ensure that that set
13867         input-radix 0 and set output-radix 0 are really rejected.
13868
13869 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
13870
13871         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13872         copyright years.
13873
13874 2009-01-23  Pedro Alves  <pedro@codesourcery.com>
13875
13876         PR gdb/9664:
13877         * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13878
13879 2009-01-22  Pedro Alves  <pedro@codesourcery.com>
13880
13881         PR c++/9631:
13882         * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13883
13884 2009-01-22  Pierre Muller  <muller@ics.u-strasbg.fr>
13885
13886         * gdb.server/file-transfer.exp: Use EXEEXT variable for
13887         binfile definition to fix Windows OS failure.
13888
13889 2009-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
13890
13891         PR gdb/9346
13892         * gdb.base/interrupt.c (sigint_handler): New.
13893         (main): Install a SIGINT handler if SIGNALS is defined.  Exit
13894         on error.
13895         * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13896         Test "signal SIGINT".
13897
13898 2009-01-19  Doug Evans  <dje@google.com>
13899
13900         * gdb.base/break.exp: Update expected gdb output.
13901         * gdb.base/sepdebug.exp: Ditto.
13902         * gdb.mi/mi-syn-frame.exp: Ditto.
13903         * gdb.mi/mi2-syn-frame.exp: Ditto.
13904         * gdb.base/call-signal-resume.exp: New file.
13905         * gdb.base/call-signals.c: New file.
13906         * gdb.base/unwindonsignal.exp: New file.
13907         * gdb.base/unwindonsignal.c: New file.
13908         * gdb.threads/interrupted-hand-call.exp: New file.
13909         * gdb.threads/interrupted-hand-call.c: New file.
13910         * gdb.threads/thread-unwindonsignal.exp: New file.
13911
13912 2009-01-14  Daniel Jacobowitz  <dan@codesourcery.com>
13913
13914         * gdb.base/define.exp: Test defining and hooking prefix commands.
13915         * gdb.python/python.exp: Update test for "show user" output.
13916
13917 2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13918
13919         * gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
13920         now the output exactly, using less wildcards.  Expect also the output
13921         of gfortran-4.3.  Update for the f-valprint.c modification from
13922         2008-04-22.
13923         * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13924         Remove gdb_test test names where matching the command.
13925
13926 2009-01-01  Pedro Alves  <pedro@codesourcery.com>
13927
13928         PR breakpoints/9681:
13929         * gdb.base/watchpoint.exp: Add regression test.
13930
13931 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
13932
13933         * gdb.threads/attach-into-signal.exp: Don't use
13934         gdb_suppress_entire_file.
13935         * gdb.threads/attach-stopped.exp: Ditto.
13936         * gdb.threads/attachstop-mt.exp: Ditto.
13937
13938 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
13939
13940         PR gdb/8812:
13941         * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13942
13943 2008-12-29  Pedro Alves  <pedro@codesourcery.com>
13944
13945         PR gdb/7536:
13946         * gdb.base/radix.exp: Add tests to ensure invalid input radices
13947         and unsupported output radices are really rejected.
13948
13949 2008-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13950
13951         * gdb.cp/punctuator.exp: Backslash the '$' signs.
13952
13953 2008-12-22  Tom Tromey  <tromey@redhat.com>
13954
13955         * gdb.cp/punctuator.exp: New file.
13956
13957 2008-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13958
13959         * gdb.base/completion.exp (Completing non-existing component): New test.
13960
13961 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13962
13963         Fix for PR gdb/8648.
13964         * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13965         gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13966         gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13967         gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13968
13969 2008-12-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13970
13971         * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13972
13973 2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
13974
13975         * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13976         compiler actually generate code at the expected line number.
13977
13978 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
13979
13980         * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13981
13982 2008-12-12  Tom Tromey  <tromey@redhat.com>
13983
13984         * gdb.base/commands.exp (redefine_hook_test): New proc.
13985         Call it.
13986
13987 2008-12-11  Tom Tromey  <tromey@redhat.com>
13988
13989         * gdb.base/macscp.exp: New regression test.
13990
13991 2008-12-11  Tom Tromey  <tromey@redhat.com>
13992
13993         * gdb.base/macscp.exp: Print "address.addr".
13994         * gdb.base/macscp1.c (struct outer): New struct.
13995         (address): New global.
13996
13997 2008-12-09  Tom Tromey  <tromey@redhat.com>
13998
13999         * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14000         Call it.
14001
14002 2008-12-04  Doug Evans  <dje@google.com>
14003
14004         * gdb.server/ext-run.exp: Relax regexp for init program.
14005
14006 2008-12-03  Tristan Gingold  <gingold@adacore.com>
14007
14008         * gdb.base/macscp.exp: Generate an object file during compilation
14009         to work around Darwin dsymutil limitations.
14010
14011 2008-12-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14012
14013         Test resolving external references to TLS variables.
14014         * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14015         FILE2_THREAD_LOCAL.
14016         (testfile2, srcfile2): New variables.
14017         * gdb.threads/tls.c (file2_thread_local)
14018         (function_referencing_file2_thread_local): New.
14019         * gdb.threads/tls2.c: New file.
14020
14021 2008-11-28  Joel Brobecker  <brobecker@adacore.com>
14022
14023         * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14024         rather than integer, as integer might not be big enough when
14025         on 64bit targets.
14026
14027 2008-11-27  Jerome Guitton  <guitton@adacore.com>
14028
14029         * gdb.cp/formatted-ref.exp: Add equality test.
14030         * gdb.ada/formatted_ref.exp: Ditto.
14031
14032 2008-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14033
14034         * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14035         * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14036
14037 2008-11-20  Andreas Schwab  <schwab@suse.de>
14038
14039         * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14040         matching syscall entry point.
14041         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14042         (tcatch_vfork_then_child_follow): Likewise.  Finish through
14043         vfork even if we stopped at the syscall trampoline.
14044
14045 2008-11-20  Doug Evans  <dje@google.com>
14046
14047         * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14048
14049 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14050
14051         * gdb.arch/ppc-dfp.exp: New file.
14052         * gdb.arch/ppc-dfp.c: New file.
14053
14054 2008-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14055
14056         * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14057
14058 2008-11-17  Doug Evans  <dje@google.com>
14059
14060         * gdb.mi/mi-syn-frame.exp: Update expected output.
14061         * gdb.mi/mi2-syn-frame.exp: Update expected output.
14062
14063 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
14064
14065         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14066         "thread N" results in =thread-selected.
14067         * lib/mi-support (mi_run_cmd, mi_expect_stop)
14068         (mi_send_resuming_command_raw): Be prepared for
14069         =thread-selected.
14070
14071 2008-11-17  Vladimir Prus  <vladimir@codesourcery.com>
14072
14073         * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14074         * lib/mi-support.exp: Likewise.
14075
14076 2008-11-16  Joel Brobecker  <brobecker@adacore.com>
14077
14078         * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14079         commands from the expected output for "help catch".
14080
14081 2008-11-15  Joel Brobecker  <brobecker@adacore.com>
14082
14083         * gdb.ada/int_deref.exp: New testcase.
14084
14085 2008-11-14  Nick Roberts  <nickrob@snap.net.nz>
14086
14087         * gdb.mi/gdb2549.exp: New file.
14088
14089 2008-11-11  Doug Evans  <dje@google.com>
14090
14091         * gdb.base/callexit.exp: New file.
14092         * gdb.base/callexit.c: New file.
14093
14094 2008-11-10  Doug Evans  <dje@google.com>
14095
14096         * lib/gdb.exp (GDBFLAGS): Move -nx ...
14097         (INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
14098         (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14099         (default_gdb_start,default_gdb_exit): Ditto.
14100         * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14101         (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14102         * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14103         * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14104         * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14105         * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14106
14107 2008-11-03  Andreas Schwab  <schwab@suse.de>
14108
14109         * gdb.base/hashline2.exp: Fix typo.
14110         * gdb.base/hashline3.exp: Likewise.
14111
14112 2008-10-30  Tom Tromey  <tromey@redhat.com>
14113
14114         * gdb.base/pointers.exp: Add test.
14115         * gdb.base/pointers.c (k, S): New typedefs.
14116         (instance): New global.
14117
14118 2008-10-30  Andreas Schwab  <schwab@suse.de>
14119
14120         * gdb.base/args.exp: Add tests for newlines.
14121
14122 2008-10-30  Joel Brobecker  <brobecker@adacore.com>
14123
14124         gdb.base/foll-exec.exp: Update the expected output of a couple
14125         of "info breakpoints" tests.
14126
14127 2008-10-28  Tom Tromey  <tromey@redhat.com>
14128
14129         * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14130
14131 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
14132
14133         * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14134         gdb_start_cmd.
14135         Use runto_main before any test that requires execution.
14136
14137 2008-10-23  Pedro Alves  <pedro@codesourcery.com>
14138
14139         * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14140         instead of SIGINT.
14141
14142 2008-10-22  Joel Brobecker  <brobecker@adacore.com>
14143
14144         * gdb.base/completion.exp: Update expected output following
14145         the addition of the "info tasks" command.
14146
14147 2008-10-22  Tom Tromey  <tromey@redhat.com>
14148
14149         * gdb.base/exprs.exp (test_expr): Add test for string
14150         concatenation.
14151
14152 2008-10-19  Pedro Alves  <pedro@codesourcery.com>
14153
14154         * configure.ac: Output gdb.python/Makefile.
14155         * configure: Regenerate.
14156         * gdb.python/Makefile.in: New.
14157
14158 2008-10-16  Joel Brobecker  <brobecker@adacore.com>
14159
14160         * gdb.base/foll-fork.exp: Adjust the expected output to match
14161         the new description for fork/vfork catchpoints in the "info
14162         breakpoints" output.
14163
14164 2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
14165
14166         * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14167
14168 2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14169
14170         * gdb.python/python-value.c: New file.
14171         * gdb.python/python-value.exp: New file.
14172
14173 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
14174
14175         * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14176
14177 2008-10-15  Denis Pilat  <denis.pilat@st.com>
14178
14179         * gdb.cp/mb-ctor.exp: Fix a typo.
14180
14181 2008-10-09  Tom Tromey  <tromey@redhat.com>
14182
14183         * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14184         'fprintf' and 'stderr'.
14185
14186 2008-10-07  Joel Brobecker  <brobecker@adacore.com>
14187
14188         * gdb.ada/ref_tick_size.exp: New testcase.
14189
14190 2008-10-06  Doug Evans  <dje@google.com>
14191
14192         * gdb.dwarf2/dw2-cu-size.exp: New file.
14193         * gdb.dwarf2/dw2-cu-size.S: New file.
14194
14195         * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14196         .Ltype_int for clarity.
14197
14198 2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14199
14200         PR gdb/2384:
14201         * gdb.cp/gdb2384.exp: Extended to test more cases.
14202         * gdb.cp/gdb2384.cc: Likewise.
14203         * gdb.cp/gdb2384-base.h: Likewise.
14204         * gdb.cp/gdb2384-base.cc: Likewise.
14205
14206 2008-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14207
14208         * gdb.base/maint.exp (maint print type): Remove printing
14209         UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14210
14211 2008-09-30  Tom Tromey  <tromey@redhat.com>
14212
14213         * gdb.base/macscp.exp: Add completion tests.
14214         * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14215         (TWENTY_THREE): Likewise.
14216         (FORTY_EIGHT): Likewise.
14217
14218 2008-09-30  Tom Tromey  <tromey@redhat.com>
14219
14220         * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14221         everywhere.
14222         * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14223
14224 2008-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
14225
14226         * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14227         testcase is derived from.  Fix racy dependency on an expected PID
14228         number.  No longer support the testcase on Linux kernel 2.4.x.
14229
14230 2008-09-27  Tom Tromey  <tromey@redhat.com>
14231
14232         * gdb.base/macscp.exp: Add tests for stringification, splicing,
14233         and varargs.
14234
14235 2008-09-22  Pedro Alves  <pedro@codesourcery.com>
14236
14237         * lib/mi-support.exp (mi_expect_interrupt): New.
14238         (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14239         from gdb.mi/mi-nonstop.exp.
14240         * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14241         * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14242         lib/mi-support.exp.
14243         Use mi_check_thread_states throughout.  Avoid ".*" and do not
14244         require an anchor after -exec-run.
14245
14246 2008-09-13  Daniel Jacobowitz  <dan@codesourcery.com>
14247
14248         * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14249         stop is pending.  Avoid ".*" when two stops are pending.
14250         * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14251         (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14252         newlines in fullnames.
14253         * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14254         (mi_expect_stop): Update comments.  Only anchor in sync mode.
14255         Do not match newlines.
14256         (mi_send_resuming_command_raw): Always return status.
14257         (mi_get_stop_line): Do not match more than one line by accident.
14258         Only anchor in sync mode.
14259         (mi_run_inline_test): If -exec-next fails, give up.
14260
14261 2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14262
14263         * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
14264         on SPU.
14265
14266 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
14267
14268         * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
14269
14270 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
14271
14272         * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
14273         gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
14274         gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
14275         gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
14276         gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
14277         gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
14278         gdb.ada/interface.exp, gdb.ada/null_array.exp,
14279         gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
14280         gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
14281         gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
14282         gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
14283         Include the "= " sequence in the expected output of print tests.
14284
14285 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
14286
14287         * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
14288         description for boolean types.
14289
14290 2008-09-09  Pedro Alves  <pedro@codesourcery.com>
14291
14292         * gdb.base/hook-stop-continue.c: New.
14293         * gdb.base/hook-stop-continue.exp: New.
14294
14295 2008-09-08  Daniel Jacobowitz  <dan@codesourcery.com>
14296
14297         * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
14298
14299 2008-09-08  Jerome Guitton  <guitton@adacore.com>
14300
14301         * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
14302         (stack_check_probe_2, stack_check_probe_loop_1)
14303         (stack_check_probe_loop_2): New functions.
14304         (main): Add call to these new functions.
14305         * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
14306         functions, check that the breakpoint is inserted at the appropriate
14307         location.
14308         (insert_breakpoint): Slightly refine this procedure so that it can
14309         be called several times in the test.
14310
14311 2008-09-08  Jerome Guitton  <guitton@adacore.com>
14312
14313         * gdb.base/stack-checking.c: New file.
14314         * gdb.base/stack-checking.exp: New file.
14315
14316 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14317
14318         * gdb.arch/altivec-abi.exp: Remove extra verbose call.
14319         * gdb.arch/altivec-regs.exp: Likewise.
14320         * gdb.arch/vsx-regs.exp: Likewise.
14321
14322 2008-09-05  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14323
14324         * gdb.arch/ppc-fp.exp: New file.
14325         * gdb.arch/ppc-fp.c: New file.
14326
14327 2008-09-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14328
14329         *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
14330         lest gcc-4.3.1 optimizes the whole thing away.
14331
14332 2008-09-04  Michael Snyder  <msnyder@vmware.com>
14333
14334         * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
14335         as "at" (for non-debug functions such as _start).
14336
14337 2008-09-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14338
14339         * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
14340         * gdb.base/watchpoint-solib.exp: Likewise.  Update tests to handle
14341         software watchpoints.
14342         * gdb.base/watch_thread_num.exp: Likewise.
14343
14344 2008-09-03  Aleksandar Ristovski  <aristovski@qnx.com>
14345
14346         * gdb.arch/i386-bp_permanent.exp: New test.
14347
14348 2008-08-24  Tom Tromey  <tromey@redhat.com>
14349
14350         * gdb.base/maint.exp: Update "maint print type".
14351
14352 2008-08-21  Vladimir Prus  <vladimir@codesourcery.com>
14353
14354         * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
14355         support.  Adjust the order of "*running" notifications.
14356         * gdb.mi/non-stop.c: Don't cast from int to void* and
14357         back.
14358
14359 2008-08-20  Mark Kettenis  <kettenis@gnu.org>
14360
14361         * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
14362         expect to find it in the "info frame" output.
14363
14364 2008-08-20  Daniel Jacobowitz  <dan@codesourcery.com>
14365
14366         * gdb.base/interp.exp: Always consume both prompts.
14367
14368 2008-08-20  Pedro Alves  <pedro@codesourcery.com>
14369
14370         * gdb.base/pending.exp: Test pending breakpoints without symbols
14371         loaded.
14372
14373 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
14374
14375         * lib/mi-support.exp (mi_expect_stop): Produce
14376         more details on failures.
14377         * gdb.mi/mi-nonstop.exp: New.
14378         * gdb.mi/non-stop.c: New.
14379
14380 2008-08-19  Vladimir Prus  <vladimir@codesourcery.com>
14381
14382         * gdb.mi/mi-async.exp: Use 'set target-async'.
14383         * lib/mi-support.exp: Use 'set/show target-async'.
14384
14385 2008-08-18  Daniel Jacobowitz  <dan@codesourcery.com>
14386
14387         * gdb.arch/powerpc-prologue.exp: Correct saved registers.
14388
14389 2008-08-17  Tom Tromey  <tromey@redhat.com>
14390
14391         * gdb.base/help.exp (help catch): Rewrite.
14392
14393 2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
14394
14395         * gdb.base/define.exp: Test indented command documentation.
14396         * gdb.python/python.exp: Test indented multi-line command.
14397
14398 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
14399
14400         * testsuite/gdb.arch/vsx-regs.c: New source file.
14401         * testsuite/gdb.arch/vsx-regs.exp: New testcase.
14402         * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
14403
14404 2008-08-14  Tom Tromey  <tromey@redhat.com>
14405
14406         * gdb.base/macscp.exp: Add regression test for "macro define" or
14407         "macro undef" with no arguments.
14408
14409 2008-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14410
14411         * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
14412
14413 2008-08-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14414
14415         * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
14416
14417 2008-08-06  Tom Tromey  <tromey@redhat.com>
14418
14419         * gdb.python/python.exp: New file.
14420
14421 2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14422
14423         Fix for PR gdb/1543.
14424         * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
14425         $LOCATION.
14426         (location): New variable.
14427         * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
14428         config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
14429         config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
14430         config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
14431         gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
14432         gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
14433         gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
14434         gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
14435         gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
14436         gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
14437         gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
14438         gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
14439         gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
14440         gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
14441         gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14442         gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
14443         gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
14444         gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
14445         gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
14446         gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14447         gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
14448         gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
14449         gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
14450         gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
14451         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
14452         gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
14453         gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
14454         gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
14455         gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
14456         gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
14457         gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
14458         gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
14459         gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
14460         gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
14461         gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
14462         gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
14463         gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
14464         gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14465         gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
14466         gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
14467         gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
14468         gdb.base/type-opaque.exp, gdb.base/until.exp,
14469         gdb.base/value-double-free.c, gdb.base/varargs.exp,
14470         gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
14471         gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
14472         gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
14473         gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
14474         gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
14475         gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
14476         gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
14477         gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
14478         gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
14479         gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
14480         gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
14481         gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
14482         gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
14483         gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
14484         gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
14485         gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14486         gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
14487         gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
14488         gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
14489         gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14490         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
14491         gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
14492         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
14493         gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
14494         gdb.pascal/types.exp, gdb.stabs/weird.exp,
14495         gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
14496         gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
14497         gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
14498         gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
14499         gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
14500         gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
14501         gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14502         gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14503         gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14504         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14505         gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14506         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14507         lib/mi-support.exp, lib/trace-support.exp: Remove reference
14508         to bug-gdb@prep.ai.mit.edu .
14509
14510 2008-07-31  Vladimir Prus  <vladimir@codesourcery.com>
14511
14512         * lib/mi-support.exp (mi_load_shlibs): New.
14513         * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
14514
14515 2008-07-30  Vladimir Prus  <vladimir@codesourcery.com>
14516
14517         * lib/mi-support.exp (get_mi_thread_list)
14518         (check_mi_and_console_threads): New, moved from ...
14519         * gdb.mi/mi-pthread.exp: ...here.
14520         * gdb.mi/gdb669.exp (get_mi_thread_list)
14521         (check_mi_and_console_threads): Delete.
14522         * gdb.mi/mi2-pthread.exp: Likewise.
14523
14524 2008-07-28  Tom Tromey  <tromey@redhat.com>
14525
14526         * Makefile.in (just-check): Remove.  Move body to...
14527         (check): ... here.
14528
14529 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
14530
14531         * gdb.threads/manythreads.exp: Use remote_expect instead of after.
14532         Add a test for duplicated SIGINTs.
14533
14534 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
14535
14536         * gdb.threads/schedlock.exp (get_args): Update to work for any
14537         value of NUM.
14538         (Top level): Report the number of threads that did not resume.
14539
14540 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
14541
14542         * gdb.dwarf2/dw2-compressed.S: Also define __start.
14543
14544 2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
14545
14546         * lib/mi-support.exp (default_mi_gdb_start): Remove check for
14547         non-MI prompt.
14548
14549 2008-07-26  Tom Tromey  <tromey@redhat.com>
14550
14551         * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
14552         (function_struct, function_struct_ptr): New globals.
14553         * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
14554         function pointer in a struct.
14555
14556 2008-07-26  Tom Tromey  <tromey@redhat.com>
14557
14558         * gdb.base/macscp.exp: Add test for macro lexing bug.
14559
14560 2008-07-18  Tom Tromey  <tromey@redhat.com>
14561
14562         * gdb.base/macscp.exp: Add macro tests.
14563
14564 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14565
14566         * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
14567
14568 2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14569
14570         * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14571
14572 2008-07-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14573
14574         * gdb.cp/class2.exp: fix for failure on spu-elf
14575
14576 2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14577
14578         * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
14579
14580 2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
14581
14582         * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14583
14584 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
14585
14586         * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14587
14588 2008-07-11  Kevin Buettner  <kevinb@redhat.com>
14589
14590         * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14591         of regexp to account for changes made to GDB in the printing of
14592         byte vectors.
14593
14594 2008-07-11  Tom Tromey  <tromey@redhat.com>
14595
14596         * gdb.base/completion.exp: Add 'help' completion test.
14597
14598 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
14599
14600         * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14601
14602 2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
14603
14604         * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14605
14606 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
14607
14608         * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14609
14610 2008-07-09  Pedro Alves  <pedro@codesourcery.com>
14611
14612         * gdb.base/fullname.exp: Restore pwd if compiling failed.
14613
14614 2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
14615
14616         * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14617
14618 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
14619
14620         * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14621         previous commit.  Add a comment.
14622
14623 2008-06-28  Pedro Alves  <pedro@codesourcery.com>
14624
14625         * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14626
14627 2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
14628
14629         * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14630
14631 2008-06-27  Pedro Alves  <pedro@codesourcery.com>
14632
14633         * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14634         (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14635         compiling an executable, link in an object that forces unbuffered
14636         output.
14637         * lib/set_unbuffered_mode.c: New file.
14638
14639 2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14640
14641         * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14642
14643 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
14644
14645         * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14646         mi_expect_stop.
14647         * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14648         Demand that *running is output.
14649         (detect_async): Perform checking every time.
14650         (mi_send_resuming_command): Extract everything into...
14651         (mi_send_resuming_command_raw): ...this.
14652         (mi_expect_stop): Don't accept any output before *stopped.
14653
14654 2008-06-13  Vladimir Prus  <vladimir@codesourcery.com>
14655
14656         Robustify mi-simplerun.
14657         * gdb.mi/basics.c (main): Add a call to sleep.
14658         * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14659         * gdb.mi/mi2-cli.exp: Likewise.
14660         * gdb.mi/mi-break.exp: Likewise.
14661
14662 2008-06-11  Vladimir Prus  <vladimir@codesourcery.com>
14663
14664         * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14665
14666 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
14667
14668         * gdb.mi/mi-console.exp: Adjust.
14669         * gdb.mi/mi-syn-frame.exp: Adjust.
14670         * gdb.mi/mi2-console.exp: Adjust.
14671         * gdb.mi/mi2-syn-frame.exp: Adjust.
14672         * lib/mi-support.exp (mi_run_cmd): Adjust.
14673         (mi_send_resuming_command): Adjust.
14674
14675 2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
14676
14677         * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
14678         * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14679         testing of stopped.
14680         * gdb.mi/mi2-syn-frame.exp: Likewise.
14681         * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14682         (async, detect_async): New.
14683         (mi_expect_stop, mi_continue_to_line): Adjust expectation
14684         depending on if we're running in sync or async mode.
14685
14686 2008-06-09  Tom Tromey  <tromey@redhat.com>
14687
14688         * gdb.base/completion.exp: New tests for field name completion
14689         with spaces, and field name completion with '->'.
14690
14691 2008-06-06  Tom Tromey  <tromey@redhat.com>
14692
14693         * gdb.base/break1.c (struct some_struct): New struct.
14694         (values): New global.
14695         * gdb.base/completion.exp: Add field name completion test.
14696
14697 2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14698
14699         * gdb.cp/call-c.exp: Test for incorrect handling of reference
14700         to pointer.
14701         * gdb.cp/call-c.cc: Likewise.
14702
14703 2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
14704
14705         * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14706         annotation.
14707
14708 2008-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14709             Pedro Alves  <pedro@codesourcery.com>
14710
14711         * gdb.threads/execl.c, gdb.threads/execl1.c,
14712         gdb.threads/execl.exp: New tests.
14713
14714 2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
14715             Daniel Jacobowitz  <dan@codesourcery.com>
14716
14717         * gdb.cp/exception.exp: Activate test, make it work with pending
14718         catchpoints.
14719
14720 2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
14721
14722         * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14723
14724 2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
14725
14726         * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14727         now printed.
14728         * gdb.mi/mi2-var-cmd.exp: Likewise.
14729
14730 2008-05-27  Andreas Schwab  <schwab@suse.de>
14731
14732         * gdb.base/frame-args.exp: Handle arguments that are optimized
14733         out.
14734
14735 2008-05-26  Luis Machado  <luisgpm@br.ibm.com>
14736
14737         * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14738         quiet for ppc32 and group options into a single variable.
14739
14740 2008-05-23  Joel Brobecker  <brobecker@adacore.com>
14741
14742         * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14743         of zero-size elements.
14744         * gdb.ada/null_array.exp: Test printing this new array.
14745
14746 2008-05-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
14747
14748         * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14749
14750 2008-05-21  Joel Brobecker  <brobecker@adacore.com>
14751
14752         * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14753         of the "finish" command.
14754
14755 2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
14756
14757         * gdb.base/annota1.exp: Test for new annotation.
14758
14759 2008-05-16  Pedro Alves  <pedro@codesourcery.com>
14760
14761         * gdb.base/fixsection.exp: New file.
14762         * gdb.base/fixsection0.c: New file.
14763         * gdb.base/fixsection1.c: New file.
14764
14765 2008-05-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14766
14767         * gdb.base/annota1.exp: Accept printf@... in place of printf.
14768         * gdb.base/annota3.exp: Likewise.
14769
14770 2008-05-13  Nathan Froyd  <froydnj@codesourcery.com>
14771
14772         * gdb.base/watch_thread_num.exp: Don't run tests that require
14773         watchpoints if the target doesn't support them.
14774
14775 2008-05-12  Doug Evans  <dje@google.com>
14776
14777         * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14778
14779 2008-05-09  Joel Brobecker  <brobecker@adacore.com>
14780
14781         * gdb.ada/assign_1.exp: New testcase.
14782
14783 2008-05-09  Doug Evans  <dje@google.com>
14784
14785         * gdb.base/find.exp: New file.
14786         * gdb.base/find.c: New file.
14787
14788 2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
14789
14790         * gdb.base/commands.exp (watchpoint_command_test): Handle
14791         gdb,no_hardware_watchpoints.
14792         * gdb.base/float.exp: Allow ARM targets without floating point.
14793         * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14794
14795 2008-05-06  Jerome Guitton  <guitton@adacore.com>
14796             Joel Brobecker  <brobecker@adacore.com>
14797
14798         * gdb.ada/lang_switch: New test program.
14799         * gdb.ada/lang_switch.exp: New testcase.
14800
14801 2008-05-05  Doug Evans  <dje@google.com>
14802
14803         * gdb.base/help.exp (disassemble): Update expected help text.
14804
14805 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
14806
14807         * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14808
14809 2008-05-04  Pedro Alves  <pedro@codesourcery.com>
14810
14811         * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14812         different times.
14813
14814 2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
14815
14816         * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14817         * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14818         `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14819         * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14820
14821 2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
14822
14823         * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14824         notification to appear.
14825
14826 2008-05-04  Daniel Jacobowitz  <dan@debian.org>
14827
14828         * gdb.base/fullname.c: New file.
14829         * gdb.base/fullname.exp: New file.
14830         * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14831
14832 2008-05-03  Pedro Alves  <pedro@codesourcery.com>
14833
14834         * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14835         expressions with macros.
14836
14837 2008-05-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
14838
14839         * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14840
14841 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
14842
14843         * gdb.base/completion.exp: Handle lack of other symbols beginning
14844         with "a".
14845
14846         * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14847
14848 2008-05-02  Jim Blandy  <jimb@codesourcery.com>
14849
14850         * gdb.asm/asmsrc1.s: Add scratch space.
14851
14852 2008-05-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
14853             Daniel Jacobowitz  <dan@codesourcery.com>
14854
14855         * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14856         gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14857         gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14858
14859 2007-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
14860
14861         * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14862
14863 2008-05-01  Joel Brobecker  <brobecker@adacore.com>
14864
14865         * gdb.base/info-target.exp: New testcase.
14866
14867 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
14868
14869         * gdb.cp/hang.exp: Use .cc instead of .C.
14870         * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14871         * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14872
14873 2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
14874
14875         * gdb.base/gdb1250.exp: Remove perror.
14876         * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14877
14878 2008-04-30  Pedro Alves  <pedro@codesourcery.com>
14879
14880         * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14881         .2byte.
14882
14883 2008-04-25  Daniel Jacobowitz  <dan@codesourcery.com>
14884
14885         * gdb.base/macscp.exp: Enable kfails.  Compile with -g3 for GCC.
14886         (maybe_kfail): New.
14887
14888 2008-04-25  Pedro Alves  <pedro@codesourcery.com>
14889
14890         * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14891
14892 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
14893
14894         * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14895         * gdb.mi/mi2-syn-frame.exp: Likewise.
14896         * lib/mi-support.exp: Likewise.
14897
14898 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
14899
14900         * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14901         to specify regexp for the location to stop at.
14902         * gdb.base/break-always.c: New.
14903         * gdb.base/break-always.exp: New.
14904
14905 2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
14906
14907         * lib/mi-support.exp (mi_runto_helper): Adjust
14908         for the original-location field.
14909         (mi_create_breakpoint, mi_list_breakpoints): New.
14910         * gdb.mi/mi-break.exp: Adjust.
14911         * gdb.mi/mi2-break.exp: Adjust.
14912         * gdb.mi/mi-pending.exp: Adjust.
14913         * gdb.mi/mi-simplerun.exp: Adjust.
14914         * gdb.mi/mi2-simplerun.exp: Adjust.
14915         * gdb.mi/mi-syn-frame.exp: Adjust.
14916         * gdb.mi/mi2-syn-frame.exp: Adjust.
14917         * gdb.mi/mi-until.exp: Adjust.
14918         * gdb.mi/mi2-until.exp: Adjust.
14919         * gdb.mi/mi-var-display.exp: Adjust.
14920         * gdb.mi/mi2-var-display.exp: Adjust.
14921         * gdb.mi/mi-watch.exp: Adjust.
14922         * gdb.mi/mi2-watch.exp: Adjust.
14923
14924 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
14925
14926         * aclocal.m4: Add override.m4.
14927         * configure: Regenerate.
14928
14929 2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
14930
14931         * gdb.mi/var-cmd.c (do_at_tests): Verify that
14932         '-var-update --all-values' reports new value even the type
14933         of a variable object has changed.
14934
14935 2008-04-18  Craig Silverstein  <csilvers@google.com>
14936
14937         * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14938         files.
14939
14940 2008-04-18  Joel Brobecker  <brobecker@adacore.com>
14941
14942         * gdb.ada/atomic_enum: New test program.
14943         * gdb.ada/atomic_enum.exp: New testcase.
14944
14945 2008-04-17  Doug Evans  <dje@google.com>
14946
14947         * gdb.opt/Makefile.in: Fix whitespace.
14948
14949 2008-04-17  Daniel Jacobowitz  <dan@codesourcery.com>
14950
14951         * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14952
14953 2008-04-17  Doug Evans  <dje@google.com>
14954
14955         * gdb.base/hashline1.exp: New testcase.
14956         * gdb.base/hashline2.exp: New testcase.
14957         * gdb.base/hashline2.exp: New testcase.
14958
14959 2008-04-17  Pedro Alves  <pedro@codesourcery.com>
14960
14961         * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14962
14963 2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
14964
14965         * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14966         temporary breakpoint to match "Temporary breakpoint".
14967         * gdb.base/break.exp (delete_breakpoints): Likewise.
14968         * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14969         * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14970         * gdb.base/display.exp: Likewise.
14971         * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14972         * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14973         * gdb.base/restore.exp (restore_tests): Likewise.
14974         * gdb.base/sepdebug.exp: Likewise.
14975         * gdb.base/watchpoint.exp: Likewise.
14976         * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14977         * gdb.mi/mi-pending.exp: Likewise.
14978         * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14979         * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14980         * gdb.mi/mi-var-cmd.exp: Likewise.
14981         * gdb.mi/mi-var-display.exp: Likewise.
14982         * gdb.mi/mi2-cli.exp: Likewise.
14983         * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14984         * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14985         * gdb.mi/mi2-var-display.exp: Likewise.
14986         * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14987         * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14988         new "disp" field.
14989         (mi_expect_stop): Move after_reason argument to be really after
14990         reason. This is to support fix for PR2424.
14991
14992 2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
14993
14994         * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14995
14996 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
14997
14998         * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
14999         field.  Add more floating varobj tests.
15000         * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15001         field.
15002         * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15003         (main): Call do_at_tests.
15004         * lib/mi-support.exp (mi_create_floating_varobj)
15005         (mi_varobj_update_with_type_change): New.
15006
15007 2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
15008
15009         * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15010         option of -var-evaluate-expression.
15011         * gdb.mi/mi2-var-display.exp: Likewise.
15012
15013 2008-04-07  Vladimir Prus  <vladimir@codesourcery.com>
15014
15015         Introduce test setup helpers.
15016         * lib/gdb.exp (build_executable, clean_restart)
15017         (prepare_for_testing): New.
15018         * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15019         * gdb.base/return.exp: Likewise.
15020         * gdb.base/ending-run.exp: Likewise.
15021
15022 2008-04-07  Nick Roberts  <nickrob@snap.net.nz>
15023
15024         * gdb.mi/mi-async.exp: New test for asynchronous Machine
15025         Interface (MI) responses.
15026
15027 2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
15028
15029         * gdb.cp/breakpoint.cc: New code to test conditions involving
15030         member variables.
15031         * gdb.cp/breakpoint.exp: Test condition involving member
15032         variables.
15033
15034 2008-04-05  Vladimir Prus  <vladimir@codesourcery.com>
15035
15036         * lib/mi-support.exp (mi_expect_stop): New.
15037         (mi_run_cmd): Change the
15038         token.  Use mi_send_resuming_command, use
15039         mi_expect_stop.
15040         (mi_execute_to_helper): Rename to mi_execute_to.
15041         (mi_send_resuming_command): Add more error patterns.
15042         (mi_wait_for_stop): Renamed to...
15043         (mi_get_stop_line): ...this.
15044         (mi_run_inline_test): Adjust.
15045
15046         * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15047         * gdb.mi/mi-console.exp: Likewise.
15048         * gdb.mi/mi-pending.exp: Likewise.
15049         * gdb.mi/mi-simplerun.exp: Likewise.
15050         * gdb.mi/mi-stack.exp: Likewise.
15051         * gdb.mi/mi-stepi.exp: Likewise.
15052         * gdb.mi/mi-syn-frame.exp: Add comment.
15053         * gdb.mi/mi-until.exp: Likewise.
15054         * gdb.mi/mi-var-display.exp: Likewise.
15055         * gdb.mi/mi-watch.exp: Likewise.
15056         * gdb.mi/mi2-cli.exp: Likewise.
15057         * gdb.mi/mi2-console.exp: Likewise.
15058         * gdb.mi/mi2-simplerun.exp: Likewise.
15059         * gdb.mi/mi2-stack.exp: Likewise.
15060         * gdb.mi/mi2-stepi.exp: Likewise.
15061         * gdb.mi/mi2-until.exp: Likewise.
15062         * gdb.mi/mi2-var-display.exp: Likewise.
15063         * gdb.mi/mi2-watch.exp: Likewise.
15064
15065 2008-04-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15066
15067         * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15068
15069         * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15070
15071 2008-04-04  Pedro Alves  <pedro@codesourcery.com>
15072
15073         * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15074         gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15075         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15076         gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15077         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15078         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15079         expect an mi error duplicated in stderr.
15080
15081 2008-04-03  Joel Brobecker  <brobecker@adacore.com>
15082
15083         * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15084         * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15085         Add a couple of tests that verify the behavior when the new setting
15086         is set to "cancel" and "all".
15087         * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15088         "ask" before we start the testing.
15089
15090 2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
15091
15092         * gdb.cp/casts.cc: Add class reference variables.
15093         * gdb.cp/casts.exp: New test cases for up/down casting references.
15094
15095 2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
15096
15097         * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15098         instead of beginning to make an extra test pass.
15099         * gdb.mi/mi2-var-display.exp: Likewise.
15100
15101 2008-03-31  Maciej W. Rozycki  <macro@mips.com>
15102
15103         * gdb.base/break.exp: Mark failures as such.  Fix formatting.
15104
15105 2008-03-31  Markus Deuling  <deuling@de.ibm.com>
15106             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15107
15108         * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15109         value.  Add xfail for older kernels.
15110
15111 2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
15112
15113         Bring mi-support in line with gdb.exp.
15114         * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15115         (mi_gdb_start): New function.
15116
15117 2008-03-28  Maciej W. Rozycki  <macro@mips.com>
15118
15119         * gdb.mi/mi-var-cmd.exp: Fix a typo.
15120
15121 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
15122
15123         * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15124         * gdb.mi/mi2-var-display.exp: Likewise.
15125
15126 2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
15127
15128         * lib/mi-support.exp (mi_create_varobj_checked): New.
15129         (mi_list_varobj_children): Allow to check for a
15130         value.
15131         (mi_list_array_varobj_children): New.
15132
15133         * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15134         and mi_list_varobj_children, as opposed to hardcoding
15135         expected strings.
15136         * gdb.mi/gdb701.exp: Likewise.
15137         * gdb.mi/gdb792.exp: Likewise.
15138         * gdb.mi/mi-var-block.exp: Likewise.
15139         * gdb.mi/mi-var-cmd.exp: Likewise.
15140         * gdb.mi/mi-var-invalidate.exp: Likewise.
15141         * gdb.mi/mi2-var-block.exp: Likewise.
15142         * gdb.mi/mi2-var-child.exp: Likewise.
15143         * gdb.mi/mi2-var-cmd.exp: Likewise.
15144         * gdb.mi/mi2-var-display.exp: Likewise.
15145
15146 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
15147
15148         Fix random false FAILs on i386.
15149         * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15150
15151 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
15152
15153         PR gdb/544
15154         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15155
15156 2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
15157
15158         PR gdb/544
15159         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15160
15161 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15162
15163         * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15164         fixed PR gdb/544.
15165
15166 2008-03-21  Pedro Alves  <pedro@codesourcery.com>
15167
15168         * gdb.threads/fork-child-threads.exp: Test next over fork.
15169
15170 2008-03-21  Chris Demetriou  <cgd@google.com>
15171
15172         * gdb.base/break.exp (rbreak junk): New test for rbreak
15173         "Junk at end of arguments" issue.
15174
15175 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15176
15177         * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15178         *& to work on created array elements.
15179         (Top level): Test print $pc with a file.  Test string operations
15180         without a target.
15181         * gdb.base/ptype.exp: Do not expect *& to work on created array
15182         elements.
15183
15184 2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
15185
15186         * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15187         gdb.threads/staticthreads.exp: Update exit query.
15188
15189 2008-03-07  Sandra Loosemore  <sandra@codesourcery.com>
15190
15191         * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15192
15193 2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
15194
15195         * gdb.base/watchpoint.c (global_ptr, func4): New.
15196         (main): Call func4.
15197         * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15198         (test_inaccessible_watchpoint): New.
15199
15200 2008-02-29  Maciej W. Rozycki  <macro@mips.com>
15201
15202         * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15203         select the largest.
15204
15205 2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
15206
15207         * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15208         frames-invalid annotations.
15209
15210 2008-02-28  Pierre Muller  <muller@ics.u-strasbg.fr>
15211
15212         * gdb.base/assign.exp: avoid same output for different tests.
15213
15214 2008-02-27  Doug Evans  <dje@google.com>
15215
15216         * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15217         for bug 1738.
15218         (breakpoint_to_handler_entry): Ditto.
15219
15220 2008-02-27  Joel Brobecker  <brobecker@adacore.com>
15221
15222         * gdb.base/ending-run.exp: Use the first line of code inside
15223         function body to test breakpoints.
15224         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15225         location where the breakpoint is inserted when using the line
15226         where a function is declared. Fix typo in the description of
15227         one of the tests.
15228         * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15229
15230 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
15231
15232         * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
15233         tests.
15234
15235 2008-02-27  Pierre Muller  <muller@ics.u-strasbg.fr>
15236
15237         * gdb.base/args.exp: avoid same output for tests
15238         with single quotes.
15239
15240 2008-02-26  Vladimir Prus  <vladimir@codesourcery.com>
15241
15242         * gdb.base/annota1.exp: Adjust for 'info break'
15243         format changes.
15244         * gdb.base/annota3.exp: Likewise.
15245         * gdb.base/break.exp: Likewise.
15246         * gdb.base/condbreak.exp: Likewise.
15247         * gdb.base/pending.exp: Likewise.
15248         * gdb.base/sepdebug.exp: Likewise.
15249         * gdb.base/unload.exp: Likewise.
15250         * gdb.cp/ovldbreak.exp: Likewise.
15251         * gdb.mi/mi-pending.exp: Likewise.
15252
15253 2008-02-07  Doug Evans  <dje@google.com>
15254
15255         * gdb.cp/mb-inline.exp: New.
15256         * gdb.cp/mb-inline.h: New.
15257         * gdb.cp/mb-inline1.cc: New.
15258         * gdb.cp/mb-inline2.cc: New.
15259
15260 2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
15261
15262         * gdb.pascal/floats.pas: New test program.
15263         * gdb.pascal/floats.exp: New testcase.
15264
15265 2008-02-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
15266
15267         * gdb.base/callfuncs.c (t_float_many_args): New function.
15268         (t_double_many_args): New function.
15269         * gdb.base/callfuncs.exp: Add tests for exceeding float
15270         and double parameters passed through the stack.
15271
15272 2008-02-05  Joel Brobecker  <brobecker@adacore.com>
15273
15274         * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
15275         gdb.ada/complete/foo.adb: New files.
15276         * gdb.ada/complete.exp: New testcase.
15277
15278 2008-02-03  Doug Evans  <dje@google.com>
15279
15280         * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
15281
15282         * gdb.cp/gdb2384.exp: New file.
15283         * gdb.cp/gdb2384.cc: New file.
15284         * gdb.cp/gdb2384-base.h: New file.
15285         * gdb.cp/gdb2384-base.cc: New file.
15286
15287 2008-02-02  Doug Evans  <dje@google.com>
15288
15289         * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
15290
15291 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
15292
15293         * gdb.ada/sym_print_name: New test program.
15294         * gdb.ada/sym_print_name.exp: New testcase.
15295
15296 2007-02-01  Joel Brobecker  <brobecker@adacore.com>
15297
15298         * gdb.ada/nested/hello.adb: New file.
15299         * gdb.ada/nested.exp: New testcase.
15300         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15301
15302 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
15303
15304         * gdb.mi/basic.c (return_1): New function.
15305         * gdb.mi/mi-break.exp: Make sure that failed -break-insert
15306         don't cause future evaluations of function to report
15307         creation of internal breakpoints.
15308
15309 2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
15310
15311         * gdb.mi/mi-break.exp (test_error): New.
15312         Call it.
15313
15314 2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
15315
15316         * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
15317         * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
15318
15319 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
15320
15321         * gdb.pascal/integers.pas: New test program.
15322         * gdb.pascal/integers.exp: New testcase.
15323
15324 2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>
15325
15326         * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
15327
15328 2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
15329
15330         * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
15331         * gdb.arch/powerpc-d128-regs.c: New testcase source file.
15332
15333 2008-01-30  Paul Hilfinger  <hilfinger@adacore.com>
15334
15335         * gdb.ada/formatted_ref: New test program.
15336         * gdb.ada/formatted_ref.exp: New testcase.
15337
15338         * gdb.cp/formatted-ref.cc: New file.
15339         * gdb.cp/formatted-ref.exp: New testcase.
15340
15341 2008-01-30  Joel Brobecker  <brobecker@adacore.com>
15342
15343         * gdb.base/ptype.exp: Add testing of "ptype $pc".
15344
15345 2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
15346
15347         * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
15348         (test_file_list_exec_source_file): Update to new macro-info field.
15349
15350 2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
15351
15352         * gdb.ada/exprs: New test program.
15353         * gdb.ada/exprs.exp: New testcase.
15354
15355 2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
15356
15357         * dfp-test.c (DELTA, DELTA_B): New definitions.
15358         (double_val1, double_val2, double_val3, double_val4, double_val5,
15359         double_val6, double_val7, double_val8, double_val9, double_val10,
15360         double_val11, double_val12, double_val13, double_val14, dec32_val1,
15361         dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
15362         dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
15363         dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
15364         dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
15365         dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
15366         dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
15367         dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
15368         dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
15369         dec128_val12, dec128_val13, dec128_val14, dec128_val15,
15370         dec128_val16): New global variables.
15371         (decimal_dec128_align): New function.
15372         (decimal_mixed): Likewise.
15373         (decimal_many_args_dec32): Likewise.
15374         (decimal_many_args_dec64): Likewise.
15375         (decimal_many_args_dec128): Likewise.
15376         (decimal_many_args_mixed): Likewise.
15377         * dfp-test.exp: Add tests calling new inferior functions.
15378
15379 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
15380
15381         * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
15382         gdb.server/ext-run.exp: New files.
15383         * lib/gdbserver-support.exp (gdbserver_download): New.
15384         (gdbserver_start): New.  Update gdbserver expected
15385         output.
15386         (gdbserver_spawn): Use them.
15387         (gdbserver_start_extended): New.
15388
15389 2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
15390
15391         * gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
15392         Run on GNU/Linux.
15393         (do_exec_tests): Check for systems which do not support catchpoints.
15394         Do not match START.
15395         * gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
15396         Run on GNU/Linux.  Enable verbose output.
15397         (check_fork_catchpoints): New.
15398         (explicit_fork_child_follow, catch_fork_child_follow)
15399         (tcatch_fork_parent_follow): Update expected messages.
15400         (do_fork_tests): Use check_fork_catchpoints.
15401         * gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
15402         Run on GNU/Linux.  Enable verbose output.
15403         (check_vfork_catchpoints): New.
15404         (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
15405         expected messages.
15406         (do_vfork_and_exec_tests): Use check_fork_catchpoints.
15407
15408 2008-01-29  Jim Blandy  <jimb@red-bean.com>
15409
15410         * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
15411         host' errors.
15412         * lib/mi-support.exp (mi_gdb_target_cmd): Same.
15413
15414 2008-01-29  Jim Blandy  <jimb@red-bean.com>
15415
15416         * gdb.threads/sigthread.c: Use barriers to ensure that
15417         child_thread and child_thread_two are always initialized before we
15418         start to use them.
15419
15420 2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
15421
15422         * gdb.base/watchpoint-solib.exp: New.
15423         * gdb.base/watchpoint-solib.c: New.
15424         * gdb.base/watchpoint-solib-shr.c: New.
15425
15426 2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
15427
15428         * gdb.base/gdb1056.exp: Add unsigned integer test.
15429
15430 2008-01-28  Doug Evans  <dje@google.com>
15431
15432         * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
15433
15434 2008-01-27  Jim Blandy  <jimb@codesourcery.com>
15435
15436         * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
15437
15438         * gdb.base/expand-psymtabs.exp: Doc fix.
15439
15440 2008-01-26  Mark Kettenis  <kettenis@gnu.org>
15441
15442         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
15443
15444 2008-01-24  Nick Roberts  <nickrob@snap.net.nz>
15445
15446         * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
15447         -var-set-format.
15448
15449 2008-01-23  Chris Demetriou  <cgd@google.com>
15450
15451         * gdb.threads/thread_events.c: New testcase source file.
15452         * gdb.threads/thread_events.exp: New testcase expect file.
15453
15454 2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
15455
15456         * lib/gdb.exp: Add the variable octal.
15457
15458         * gdb.mi/mi-var-display.exp: Add value field to tests for output of
15459         -var-set-format.
15460
15461 2008-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
15462             Vladimir Prus  <vladimir@codesourcery.com>
15463
15464         * gdb.base/float.exp: Allow missing floating point for m68k and
15465         PowerPC.
15466
15467 2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
15468
15469         * gdb.mi/basics.c: Setup for testing breakpoints
15470         ignore count.
15471         * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
15472         * gdb.mi/mi-cli.exp: Adjust.
15473         * gdb.mi/mi2-cli.exp: Adjust.
15474
15475 2008-01-17  Pedro Alves  <pedro@codesourcery.com>
15476
15477         * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
15478         and 'dummy_ptr' integer pointer.  Initialize struct_declarations
15479         with dummy_ptr's address.
15480         * gdb.mi/var-cmd.c (do_children_tests): Likewise.
15481         * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
15482         all targets.
15483         * gdb.mi/mi2-var-child.exp: Likewise.
15484
15485 2008-01-09  Joel Brobecker  <brobecker@adacore.com>
15486
15487         * gdb.ada/null_array: New test program.
15488         * gdb.ada/null_array.exp: New testcase.
15489
15490 2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
15491
15492         * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
15493         with required float modifiers.
15494
15495 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
15496
15497         * gdb.ada/funcall_param: New test program.
15498         * gdb.ada/funcall_param.exp: New testcase.
15499
15500 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
15501
15502         * gdb.ada/arrayparam: New test program.
15503         * gdb.ada/arrayparam.exp: New testcase.
15504
15505 2008-01-08  Joel Brobecker  <brobecker@adacore.com>
15506
15507         * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
15508         landed.  Should also fix random failures in the test following it.
15509
15510 2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
15511
15512         * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
15513         for expressions with decimal float values.
15514         (test_dfp_conversions): New function to test casts to and from
15515         decimal float types.
15516         Call test_dfp_conversions.
15517         * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
15518         elements.
15519         (main): Initialize ds.float4 and ds.double8 elements.
15520         * gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
15521         string to new error message.
15522         (d64_set_tests): Likewise.
15523         (d128_set_tests): Likewise.
15524         Add tests for expressions with decimal float variables.  Add tests for
15525         conversions to and from decimal float types.
15526
15527 2008-01-05  Joel Brobecker  <brobecker@adacore.com>
15528
15529         * gdb.ada/packed_tagged/comp_bug.adb: New file.
15530         * gdb.ada/packed_tagged.exp: New testcase.
15531
15532 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
15533
15534         * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
15535         gdb.ada/homonym/homonym_main.adb: New files.
15536         * gdb.ada/homonym.exp: New testcase.
15537
15538 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
15539
15540         * gdb.ada/packed_array.exp: Add testing of references to
15541         a packed array.
15542
15543 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
15544
15545         * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
15546         New files.
15547         * gdb.ada/type_coercion.exp: New testcase.
15548
15549 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
15550
15551         * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
15552         gdb.ada/tagged/foo.adb: New file.
15553         * gdb.ada/tagged.exp: New testcase.
15554
15555 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
15556
15557         * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
15558         gdb.ada/ptype_field/foo.adb: New files.
15559         * gdb.ada/ptype_field.exp: New testcase.
15560
15561 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
15562
15563         * gdb.ada/print_pc.exp: New testcase.
15564
15565 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
15566
15567         * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
15568         gdb.ada/taft_type/p.adb: New files.
15569         * gdb.ada/taft_type.exp: New testcase.
15570
15571 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
15572
15573         * gdb.ada/array_bounds/bar.adb: New file.
15574         * gdb.ada/array_bounds.exp: New testcase.
15575
15576 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
15577
15578         * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15579         gdb.ada/arrayptr/foo.adb: New files.
15580         * gdb.ada/arrayptr.exp: New testcase.
15581
15582 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
15583
15584         * gdb.base/set-lang-auto.exp: New testcase.
15585
15586 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
15587
15588         * gdb.ada/fun_addr/foo.adb: New file.
15589         * gdb.ada/fun_addr.exp: New testcase.
15590
15591 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
15592
15593         * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15594         New files
15595
15596 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
15597
15598         * array_subscript_addr/p.adb: New file.
15599         * array_subscript_addr.exp: New testcase.
15600
15601 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
15602
15603         * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
15604         New files.
15605         * gdb.ada/str_cmp_ref.exp: New testcase.
15606
15607 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
15608
15609         * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15610         gdb.ada/fun_in_declare/foo.adb: New files.
15611         * gdb.ada/fun_in_declare.exp: New testcase.
15612
15613 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
15614
15615         * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15616         gdb.ada/ref_param/pck.ads: New files.
15617         * gdb.ada/ref_param.exp: New testcase.
15618
15619 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
15620
15621         * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15622         gdb.ada/interface/foo.adb: New files.
15623         * gdb.ada/interface.exp: New testcase.
15624
15625 2007-12-31  Jim Blandy  <jimb@codesourcery.com>
15626
15627         * gdb.base/multi-forks.exp: Consume all output from child
15628         processes before proceeding to next test.
15629
15630 2007-12-29  Jim Blandy  <jimb@codesourcery.com>
15631
15632         * configure: Regenerated.
15633
15634 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
15635
15636         * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15637         gdb.ada/fixed_cmp/fixed.adb: New files.
15638         * gdb.ada/fixed_cmp.exp: New testcase.
15639
15640 2007-12-27  Joel Brobecker  <brobecker@adacore.com>
15641
15642         * gdb.ada/boolean_expr.exp: New testcase.
15643
15644 2007-12-26  Jim Blandy  <jimb@codesourcery.com>
15645
15646         * gdb.base/multi-forks.exp: Doc fix.
15647
15648 2007-12-26  Joel Brobecker  <brobecker@adacore.com>
15649
15650         * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15651         * gdb.ada/char_param.exp: Do not compile our test program with
15652         -gnata, this is unnecessary.
15653         * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15654
15655 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
15656
15657         * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15658         gdb.ada/print_chars/foo.adb: New files.
15659         * gdb.ada/print_chars.exp: New testcase.
15660
15661 2007-12-24  Joel Brobecker  <brobecker@adacore.com>
15662
15663         * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15664         gdb.ada/char_param/foo.adb: New files.
15665         * gdb.ada/char_param.exp: New testcase.
15666
15667 2007-12-22  Jim Blandy  <jimb@codesourcery.com>
15668
15669         * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15670         hard-coding source line numbers into the test.
15671         * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15672         gdb_get_line_number to find.
15673
15674 2007-12-22  Joel Brobecker  <brobecker@adacore.com>
15675
15676         * gdb.base/ptype.c (highest): New struct type.
15677         (the_highest): New variable of that type.
15678         (main): Add dummy assignment to a field of variable the_highest.
15679         * gdb.base/ptype.exp: Test type printing of our new variable.
15680
15681 2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>
15682
15683         * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
15684         and record first explicitly generated thread number.
15685         Use that thread number for thread specific watchpoint test.
15686         Add iteration number to repetitive tests.
15687
15688 2007-12-16  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15689             Jim Blandy  <jimb@codesourcery.com>
15690
15691         * gdb.base/expand-psymtabs.c: New testcase
15692         source file.
15693         * gdb.base/expand-psymtabs.exp: New testcase
15694         expect file.
15695
15696 2007-12-17  Luis Machado  <luisgpm@br.ibm.com>
15697
15698         * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15699         * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15700
15701 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
15702
15703         * gdb.ada/frame_args/foo.adb: New file.
15704         * gdb.ada/frame_args/pck.ads: New file.
15705         * gdb.ada/frame_args/pck.adb: New file.
15706         * gdb.ada/frame_args.exp: New testcase.
15707
15708 2007-12-17  Joel Brobecker  <brobecker@adacore.com>
15709
15710         * gdb.base/frame-args.c: New file.
15711         * gdb.base/frame-args.exp: New testcase.
15712
15713 2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
15714             Joseph Myers  <joseph@codesourcery.com>
15715
15716         * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15717
15718 2007-12-14  Vladimir Prus  <vladimir@codesourcery.com>
15719
15720         * gdb.mi/mi-pending.exp: New.
15721         * gdb.mi/mi-pending.c: New.
15722         * gdb.mi/mi-pendshr.c: New.
15723
15724 2007-12-06  Jim Blandy  <jimb@codesourcery.com>
15725
15726         * gdb.base/default.exp: Update expected output for 'info catch'.
15727
15728 2007-12-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
15729
15730         * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15731         must be set to binary.
15732
15733 2007-12-09  Pedro Alves  <pedro_alves@portugalmail.pt>
15734
15735         * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15736
15737 2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
15738
15739         * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15740         gdb.mi/mi-file-transfer.exp: New.
15741
15742 2007-11-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
15743
15744         * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15745
15746 2007-11-22  Maciej W. Rozycki  <macro@mips.com>
15747
15748         * gdb.trace/backtrace.exp: Fix a typo.
15749         * gdb.trace/circ.exp: Likewise.
15750         * gdb.trace/collection.exp: Likewise.
15751         * gdb.trace/limits.exp: Likewise.
15752         * gdb.trace/report.exp: Likewise.
15753         * gdb.trace/tfind.exp: Likewise.
15754         * gdb.trace/while-dyn.exp: Likewise.
15755
15756 2007-11-21  Nick Roberts  <nickrob@snap.net.nz>
15757
15758         * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15759         objects of pointers that can't be dereferenced are now
15760         "noneditable".
15761
15762 2007-11-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15763
15764         * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15765         (target_cpu): Remove.
15766
15767 2007-10-15  Vladimir Prus  <vladimir@codesourcery.com>
15768
15769         * gdb.base/ending-run.exp: Expect the list of cleared
15770         breakpoint to come in natural order, not the reversed one.
15771
15772 2007-11-07  Vladimir Prus  <vladimir@codesourcery.com>
15773
15774         * gdb.mi/mi-var-child.c (do_child_deletion): New.
15775         * gdb.mi/mi-var-child.exp: Run child_deletion tests.
15776
15777 2007-11-05  Luis Machado  <luisgpm@br.ibm.com>
15778
15779         * gdb.base/printcmds.exp: New function
15780         test_printf_with_dfp.
15781
15782 2007-11-02  Doug Evans  <dje@google.com>
15783
15784         * gdb.disasm/t01_mov.s: Remove carriage returns.
15785         * gdb.disasm/t02_mova.s: Ditto.
15786         * gdb.disasm/t03_add.s: Ditto.
15787         * gdb.disasm/t04_sub.s: Ditto.
15788         * gdb.disasm/t05_cmp.s: Ditto.
15789         * gdb.disasm/t06_ari2.s: Ditto.
15790         * gdb.disasm/t07_ari3.s: Ditto.
15791         * gdb.disasm/t08_or.s: Ditto.
15792         * gdb.disasm/t09_xor.s: Ditto.
15793         * gdb.disasm/t10_and.s: Ditto.
15794         * gdb.disasm/t11_logs.s: Ditto.
15795         * gdb.disasm/t12_bit.s: Ditto.
15796         * gdb.disasm/t13_otr.s: Ditto.
15797
15798 2007-11-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
15799
15800         * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15801
15802 2007-10-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15803
15804         * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15805         provide DFP support.
15806
15807 2007-10-30  Daniel Jacobowitz  <dan@codesourcery.com>
15808
15809         * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15810         Test "set powerpc vector-abi".  Skip auto-detection tests for old
15811         toolchains.
15812
15813 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
15814
15815         * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15816         with [string compare].
15817
15818 2007-10-30  Pedro Alves  <pedro_alves@portugalmail.pt>
15819
15820         * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15821         * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15822
15823 2007-10-25  Luis Machado  <luisgpm@br.ibm.com>
15824
15825         * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15826         * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15827         * gdb.opt/Makefile.in: New makefile.
15828         * Makefile.in: Create new directory "gdb.opt".
15829         * configure.ac: Add "gdb.opt" directory.
15830         * configure: Regenerated.
15831
15832 2007-10-25  Doug Evans  <dje@google.com>
15833
15834         * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15835         * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15836
15837 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com>
15838             Thiago Jung Bauermann  <bauerman@br.ibm.com>
15839
15840         * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15841         Floating Point expressions.
15842         * gdb.base/dfp-test.exp: new file adding tests for Decimal
15843         Floating Point variables.
15844         * gdb.base/dfp-test.c: new file containing program with Decimal
15845         Floating variables, used by gdb.base/dfp-test.exp.
15846
15847 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
15848
15849         * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15850
15851 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15852
15853         * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15854         compiling test case with GCC.
15855         * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15856
15857 2007-10-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15858
15859         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15860         format changes.
15861
15862 2007-10-18  Michael Snyder  <msnyder@specifix.com>
15863
15864         * gdb.base/dbx.exp: Add missing "-re " operator.
15865
15866 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
15867
15868         * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15869         * configure.ac: Removed trailing spaces after backslash.
15870         * gdb.modula2: New directory.
15871         * gdb.modula2/Makefile.in: New file.
15872         * gdb.modula2/unbounded-array.exp: New file.
15873         * gdb.modula2/unbounded1.c: New file.
15874
15875 2007-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
15876
15877         * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15878
15879 2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
15880
15881         * gdb.base/sigstep.c (main): Add checks for
15882         return values for setitimer call.
15883         Call setitimer again with itimer = ITIMER_REAL
15884         if first call to setitimer fails.
15885
15886 2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
15887
15888         * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15889         of $timeout.
15890
15891 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
15892
15893         * gdb.server/server-run.exp: Test for dynamic linker symbols.
15894
15895 2007-10-09  Pierre Muller  <muller@ics.u-strasbg.fr>
15896
15897         * lib/gdb.exp (gdb_run_cmd): Move comment outside
15898         of gdb_expect call, to avoid interruption.
15899
15900 2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>
15901
15902         * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15903         (v_unsigned_long_long, v_long_long_array)
15904         (v_signed_long_long_array, v_unsigned_long_long_array)
15905         (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15906         (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15907         [!NO_LONG_LONG]: New.
15908         (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15909         v_long_long_member.
15910
15911         (v_long_long_func, v_signed_long_long_func)
15912         (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15913         (main) [!NO_LONG_LONG]: Initialize long long variants.
15914
15915         * gdb.base/whatis.exp: If board file requests no_long_long, build
15916         test with NO_LONG_LONG defined.  Test long long, signed long long,
15917         and unsigned long long variants but only if board file doesn't
15918         disable it.
15919
15920 2007-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
15921             Daniel Jacobowitz  <dan@codesourcery.com>
15922
15923         * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15924         * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15925         * configure: Regenerated.
15926         * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15927         gdb.pascal/types.exp, lib/pascal.exp: New files.
15928
15929 2007-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
15930
15931         * gdb.cp/classes.exp (do_tests): Always step to the line after the
15932         call.
15933         * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15934         to return to the call.
15935         * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15936         * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15937         * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15938         * gdb.mi/mi-until.exp (test_until): Likewise.
15939         * gdb.mi/mi2-until.exp (test_until): Likewise.
15940
15941 2007-10-01  Daniel Jacobowitz  <dan@codesourcery.com>
15942
15943         * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15944         two-char array.
15945         * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15946
15947 2007-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
15948
15949         * gdb.threads/watchthreads.c (thread_function): Sleep between
15950         iterations.
15951         * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15952         at once for S/390.  Generate matching fails and passes.
15953
15954 2007-09-27  Vladimir Prus  <vladimir@codesourcery.com>
15955
15956         * gdb.mi/var-cmd.c (do_children_tests): Initialize
15957         the 'struct_declarations' variable to zeros.
15958
15959 2007-09-24  Vladimir Prus  <vladimir@codesourcery.com>
15960
15961         * gdb.cp/mb-ctor.cc: New.
15962         * gdb.cp/mb-ctor.exp: New.
15963         * gdb.cp/mb-templates.cc: New.
15964         * gdb.cp/mb-templates.exp: New.
15965
15966 2007-09-23  Daniel Jacobowitz  <dan@codesourcery.com>
15967
15968         * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15969
15970 2007-09-23  Pedro Alves  <pedro_alves@portugalmail.pt>
15971
15972         * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15973         targets.
15974         * configure: Regenerate.
15975
15976 2007-09-23  Vladimir Prus  <vladimir@codesourcery.com>
15977
15978         * gdb.base/annota1.exp: Adjust for 'info break'
15979         format changes.
15980         * gdb.base/annota3.exp: Likewise.
15981         * gdb.base/break.exp: Likewise.
15982         * gdb.base/condbreak.exp: Likewise.
15983         * gdb.base/pending.exp: Likewise.
15984         * gdb.base/sepdebug.exp: Likewise.
15985         * gdb.base/unload.exp: Likewise.
15986         * gdb.base/ovldbreak.exp: Likewise.
15987
15988 2007-09-22  Vladimir Prus  <vladimir@codesourcery.com>
15989
15990         * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15991         messages.
15992         * gdb.base/chng-syms.exp: Likewise.
15993         * gdb.base/unload.exp: Likewise.
15994
15995 2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
15996
15997         * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15998
15999 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
16000
16001         * schedlock.c (NUM): Change to 1.
16002         (main): Use args[0] for the main thread.
16003         * schedlock.exp: Only expect two threads.  Only issue one pass or fail
16004         regardless of the number of threads.
16005
16006 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
16007
16008         * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16009         type down.
16010         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16011         test.
16012         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16013         watchpoint type down.
16014         (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16015         test.
16016
16017 2007-09-14  Maciej W. Rozycki  <macro@mips.com>
16018
16019         * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16020         Move all the tests here and run them twice, once using software
16021         watchpoints and once using hardware watchpoints.
16022         * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16023
16024 2007-09-12  Daniel Jacobowitz  <dan@codesourcery.com>
16025
16026         * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16027         test.
16028
16029 2007-09-10  Mark Kettenis  <kettenis@gnu.org>
16030
16031         * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16032         build-id.
16033
16034         * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16035         know about $ORIGIN.  Calculate output dir from $dest instead of
16036         using ${objdir}/{$subdir}.
16037
16038 2007-09-09  Mark Kettenis  <kettenis@gnu.org>
16039
16040         * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16041         gcore, before continuing with the test.
16042
16043 2007-09-06  Daniel Jacobowitz  <dan@codesourcery.com>
16044
16045         * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16046         * gdb.mi/mi-watch.exp: Likewise.
16047
16048 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
16049             Jim Blandy  <jimb@codesourcery.com>
16050
16051         * gdb.arch/i386-sse.exp: Do not expect character constants.
16052         * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16053         * gdb.base/display.exp: Allow print/s.
16054         * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16055         and unsigned char array changes.
16056
16057 2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
16058
16059         * gdb.base/display.exp: Add tests for printf %p.
16060
16061 2007-09-03  Pedro Alves  <pedro_alves@portugalmail.pt>
16062
16063         * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16064         the dll name to unicode.
16065
16066 2007-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
16067
16068         * gdb.base/default.exp (show version): Update the version text.
16069         * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16070
16071 2007-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16072
16073         * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16074         New files.
16075
16076 2007-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
16077
16078         * lib/gdb.exp (build_id_debug_filename_get): New function.
16079         * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16080         Remove the generate DEBUG file for the future testcase runs.
16081         New testcase for the NT_GNU_BUILD_ID retrieval.
16082         Move the final testing step to ...
16083         (test_different_dir): ... a new function.
16084         New parameter XFAIL to XFAIL all the tests performed.
16085         New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16086         New parameter TYPE to PF_PREFIX all the tests performed.
16087
16088 2007-08-31  Vladimir Prus  <vladimir@codesourcery.com>
16089
16090         * gdb.mi/mi-var-cp.cc (path_expression): New
16091         function.
16092         * gdb.mi/mi-var-cp.exp: Run path exression tests.
16093
16094 2007-08-27  Markus Deuling  <deuling@de.ibm.com>
16095
16096         * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16097         to fit into SPU Local Store memory.
16098
16099 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16100
16101         * gdb.base/default.exp: Adjust the expected output of "info
16102         warranty" after the switch to GPLv3.
16103
16104 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16105
16106         * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16107         to 30000 (from 20000).
16108
16109 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16110
16111         Switch the license of all .exp files to GPLv3.
16112         Switch the license of all .f and .f90 files to GPLv3.
16113         Switch the license of all .s and .S files to GPLv3.
16114
16115 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16116
16117         * configure.ac: Switch license to GPLv3.
16118
16119 2007-08-23  Joel Brobecker  <brobecker@adacore.com>
16120
16121         Switch the licensing to GPLv3 for all .ads and .adb files.
16122
16123 2007-08-22  Daniel Jacobowitz  <dan@codesourcery.com>
16124
16125         * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16126         and t_int_double.
16127         * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16128
16129 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
16130
16131         * gdb.base/step-line.c: Switch license to GPL version 3, and
16132         update copyright year.
16133         * gdb.base/step-line.inp: Likewise.
16134
16135 2007-08-17  Joel Brobecker  <brobecker@adacore.com>
16136
16137         * gdb.base/gdb1555.exp: Make expected output immune to formatting
16138         changes inside gdb1555.c.
16139         * gdb.base/pending.exp: Likewise.
16140
16141 2007-08-13  Daniel Jacobowitz  <dan@codesourcery.com>
16142
16143         * config/default.exp: New file.
16144
16145 2007-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
16146
16147         * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16148         * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16149
16150 2007-07-30  Maciej W. Rozycki  <macro@mips.com>
16151
16152         * gdb.base/dump.exp: Force the correct endianness for binary
16153         formats not carrying this information.
16154
16155 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
16156
16157         * gdb.threads/staticthreads.exp: Match .*sem_post.
16158
16159 2007-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
16160
16161         * gdb.base/readline.exp (operate_and_get_next): Match the final
16162         prompt.
16163
16164 2007-07-23  Kevin Buettner  <kevinb@redhat.com>
16165
16166         * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16167         to restarting SID.
16168
16169 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
16170
16171         * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16172         prior to `gdb_start'.
16173
16174 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
16175
16176         * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
16177         return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16178         Remove call to gdb_unload.
16179
16180 2007-07-17  Pedro Alves  <pedro_alves@portugalmail.pt>
16181             Daniel Jacobowitz  <dan@codesourcery.com>
16182
16183         * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16184         for __WIN32__.
16185         (SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
16186         * gdb.base/unload.exp: Use shared library test routines.
16187
16188 2007-07-03  Markus Deuling  <deuling@de.ibm.com>
16189
16190         * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16191         * gdb.base/solib-symbol-lib.c: Likewise.
16192         * gdb.base/solib-symbol-main.c: Likewise.
16193
16194 2007-07-02  Daniel Jacobowitz  <dan@codesourcery.com>
16195
16196         * config/gdbserver.exp (gdb_reconnect): New.
16197         * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16198         gdb.base/solib-disc.exp: New files.
16199         * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16200         remote debugging".
16201         (gdb_compile): Add shlib_load flag.
16202         * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16203         port.
16204         (gdbserver_reconnect): New.
16205
16206 2007-07-01  Nick Roberts  <nickrob@snap.net.nz>
16207             Daniel Jacobowitz  <dan@codesourcery.com>
16208
16209         * gdb.base/annota3.exp: Test for if construct.
16210
16211 2007-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
16212
16213         * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16214
16215 2007-06-21  Chris Dearman  <chris@mips.com>
16216             Maciej W. Rozycki  <macro@mips.com>
16217
16218         * gdb.base/display.exp: Allow a newline after display/i.
16219         * gdb.base/pc-fp.exp: Likewise.
16220         * gdb.base/sigbpt.exp: Likewise.
16221
16222 2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
16223
16224         * gdb.xml/tdesc-regs.exp: Add MIPS support.  Allow multiple
16225         required features to be included.
16226
16227 2007-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
16228
16229         * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16230         in info threads output.
16231
16232 2007-06-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16233             Markus Deuling  <deuling@de.ibm.com>
16234
16235         * gdb.arch/spu-info.exp: New testcase.
16236         * gdb.arch/spu-info.c: New file.
16237
16238 2007-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
16239
16240         * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16241         tpcs_offset.  Restore lr after the call.
16242         * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16243
16244 2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
16245
16246         * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16247         (gdbserver_run): Kill any running gdbserver.
16248         * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16249
16250 2007-05-17  Maciej W. Rozycki  <macro@mips.com>
16251
16252         * gdb.base/sigbpt.exp: Preset segv_addr.
16253
16254 2007-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
16255
16256         * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
16257         (gdb_compile_shlib): Likewise.
16258         (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
16259         (default_gdb_init): Clear cleanfiles.
16260         (gdb_finish): Delete recorded cleanfiles.
16261         * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
16262
16263         * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
16264         Do not use isnative.
16265         * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
16266         gdb.base/so-impl-ld.exp: Likewise.
16267         * gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
16268         * gdb.base/unload.exp: Likewise.  Do not pass empty option to
16269         gdb_compile.
16270
16271 2007-05-15  Vladimir Prus  <vladimir@codesourcery.com>
16272
16273         * config/unknown.exp: Remove.
16274
16275 2007-05-15  Markus Deuling  <deuling@de.ibm.com>
16276
16277         * gdb.base/info-proc.exp: Check is_remote.
16278
16279 2007-05-14  Markus Deuling  <deuling@de.ibm.com>
16280
16281         * gdb.base/gcore.exp: Initialize variable core_supported.
16282
16283 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
16284
16285         * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
16286
16287 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
16288
16289         * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
16290         * gdb.threads/print-threads.exp (test_all_threads): Allow
16291         negative and hexadecimal thread IDs.
16292
16293 2007-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
16294
16295         * gdb.java/jprint.java (public): Avoid invalid call to static
16296         method.
16297
16298 2007-05-14  Denis Pilat  <denis.pilat@st.com>
16299
16300         * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
16301         gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
16302         gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16303         gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
16304         gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
16305
16306 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16307
16308         * gdb.base/overlays.exp: Add support for targets with only code
16309         overlay support, not data overlay.  Support spu-*-* target in
16310         this mode.
16311         * gdb.base/ovlymgr.c: Provide stubs for spu target.
16312         * gdb.base/spu.ld: New file.
16313
16314 2007-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
16315
16316         * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
16317
16318 2007-05-06  Daniel Jacobowitz  <dan@codesourcery.com>
16319
16320         * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
16321
16322 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
16323
16324         * gdb.java/jmain.exp: Handle demangled names with and without method
16325         signatures.
16326
16327 2007-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
16328
16329         * gdb.mi/mi-syn-frame.c (main, foo, bar)
16330         (have_a_very_merry_interrupt): Remove calls to puts.
16331         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
16332         inferior output.
16333         * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
16334         test names.
16335
16336 2007-04-29  Markus Deuling  <deuling@de.ibm.com>
16337             Daniel Jacobowitz  <dan@codesourcery.com>
16338
16339         * gdb.base/auxv.exp (core_works): Also check is_remote.
16340         * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
16341
16342 2007-04-25  Vladimir Prus  <vladimir@codesourcery.com>
16343
16344         * gdb.base/sigaltstack.exp: Use 'srcfile' in error
16345         message, not the undefined 'module' variable.
16346         * gdb.base/siginfo.exp: Likewise.
16347         * gdb.base/sigstep.exp: Likewise.
16348         * lib/gdbserver-support.exp (gdb_target_cmd): Quote
16349         serialport.
16350         * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
16351
16352 2007-04-25  Corinna Vinschen <vinschen@redhat.com>
16353
16354         * config/sim.exp (gdb_target_sim): Just return with -1 when setting
16355         target sim fails.  Return 0 otherwise.
16356         (gdb_load): Return prematurely if gdb_target_sim fails.
16357
16358 2007-04-16  Denis Pilat  <denis.pilat@st.com>
16359
16360         * gdb.base/setshow.exp: Reset height after having set it to 100.
16361
16362 2007-04-16  Denis Pilat  <denis.pilat@st.com>
16363
16364         * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
16365
16366 2007-04-16  Denis Pilat  <denis.pilat@st.com>
16367
16368         * gdb.mi/mi2-var-display.exp: Test for the fullname field.
16369
16370 2007-04-14  Vladimir Prus  <vladimir@codesourcery.com>
16371
16372         * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
16373         tests. Run the frozen varobjs test.
16374         * gdb.mi/var-cmd.c (do_frozen_tests): New.
16375         * lib/mi-support.exp (mi_varobj_update): Fix thinko.
16376
16377 2007-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16378
16379         * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
16380         gdb.base/type-opaque.exp: New files.
16381
16382 2007-04-01  Vladimir Prus  <vladimir@codesourcery.com>
16383
16384         * gdb.mi/mi-var-child.c
16385         (do_children_tests): User char[2] instead of
16386         char so that automatic printing of pointers to char
16387         don't give unpredicable result.
16388         * gdb.mi/var-cmd.c (do_locals_test): Initialize
16389         local variables.
16390         * gdb.mi/mi-var-child.exp: Step to right line
16391         of do_children_tests.
16392         * gdb.mi/mi2-var-child.exp: Likewise.
16393         * gdb.mi/mi-var-cmd.exp: Step to right line of
16394         do_locals_tests.
16395         (do_children_tests): User char[2] instead of
16396         char so that automatic printing of pointers to char
16397         don't give unpredicable result.
16398         * gdb.mi/mi2-var-cmd.exp: Likewise.
16399         * lib/mi-support.exp (mi_continue_to_line):
16400         Pass test name to mi_wait_for_stop.
16401
16402 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
16403
16404         * gdb.asm/asm-source.exp: Remove d10v case.
16405         * lib/gdb.exp (skip_cplus_tests): Likewise.
16406         * gdb.asm/d10v.inc: Deleted.
16407
16408 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
16409
16410         * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
16411
16412 2007-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
16413
16414         * config/netware.exp: Delete file.
16415
16416 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
16417
16418         * gdb.dwarf2/dw2-noloc.S: New file.
16419         * gdb.dwarf2/dw2-noloc.exp: New file.
16420
16421 2007-03-28  Pedro Alves  <pedro_alves@portugalmail.pt>
16422
16423         * gdb.cp/method2.cc: New test.
16424         * gdb.cp/method2.exp: New test.
16425         * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
16426
16427 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
16428
16429         * gdb.ada/exec_changed.exp: Avoid "set confirm off".
16430
16431 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
16432
16433         * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
16434
16435 2007-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
16436
16437         * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
16438         (gdb_load): Delete, replace with...
16439         (gdb_reload): ...this.
16440         * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
16441         * gdb.server/server-mon.exp: Likewise.
16442         * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
16443         (gdb_start_cmd): New.
16444         (gdb_file_cmd): Save the last loaded file.
16445         (gdb_reload): New.
16446         (gdb_gnu_strip_debug): Use transform.
16447         * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
16448         support here.  Use new $last_loaded_file.  Check mtime.
16449         (gdb_target_cmd): Handle ObjC failure case.
16450         (infer_host_exec): Delete.
16451         (gdbserver_load): Rename to...
16452         (gdbserver_run): ...this.  Simplify.
16453         * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
16454         (mi_gdb_load): Move most contents to a new function...
16455         (mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
16456         (mi_run_cmd): Use mi_gdb_target_load.
16457         * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
16458         gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
16459         Use gdb_run_cmd.
16460         * gdb.base/charsign.exp: Remove incorrect comment.
16461         * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
16462         * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
16463         gdb.base/start.exp: Use gdb_start_cmd.
16464
16465 2007-03-23  Nigel Stephens  <nigel@mips.com>
16466             Maciej W. Rozycki  <macro@mips.com>
16467
16468         * gdb.base/sigbpt.exp: Fix the message when skipping test.
16469         * gdb.base/signull.exp: Similarly.
16470
16471 2007-03-16  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16472
16473         * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
16474         messages available to test cases (like chng-sym.exp).
16475
16476 2007-03-14  Andreas Schwab  <schwab@suse.de>
16477
16478         * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16479         format changes.
16480
16481 2007-03-13  Daniel Jacobowitz  <dan@codesourcery.com>
16482
16483         * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
16484         (optimized_1): New.
16485         (main): Call optimized_1.
16486         (gdb2029): Correct typos.  Call gdb2029_marker.
16487         * gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
16488         for gdb2029.
16489
16490 2007-03-12  Mark Kettenis  <kettenis@gnu.org>
16491
16492         * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
16493         as tabs.  Remove redundant test pattern.
16494
16495 2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16496
16497         * gdb.base/long_long.exp: Accept optional symbol name in <...>
16498         for /a format output.
16499
16500 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
16501
16502         * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
16503         collect output incrementally.
16504
16505 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16506
16507         * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
16508         for -var-create lpcharacter test.
16509         * gdb.mi/mi2-var-cmd.exp: Likewise.
16510
16511 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16512
16513         * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
16514         pass on targets where address zero is readable.
16515
16516 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16517
16518         * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
16519         just a single architecture.
16520
16521 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16522
16523         * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
16524         (fetch_all_registers): New function, uses gdb_test_multiple and
16525         exp_continue to fetch inferior output line-by-line.
16526         Replace all uses of do_get_all_registers by fetch_all_registers.
16527
16528 2007-03-08  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16529
16530         * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
16531         in target_info.
16532
16533 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
16534
16535         * gdb.threads/manythreads.exp: Use $message string for
16536         consistancy; add a default (timeout) case.
16537
16538 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
16539
16540         * gdb.base/watchpoint.exp: Fix truncated comment.
16541
16542 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
16543
16544         * Makefile.in: Remove spurious single-quotes from sed command.
16545
16546 2007-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
16547
16548         * gdb.mi/mi-var-cmd.exp: Correct test name.  Allow any value for
16549         func.
16550         * gdb.mi/mi2-var-cmd.exp: Likewise.
16551
16552 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
16553
16554         * gdb.dwarf2/dw2-producer.S: New file.
16555         * gdb.dwarf2/dw2-producer.exp: New testcase.
16556
16557 2007-02-27  Nick Roberts  <nickrob@snap.net.nz>
16558
16559         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16560         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16561         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16562         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16563         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16564         Revert tests to use mi_gdb_test and include value field in output
16565         of -var-create.
16566
16567 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
16568
16569         * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
16570
16571 2007-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
16572
16573         * gdb.base/maint.exp: Remove full paths from test names.
16574         * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16575         gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16576
16577 2007-02-27  Joel Brobecker  <brobecker@adacore.com>
16578
16579         * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16580
16581 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
16582
16583         * gdb.server/server-mon.exp: New test.
16584
16585 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
16586
16587         * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16588
16589 2007-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
16590
16591         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16592         register capitalization.
16593
16594 2007-02-13  Denis Pilat  <denis.pilat@st.com>
16595
16596         * gdb.mi/mi-var-invalidate.exp: New file.
16597
16598 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
16599
16600         * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16601
16602 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
16603
16604         * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16605
16606 2007-02-08  Daniel Jacobowitz  <dan@codesourcery.com>
16607
16608         * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16609         gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16610
16611 2007-02-08  Nick Roberts  <nickrob@snap.net.nz>
16612
16613         * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16614         * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16615         * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16616         * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16617         * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16618         * gdb.mi/gdb792.exp, lib/mi-support.exp:
16619         Update tests to include value field in output of -var-create.
16620
16621 2007-02-08  Andreas Schwab  <schwab@suse.de>
16622
16623         * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16624
16625 2007-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
16626
16627         * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16628         gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16629
16630 2007-02-02  Denis Pilat  <denis.pilat@st.com>
16631
16632         * gdb.threads/threadapply.exp: check that frame is not changed by
16633         the thread apply all command.
16634
16635 2007-01-31  Andreas Schwab  <schwab@suse.de>
16636
16637         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16638
16639         * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16640         in the dwarf sections.
16641         * gdb.dwarf2/mac-fileno.S: Likewise.
16642
16643         * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16644         bspstore register on ia64.
16645
16646 2007-01-29  Andreas Schwab  <schwab@suse.de>
16647
16648         * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16649         "frame-begin" annotation.
16650
16651         * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16652         number of "frames-invalid" annotations.
16653
16654 2007-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
16655
16656         * gdb.base/commands.exp: Call if_commands_test.
16657         (gdb_test_no_prompt, if_commands_test): New.
16658
16659 2007-01-28  Mark Kettenis  <kettenis@gnu.org>
16660
16661         * gdb.threads/sigthread.c (NSIGS): Make bigger.
16662
16663 2007-01-27  Andreas Schwab  <schwab@suse.de>
16664
16665         * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16666         .short/.int/.quad in the dwarf sections.
16667         * gdb.dwarf2/dw2-intercu.S: Likewise.
16668         * gdb.dwarf2/dw2-intermix.S: Likewise.
16669
16670 2007-01-25  Jan Kratochvil <jan.kratochvil@redhat.com>
16671
16672         * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
16673         * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16674         array.
16675         * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16676         * gdb.base/setvar.exp: Likewise.
16677
16678 2007-01-26  Andreas Schwab  <schwab@suse.de>
16679
16680         * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16681         test.
16682
16683         * gdb.base/multi-forks.exp ("restart $i"): Also match
16684         __kernel_syscall_via_break.
16685
16686 2007-01-24  Vladimir Prus  <vladimir@codesourcery.com>
16687
16688         * lib/mi-support.exp (mi_delete_varobj): New.
16689         * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16690         testcase.
16691         * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16692         (main): Call the above.
16693         (reference_update_test, base_in_reference_test)
16694         (reference_to_pointer): Delete the created varobjs.
16695
16696 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
16697
16698         * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16699         * configure: Regenerated.
16700         * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16701         * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16702         gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16703         gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16704         * lib/gdb.exp (gdb_skip_xml_test): New function.
16705
16706 2007-01-23  Nick Hudson  <nick.hudson@dsl.pipex.com>
16707
16708         * gdb.base/sigrepeat.exp: Correct error message.
16709
16710 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
16711             Daniel Jacobowitz  <dan@codesourcery.com>
16712
16713         * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16714         gdb.arch/i386-gnu-cfi-asm.S: New files.
16715
16716 2007-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
16717
16718         * lib/gdb.exp: Abort on missing `site.exp'.
16719
16720 2007-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
16721             Daniel Jacobowitz  <dan@codesourcery.com>
16722
16723         * gdb.base/included.c, gdb.base/included.exp,
16724         gdb.base/included.h: New files.
16725
16726 2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
16727
16728         * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16729         (maximize_rlimit): Reduce limits on 64-bit systems.
16730
16731 2007-01-19  Mark Kettenis  <kettenis@gnu.org>
16732
16733         From Marcus Deuling <deuling@de.ibm.com>:
16734         * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16735         every case.
16736
16737 2007-01-13  Nick Roberts  <nickrob@snap.net.nz>
16738
16739         * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16740         (test_path_specification): Use objdir instead of srcdir to always
16741         get an absolute filename.
16742
16743 2007-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
16744
16745         * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16746
16747 2007-01-11  Vladimir Prus  <vladimir@codesourcery.com>
16748
16749         * gdb.mi/mi-var-cp.cc (reference_update_tests):
16750         Make sure the variable we're using is in scope.
16751         (reference_to_pointer): Likewise.
16752
16753 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
16754
16755         * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16756         has no debug information.
16757
16758 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
16759
16760         * gdb.base/annota1.exp: Remove extra send_gdb.
16761
16762 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
16763
16764         * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16765
16766 2007-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
16767
16768         * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16769
16770 2007-01-08  Nick Roberts  <nickrob@snap.net.nz>
16771             Daniel Jacobowitz  <dan@codesourcery.com>
16772
16773         * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16774         lcharacter or linteger change.  Correct duplicated test name.
16775         * gdb.mi/mi2-var-cmd.exp: Likewise.
16776
16777 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
16778
16779         * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16780
16781 2007-01-05  Joel Brobecker  <brobecker@adacore.com>
16782
16783         * gdb.base/nofield.c: New file.
16784         * gdb.base/nofield.exp: New testcase.
16785
16786 2007-01-05  Nick Roberts  <nickrob@snap.net.nz>
16787
16788         * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16789
16790         * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16791          test.
16792
16793 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
16794
16795         * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16796
16797 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
16798
16799         * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16800         when continuing.
16801
16802 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
16803
16804         * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16805         Expect ".exe" extension.
16806
16807 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
16808
16809         * gdb.base/charset.exp: Add explicit filename to break.
16810         * gdb.base/dbx.exp: Add explicit filename to breaks.
16811
16812 2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
16813
16814         * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16815         * gdb.mi/mi2-file.exp: Likewise.
16816
16817 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
16818
16819         Implement specification of MI tests as comments
16820         in C and C++ sources.
16821         * lib/mi-support.exp (mi_autotest_data): New variable.
16822         (mi_autotest_source): New variable.
16823         (count_newlines, mi_prepare_inline_tests)
16824         (mi_get_inline_test, mi_continue_to_line)
16825         (mi_run_inline_test, mi_tbreak)
16826         (mi_send_resuming_command, mi_wait_for_stop): New functions.
16827         * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16828         Run inline tests.
16829         * gdb.mi/mi-var-cp.cc: Define tests here.
16830
16831 2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
16832
16833         Simplify usage of mi_continue_to.
16834         * lib/mi-support.exp (mi_runto_helper): Renamed
16835         from mi_runto, added new parameter 'run_or_continue'.
16836         (mi_runto): Use mi_runto_helper.
16837         (mi_continue_to): Accept just function name as parameter.
16838         Use mi_runto_helper.
16839         * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16840         * gdb.mi/mi2-var-cmd.exp: Likewise.
16841
16842 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
16843
16844         Make this testcase a bit more realistic. The current code
16845         is too simplistic, and allows the compiler to optimize out
16846         some of the entities we need for this testcase.
16847         * gdb.ada/null_record/bar.ads (Void_Star): New type.
16848         (Do_Nothing): Add extra parameter.
16849         * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16850         * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16851         by using a variable of type Void_Star.
16852
16853 2006-01-04  Joel Brobecker  <brobecker@adacore.com>
16854
16855         * gdb.ada/catch_ex/foo.adb: New file.
16856         * gdb.ada/catch_ex.exp: New testcase.
16857
16858 2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
16859
16860         * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16861         pass --image-base to linker.
16862
16863 2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
16864             Daniel Jacobowitz  <dan@codesourcery.com>
16865
16866         * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
16867         secondary prompts.
16868
16869 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
16870
16871         * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16872         output.  Test the types of members and member pointers.
16873         * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16874         gdb/2092.
16875         * gdb.cp/member-ptr.exp: Search for a comment instead of a
16876         statement.  Enable for GCC.  Update expected output for some tests
16877         and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
16878         layout.
16879         * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16880         (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16881         (Diamond::vget_base): New.
16882         (main): Add new tests.
16883         * gdb.cp/printmethod.exp: Update expected output for member functions.
16884         * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16885         print pEe->D::vg().
16886
16887 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
16888
16889         * gdb.threads/tls.exp: Allow stops in sem_post.
16890
16891 2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
16892
16893         * gdb.base/annota1.exp: Allow .*printf in backtraces.
16894         * gdb.base/annota3.exp: Likewise.
16895         * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16896         again (instead of timing out).
16897         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16898         GCC bug 26475.
16899         * gdb.java/jmisc.exp: Adjust to work with method signatures including
16900         return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
16901         test from jmisc1.exp.
16902         * gdb.java/jmisc1.exp: Delete.
16903         * gdb.java/jprint.exp: Adjust to work with method signatures including
16904         return types.
16905         * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16906         * gdb.threads/linux-dp.exp: Don't be confused by program output.
16907         * lib/java.exp (compile_java_from_source): Pass the correct type
16908         to target_compile.
16909
16910 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
16911
16912         * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16913         (stack_align_edx): New function.
16914         (stack_align_eax): New function.
16915         (main): Add calls to stack_align_edx and stack_align_eax.
16916         * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16917         Add testing for the cases where the register used during a stack
16918         realignment is edx. Same for eax.
16919
16920 2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
16921
16922         * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16923         and generic PE targets.
16924
16925 2006-12-29  Joel Brobecker  <brobecker@adacore.com>
16926
16927         * gdb.ada/array_return.exp: Update copyright date list.
16928
16929 2006-12-27  Joel Brobecker  <brobecker@adacore.com>
16930
16931         * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16932         (Create_Small_Float_Vector): New function.
16933         * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16934         function body.
16935         * gdb.ada/array_return/p.adb: Use new type and function from
16936         package Pck.
16937         * gdb.ada/array_return.exp: Add a test verifying that GDB is
16938         able to print the value returned by a function returning an
16939         array of float.
16940
16941 2006-12-20  Joel Brobecker  <brobecker@adacore.com>
16942
16943         * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16944         The associated tests should be PASSing.
16945
16946 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
16947
16948         Test for base in references.
16949         * gdb.mi/mi-var-cp.cc: Add test code.
16950         * gdb.mi/mi-var-cp.exp: Test for bases in references.
16951         * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16952         * gdb.mi/mi2-watch.exp: Likewise.
16953         * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16954         (mi_list_varobj_children): New function.
16955
16956 2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
16957
16958         * lib/mi-support.exp
16959         (mi_runto): Accept "()" after function name.
16960         (mi_create_varobj): New function.
16961         (mi_varobj_update): New function.
16962         (mi_Check_varobj_value): New function.
16963         * gdb.mi/mi-var-cp.exp: New file.
16964         * gdb.mi/mi-var-cp.cc: New file.
16965
16966 2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
16967
16968         * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16969         gdb.base/weaklib2.c: New files.
16970
16971 2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
16972
16973         * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16974         info.  Adjust test names.
16975
16976         * gdb.base/break.c (main): Move position of malloc.
16977         * gdb.base/break.exp: Revert mistaken checkin.
16978
16979 2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
16980
16981         * gdb.mi/mi-var-cmd.exp: Check -var-update after
16982         assignement of arrays and function pointers.
16983         * gdb.mi/var-cmd.c: Add declaration necessary for above
16984         tests.
16985
16986 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
16987
16988         * gdb.base/break.c (main): Call malloc.
16989
16990         * gdb.threads/linux-dp.exp: Read thread table before and after
16991         creating each philosopher and verify it.
16992
16993 2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
16994             Paul Brook  <paul@codesourcery.com>
16995             Daniel Jacobowitz  <dan@codesourcery.com>
16996
16997         * gdb.base/ending-run.exp: Flatten expect script stepping out of
16998         main to remove duplication.  Add start function of the form
16999         '_*start[1-9]*'. Add RVDS start function.
17000
17001 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
17002
17003         * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17004
17005 2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17006
17007         * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17008         * gdb.asm/spu.inc: New file.
17009         * gdb.base/term.exp: Disable if [target_info exists noargs].
17010         * gdb.gdb/complaints.exp: Disable if ![isnative].
17011         * gdb.gdb/selftest.exp: Likewise.
17012         * gdb.gdb/observer.exp: Likewise.
17013         * gdb.gdb/xfullpath.exp: Likewise.
17014         * gdb.base/attach.exp: Disable on SPU target.
17015         * gdb.cp/bs145503.exp: Likewise.
17016         * gdb.cp/exception.exp: Likewise.
17017         * gdb.cp/userdef.exp: Likewise.
17018
17019 2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
17020
17021         * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17022
17023 2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
17024
17025         * gdb.base/completion.exp: Fix completion tests for
17026         'info' and 'info '.
17027         * gdb.base/help.exp (help_test_raw, test_class_help)
17028         (test_prefix_command_help): Move...
17029         * lib/gdb.exp: Here.
17030         * gdb.base/main.exp: Adjust.
17031         * gdb.cp/maint.exp: Adjust.
17032         * gdb.trace/tracecmd.exp: Use test_help_class.
17033
17034 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
17035
17036         * gdb.stabs/weird.exp (print_weird_var): Use
17037         gdb_test_multiple instead of gdb_expect.
17038
17039 2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
17040
17041         * gdb.base/help.exp (help_test_raw): New.
17042         (test_class_help): New.
17043         (test_prefix_command_help): New.
17044         Adjust testcases.
17045
17046 2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
17047
17048         * gdb.base/constvars.c (main): Write to crass and crips, so that
17049         they are allocated by the compiler.
17050
17051 2006-10-27  Andreas Schwab  <schwab@suse.de>
17052
17053         * gdb.base/multi-forks.exp: Use "detach fork" instead of
17054         "detach-fork".
17055
17056 2006-10-18  Daniel Jacobowitz  <dan@codesoucery.com>
17057
17058         * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17059         of patterns.
17060
17061 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
17062
17063         * gdb.base/sepdebug.exp: Remove debug format test.
17064         * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17065         Handle no-symtab.
17066         * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17067
17068 2006-10-17  Daniel Jacobowitz  <dan@codesourcery.com>
17069
17070         * gdb.threads/manythreads.c (thread_function, main): Don't cast
17071         int to pointer or pointer to int.
17072         * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17073
17074 2006-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
17075
17076         * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17077
17078 2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
17079
17080         * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17081
17082 2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
17083
17084         PR c++/2116
17085         * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17086
17087 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17088
17089         * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17090         the corresponding bug has been fixed in GDB (PR/2018).
17091
17092 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17093
17094         * gdb.base/subst.exp: New testcase.
17095
17096 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17097
17098         * gdb.ada/array_return/pck.ads: Add copyright notice.
17099         * gdb.ada/array_return/pck.adb: Likewise.
17100         * gdb.ada/array_return/p.adb: Likewise.
17101         * gdb.ada/exec_changed/first.adb: Likewise.
17102         * gdb.ada/exec_changed/second.adb: Likewise.
17103
17104 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
17105
17106         * gdb.ada/watch_arg/watch.adb: New file.
17107         * gdb.ada/watch_arg.exp: New testcase.
17108
17109 2006-10-02  Vladimir Prus  <vladimir@codesourcery.com>
17110
17111         * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
17112         via string_to_regexp.
17113         * gdb.mi/mi2-basics.exp: Likewise.
17114
17115 2006-09-20  Michael Snyder  <michael.snyder@palmsource.com>
17116
17117         * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17118         Remove unused / obsolete files.
17119
17120 2006-09-19  Nick Roberts  <nickrob@snap.net.nz>
17121
17122         * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17123
17124 2006-09-17  Vladimir Prus  <vladimir@codesourcery.com>
17125
17126         * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17127         HIGH_FRAME argument to -stack-list-arguments can be larger than
17128         the number of frames.
17129
17130 2006-09-15  Daniel Jacobowitz  <dan@codesourcery.com>
17131
17132         * gdb.base/args.c (main): Add breakpoint marker.
17133         * gdb.base/args.exp: Use args_test for tests.  Add new tests which
17134         really test empty arguments.
17135         (args_load): Delete.
17136         (args_test): New.
17137
17138 2006-09-13  Nick Roberts  <nickrob@snap.net.nz>
17139
17140         * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
17141         check for one file.
17142
17143 2006-09-07  Vladimir Prus  <ghost@vladimir@codesourcery.com>
17144
17145         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17146         HIGH_FRAME argument to -stack-list-locals can be larger than
17147         the number of frames.
17148
17149 2006-08-18  Fred Fish  <fnf@specifix.com>
17150
17151         * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17152         '$' in front of skip_vmx_tests_saved when setting that.
17153
17154 2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
17155
17156         * gdb.base/trace-commands.exp: New file.
17157
17158 2006-08-10  Joel Brobecker  <brobecker@adacore.com>
17159             Daniel Jacobowitz  <dan@codesourcery.com>
17160
17161         * gdb.base/step-bt.exp: Make hexadecimal address optional in
17162         expected output of the backtrace commands.
17163
17164 2006-08-09  Joel Brobecker  <brobecker@adacore.com>
17165
17166         * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17167         untested followed by return combination.
17168         * gdb.arch/altivec-regs.exp: Likewise.
17169         * gdb.arch/e500-abi.exp: Likewise.
17170         * gdb.arch/e500-regs.exp: Likewise.
17171         * gdb.arch/gdb1291.exp: Likewise.
17172         * gdb.arch/gdb1431.exp: Likewise.
17173         * gdb.arch/gdb1558.exp: Likewise.
17174         * gdb.arch/i386-prologue.exp: Likewise.
17175         * gdb.arch/i386-unwind.exp: Likewise.
17176         * gdb.asm/asm-source.exp: Likewise.
17177         * gdb.base/a2-run.exp: Likewise.
17178         * gdb.base/advance.exp: Likewise.
17179         * gdb.base/all-bin.exp: Likewise.
17180         * gdb.base/annota1.exp: Likewise.
17181         * gdb.base/annota3.exp: Likewise.
17182         * gdb.base/args.exp: Likewise.
17183         * gdb.base/arithmet.exp: Likewise.
17184         * gdb.base/assign.exp: Likewise.
17185         * gdb.base/async.exp: Likewise.
17186         * gdb.base/attach.exp: Likewise.
17187         * gdb.base/bang.exp: Likewise.
17188         * gdb.base/bigcore.exp: Likewise.
17189         * gdb.base/bitfields.exp: Likewise.
17190         * gdb.base/bitfields2.exp: Likewise.
17191         * gdb.base/break.exp: Likewise.
17192         * gdb.base/call-sc.exp: Likewise.
17193         * gdb.base/call-strs.exp: Likewise.
17194         * gdb.base/callfuncs.exp: Likewise.
17195         * gdb.base/checkpoint.exp: Likewise.
17196         * gdb.base/chng-syms.exp: Likewise.
17197         * gdb.base/code-expr.exp: Likewise.
17198         * gdb.base/commands.exp: Likewise.
17199         * gdb.base/completion.exp: Likewise.
17200         * gdb.base/cond-expr.exp: Likewise.
17201         * gdb.base/condbreak.exp: Likewise.
17202         * gdb.base/consecutive.exp: Likewise.
17203         * gdb.base/constvars.exp: Likewise.
17204         * gdb.base/corefile.exp: Likewise.
17205         * gdb.base/cvexpr.exp: Likewise.
17206         * gdb.base/dbx.exp: Likewise.
17207         * gdb.base/define.exp: Likewise.
17208         * gdb.base/detach.exp: Likewise.
17209         * gdb.base/display.exp: Likewise.
17210         * gdb.base/dump.exp: Likewise.
17211         * gdb.base/ena-dis-br.exp: Likewise.
17212         * gdb.base/ending-run.exp: Likewise.
17213         * gdb.base/environ.exp: Likewise.
17214         * gdb.base/eval-skip.exp: Likewise.
17215         * gdb.base/exprs.exp: Likewise.
17216         * gdb.base/fileio.exp: Likewise.
17217         * gdb.base/finish.exp: Likewise.
17218         * gdb.base/float.exp: Likewise.
17219         * gdb.base/foll-exec.exp: Likewise.
17220         * gdb.base/foll-fork.exp: Likewise.
17221         * gdb.base/foll-vfork.exp: Likewise.
17222         * gdb.base/freebpcmd.exp: Likewise.
17223         * gdb.base/funcargs.exp: Likewise.
17224         * gdb.base/gcore.exp: Likewise.
17225         * gdb.base/gdb1090.exp: Likewise.
17226         * gdb.base/gdb1250.exp: Likewise.
17227         * gdb.base/huge.exp: Likewise.
17228         * gdb.base/info-proc.exp: Likewise.
17229         * gdb.base/interrupt.exp: Likewise.
17230         * gdb.base/jump.exp: Likewise.
17231         * gdb.base/langs.exp: Likewise.
17232         * gdb.base/lineinc.exp: Likewise.
17233         * gdb.base/list.exp: Likewise.
17234         * gdb.base/logical.exp: Likewise.
17235         * gdb.base/long_long.exp: Likewise.
17236         * gdb.base/macscp.exp: Likewise.
17237         * gdb.base/maint.exp: Likewise.
17238         * gdb.base/mips_pro.exp: Likewise.
17239         * gdb.base/miscexprs.exp: Likewise.
17240         * gdb.base/multi-forks.exp: Likewise.
17241         * gdb.base/opaque.exp: Likewise.
17242         * gdb.base/overlays.exp: Likewise.
17243         * gdb.base/pc-fp.exp: Likewise.
17244         * gdb.base/pointers.exp: Likewise.
17245         * gdb.base/printcmds.exp: Likewise.
17246         * gdb.base/psymtab.exp: Likewise.
17247         * gdb.base/ptype.exp: Likewise.
17248         * gdb.base/recurse.exp: Likewise.
17249         * gdb.base/relational.exp: Likewise.
17250         * gdb.base/relocate.exp: Likewise.
17251         * gdb.base/remote.exp: Likewise.
17252         * gdb.base/reread.exp: Likewise.
17253         * gdb.base/restore.exp: Likewise.
17254         * gdb.base/return.exp: Likewise.
17255         * gdb.base/return2.exp: Likewise.
17256         * gdb.base/scope.exp: Likewise.
17257         * gdb.base/sect-cmd.exp: Likewise.
17258         * gdb.base/sep.exp: Likewise.
17259         * gdb.base/sepdebug.exp: Likewise.
17260         * gdb.base/setshow.exp: Likewise.
17261         * gdb.base/setvar.exp: Likewise.
17262         * gdb.base/sigall.exp: Likewise.
17263         * gdb.base/sigbpt.exp: Likewise.
17264         * gdb.base/signals.exp: Likewise.
17265         * gdb.base/signull.exp: Likewise.
17266         * gdb.base/sizeof.exp: Likewise.
17267         * gdb.base/solib.exp: Likewise.
17268         * gdb.base/step-line.exp: Likewise.
17269         * gdb.base/step-test.exp: Likewise.
17270         * gdb.base/structs.exp: Likewise.
17271         * gdb.base/structs2.exp: Likewise.
17272         * gdb.base/term.exp: Likewise.
17273         * gdb.base/twice.exp: Likewise.
17274         * gdb.base/until.exp: Likewise.
17275         * gdb.base/varargs.exp: Likewise.
17276         * gdb.base/volatile.exp: Likewise.
17277         * gdb.base/watchpoint.exp: Likewise.
17278         * gdb.base/whatis-exp.exp: Likewise.
17279         * gdb.base/whatis.exp: Likewise.
17280         * gdb.cp/ambiguous.exp: Likewise.
17281         * gdb.cp/annota2.exp: Likewise.
17282         * gdb.cp/annota3.exp: Likewise.
17283         * gdb.cp/bool.exp: Likewise.
17284         * gdb.cp/breakpoint.exp: Likewise.
17285         * gdb.cp/casts.exp: Likewise.
17286         * gdb.cp/class2.exp: Likewise.
17287         * gdb.cp/classes.exp: Likewise.
17288         * gdb.cp/cplusfuncs.exp: Likewise.
17289         * gdb.cp/ctti.exp: Likewise.
17290         * gdb.cp/derivation.exp: Likewise.
17291         * gdb.cp/exception.exp: Likewise.
17292         * gdb.cp/gdb1355.exp: Likewise.
17293         * gdb.cp/hang.exp: Likewise.
17294         * gdb.cp/inherit.exp: Likewise.
17295         * gdb.cp/local.exp: Likewise.
17296         * gdb.cp/m-data.exp: Likewise.
17297         * gdb.cp/m-static.exp: Likewise.
17298         * gdb.cp/member-ptr.exp: Likewise.
17299         * gdb.cp/method.exp: Likewise.
17300         * gdb.cp/misc.exp: Likewise.
17301         * gdb.cp/namespace.exp: Likewise.
17302         * gdb.cp/overload.exp: Likewise.
17303         * gdb.cp/ovldbreak.exp: Likewise.
17304         * gdb.cp/pr-1023.exp: Likewise.
17305         * gdb.cp/pr-1210.exp: Likewise.
17306         * gdb.cp/pr-574.exp: Likewise.
17307         * gdb.cp/printmethod.exp: Likewise.
17308         * gdb.cp/psmang.exp: Likewise.
17309         * gdb.cp/ref-params.exp: Likewise.
17310         * gdb.cp/ref-types.exp: Likewise.
17311         * gdb.cp/rtti.exp: Likewise.
17312         * gdb.cp/templates.exp: Likewise.
17313         * gdb.cp/try_catch.exp: Likewise.
17314         * gdb.cp/userdef.exp: Likewise.
17315         * gdb.cp/virtfunc.exp: Likewise.
17316         * gdb.disasm/am33.exp: Likewise.
17317         * gdb.disasm/h8300s.exp: Likewise.
17318         * gdb.disasm/mn10300.exp: Likewise.
17319         * gdb.disasm/sh3.exp: Likewise.
17320         * gdb.disasm/t01_mov.exp: Likewise.
17321         * gdb.disasm/t02_mova.exp: Likewise.
17322         * gdb.disasm/t03_add.exp: Likewise.
17323         * gdb.disasm/t04_sub.exp: Likewise.
17324         * gdb.disasm/t05_cmp.exp: Likewise.
17325         * gdb.disasm/t06_ari2.exp: Likewise.
17326         * gdb.disasm/t07_ari3.exp: Likewise.
17327         * gdb.disasm/t08_or.exp: Likewise.
17328         * gdb.disasm/t09_xor.exp: Likewise.
17329         * gdb.disasm/t10_and.exp: Likewise.
17330         * gdb.disasm/t11_logs.exp: Likewise.
17331         * gdb.disasm/t12_bit.exp: Likewise.
17332         * gdb.disasm/t13_otr.exp: Likewise.
17333         * gdb.hp/gdb.aCC/optimize.exp: Likewise.
17334         * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
17335         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17336         * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
17337         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
17338         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17339         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17340         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17341         * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
17342         * gdb.hp/gdb.compat/xdb1.exp: Likewise.
17343         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17344         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17345         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17346         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17347         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17348         * gdb.mi/gdb701.exp: Likewise.
17349         * gdb.mi/gdb792.exp: Likewise.
17350         * gdb.mi/mi-basics.exp: Likewise.
17351         * gdb.mi/mi-break.exp: Likewise.
17352         * gdb.mi/mi-cli.exp: Likewise.
17353         * gdb.mi/mi-console.exp: Likewise.
17354         * gdb.mi/mi-disassemble.exp: Likewise.
17355         * gdb.mi/mi-eval.exp: Likewise.
17356         * gdb.mi/mi-file.exp: Likewise.
17357         * gdb.mi/mi-read-memory.exp: Likewise.
17358         * gdb.mi/mi-regs.exp: Likewise.
17359         * gdb.mi/mi-return.exp: Likewise.
17360         * gdb.mi/mi-simplerun.exp: Likewise.
17361         * gdb.mi/mi-stack.exp: Likewise.
17362         * gdb.mi/mi-stepi.exp: Likewise.
17363         * gdb.mi/mi-syn-frame.exp: Likewise.
17364         * gdb.mi/mi-until.exp: Likewise.
17365         * gdb.mi/mi-var-block.exp: Likewise.
17366         * gdb.mi/mi-var-child.exp: Likewise.
17367         * gdb.mi/mi-var-cmd.exp: Likewise.
17368         * gdb.mi/mi-var-display.exp: Likewise.
17369         * gdb.mi/mi-watch.exp: Likewise.
17370         * gdb.mi/mi2-basics.exp: Likewise.
17371         * gdb.mi/mi2-break.exp: Likewise.
17372         * gdb.mi/mi2-cli.exp: Likewise.
17373         * gdb.mi/mi2-console.exp: Likewise.
17374         * gdb.mi/mi2-disassemble.exp: Likewise.
17375         * gdb.mi/mi2-eval.exp: Likewise.
17376         * gdb.mi/mi2-file.exp: Likewise.
17377         * gdb.mi/mi2-read-memory.exp: Likewise.
17378         * gdb.mi/mi2-regs.exp: Likewise.
17379         * gdb.mi/mi2-return.exp: Likewise.
17380         * gdb.mi/mi2-simplerun.exp: Likewise.
17381         * gdb.mi/mi2-stack.exp: Likewise.
17382         * gdb.mi/mi2-stepi.exp: Likewise.
17383         * gdb.mi/mi2-syn-frame.exp: Likewise.
17384         * gdb.mi/mi2-until.exp: Likewise.
17385         * gdb.mi/mi2-var-block.exp: Likewise.
17386         * gdb.mi/mi2-var-child.exp: Likewise.
17387         * gdb.mi/mi2-var-cmd.exp: Likewise.
17388         * gdb.mi/mi2-var-display.exp: Likewise.
17389         * gdb.mi/mi2-watch.exp: Likewise.
17390         * gdb.stabs/exclfwd.exp: Likewise.
17391         * gdb.stabs/weird.exp: Likewise.
17392         * gdb.threads/gcore-thread.exp: Likewise.
17393         * gdb.trace/actions.exp: Likewise.
17394         * gdb.trace/backtrace.exp: Likewise.
17395         * gdb.trace/circ.exp: Likewise.
17396         * gdb.trace/collection.exp: Likewise.
17397         * gdb.trace/deltrace.exp: Likewise.
17398         * gdb.trace/infotrace.exp: Likewise.
17399         * gdb.trace/limits.exp: Likewise.
17400         * gdb.trace/packetlen.exp: Likewise.
17401         * gdb.trace/passc-dyn.exp: Likewise.
17402         * gdb.trace/passcount.exp: Likewise.
17403         * gdb.trace/report.exp: Likewise.
17404         * gdb.trace/save-trace.exp: Likewise.
17405         * gdb.trace/tfind.exp: Likewise.
17406         * gdb.trace/tracecmd.exp: Likewise.
17407         * gdb.trace/while-dyn.exp: Likewise.
17408         * gdb.trace/while-stepping.exp: Likewise.
17409
17410 2006-08-08  Joel Brobecker  <brobecker@adacore.com>
17411
17412         * gdb.base/step-bt.c: New file.
17413         * gdb.base/step-bt.exp: New testcase.
17414
17415 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
17416
17417         * config/monitor.exp (gdb_load): Remove support for obsolete
17418         download-write-size.
17419         * gdb.base/remote.exp: Likewise.  Update all callers of
17420         gdb_timed_load.
17421
17422 2006-08-02  Daniel Jacobowitz  <dan@codesourcery.com>
17423
17424         * cursal.exp: Pass binfile to gdb_load.
17425
17426 2006-08-01  Nathan Sidwell  <nathan@codesourcery.com>
17427
17428         * gdb.base/cursal.exp: Add "" to gdb_load call.
17429
17430 2006-07-29  Mark Kettenis  <kettenis@gnu.org>
17431
17432         * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
17433         NetBSD/ELF targets.
17434
17435 2006-07-25  Daniel Jacobowitz  <dan@codesourcery.com>
17436
17437         * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
17438         operator*.
17439
17440 2006-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
17441
17442         * gdb.base/completion.exp: Update for change in "file" behavior.
17443         * gdb.stabs/weird.exp: Likewise.
17444         * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
17445         * lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.
17446
17447 2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>
17448
17449         * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
17450         * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
17451
17452 2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>
17453
17454         * gdb.base/default.exp: Update source command error message.
17455         * gdb.base/help.exp: Update 'help source' message.
17456
17457 2006-07-20  Daniel Jacobowitz  <dan@codesourcery.com>
17458
17459         * gdb.cp/bs15503.exp: Update comment for no longer crashing
17460         test.
17461
17462 2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>
17463
17464         * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
17465
17466 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
17467
17468         * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
17469
17470 2006-07-18  Daniel Jacobowitz  <dan@codesourcery.com>
17471
17472         * gdb.threads/print-threads.exp: Use gdb_breakpoint.
17473
17474 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
17475
17476         * gdb.base/long_long.exp (gdb_test_long_long): Exclude
17477         *-*-openbsd* from targets for wich we expect ARM FPA floating
17478         point format.
17479
17480 2006-07-17  Nick Roberts  <nickrob@snap.net.nz>
17481
17482         * gdb.cp/annota3.exp: Expect frame-begin annotation.
17483
17484 2006-07-17  Mark Kettenis  <kettenis@gnu.org>
17485
17486         * gdb.base/annota3.exp: Expect frame-begin annotation.
17487
17488 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
17489
17490         * gdb.base/help.exp: Adjust "help unset" test to accept
17491         any list of unset commands.
17492
17493 2006-07-13  Paul N. Hilfinger  <Hilfinger@adacore.com>
17494             Daniel Jacobowitz  <dan@codesourcery.com>
17495
17496         * gdb.cp/ref-params.exp: New test.
17497         * gdb.cp/ref-params.cc: New source file.
17498         * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
17499
17500 2006-07-08  Mark Kettenis  <kettenis@gnu.org>
17501
17502         * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
17503         spaces/tabs in regular expressions since they might not be there.
17504
17505 2006-07-07  Andrew Stubbs  <andrew.stubbs@st.com>
17506
17507         * gdb.base/ifelse.exp: New file.
17508
17509 2006-07-04  Nathan Sidwell  <nathan@codesourcery.com>
17510
17511         * gdb.base/huge.c: Allow CRASH_GDB to be set from command
17512         line.
17513         * gdb.base/huge.exp: Loop over compilation to find a size that
17514         is acceptable.
17515         * gdb.base/remote.exp: Correct expected strings.
17516         * gdb.dwarf2/mac-fileno.S: Avoid # comments.
17517
17518 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
17519
17520         * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
17521
17522 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
17523
17524         * gdb.base/gdb1555.exp: Use gdb_compile_shlib.  Skip if not
17525         native.
17526
17527 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
17528
17529         * gdb.stabs/exclfwd.exp: Skip the test if configure did not
17530         enable stabs testing.
17531
17532 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
17533
17534         * gdb.base/auxv.exp: Intercept undefined command messages before
17535         gdb_test_multiple does.
17536
17537 2006-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
17538
17539         * Makefile.in (host_alias): Remove.
17540         (target_alias): Use @target_noncanonical@.
17541         (site.exp): Don't set host_alias.
17542         * aclocal.m4: Remove contents.  Include acx.m4.
17543         * configure: Regenerated.
17544         * configure.ac: Use ACX_NONCANONICAL_TARGET.
17545
17546 2006-06-13  Nathan Sidwell  <nathan@codesourcery.com>
17547
17548         * lib/gdb.exp (gdb_load_cmd): New.
17549
17550         * gdb.base/fileio.c: Add system(NULL) test.
17551         * gdb.base/fileio.exp: Check it.
17552
17553         * gdb.base/break.c: Add 10a breakpoint at }
17554         * gdb.base/break.exp: Add test for breakpoint at }
17555         * gdb.cp/anon-union.cc: Add code at end of function.
17556         * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
17557         * gdb.mi/var-cmd.c: Add code at end of function.
17558         * gdb.mi/mi-var-display.exp: Adjust end of next.
17559         * gdb.mi/mi2-var-display.exp: Likewise.
17560         * gdb.base/fileio.c: Add stop function and insert calls at
17561         stopping places.
17562         * gdb.base/fileio.exp: Breakpoint stop function and remove
17563         explicit line number references.
17564
17565 2006-05-19  Joel Brobecker  <brobecker@adacore.com>
17566
17567         * gdb.base/del.exp (test_delete_alias): New function.
17568         Now check that both "del" and "d" work as aliases for "delete".
17569
17570 2006-05-18  Fred Fish  <fnf@specifix.com>
17571
17572         * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17573         required.  Check for spurious output after program exits normally.
17574
17575 2006-05-17  Fred Fish  <fnf@specifix.com>
17576
17577         * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17578         gdb_load, so it works in the simulator.
17579
17580 2006-05-11  Fred Fish  <fnf@specifix.com>
17581
17582         * gdb.base/bang.exp: Ignore unexpected output between the
17583         "program exited normally" and the gdb prompt, as many other
17584         tests do.
17585
17586 2006-05-07  Mark Kettenis  <kettenis@gnu.org>
17587
17588         * gdb.base/help.exp: Make "delete checkpoint" part option for
17589         "help d" and "help delete" tests.
17590
17591 2006-05-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17592
17593         * gdb.mi/mi-basics.exp: Add missing serial number to
17594         expected output in some mi_gdb_test statements.
17595         * gdb.mi/mi2-basics.exp: Likewise.
17596
17597 2006-05-05  Joel Brobecker  <brobecker@adacore.com>
17598
17599         * gdb.base/del.c: New file.
17600         * gdb.base/del.exp: New testcase.
17601
17602 2006-05-05  David S. Miller  <davem@sunset.davemloft.net>
17603
17604         * gdb.base/break.exp: Do not assume a breakpoint on
17605         main will actually be in $srcfile when optimizing.
17606         * gdb.base/savedregs.exp: Do not require that the dummy
17607         frame location match up to a symbol and source file location.
17608         * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17609         will get printed without a mi_cmd_data_list_register_values prefix.
17610         (*-data-list-register-*): Correct regular expressions to expect the new
17611         pseudo d? floating point registers.
17612         * gdb.mi/mi2-regs.exp: Likewise.
17613
17614 2006-05-05  Christophe Lyon  <christophe.lyon@st.com>
17615
17616         * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17617         * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17618         is allocated by the compiler.
17619         * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17620         anons, e, anone to force their allocation by the compiler.
17621
17622 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
17623
17624         * gdb.base/help.exp: Update expected text for help d and
17625         help delete.
17626
17627 2006-05-02  Mark Kettenis  <kettenis@gnu.org>
17628
17629         * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17630         NetBSD/ELF targets.
17631
17632 2006-04-30  Mark Kettenis  <kettenis@gnu.org>
17633
17634         * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17635         single-step breakpoint fails; make this a KFAIL on
17636         sparc*-*-openbsd*.
17637         * gdb.base/siginfo.exp: Likewise.
17638         * gdb.base/sigstep.exp (advance, advancei): Likewise.
17639
17640 2006-04-26  Michael Snyder  <msnyder@redhat.com>
17641
17642         * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17643         which may have to consume output from other forks.
17644         Add tests to make sure that "delete fork" succeeded.
17645
17646 2006-04-20  Michael Snyder  <msnyder@redhat.com>
17647
17648         * 2006-03-22  Jim Blandy  <jimb@redhat.com>
17649         Add support for the Renesas M32C and M16C.
17650
17651         * gdb.asm/asm-source.exp: Add m32c target.
17652         * gdb.asm/m32c.inc: Support for m32c target.
17653
17654 2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>
17655
17656         * gdb.base/commands.exp (recursive_source_test): New test.
17657
17658 2006-04-04  David S. Miller  <davem@sunset.davemloft.net>
17659
17660         * gdb.base/float.exp: Add pattern for sparc targets.
17661
17662 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
17663
17664         * gdb.base/commands.exp (stray_arg0_test): New test.
17665
17666 2006-03-30  Paul Brook  <paul@codesourcery.com>
17667
17668         * gdb.mi/mi-until.exp: kfail broken until command.
17669         * gdb.mi/mi2-until.exp: Ditto.
17670
17671 2006-03-27  Nick Roberts  <nickrob@snap.net.nz>
17672
17673         * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17674
17675 2006-03-08  Alexandre Oliva  <aoliva@redhat.com>
17676
17677         * gdb.base/prelink.exp: Anchor tested-for regular expression
17678         on gdb prompt.
17679
17680 2006-03-07  Paul Brook  <paul@codesourcery.com>
17681
17682         * gdb.base/assign.exp: Correct fail message.
17683
17684 2006-03-07  Paul Brook  <paul@codesourcery.com>
17685
17686         * lib/compiler.c: Extract armcc version number.
17687         * lib/compiler.cc: Ditto.
17688
17689 2006-03-07  Paul Brook  <paul@codesourcery.com>
17690
17691         * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17692         additional_flags=-w.
17693         * gdb.arch/altivec-regs.exp: Ditto.
17694         * gdb.arch/e500-abi.exp: Ditto.
17695         * gdb.arch/e500-regs.exp: Ditto.
17696         * gdb.base/all-bin.exp: Ditto.
17697         * gdb.base/annota1.exp: Ditto.
17698         * gdb.base/annota3.exp: Ditto.
17699         * gdb.base/args.exp: Ditto.
17700         * gdb.base/arithmet.exp: Ditto.
17701         * gdb.base/assign.exp: Ditto.
17702         * gdb.base/async.exp: Ditto.
17703         * gdb.base/bang.exp: Ditto.
17704         * gdb.base/break.exp: Ditto.
17705         * gdb.base/call-rt-st.exp: Ditto.
17706         * gdb.base/completion.exp: Ditto.
17707         * gdb.base/cond-expr.exp: Ditto.
17708         * gdb.base/condbreak.exp: Ditto.
17709         * gdb.base/consecutive.exp: Ditto.
17710         * gdb.base/define.exp: Ditto.
17711         * gdb.base/display.exp: Ditto.
17712         * gdb.base/ena-dis-br.exp: Ditto.
17713         * gdb.base/environ.exp: Ditto.
17714         * gdb.base/eval-skip.exp: Ditto.
17715         * gdb.base/info-proc.exp: Ditto.
17716         * gdb.base/jump.exp: Ditto.
17717         * gdb.base/logical.exp: Ditto.
17718         * gdb.base/long_long.exp: Ditto.
17719         * gdb.base/maint.exp: Ditto.
17720         * gdb.base/miscexprs.exp: Ditto.
17721         * gdb.base/pc-fp.exp: Ditto.
17722         * gdb.base/pointers.exp: Ditto.
17723         * gdb.base/relational.exp: Ditto.
17724         * gdb.base/reread.exp: Ditto.
17725         * gdb.base/sect-cmd.exp: Ditto.
17726         * gdb.base/sep.exp: Ditto.
17727         * gdb.base/sepdebug.exp: Ditto.
17728         * gdb.base/until.exp: Ditto.
17729         * gdb.base/whatis-exp.exp: Ditto.
17730         * gdb.cp/annota2.exp: Ditto.
17731         * gdb.cp/annota3.exp: Ditto.
17732         * gdb.trace/actions.exp: Ditto.
17733         * gdb.trace/backtrace.exp: Ditto.
17734         * gdb.trace/circ.exp: Ditto.
17735         * gdb.trace/collection.exp: Ditto.
17736         * gdb.trace/deltrace.exp: Ditto.
17737         * gdb.trace/infotrace.exp: Ditto.
17738         * gdb.trace/limits.exp: Ditto.
17739         * gdb.trace/packetlen.exp: Ditto.
17740         * gdb.trace/passc-dyn.exp: Ditto.
17741         * gdb.trace/passcount.exp: Ditto.
17742         * gdb.trace/report.exp: Ditto.
17743         * gdb.trace/save-trace.exp: Ditto.
17744         * gdb.trace/tfind.exp: Ditto.
17745         * gdb.trace/tracecmd.exp: Ditto.
17746         * gdb.trace/while-dyn.exp: Ditto.
17747         * gdb.trace/while-stepping.exp: Ditto.
17748         * lib/gdb.exp: Ditto.
17749         (gdb_compile): Handle nowarning option.
17750
17751 2006-03-07  Alexandre Oliva  <aoliva@redhat.com>
17752
17753         * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17754         * gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
17755         Rename executable to prelinkt.  Don't re-prelink if we didn't
17756         get a core file.  Test prelink -u exit status to tell whether
17757         prelinking failed.  Use gdb_test_multiple.
17758
17759 2006-03-01  Daniel Jacobowitz  <dan@codesourcery.com>
17760
17761         * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17762         (do_tests): Call it.
17763
17764 2006-02-28  Alexandre Oliva  <aoliva@redhat.com>
17765
17766         * gdb.base/prelink.exp: New test.
17767         * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17768
17769 2006-02-24  Wu Zhou  <woodzltc@cn.ibm.com>
17770
17771         * gdb.fortran/derived-type.f90: New file.
17772         * gdb.fortran/derived-type.exp: New testcase.
17773
17774 2006-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
17775
17776         * gdb.base/default.exp: Allow ';' as a directory separator.
17777
17778 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
17779
17780         * gdb.base/help.exp (help add-symbol-file): Update.
17781
17782 2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>
17783
17784         * gdb.base/help.exp (help load): Update expected results.
17785
17786 2006-02-19  Fred Fish  <fnf@specifix.com>
17787
17788         * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17789         specifix hex value as part of results.
17790         * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
17791
17792 2006-02-16  Fred Fish  <fnf@specifix.com>
17793
17794         * gdb.base/whatis.c: Define variables using typedefs char_addr,
17795         ushort_addr, and slong_addr, so the typedefs are not optimized
17796         away.
17797         * gdb.base/whatis.exp: Add tests using type name for struct type,
17798         union type, enum type, and typedef.
17799
17800 2006-02-13  Mark Kettenis  <kettenis@gnu.org>
17801
17802         * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17803
17804 2006-02-13  Jim Blandy  <jimb@redhat.com>
17805
17806         * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17807         case where it takes two "next" commands to skip past the init
17808         call.
17809
17810 2006-02-12  Fred Fish  <fnf@specifix.com>
17811
17812         * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17813         to handle cases where it takes two "next" commands to skip
17814         past the init call.
17815
17816 2006-02-07  Joel Brobecker  <brobecker@adacore.com>
17817
17818         * gdb.ada/array_return.exp: Mark the last test as expected to fail
17819         on hppa32 targets.
17820
17821 2006-02-06  Vladimir Prus  <ghost@cs.msu.su>
17822
17823         * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17824         field.
17825
17826 2006-01-29  Mark Kettenis  <kettenis@gnu.org>
17827
17828         * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17829
17830 2006-01-22  Daniel Jacobowitz  <dan@codesourcery.com>
17831
17832         * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17833         files.
17834
17835 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
17836
17837         * gdb.cp/maint.exp: Set complaints to a positive value.
17838
17839 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
17840
17841         * gdb.base/multi-forks.c: Add copyright notice.  Include <stdlib.h>.
17842         * gdb.base/multi-forks.exp: Use a loop.  Allow "fork" as a stopped
17843         function name.
17844
17845 2006-01-15  Daniel Jacobowitz  <dan@codesourcery.com>
17846
17847         * gdb.base/checkpoint.c: Update copyright notice.  Include
17848         <stdlib.h>.
17849
17850 2006-01-04  Jim Blandy  <jimb@redhat.com>
17851
17852         * gdb.asm/asm-source.exp: Independently provide default values for
17853         asm-flags and debug-flags.  Use 'string equal' to do the
17854         comparison, not the implicit expr's '==' operator.  Remove
17855         now-unneeded assignments to asm-flags.  In h8300 case, place
17856         "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17857
17858 2006-01-04  Michael Snyder  <msnyder@redhat.com>
17859
17860         * gdb.base/checkpoint.c: New file.
17861         * gdb.base/checkpoint.exp: New file.
17862         * gdb.base/multi-fork.c: New file.
17863         * gdb.base/multi-fork.exp: New file.
17864         * gdb.base/pi.txt: New file (data for checkpoint.c test).
17865
17866 2006-01-04  Fred Fish  <fnf@specifix.com>
17867
17868         * gdb.base/ptype.c (foo): Add typedef.
17869         (intfoo): Add function.
17870         * gdb.base/ptype1.c: New file.
17871         * gdb.base/ptype.exp: Handle compilation and linking with two
17872         source files.  Test that proper type for "foo" is found based
17873         on source context rather than first match found in symtabs.
17874
17875 2005-12-28  Mark Kettenis  <kettenis@gnu.org>
17876
17877         * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17878         * gdb.asm/openbsd.inc: Indent commands.
17879
17880 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
17881
17882         * gdb.base/freebpcmd.exp: Increase timeout.
17883
17884         * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17885
17886 2005-12-17  Daniel Jacobowitz  <dan@codesourcery.com>
17887
17888         * gdb.base/default.exp: Update check for "show version".
17889
17890 2005-12-09  Randolph Chung  <tausq@debian.org>
17891
17892         * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17893         * gdb.asm/pa64.inc: New file.
17894
17895 2005-12-09  Randolph Chung  <tausq@debian.org>
17896
17897         * gdb.asm/common.inc: Indent commands.
17898         * gdb.asm/asmsrc1.s: Likewise.
17899         * gdb.asm/asmsrc2.s: Likewise.
17900
17901 2005-12-09  Randolph Chung  <tausq@debian.org>
17902
17903         * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17904         (get_addr_of_sym): Remove duplicate print.
17905         (gen_core): xfail hppa*-*-hpux*, update expected output.
17906         * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17907         * gdb.arch/pa64-nullify.s: New file.
17908
17909 2005-12-09  Randolph Chung  <tausq@debian.org>
17910
17911         * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17912
17913 2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
17914
17915         * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17916         code generation for these functions.
17917         * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17918         error message.
17919
17920 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
17921
17922         * gdb.base/help.exp (help b, help br, help bre, help brea)
17923         (help break): Update the expected message.
17924
17925 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
17926
17927         * gdb.asm/m68hc11.inc: Setup the data section.
17928         * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17929         script for this test.
17930         (m6812-*-*): Likewise.
17931
17932 2005-11-09  Randolph Chung <tausq@debian.org>
17933
17934         * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17935
17936 2005-11-09  Wu Zhou  <woodzltc@cn.ibm.com>
17937
17938         * gdb.base/break.exp: Fix a comment typo.
17939
17940 2005-11-03  Jim Blandy  <jimb@redhat.com>
17941
17942         Checked in by Elena Zannoni  <ezannoni@redhat.com>
17943
17944         * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
17945
17946 2005-11-02  Corinna Vinschen  <vinschen@redhat.com>
17947
17948         * gdb.arch/gdb1558.c: Include stdio.h.
17949
17950 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
17951
17952         * gdb.asm/asm-source.exp: Use -e instead of --entry.
17953
17954 2005-10-31  Mark Kettenis  <kettenis@gnu.org>
17955
17956         * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17957
17958 2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>
17959
17960         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17961         vscr" tests to better match output.
17962
17963 2005-10-12  Jim Blandy  <jimb@redhat.com>
17964
17965         * gdb.base/structs.exp (any): New function.
17966         (test_struct_returns): Don't make any assumptions at all about
17967         what value the function returns when GDB can't set the return
17968         value.
17969
17970 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
17971
17972         * gdb.ada/arrayidx/p.adb: New file.
17973         * gdb.ada/arrayidx.exp: New testcase
17974
17975 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
17976
17977         * gdb.ada/array_return/pck.ads: New file.
17978         * gdb.ada/array_return/pck.adb: New file.
17979         * gdb.ada/array_return/p.adb: New file.
17980         * gdb.ada/array_return.exp: New testcase.
17981
17982 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
17983
17984         * gdb.base/arrayidx.c: New file.
17985         * gdb.base/arrayidx.exp: New testcase.
17986
17987 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
17988
17989         * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17990         frames-invalid and breakpoints-invalid are no longer generated
17991         with level 3 so don't expect them in the output.
17992
17993 2005-09-27  Bob Rossi  <bob@brasko.net>
17994
17995         * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
17996         from test.  Escape the | in mi_gdb_test call.
17997         * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17998         gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17999         gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18000         gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18001         expected regex's in mi_gdb_test calls.
18002         * lib/mi-support.exp: Remove arbitrary .* from tests.
18003         (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18004         Fully anchor GDB/MI expected results in mi_gdb_test.
18005         * lib/gdb.exp (string_to_regexp): Escape the ] character.
18006         * gdb.base/sizeof.exp: Remove escape character. Correct test.
18007
18008 2005-09-26  Paul Brook  <paul@codesourcery.com>
18009
18010         * long_long.exp: Exclude eabi targets from arm FPA float format test.
18011
18012 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
18013
18014         * bfp-test.c: New file.
18015         * bfp-test.exp: New testcase.
18016
18017 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
18018
18019         * gdb.fortran/subarray.exp: New testcase to test the evaluation
18020         of subarray and substring variable.
18021         * gdb.fortran/subarray.f: New source file for the test of subarray
18022         and substring variable evaluation.
18023         * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18024         of string constant.
18025
18026 2005-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
18027
18028         * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18029         copyright dates.
18030
18031 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
18032
18033         * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18034         powerpc altivec' test with an almost identical 'info vector' test.
18035
18036 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
18037
18038         * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18039         vscr" tests to match output.
18040
18041 2005-09-13  Paul Gilliam  <pgilliam@us.ibm.com>
18042
18043         * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18044         output.
18045
18046 2005-09-11  Bob Rossi  <bob@brasko.net>
18047
18048         * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18049         * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18050         commands that return an MI output command and an asyncronous MI output
18051         command.
18052         * gdb.mi/mi-console.exp: Ditto.
18053
18054 2005-09-11  Bob Rossi  <bob@brasko.net>
18055
18056         * gdb.mi/mi-var-child.c: Include <string.h>.
18057
18058 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
18059
18060         * killed.exp: Correct gdb_expect syntax.
18061
18062 2005-08-09  Corinna Vinschen  <vinschen@redhat.com>
18063
18064         * lib/mi-support.exp (mi_gdb_load): Fix typo.
18065
18066 2005-08-02  Bob Rossi  <bob@brasko.net>
18067
18068         * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18069         (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18070         Change tests to inferior-tty-set/show.
18071         * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18072         (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18073         * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18074         inferior.  Use mi_gdb_test to get GDB and Inferior output.
18075         * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18076         descriptor.
18077         (mi_inferior_tty_name): Add inferior PTY file name.
18078         (mi_gdb_start): Add INFERIOR_PTY parameter.
18079         (mi_gdb_test): Add IPATTERN parameter.
18080
18081 2005-08-02   Bob Rossi  <bob@brasko.net>
18082
18083         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18084         parameter to mi_gdb_test.
18085         * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18086
18087 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
18088
18089         * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18090         struct_declarations.
18091         * gdb.mi/mi-var-child.exp: Step over the initialization of
18092         struct_declarations.
18093
18094 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
18095
18096         * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18097         * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18098         * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18099         * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18100         * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18101         file.
18102
18103 2005-07-27  Nick Roberts  <nickrob@snap.net.nz>
18104
18105         * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18106         (do_children_tests): Assign values to the extra elements.
18107
18108         * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18109         them for tests for "-var-update --no-values" and
18110         "-var-update --all-values".
18111         Add test for "-var-list-children --simple-values".
18112
18113         * gdb.mi/basics.c (callee4): Add integer array D[3]...
18114
18115         * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18116         "-stack-list-locals --simple-values"  Improve doc strings and
18117         comments.
18118
18119 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
18120
18121         * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18122         *-*-openbsd*.
18123         * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18124
18125         * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18126         sigaltsatck'.
18127
18128 2005-07-14  Bob Rossi  <bob@brasko.net>
18129
18130         * gdb.base/default.exp (tty): Changed output of command.
18131         * gdb.base/help.exp (help tty): Ditto.
18132
18133 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
18134
18135         * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18136
18137 2005-07-10  Mark Kettenis  <kettenis@gnu.org>
18138
18139         * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18140         -stack-select-frame without arguments.
18141         (test_stack_frame_listing): Add test for newly implemented command
18142         -stack-info-frame.
18143
18144 2005-07-06  Bob Rossi  <bob@brasko.net>
18145
18146         * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18147         command.
18148         (Copyright): Update copyright.
18149
18150 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
18151
18152         * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18153         tests to evaluate exponentiation expression.
18154
18155 2005-06-29  Andreas Schwab  <schwab@suse.de>
18156
18157         * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18158         main to avoid warnings.
18159
18160         * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18161
18162 2005-06-20  Nick Roberts  <nickrob@snap.net.nz>
18163
18164         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18165         -stack-select-frame without arguments.
18166         (test_stack_frame_listing): Add test for newly implemented command
18167         -stack-info-frame.
18168
18169 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
18170
18171         * gdb.fortran/array-element.f: New file.
18172         * gdb.fortran/array-element.exp: New testcase.
18173
18174 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
18175
18176         * gdb.base/bigcore.exp: Correct checks for systems which can
18177         not dump a large core file.
18178
18179 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
18180
18181         * gdb.base/relocate.c: Add a copyright notice.
18182         (dummy): Remove.
18183         * gdb.base/relocate.exp: Test printing the values of variables
18184         from a relocatable file.
18185
18186 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
18187
18188         * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18189         excess MI output after an error.
18190
18191 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
18192
18193         * gdb.arch/alpha-step.c: New file.
18194         * gdb.arch/alpha-step.exp: New testcase.
18195
18196 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
18197             Dennis Brueni  <dennis@slickedit.com>
18198
18199         * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18200         gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18201         gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18202         gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18203         gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18204         gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18205         * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18206
18207 2005-05-17  Paul Gilliam  <pgilliam@us.ibm.com>
18208             Wu Zhou  <woodzltc@cn.ibm.com>
18209
18210         * gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
18211         IBM's xlc compiler.
18212         * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18213         * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18214
18215 2005-05-13  Jim Blandy  <jimb@redhat.com>
18216
18217         * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18218         calling gdb_suppress_entire_file.
18219         * gdb.base/charset.exp: Same.
18220         * gdb.base/call-rt-st.exp: Same.
18221
18222 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
18223
18224         * lib/gdb.exp (fullname_syntax): Added global regex.
18225         (fullname_syntax_POSIX): Ditto.
18226         (fullname_syntax_UNC): Ditto.
18227         (fullname_syntax_DOS_CASE): Ditto.
18228         (fullname_syntax_DOS): Ditto.
18229         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18230         fullname_syntax variable to scope and use it.
18231         (test_file_list_exec_source_files): Ditto.
18232         * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18233
18234 2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
18235
18236         * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18237
18238 2004-05-02  Paul Gilliam  <pgilliam@us.ibm.com>
18239
18240         * lib/gdb.exp (skip_altivec_tests): New function, based on
18241         check_vmx_hw_available from the GCC testsuite.
18242         * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18243         * lib/gdb.arch/altivec-regs.exp: Likewise.
18244
18245 2005-05-02  Jim Blandy  <jimb@redhat.com>
18246
18247         * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18248         calling gdb_suppress_entire_file.
18249
18250 2005-04-30  Randolph Chung  <tausq@debian.org>
18251
18252         * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18253         Slightly relax "sem_post" name checking.
18254
18255 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
18256
18257         * gdb.base/unload.exp: Use new shared library infrastructure.
18258
18259 2005-04-29  Paul Gilliam  <pgilliam@us.ibm.com>
18260
18261         * gdb.base/so-impl-ld.exp: Use new shared library
18262         infrastructure.
18263
18264 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
18265
18266         * gdb.asm/asm-source.exp: Add h8300 to supported targets.
18267         * gdb.asm/h8300.inc: New file.
18268
18269 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
18270
18271         * gdb.base/shlib-call.exp: Change to use new shared library
18272         infrastructure.
18273
18274 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
18275
18276         * gdb.base/pending.exp: Change to use new shared library
18277         infrastructure.
18278
18279 2005-04-28  Paul Gilliam  <pgilliam@us.ibm.com>
18280
18281         * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
18282         use test_compiler_info instead of gcc_compiled, and update copyright.
18283
18284 2005-04-27  Paul Gilliam  <pgilliam@us.ibm.com>
18285
18286         * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
18287         shared objects being adjusted and update copyright years.
18288
18289 2005-04-27  Daniel Jacobowitz  <dan@codesourcery.com>
18290
18291         * ChangeLog: Correct some 2003-01-13 dates.
18292         * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
18293         gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
18294         gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
18295         gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
18296         gdb.trace/tfind.exp: Update copyright years.
18297
18298 2005-04-14  Paul Gilliam  <pgilliam@us.ibm.com>
18299             Daniel Jacobowitz  <dan@codesourcery.com>
18300
18301         * lib/gdb.exp (gdb_compile): Handle shlib=.
18302         (gdb_compile_shlib): New function.
18303
18304 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
18305
18306         * lib/gdb.exp (test_compiler_info): Give argument a default value.
18307
18308 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
18309
18310         * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
18311         gdb.server.
18312         * configure.ac: Likewise.
18313         * configure: Regenerated.
18314         * gdb.gdbserver/Makefile.in: Moved to...
18315         * gdb.server/Makefile.in: ... here.
18316         * gdb.gdbserver/server.c: Moved to...
18317         * gdb.server/server.c: ... here.
18318         * gdb.gdbserver/server-run.exp: Moved to...
18319         * gdb.server/server-run.exp: ... here.
18320
18321 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
18322
18323         * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
18324         * configure.ac: Create gdb.gdbserver/Makefile.
18325         * configure: Regenerated.
18326         * lib/gdbserver-support.exp: New file, derived from
18327         config/gdbserver.exp.
18328         * config/gdbserver.exp: Use gdbserver-support.exp.
18329         * gdb.gdbserver/Makefile.in: New file.
18330         * gdb.gdbserver/server.c: New file.
18331         * gdb.gdbserver/server-run.exp: New file.
18332
18333 2005-04-06  Paul Gilliam  <pgilliam@us.ibm.com>
18334
18335         * lib/gdb.exp (test_compiler_info): Return compiler_info
18336         if no arguments are given.
18337
18338 2005-04-01  Paul Gilliam  <pgilliam@us.ibm.com>
18339
18340         * gdb.arch/altivec-abi.exp: Check for compiler and set
18341         use altivec' flag accordingly.
18342         * gdb.arch/altivec-regs.exp: Likewise.
18343
18344 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
18345
18346         * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
18347
18348 2005-03-27  Andreas Schwab  <schwab@suse.de>
18349
18350         * gdb.base/bigcore.c (main): Add missing mode argument in open
18351         call.
18352
18353 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
18354
18355         * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
18356         downloads.
18357         * config/gdbserver.exp (gdb_load): Likewise.
18358
18359 2005-03-14  Paul Brook  <paul@codesourcery.com>
18360
18361         * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
18362         targets.
18363
18364 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
18365
18366         * gdb.dwarf2/dup-psym.S: New file.
18367         * gdb.dwarf2/dup-psym.exp: New testcase.
18368
18369 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
18370
18371         * gdb.ada/exec_changed/first.adb: New file.
18372         * gdb.ada/exec_changed/second.adb: New file.
18373         * gdb.ada/exec_changed.exp: New testcase.
18374
18375 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
18376
18377         * gdb.cp/userdef.cc (A1::operator+): New unary plus.
18378         (A2): New class.
18379         (main): Test operator+.
18380         * gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
18381         breakpoint test.
18382
18383         * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
18384         * gdb.base/signull.exp: Disable if gdb,nosignals.
18385         * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
18386         * gdb.cp/exception.exp: Disable if skip_cplus_tests.
18387         * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
18388         * gdb.mi/mi2-console.exp: Likewise.
18389         * gdb.trace/collection.exp (run_trace_experiment): Consume the
18390         continue output at start.
18391         (gdb_collect_locals_test): Robustify regexp.
18392         * gdb.trace/passc-dyn.exp: Fix comment typo.
18393         * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
18394
18395 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
18396
18397         * gdb.asm/asm-source.exp: Add iq2000 case.
18398         * gdb.asm/iq2000.inc: New file.
18399
18400 2005-03-07  Manoj Iyer <manjo@austin.ibm.com>
18401
18402         * gdb.base/command.exp: Change hardcoded value to regular expression.
18403         * gdb.base/float.exp: Add powerpc to the list of targets checked.
18404
18405 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
18406
18407         * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
18408         gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
18409         gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
18410         gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
18411         gdb.asm/x86_64.inc: Use .purgem before redefining macros.
18412
18413 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
18414
18415         * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
18416         changes.
18417
18418 2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>
18419
18420         * lib/compiler.c: Add test for IBM's xlc compiler.
18421         * lib/compiler.cc: Likewise.
18422
18423 2004-02-24  Joel Brobecker  <brobecker@adacore.com>
18424
18425         * gdb.ada/fixed_points.exp: Create compilation object directory
18426         before running the test.
18427         * gdb.ada/null_record.exp: Likewise.
18428         * gdb.ada/packed_array.exp: Likewise.
18429         * gdb.ada/start.exp: Likewise.
18430
18431 2005-02-15  Joel Brobecker  <brobecker@adacore.com>
18432
18433         * gdb.ada/packed_array/pa.adb: New file.
18434         * gdb.ada/packed_array.exp: New testcase.
18435
18436 2005-02-10  Mark Kettenis  <kettenis@gnu.org>
18437
18438         * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
18439         files.
18440
18441         * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
18442         on *-*-openbsd*.  Correctly match whitespace in regukar
18443         expressions.
18444
18445 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
18446
18447         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
18448         PR exp/1821
18449         * gdb.base/gdb1821.c: New test file.
18450         * gdb.base/gdb1821.exp: New test file.
18451
18452 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
18453
18454         * gdb.base/start.c: New file.
18455         * gdb.base/start.exp: New testcase.
18456
18457 2005-02-09  Joel Brobecker  <brobecker@adacore.com>
18458
18459         * gdb.ada/start/dummy.adb: New file.
18460         * gdb.ada/start.exp: New testcase.
18461
18462 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
18463
18464         * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
18465         for printing symbols and statistics.
18466         Add test for using relative pathnames in "maint print msymbols" test.
18467         Mark "maint info sections DATA" XFAIL on Cygwin.
18468         Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
18469         tests.
18470
18471 2005-02-09  Andreas Schwab  <schwab@suse.de>
18472
18473         Committed by Andrew Cagney  <cagney@gnu.org>
18474         * gdb.base/remotetimeout.exp: New file.
18475
18476 2005-02-07  Mark Kettenis  <kettenis@gnu.org>
18477
18478         * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
18479
18480 2005-02-03  Joel Brobecker  <brobecker@adacore.com>
18481
18482         * gdb.ada/gnat_ada.gpr: New file.
18483         * gdb.ada/gnat_ada.gin: Delete, no longer used.
18484         * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
18485         * configure.ac: No longer generate gnat_ada.gpr.
18486         * configure: Regenerate.
18487         * gdb.ada/Makefile.in: Minor adaptations due to new project file.
18488         * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
18489         * gdb.ada/null_record/bar.ads: Likewise.
18490         * gdb.ada/null_record/bar.adb: Likewise.
18491         * gdb.ada/fixed_points/fixed_points.adb: Likewise.
18492         * gdb.ada/null_record.exp (testdir): New variable.
18493         (testfile): executable is now in testdir subdirectory.
18494         (srcfile): Use full path to the main compilation unit.
18495         * gdb.ada/fixed_points.exp: Same changes as above.
18496
18497 2005-02-03  Nick Roberts  <nickrob@snap.net.nz>
18498
18499         * gdb.base/interp.exp: New test.
18500
18501 2005-01-24  Andrew Cagney  <cagney@gnu.org>
18502
18503         * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
18504
18505 2005-01-19  Andrew Cagney  <cagney@gnu.org>
18506
18507         * gdb.stabs/Makefile.in (Makefile): Update dependencies -
18508         configure.ac not configure.in.
18509
18510         * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
18511         of powerpc*-*-*.
18512         * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
18513         * gdb.base/list.exp (test_list_function)
18514         (test_list_filename_and_function): Ditto.
18515         * gdb.base/callfuncs.exp (do_function_calls): Ditto.
18516
18517 2005-01-16  Andrew Cagney  <cagney@gnu.org>
18518
18519         * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
18520
18521         * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
18522
18523 2005-01-14  Andrew Cagney  <cagney@gnu.org>
18524
18525         * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
18526         * gdb.mi/mi2-var-cmd.exp: Ditto.
18527
18528 2005-01-10  Corinna Vinschen  <vinschen@redhat.com>
18529
18530         * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
18531
18532 2005-01-07  Andrew Cagney  <cagney@gnu.org>
18533
18534         * configure.ac: Rename configure.in, require autoconf 2.59.
18535         * configure: Re-generate.
18536         * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
18537         * gdb.stabs/configure: Re-generate.
18538         * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
18539         * gdb.hp/configure: Re-generate.
18540         * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
18541         autoconf 2.59.
18542         * gdb.hp/gdb.objdbg/configure: Re-generate.
18543         * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
18544         autoconf 2.59.
18545         * gdb.hp/gdb.defects/configure: Re-generate.
18546         * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
18547         autoconf 2.59.
18548         * gdb.hp/gdb.compat/configure: Re-generate.
18549         * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
18550         autoconf 2.59.
18551         * gdb.hp/gdb.base-hp/configure: Re-generate.
18552         * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
18553         autoconf 2.59.
18554         * gdb.hp/gdb.aCC/configure: Re-generate.
18555
18556 2004-12-15  Jim Blandy  <jimb@redhat.com>
18557
18558         * gdb.threads/linux-dp.exp: Fix output regexp to handle output
18559         under NPTL when there is debugging info available for libpthread.
18560
18561 2004-12-13  Jerome Guitton  <guitton@gnat.com>
18562
18563         * gdb.ada/fixed_points.c: New file.
18564         * gdb.ada/fixed_points.exp: New file.
18565
18566 2004-12-03  Randolph Chung  <tausq@debian.org>
18567
18568         * gdb.arch/pa-nullify.exp: New file.
18569         * gdb.arch/pa-nullify.s: New file.
18570
18571 2004-11-30  Randolph Chung  <tausq@debian.org>
18572
18573         * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18574         instead of "tbug".  Fix regexp to work properly with gdb_test.
18575
18576 2004-11-29  Paul Hilfinger  <Hilfinger@gnat.com>
18577
18578         * gdb.base/bitfields2.exp: New test.
18579         * gdb.base/bitfields2.c: New file.
18580
18581 2004-11-28  Richard Earnshaw  <rearnsha@arm.com>
18582
18583         * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18584
18585 2004-11-16  Randolph Chung  <tausq@debian.org>
18586
18587         * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18588
18589 2004-11-14  Daniel Jacobowitz  <dan@debian.org>
18590
18591         * gdb.threads/threadapply.exp: Correct "macro details" test.
18592
18593 2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>
18594
18595         * gdb.threads/threadapply.exp: New test.
18596         * gdb.threads/threadapply.c: New file.
18597
18598 2004-11-07  Mark Kettenis  <kettenis@gnu.org>
18599
18600         * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18601         frames.
18602
18603 2004-11-05  Felix Lee  <felix+log1@specifixinc.com>
18604
18605         * gdb.base/cursal.exp: New file.
18606         * gdb.base/cursal.c: New file.
18607
18608 2004-11-03  Andrew Cagney  <cagney@gnu.org>
18609
18610         * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18611
18612 2004-10-30  Mark Kettenis  <kettenis@gnu.org>
18613
18614         * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18615         NetBSD/ELF targets.
18616
18617 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
18618
18619         * gdb.threads/bp_in_thread.c: New file, copied from
18620         pthread_cond_wait.c.
18621         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18622         file, rather than reusing the .c file from another testcase.
18623
18624 2004-10-20  Joel Brobecker  <brobecker@gnat.com>
18625
18626         * gdb.ada/null_record.exp: Check where we stopped after
18627         sending the start command, instead of where the associated
18628         temporary breakpoint was inserted.
18629
18630 2004-10-14  Andrew Cagney  <cagney@gnu.org>
18631
18632         * gdb.mi/gdb701.c (main): Return 0.
18633
18634 2004-10-13  Daniel Jacobowitz  <dan@debian.org>
18635
18636         * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
18637
18638 2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>
18639
18640         * gdb.threads/schedlock.c: Add comment markers to use to find
18641         line numbers.
18642         * gdb.threads/schedlock.exp: Adjust regex to handle the new
18643         comments.
18644         * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18645         breakpoint lines.
18646
18647 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
18648
18649         * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18650
18651 2004-10-12  Daniel Jacobowitz  <dan@debian.org>
18652
18653         * configure.in: Add gdb.dwarf2.
18654         * configure: Regenerated.
18655         * Makefile.in: Add gdb.dwarf2.
18656         * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18657         gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18658         gdb.dwarf2/file1.txt: New files.
18659
18660 2004-10-11  Orjan Friberg  <orjanf@axis.com>
18661
18662         * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
18663         of "run", since the latter doesn't work with remote targets.  Adjust
18664         the breakpoint numbering accordingly.
18665         * gdb.threads/pthread_cond_wait.exp: Ditto.
18666
18667 2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>
18668
18669         * gdb.base/overlays.exp: Update copyright years.
18670
18671 2004-10-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
18672
18673         * gdb.base/overlays.exp: Disable if target is Linux.
18674
18675 2004-10-06  Felix Lee  <felix+log1@specifixinc.com>
18676
18677         * config/gdbserver.exp (gdb_load): Use right filename on remote.
18678
18679 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
18680
18681         * gdb.asm/asm-source.exp: Add m32r-linux target.
18682         * gdb.asm/m32r-linux.inc: New file.
18683
18684 2004-09-24  Andrew Cagney  <cagney@redhat.com>
18685             David Anderson <anderson@redhat.com>
18686
18687         * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18688         command fails, assume things will work.
18689         * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18690         (_GNU_SOURCE): Define.
18691         (print_unsigned, print_hex): Change parameter to "long long".
18692         (print_byte_count): New function, use to print byte counts.
18693         (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18694         O_LARGEFILE.
18695         (main): Compute an upper bound on a corefile in max_core_size.
18696         Limit memory chunk size to max_core_size.  Limit total memory
18697         allocated to max_core_size.
18698
18699 2004-09-23  Andrew Cagney  <cagney@gnu.org>
18700
18701         * gdb.base/bigcore.exp: Replace the code that creates a corefile
18702         from a separate process with code that creates a corefile by
18703         making the inferior dump core.
18704
18705 2004-09-23  Mark Kettenis  <kettenis@gnu.org>
18706
18707         * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18708         block.
18709
18710 2004-09-23  Michael Chastain  <mec.gnu@mindspring.com>
18711
18712         * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18713         New proc.  Accept both gcc 3.x.x and gcc 4.x.x.
18714         * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18715         Likewise.
18716
18717 2004-09-20  Jeff Johnston  <jjohnstn@redhat.com>
18718
18719         * gdb.java/jprint.exp: New test case for java inferior call.
18720         * gdb.java/jprint.java: Ditto.
18721
18722 2004-09-15  Joel Brobecker  <brobecker@gnat.com>
18723
18724         * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18725
18726 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
18727
18728         * gdb.threads/killed.c: Include <stdlib.h>.
18729         * gdb.threads/pthreads.c: Likewise.
18730
18731 2004-09-14  Michael Chastain  <mec.gnu@mindspring.com>
18732
18733         * gdb.threads/killed.c: Add copyright notice.
18734
18735 2004-09-10  Jason Molenda  (jmolenda@apple.com)
18736
18737         * gdb.base/define.exp: Two new tests to verify zero space chars
18738         after 'if' and 'while' commands in a user-defined command is correctly
18739         parsed.
18740
18741 2004-09-08  Andrew Cagney  <cagney@gnu.org>
18742
18743         * gdb.base/signals.exp (signal_tests_1): Delete.  Merge signal
18744         delivery test with duplicate at end of file.
18745
18746 2004-09-06  Mark Kettenis  <kettenis@jive.nl>
18747
18748         * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18749
18750 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
18751
18752         * config/hppro.exp: Removed.
18753
18754 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
18755
18756         * config/sparclet.exp: Removed.
18757
18758 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
18759
18760         * config/udi.exp: Removed.
18761
18762 2004-09-02  Michael Chastain  <mec.gnu@mindspring.com>
18763
18764         * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18765         of "exp_continue".
18766         (advancei): Likewise.
18767
18768 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
18769
18770         * gdb.base/unload.exp: Fix so messages aren't duplicated.
18771
18772 2004-09-01  Manoj Iyer  <manjo@austin.ibm.com>
18773
18774         * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
18775         to check for nodebug in executable.
18776         * gdb.gdb/observer.exp (setup_test): Likewise.
18777         * gdb.gdb/selftest.exp (test_with_self): Likewise.
18778         * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18779
18780 2004-09-01  Andrew Cagney  <cagney@gnu.org>
18781
18782         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18783         files.
18784
18785 2004-09-01  Jeff Johnston  <jjohnstn@redhat.com>
18786
18787         * gdb.base/unload.exp: Fix expected warning message to match
18788         latest format.
18789
18790 2004-09-01  Corinna Vinschen  <vinschen@redhat.com>
18791
18792         * gdb.base/call-rt-st.exp: Fix typos.
18793
18794 2004-08-31  Manoj Iyer  <manjo@austin.ibm.com>
18795
18796         * gdb.threads/thread_check.exp: New testcase.
18797         * gdb.threads/thread_check.c: New testcase.
18798
18799 2004-08-31  Andrew Cagney  <cagney@gnu.org>
18800
18801         * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18802         (skip_to_handler_entry): New procedures.  Test stepping into a
18803         handler when the breakpoint is at the handler's entry point.
18804
18805 2004-08-30  Andrew Cagney  <cagney@gnu.org>
18806
18807         * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18808         gdb/1757.
18809
18810 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
18811
18812         With code from Manoj Iyer <manjo@austin.ibm.com>:
18813         * lib/gdb.exp (gdb_file_cmd): Return more information in the
18814         return value.  Add an arm for "no debugging symbols found".
18815         Change a stray "error" to "perror".
18816         (gdb_run_cmd): Adapt to new return value.
18817         * gdb.base/remote.exp: Adapt to new return value.
18818         * gdb.gdb/complaints.exp: Likewise.
18819         * gdb.gdb/observer.exp: Likewise.
18820         * gdb.gdb/selftest.exp: Likewise.
18821         * gdb.gdb/xfullpath.exp: Likewise.
18822
18823 2004-08-27  Joel Brobecker  <brobecker@gnat.com>
18824
18825         * gdb.threads/bp_in_thread.exp: New testcase.
18826
18827 2004-08-27  Michael Chastain  <mec.gnu@mindspring.com>
18828
18829         Fix PR testsuite/1735.
18830         * gdb.threads/schedlock.c (thread_function): Add a cast
18831         to suppress a gcc warning.
18832         * gdb.threads/thread-specific.c (thread_function): Likewise.
18833
18834 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
18835
18836         * gdb.base/unload.c: Include <stdlib.h>.
18837
18838 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
18839
18840         From Paul Gilliam <pgilliam@us.ibm.com>:
18841         * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18842         synchronized after the "return".
18843
18844 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
18845
18846         * gdb.mi/basics.c: Include <stdio.h>.
18847         * gdb.mi/pthreads.c: Include <stdlib.h>.
18848         * gdb.mi/var-cmd.c: Include <stdlib.h>.
18849
18850 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
18851
18852         * gdb.threads/schedlock.c: Add copyright notice.
18853
18854 2004-08-25  Andrew Cagney  <cagney@gnu.org>
18855
18856         * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18857         (skip_over_handler, breakpoint_over_hander): New test procedures.
18858         (advance, advancei): Add a proper prefix, do not use
18859         rerun_to_main.
18860         * gdb.base/sigstep.c (main): Change to use an infinite loop.
18861
18862 2004-08-24  Michael Chastain  <mec.gnu@mindspring.com>
18863
18864         * gdb.mi/basics.c: Add copyright notice.
18865         * gdb.mi/var-cmd.c: Add copyright notice.
18866
18867 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
18868
18869         * lib/gdb.exp: Remove signed_keyword_not_used.
18870         * lib/compiler.c: Likewise.
18871         * lib/compiler.cc: Likewise.
18872
18873 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
18874
18875         * gdb.base/whatis.c: Remove conditional disabling of "signed".
18876         * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18877
18878 2004-08-23  Michael Chastain  <mec.gnu@mindspring.com>
18879
18880         * gdb.base/whatis.c: Add copyright notice.
18881
18882 2004-08-20  Mark Kettenis  <kettenis@gnu.org>
18883
18884         * gdb.arch/i386-prologue.exp (skip_breakpoint): New function.  Use
18885         it to skip the breakpoints encoded in the inline assembly.
18886
18887 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
18888
18889         * Makefile.in: Add gdb.fortran.
18890
18891 2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
18892
18893         * gdb.base/call-sc.exp (test_scalar_returns):
18894         Fix cut-and-paste glitch in "Make fun return now".
18895
18896 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
18897
18898         * configure.in: Add gdb.fortran.
18899         * configure: Regenerate.
18900         * gdb.fortran/Makefile.in: New file.
18901         * lib/gdb.exp (skip_fortran_tests): New procedure.
18902
18903 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
18904
18905         * gdb.mi/mi-var-block.exp: Use gdb_get_line_number.  Remove
18906         reference to bug-gnu@prep.ai.mit.edu.
18907         * gdb.mi/mi-var-child.exp: Likewise.
18908         * gdb.mi/mi-var-cmd.exp: Likewise.
18909         * gdb.mi/mi-var-display.exp: Likewise.
18910         * gdb.mi/mi2-var-block.exp: Likewise.
18911         * gdb.mi/mi2-var-child.exp: Likewise.
18912         * gdb.mi/mi2-var-cmd.exp: Likewise.
18913         * gdb.mi/mi2-var-display.exp: Likewise.
18914
18915 2004-08-15  Mark Kettenis  <kettenis@gnu.org>
18916
18917         * gdb.base/unload.c (main): Make local variable msg const.
18918
18919 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
18920
18921         * gdb.mi/mi-cli.exp: Use gdb_get_line_number.  Remove reference
18922         to bug-gnu@prep.ai.mit.edu.
18923         * gdb.mi/mi-disassemble.exp: Likewise.
18924         * gdb.mi/mi-eval.exp: Likewise.
18925         * gdb.mi/mi-file.exp: Likewise.  Also, add comment about the
18926         default line number.
18927         * gdb.mi/mi-return.exp: Likewise.
18928         * gdb.mi/mi-simplerun.exp: Likewise.
18929         * gdb.mi/mi-stack.exp: Likewise.
18930         * gdb.mi/mi-stepi.exp: Likewise.  Also, replace wildcarded line
18931         number with explicit range test.
18932         * gdb.mi/mi-watch.exp: Likewise.
18933         * gdb.mi/mi2-break.exp: Likewise.
18934         * gdb.mi/mi2-cli.exp: Likewise.
18935         * gdb.mi/mi2-disassemble.exp: Likewise.
18936         * gdb.mi/mi2-eval.exp: Likewise.
18937         * gdb.mi/mi2-file.exp: Likewise.  Also, add comment about the
18938         default line number.
18939         * gdb.mi/mi2-return.exp: Likewise.
18940         * gdb.mi/mi2-simplerun.exp: Likewise.
18941         * gdb.mi/mi2-stack.exp: Likewise.
18942         * gdb.mi/mi2-stepi.exp: Likewise.  Also, replace wildcarded line
18943         number with explicit range test.
18944         * gdb.mi/mi2-watch.exp: Likewise.
18945
18946 2004-08-15  Michael Chastain  <mec.gnu@mindspring.com>
18947
18948         * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18949         * gdb.cp/m-static.exp: Likewise.
18950         * gdb.cp/rtti.exp: Likewise.
18951
18952 2004-08-14  Mark Kettenis  <kettenis@gnu.org>
18953
18954         * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18955
18956 2004-08-14  Eli Zaretskii  <eliz@gnu.org>
18957
18958         * ChangeLog: Prefix Local Variables with semi-colons and indent
18959         the reference to older ChangeLog files, to fix fontification in
18960         Emacs.
18961
18962 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
18963
18964         * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18965         * gdb.mi/mi2-break.exp: Likewise.
18966
18967 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
18968
18969         * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18970
18971 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
18972
18973         * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18974
18975 2004-08-13  Michael Chastain  <mec.gnu@mindspring.com>
18976
18977         * gdb.cp/classes.exp: Remove unused declarations.  Just let
18978         test names default instead of providing special names.  Remove
18979         extraneous demangler test.
18980
18981 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com>
18982
18983         * gdb.base/unload.exp: New test for breakpoints in dynamically
18984         loaded libraries.
18985         * gdb.base/unload.c: Ditto.
18986         * gdb.base/unloadshr.c: Ditto.
18987
18988 2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>
18989
18990         * gdb.cp/classes.exp (test_ptype_class_objects): Call
18991         cp_test_ptype_class.
18992         (test_enums): Likewise.
18993
18994 2004-08-10  Andrew Cagney  <cagney@gnu.org>
18995
18996         * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18997         files.
18998
18999 2004-08-10  Andrew Cagney  <cagney@gnu.org>
19000
19001         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19002         init_malloc call.
19003
19004 2004-08-10  Michael Chastain  <mec.gnu@mindspring.com>
19005
19006         * ChangeLog: Add copyright notice.  The notice is copied
19007         from emacs 21.3 top level ChangeLog.
19008
19009 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19010
19011         * lib/cp-support.exp: New file.
19012         * lib/cp-support.exp (cp_test_type_class): New function.
19013         * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19014         * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19015         * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19016         cp_test_ptype_class.
19017
19018 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19019
19020         * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19021         gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19022         gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19023         gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19024         gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19025         gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19026         gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19027         gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19028         gdb.mi/mi2-watch.exp: Update copyright years.
19029
19030 2004-08-09  Mark Kettenis  <kettenis@gnu.org>
19031
19032         * gdb.base/sigaltstack.exp: Provide proper anchoring.
19033
19034 2004-08-09  Michael Chastain  <mec.gnu@mindspring.com>
19035
19036         * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19037         gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19038         gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19039         gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19040         gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19041         gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19042         gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19043         gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19044         gdb.mi/mi-watch.exp: Update copyright years.
19045
19046 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19047
19048         PR gdb/1738
19049         * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19050         from a breakpoint with a pending signal.
19051
19052 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19053
19054         PR gdb/1736
19055         * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19056         * gdb.base/sigaltstack.exp (finish_test): Consume output until
19057         the prompt.
19058         * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19059
19060 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19061
19062         * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19063
19064 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19065
19066         PR gdb/1736
19067         * gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
19068         for i?86-*-linux*.
19069
19070 2004-08-08  Daniel Jacobowitz  <dan@debian.org>
19071
19072         * gdb.arch/i386-prologue.exp: Compile without debug information.
19073
19074 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
19075
19076         * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19077         rather than asking gdb to search.
19078
19079 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19080
19081         * gdb.base/gcore.c: Include <string.h>.
19082
19083 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19084
19085         * gdb.base/gcore.c: Add copyright notice.
19086
19087 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
19088
19089         * gdb.base/freebpcmd.c: Include <stdio.h>.
19090         * gdb.base/long_long.c: Include <string.h>.
19091         * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19092         * gdb.base/siginfo.c: Include <string.h>.
19093         * gdb.base/sigstep.c: Include <string.h>.
19094
19095 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19096
19097         * gdb.base/complex.c: Include <stdlib.h>.
19098
19099 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19100
19101         * gdb.base/complex.c: Add copyright notice.
19102
19103 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19104
19105         * gdb.base/charset.c: Include <stdlib.h>.
19106
19107 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19108
19109         * gdb.base/auxv.c: Include <stdlib.h>.
19110
19111 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19112
19113         * gdb.base/auxv.c: Add copyright notice.
19114
19115 2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>
19116
19117         * gdb.base/coremaker.c: Add copyright notice.
19118         * gdb.base/coremaker2.c: Add copyright notice.
19119
19120 2004-08-04  Andrew Cagney  <cagney@gnu.org>
19121
19122         * gdb.base/store.exp: Update copyright.
19123         (check_set, up_set, check_struct, up_struct): Add a prefix to test
19124         names, do not import gdb_prompt.
19125
19126 2004-08-01  Andrew Cagney  <cagney@gnu.org>
19127
19128         Fix PR testsuite/1729.
19129         * gdb.base/dump.exp: Add test name to callers of capture_value, do
19130         not use capture_value with value 4.
19131         (capture_value): Add optional test name parameter.
19132         (test_reload_saved_value, test_restore_saved_value): Use $msg as
19133         the prefix, pass to capture_value.
19134
19135 2004-08-01  Mark Kettenis  <kettenis@gnu.org>
19136
19137         * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19138         * gdb.arch/i386-prologue.c (standard): New prototype and function.
19139         (main): Call new function.
19140
19141 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19142
19143         * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19144
19145 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19146
19147         * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19148
19149 2004-07-31  Michael Chastain  <mec.gnu@mindspring.com>
19150
19151         * gdb.cp/inherit.exp: Accept more varieties of ptype output.
19152         Accept more values of vtbl pointer.  Remove some messages
19153         about "obsolete gcc or gdb".
19154
19155 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
19156
19157         * gdb.cp/classes.exp: Accept more varieties of ptype output.
19158
19159 2004-07-30  Michael Chastain  <mec.gnu@mindspring.com>
19160
19161         * gdb.base/asm-source.exp: Properly convert target board
19162         debug flags from gcc format to binutils format.
19163
19164 2004-07-28  Mark Kettenis  <kettenis@gnu.org>
19165
19166         * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19167         gdb1718".  PR backtrace/1718 partially fixed.
19168
19169 2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>
19170
19171         * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19172
19173 2004-07-26  Nick Clifton  <nickc@redhat.com>
19174
19175         * gdb.asm/asm-source.exp (debug-flags): New variable.  If a known
19176         good default value for a specific architecture is available then
19177         set it to that value.  Otherwise default to the -gstabs switch.
19178         Remove the -g... switches from the asm-flags variable.  Allow the
19179         target board info to override the value if it wants to.  Pass the
19180         switch on the assembler command line.
19181
19182 2004-07-23  Mark Kettenis  <kettenis@gnu.org>
19183
19184         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19185         * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19186         (main): Call new function.
19187
19188 2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
19189
19190         Test for PR exp/1715.
19191         * gdb.base/radix.exp: Refactor common procedures.  Make all
19192         test names unique.  Change XFAIL to KFAIL.
19193
19194 2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
19195
19196         * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19197         * gdb.ada/gnat_ada.gin: ... to here.
19198         * configure.in: Use gnat_ada.gin.
19199         * configure: Regenerate.
19200
19201 2004-07-20  Andrew Cagney  <cagney@gnu.org>
19202
19203         * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19204         gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
19205         XFAILs.  Clean up test messages and comments.  Check backtraces.
19206         Delete re-sync code.
19207
19208 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
19209
19210         Fix PR cli/740.
19211         * gdb.base/annota1.exp: Honor gdb,nosignals.
19212         * gdb.base/annota3.exp: Likewise.
19213
19214 2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
19215
19216         * lib/java.exp: Update copyright notice.
19217
19218 2004-07-19  Andrew Cagney  <cagney@gnu.org>
19219
19220         * gdb.base/selftest.exp: Copy file from here ...
19221         * gdb.gdb/selftest.exp: ... to here.
19222
19223 2004-07-16  Andrew Cagney  <cagney@redhat.com>
19224
19225         * lib/insight-support.exp: Delete file.
19226         * lib/java.exp (java_init): Fix copyright.
19227
19228 2004-07-16  Andrew Cagney  <cagney@gnu.org>
19229
19230         * gdb.base/restore.c: Append "prologue" to comments marking the a
19231         function's prologue.
19232         * gdb.base/restore.exp: Update copyright, re-indent.
19233         (restore_tests): Use gdb_test_multiple.  Add "calleeN calls
19234         callerN" prefix where needed.  Update patterns that match a
19235         function's prologue.
19236
19237 2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
19238
19239         * gdb.base/restore.c: Add copyright notice.
19240
19241 2004-07-16  Andrew Cagney  <cagney@gnu.org>
19242
19243         * gdb.base/logical.exp: Update copyright.
19244         (evaluate): New procedure.  Use to re-implement tests using
19245         several tables.
19246
19247 2004-07-14  Martin Hunt  <hunt@redhat.com>
19248
19249         * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19250         which fixes some problems where init.tcl was not found.
19251
19252 2004-07-13  Andrew Cagney  <cagney@gnu.org>
19253
19254         * gdb.base/sizeof.exp: Skip test when no inferior I/O.
19255         (check_sizeof, check_valueof): Do not include the output in the
19256         test name.  Use gdb_test.
19257         (get_valueof): Use gdb_test_multiple.
19258
19259         * gdb.base/step-test.exp: Update copyright.  Use
19260         gdb_test_multiple.  Ensure that test names do not include
19261         architecture dependent output.
19262
19263         * gdb.gdb/observer.exp: Update copyright.
19264         (setup_test): Use gdb_test_multiple.
19265         (attach_first_observer, attach_second_observer)
19266         (attach_third_observer, detach_first_observer)
19267         (detach_second_observer, detach_third_observer)
19268         (reset_counters, check_counters): Make $message a prefix.
19269         (test_normal_stop_notifications): Add "args" parameter - a list of
19270         init functions to be called.  Make $message a prefix,
19271         (test_observer_normal_stop): Change the message prefixes so that
19272         they are unique, pass the attach / detach procedures to
19273         test_normal_stop_notifications.
19274
19275         * gdb.base/signull.exp (test_segv): Prefix all tests with
19276         "${name}".  Clean up test messages.
19277
19278         * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
19279
19280         * gdb.base/ena-dis-br.exp: Update copyright.
19281         (break_at): New function.  Replace send_gdb with gdb_test,
19282         break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
19283         ignore count, not stopped at bpt", with KFAIL.
19284
19285 2004-07-13  Corinna Vinschen  <vinschen@redhat.com>
19286
19287         * gdb.base/attach.exp: Remove cleanupfile handling.
19288
19289 2004-07-12  Andrew Cagney  <cagney@gnu.org>
19290
19291         * gdb.base/annota1.exp: Cleanup corefile test name.
19292         * gdb.base/annota3.exp: Ditto.
19293
19294 2004-07-12  Andrew Cagney  <cagney@gnu.org>
19295
19296         * gdb.base/signals.exp: Clean up copyright, re-indent.
19297
19298         * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
19299         gdb_test and gdb_test_multiple.
19300
19301 2004-07-08  Jeff Johnston  <jjohnstn@redhat.com>
19302
19303         * gdb.java/jmain.exp: Fix expected line number for main to
19304         break at.  Set XFAIL for break at main test since gcj does not
19305         provide line number info for first statement in main.
19306
19307 2004-07-08  Andrew Cagney  <cagney@gnu.org>
19308
19309         * gdb.base/attach.exp: Cleanup copyright.  Re-indent.
19310
19311         * gdb.base/sigbpt.exp: Make the common part of each test name a
19312         prefix instead of suffix.
19313
19314 2004-07-07  Bob Rossi  <bob_rossi@cox.net>
19315
19316         * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
19317         test from test_tbreak_creation_and_listing to
19318         test_file_list_exec_source_file
19319         * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
19320         Changed name of test from test_tbreak_creation_and_listing to
19321         test_file_list_exec_source_file
19322
19323 2004-07-07  Jeff Johnston  <jjohnstn@redhat.com>
19324
19325         * gdb.java/jmisc.exp: Fix expected output of ptype to look for
19326         the jmisc() constructor instead of <init>.
19327         * gdb.java/jmisc1.exp: Ditto.
19328
19329 2004-07-07  Andrew Cagney  <cagney@gnu.org>
19330
19331         * gdb.base/sigbpt.exp (stepi_out): Check for a single step
19332         corrupting the PC.
19333
19334 2004-07-06  Michael Chastain  <mec.gnu@mindspring.com>
19335
19336         * gdb.cp/templates.exp: Accept whitespace change in demangler
19337         output.
19338
19339 2004-07-06  Andrew Cagney  <cagney@gnu.org>
19340
19341         * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
19342
19343 2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>
19344
19345         * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
19346         * lib/compiler.cc: Likewise.
19347
19348 2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>
19349
19350         * lib/compiler.cc: Work around string preprocessing problem
19351         with old hp c++ compiler.
19352         * lib/compiler.c: Likewise.
19353
19354 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
19355
19356         * gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
19357         directives to conditionalize symbol prefixing.
19358         * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
19359         additional_flags handling.  Add underscore prefix for Cygwin.
19360         * gdb.arch/i386-unwind.c: Use preprocessor directives to
19361         conditionalize symbol prefixing.
19362         * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
19363         additional_flags handling.  Add underscore prefix for Cygwin.
19364
19365 2004-06-29  Corinna Vinschen  <vinschen@redhat.com>
19366
19367         * gdb.base/bigcore.exp: Skip test on Cygwin.
19368
19369 2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>
19370
19371         * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
19372         formats for "info register".  Use gdb_test_multiple.  Fix
19373         the "invalid register" test.
19374
19375 2004-06-28  Corinna Vinschen  <vinschen@redhat.com>
19376
19377         * gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
19378         PID for Cygwin.  Add Cygwin specific strings to check for in some
19379         tests.
19380         (do_attach_tests): Add a test for user interaction when attaching
19381         to a process with no matching symbol table already loaded.
19382
19383 2004-06-26  Andrew Cagney  <cagney@gnu.org>
19384
19385         Test PR java/1567 and PR java/1565.
19386         * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
19387         * gdb.java/jmisc2.exp: Delete file.
19388
19389 2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>
19390
19391         * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
19392
19393 2004-06-25  Corinna Vinschen  <vinschen@redhat.com>
19394
19395         * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
19396         attach process.
19397
19398 2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>
19399
19400         * gdb.cp/pr-1553.exp: Remove.
19401
19402 2004-06-22  Michael Chastain  <mec.gnu@mindspring.com>
19403
19404         * gdb.cp/pr-1553.cc: Remove.
19405         * gdb.cp/pr-1553.exp: Disable this test.
19406
19407 2004-06-20  Jim Blandy  <jimb@redhat.com>
19408
19409         Fix PR testsuite/1680.
19410         * gdb.arch/i386-sse.exp: Properly quote curly braces in
19411         regular expressions.
19412
19413 2004-06-19  Michael Chastain  <mec.gnu@mindspring.com>
19414
19415         Fix PR testsuite/1679.
19416         * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
19417         Issue an UNSUPPORTED result instead.
19418
19419 2004-06-18  Jim Blandy  <jimb@redhat.com>
19420
19421         * gdb.base/charset.exp: Only send a control-C if we see a new
19422         prompt and incomplete command.
19423
19424 2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
19425
19426         * gdb.cp/pr-574.cc: Add copyright notice.
19427
19428 2004-06-17  Jim Blandy  <jimb@redhat.com>
19429
19430         * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
19431         cases where the regexp has no groups; this grabs random text from
19432         the previous test suite, whatever that was.
19433
19434 2004-06-17  Michael Chastain  <mec.gnu@mindspring.com>
19435
19436         * gdb.cp/printmethod.cc: Add copyright notice.
19437
19438 2004-06-16  Michael Chastain  <mec.gnu@mindspring.com>
19439
19440         * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
19441
19442 2004-06-16  Andrew Cagney  <cagney@gnu.org>
19443
19444         * gdb.base/signull.c: Update copyright.  Include <string.h>.
19445         (bowler): Replace data_pointer with data_read
19446         and data_write cases.  Add code_descriptor case.
19447         (zero, desc): New array and pointer.
19448         (data, code): Change to simple pointers.
19449         * gdb.base/signull.exp: Fix probe pattern matching a function
19450         descriptor SIGSEGV.  Replace data_pointer with data_read and
19451         data_write tests.
19452
19453 2004-06-16  Andrew Cagney  <cagney@gnu.org>
19454
19455         * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
19456
19457 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
19458
19459         * gdb.base/long_long.c: Add copyright notice.
19460
19461 2004-06-15  Michael Chastain  <mec.gnu@mindspring.com>
19462
19463         * gdb.base/long_long.exp: Remove reference to
19464         bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
19465         to gdb_breakpoint and gdb_continue_to_breakpoint.
19466
19467 2004-06-14  Jim Blandy  <jimb@redhat.com>
19468
19469         * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
19470         endian case.
19471
19472 2004-06-14  Andrew Cagney  <cagney@gnu.org>
19473
19474         * gdb.base/gcore.exp (capture_command_output): Delete the always
19475         passing tests containing inferior values.
19476         * gdb.base/ending-run.exp: Do not include the breakpoint address
19477         in the test message.  Update copyright.
19478         * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
19479         size in the test name, use gdb_test_multiple.  Update copyright.
19480
19481 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
19482
19483         * gdb.cp/ref-types.cc: Add copyright notice.
19484
19485 2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>
19486
19487         * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
19488         hp_aCC_compiler.
19489         * lib/compiler.cc: Likewise.
19490         * lib/gdb.exp (get_compiler_info): Eval lines only if they are
19491         'set' commands.  Log diagnostics for other lines.  Set
19492         gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
19493
19494 2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>
19495
19496         * gdb.cp/try_catch.cc: Add copyright notice.
19497
19498 2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>
19499
19500         * gdb.cp/userdef.cc: Add copyright notice.
19501
19502 2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>
19503
19504         * gdb.cp/virtfunc.cc: Add copyright notice.
19505
19506 2004-06-11  Randolph Chung  <tausq@debian.org>
19507
19508         * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
19509         problem.
19510
19511 2004-06-10  Andrew Cagney  <cagney@gnu.org>
19512
19513         * lib/compiler.cc, lib/compiler.c: Append either
19514         __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
19515         * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
19516         instead of gcc-3-3.
19517
19518 2004-06-09  Andrew Cagney  <cagney@gnu.org>
19519
19520         * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
19521         gdb/1455, bug is specific to "long long" and "double".
19522
19523         * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
19524         (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
19525         x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
19526         fixed.
19527
19528 2004-06-09  Andrew Cagney  <cagney@gnu.org>
19529
19530         * gdb.base/structs.exp (test_struct_returns): Replace
19531         "return_value_unknown" and "finish_value_unknown" by
19532         "return_value_known" and "finish_value_known".  Instead of
19533         "return_value_unknown" iff "finish_value_unknown", check
19534         "return_value_known" implies "finish_value_known".
19535
19536 2004-06-08  Martin Hunt  <hunt@redhat.com>
19537
19538         * gdb.base/float.exp: Add pattern for mips targets.
19539
19540 2004-06-08  Randolph Chung  <tausq@debian.org>
19541
19542         * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
19543         message for unknown architectures more clear.
19544
19545 2004-06-08  Joel Brobecker  <brobecker@gnat.com>
19546
19547         * gdb.ada/null_record.exp: Use "start" instead of "begin" to
19548         start the execution of the program.
19549
19550 2004-06-07  Jim Blandy  <jimb@redhat.com>
19551
19552         * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
19553         * gdb.arch/i386-cpuid.h: New helper file.
19554
19555 2004-06-07  Randolph Chung  <tausq@debian.org>
19556
19557         * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
19558         has started.
19559
19560 2004-06-04  Roland McGrath  <roland@redhat.com>
19561
19562         Fix PR gdb/1647.
19563         * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
19564         differently to be robust to output buffering differences.
19565
19566 2004-06-04  Michael Chastain  <mec.gnu@mindspring.com>
19567
19568         * gdb.threads/pthreads.exp: Update copyright years.
19569         (check_control_c): Change asynchronous 'after' to synchronous.
19570
19571 2004-06-04  Roland McGrath  <roland@redhat.com>
19572
19573         * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19574         next gdb prompt.
19575
19576 2004-06-02  Michael Chastain  <mec.gnu@mindspring.com>
19577
19578         Fix PR gdb/1636.
19579         * gdb.threads/manythreads.exp: Change asynchronous 'after'
19580         calls to synchronous.
19581
19582 2004-05-26  Jim Blandy  <jimb@redhat.com>
19583
19584         * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19585
19586 2004-05-24  Randolph Chung  <tausq@debian.org>
19587
19588         * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19589         * gdb.asm/pa.inc: New file.
19590
19591 2004-05-22  Mark Kettenis  <kettenis@gnu.org>
19592
19593         * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19594
19595 2004-05-21  Joel Brobecker  <brobecker@gnat.com>
19596             Daniel Jacobowitz  <drow@mvista.com>
19597
19598         * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19599         GDB prompt.
19600
19601 2004-05-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19602
19603         * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
19604         setjmp/longjmp.  Use sigaction instead of signal.
19605
19606 2004-05-19  J. Brobecker  <brobecker@gnat.com>
19607             Michael Snyder  <msnyder@redhat.com>
19608
19609         * gdb.threads/pthread_cond_wait.c: New file.
19610         * gdb.threads/pthread_cond_wait.exp: New testcase.
19611
19612 2004-05-13  Andrew Cagney  <cagney@redhat.com>
19613
19614         * gdb.base/signull.exp, gdb.base/signull.c: New files.
19615         * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19616
19617 2004-05-11  Andrew Cagney  <cagney@redhat.com>
19618
19619         * gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
19620         fixed but revealed gdb/1639.
19621
19622 2004-05-10  Andrew Cagney  <cagney@redhat.com>
19623
19624         * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19625         func1" and "next to 2nd alarm", kernel bug avoided.
19626
19627 2004-05-10  Daniel Jacobowitz  <dan@debian.org>
19628
19629         PR external/1568
19630         * gdb.base/bigcore.exp: Check the size of the dumped core file.
19631         XFAIL if it is smaller than bytes_allocated.
19632         * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19633         (main): Make chunks_allocated unsigned.  Correct comment.
19634
19635 2004-05-07  Joel Brobecker  <brobecker@gnat.com>
19636
19637         * gdb.arch/powerpc-aix-prologue.c: New file.
19638         * gdb.arch/powerpc-aix-prologue.exp: New file.
19639
19640 2004-05-07  Jim Blandy  <jimb@redhat.com>
19641
19642         * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19643         gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19644
19645 2004-05-06  Joel Brobecker  <brobecker@gnat.com>
19646
19647         * gdb.base/sep.exp: No longer setup_kfail when the program was
19648         built with dwarf2.
19649
19650 2004-05-05  Jim Ingham  <jingham@apple.com>
19651
19652         * gdb.base/pending.exp: Make sure pending breakpoints
19653         preserve the ignore count.
19654
19655 2004-04-27  Jerome Guitton  <guitton@gnat.com>
19656
19657         * i386-prologue.exp: Add testcase for jump instruction as first
19658         instruction of the real code.
19659         * i386-prologue.c (jump_at_beginning): New function.
19660
19661 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
19662
19663         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19664         x86_64-*-*.
19665
19666 2004-04-28  Mark Kettenis  <kettenis@gnu.org>
19667
19668         * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19669         i*86-*-*.
19670
19671 2004-04-25  Mark Kettenis  <kettenis@gnu.org>
19672
19673         * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19674         expression that checks the return type.
19675
19676 2004-04-23  Andrew Cagney  <cagney@redhat.com>
19677
19678         * gdb.base/call-sc.exp: New test of scalar call/return values.
19679         * gdb.base/call-sc.c: Ditto.
19680
19681 2004-04-23  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19682
19683         * gdb.threads/manythreads.c: Reduce thread stack size.
19684
19685 2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>
19686
19687         * gdb.threads/manythreads.c: Add copyright notice.
19688
19689 2004-04-23  Andrew Cagney  <cagney@redhat.com>
19690
19691         * gdb.base/siginfo.exp: Better handle step out of signal.
19692         * gdb.base/sigstep.exp: Ditto.
19693
19694 2004-04-22  Jeff Johnston  <jjohnstn@redhat.com>
19695             Daniel Jacobowitz  <drow@mvista.com>
19696
19697         * gdb.threads/manythreads.c: New testcase.
19698         * gdb.threads/manythreads.exp: Ditto.
19699
19700 2004-04-22  Jim Blandy  <jimb@redhat.com>
19701
19702         * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19703         gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19704
19705 2004-04-21  Michael Chastain  <mec.gnu@mindspring.com>
19706
19707         * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19708
19709 2004-04-21  Andrew Cagney  <cagney@redhat.com>
19710
19711         * gdb.base/sigstep.c: New file.
19712         * gdb.base/sigstep.exp: New file.
19713
19714 2004-04-16  Joel Brobecker  <brobecker@gnat.com>
19715
19716         * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19717         call to observer_notify_normal_stop.
19718
19719 2004-04-15  Andrew Cagney  <cagney@redhat.com>
19720
19721         * gdb.base/siginfo.c: New file.
19722         * gdb.base/siginfo.exp: New file.
19723
19724 2004-04-12  J. Brobecker  <brobecker@gnat.com>
19725
19726         * gdb.base/sep.exp: Fix typo in comment.
19727
19728 2004-04-12  J. Brobecker  <brobecker@gnat.com>
19729
19730         * gdb.base/sep.c: New file.
19731         * gdb.base/sep-proc.c: New file.
19732         * gdb.base/sep.exp: New testcase.
19733
19734 2004-04-09  Mark Kettenis  <kettenis@gnu.org>
19735
19736         * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19737         support.
19738
19739 2004-04-05  Andrew Cagney  <cagney@redhat.com>
19740
19741         * gdb.base/sigaltstack.c: New file.
19742         * gdb.base/sigaltstack.exp: New file.
19743
19744 2004-04-04  Joel Brobecker  <brobecker@gnat.com>
19745
19746         * gdb.base/foll-fork.exp: Update the expected output for
19747         "help set follow-fork-mode", to match a change that was made
19748         to the help of this variable on 2004-01-13.
19749
19750 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
19751
19752         * lib/ada.exp: Add copyright notice.
19753         * bar.ads: Likewise.
19754         * bar.adb: Likewise.
19755         * null_record.adb: Likewise.
19756         * null_record.exp: Likewise.
19757         * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19758
19759 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
19760
19761         * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19762         * configure: Regenerate.
19763
19764 2004-04-01  Joel Brobecker  <brobecker@gnat.com>
19765
19766         * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19767         to build the application. Remove the message printed when in
19768         verbose mode, redundant with the UNSUPPORTED message above.
19769
19770 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
19771
19772         * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19773         * gdb.ada (null_record.exp): New testcase.
19774
19775 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
19776
19777         * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19778
19779 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
19780
19781         * gdb.ada: New subdirectory.
19782         * gdb.ada/Makefile.in: New file.
19783         * gdb.ada/gnat_ada.gpr.in: New file.
19784
19785 2004-03-31  Joel Brobecker  <brobecker@gnat.com>
19786
19787         * lib/ada.exp: New file.
19788
19789 2004-03-24  Daniel Jacobowitz  <drow@mvista.com>
19790
19791         * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19792         * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19793
19794 2004-03-22  Andrew Cagney  <cagney@redhat.com>
19795
19796         * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19797         hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19798         Problem identified by Ulrich Weigand.
19799
19800 2004-03-17  David Carlton  <carlton@kealia.com>
19801
19802         * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19803         PR c++/826.
19804
19805 2004-03-16  Roland McGrath  <roland@redhat.com>
19806
19807         * gdb.base/auxv.exp: New file.
19808         * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19809
19810 2004-03-12  David Carlton  <carlton@kealia.com>
19811
19812         * gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
19813         * gdb.cp/pr-1553.cc: Ditto.
19814         * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19815         pass branch.
19816
19817 2004-03-12  Michael Chastain  <mec.gnu@mindspring.com>
19818
19819         * gdb.cp/templates.exp: Accept more template types.
19820
19821 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
19822
19823         From Corinna Vinschen with modifications.
19824         * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19825         local variable obj_with_enum.
19826         * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19827         results with obj_with_enum.
19828
19829 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
19830
19831         * gdb.cp/classes.cc: New file, copied from misc.cc.
19832         * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19833
19834 2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>
19835
19836         * gdb.cp/misc.cc: Add copyright notice.
19837
19838 2004-03-05  David Carlton  <carlton@kealia.com>
19839
19840         * gdb.cp/rtti.exp: Add 'print *obj3' test.
19841         * gdb.cp/rtti.h: Update copyright.
19842         (namespace n2::n3): New.
19843         * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19844         (n2::n3::func3): New.
19845         (main): Call n2::n3::func3.
19846         * gdb.cp/rtti2.cc: Update copyright.
19847         (n2::create3): New.
19848
19849 2004-03-04  Mark Kettenis  <kettenis@gnu.org>
19850
19851         * gdb.asm/openbsd.inc: Fix typo.
19852
19853 2004-03-03  Fred Fish  <fnf@redhat.com>
19854
19855         * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19856         "val" instead of unused "size".  Update copyright year.
19857
19858 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
19859
19860         * gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
19861         to use unsigned char.
19862         * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19863         gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19864
19865 2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
19866
19867         * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19868         line of output.
19869
19870 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
19871
19872         * gdb.base/relocate.c (dummy): Initialize.
19873
19874 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
19875
19876         * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
19877         a breakpoint at exit.
19878
19879 2004-02-27  Fred Fish  <fnf@redhat.com>
19880
19881         * gdb.base/chng-syms.exp: Add expect condition to match failing
19882         case that isn't a timeout.
19883
19884 2004-02-27  Andrew Cagney  <cagney@redhat.com>
19885
19886         * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19887         support.
19888
19889 2004-02-26  Fred Fish  <fnf@redhat.com>
19890
19891         * gdb.arch/gdb1431.c: Remove.
19892         * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19893         * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19894         of "until" incorrectly.
19895
19896 2004-02-26  J. Brobecker  <brobecker@gnat.com>
19897
19898         * gdb.cp/class2.cc (empty): New class.
19899         (refer): New function.
19900         (main): Declare an object of type empty and use it.
19901         * gdb.cp/class2.exp: Print the value of an object of type empty.
19902
19903 2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
19904
19905         * gdb.base/langs.exp: Update query string to match the
19906         new nquery format used for pending breakpoints.
19907
19908 2004-02-26  Andrew Cagney  <cagney@redhat.com>
19909
19910         Fix PR i18n/1570.
19911         * gdb.base/charset.c: Update copyright notice.
19912         (main, init_string): Remove the escape character '\e' tests.
19913         * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19914         * gdb.base/charset.exp (valid_host_charset): Ditto.
19915         * gdb.base/setvar.exp: Ditto.
19916
19917 2004-02-24  Andrew Cagney  <cagney@redhat.com>
19918
19919         * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19920         mmapped data in core file" PASS and FAIL messages consistent.
19921
19922         * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19923         setting a breakpoint.  Work around PR java/1565.
19924
19925 2004-02-23  Jeff Johnston  <jjohnstn@redhat.com>
19926
19927         * lib/gdb.exp (gdb_breakpoint): Update query string to match
19928         new nquery format.
19929         * gdb.base/pending.exp: Ditto.
19930
19931 2004-02-22  Mark Kettenis  <kettenis@gnu.org>
19932
19933         * configure.in: Run stabs tests on *BSD.
19934         * configure: Regenerated.
19935
19936 2004-02-21  Mark Kettenis  <kettenis@gnu.org>
19937
19938         * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19939
19940 2004-02-20  Fred Fish  <fnf@redhat.com>
19941
19942         * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19943         blank in test for "returns short", for consistency with other
19944         "returns xxx" tests.  Update copyright year.
19945
19946 2004-02-19  Fred Fish  <fnf@redhat.com>
19947
19948         New testcase for PR breakpoint/1558.
19949         * gdb.arch/gdb1558.exp: New file.
19950         * gdb.arch/gdb1558.c: New file.
19951
19952 2004-02-19  Elena Zannoni  <ezannoni@redhat.com>
19953
19954         * gdb.base/nodebug.exp: Fix typo.
19955
19956 2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19957
19958         Committed by Jim Blandy  <jimb@redhat.com>.
19959
19960         * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19961
19962         * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19963
19964         * gdb.base/float.exp: Support s390*-*-* targets.
19965
19966 2004-02-17  Adam Fedor  <fedor@gnu.org>
19967
19968         * gdb.base/gdb1555.exp: New file.
19969         * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19970
19971 2004-02-17  Elena Zannoni  <ezannoni@redhat.com>
19972
19973         * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19974
19975 2004-02-16  Fred Fish  <fnf@redhat.com>
19976
19977         * gdb.arch/gdb1291.c: Remove
19978         * gdb.arch/gdb1291.s: New test input file.
19979         * gdb.arch/gdb1291.exp: Expand test to check case that should not
19980         fail.  Test for correct result, known incorrect result, other
19981         failures and timeouts.
19982
19983 2004-02-16  Andrew Cagney  <cagney@redhat.com>
19984
19985         * gdb.base/bigcore.exp: New file.
19986         * gdb.base/bigcore.c: New file.
19987
19988 2004-02-13  Andrew Cagney  <cagney@redhat.com>
19989
19990         * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19991         * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19992         * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19993         * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19994         * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19995         * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19996         * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19997         * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19998         * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19999         * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20000
20001 2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>
20002
20003         * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20004         executed is an alloc instruction.
20005
20006 2004-02-11  David Carlton  <carlton@kealia.com>
20007
20008         * gdb.cp/breakpoint.exp: New.
20009         * gdb.cp/breakpoint.cc: New.
20010
20011 2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>
20012
20013         Partial fix for PR gdb/1543.
20014         * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20015         gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20016         gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20017         gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20018         gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20019         gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20020         gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20021         gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20022         gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20023         to bug-gdb@prep.ai.mit.edu .
20024         * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20025         gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20026         gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20027         Likewise.
20028
20029 2004-02-10  Andrew Cagney  <cagney@redhat.com>
20030
20031         * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20032         using gdb_internal_error_resync.
20033
20034 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
20035
20036         * gdb.threads/thread-specific.exp: Stop early if no threads are
20037         found.
20038
20039 2004-02-09  Michael Chastain  <mec.gnu@mindspring.com>
20040
20041         * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20042
20043 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
20044
20045         * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20046         breakpoints.
20047
20048 2004-02-07  Daniel Jacobowitz  <drow@mvista.com>
20049
20050         * config/sim.exp (gdb_load): Handle $arg == "".
20051         * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20052         * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20053
20054 2004-02-07  Elena Zannoni  <ezannoni@redhat.com>
20055
20056         * gdb.base/maint.exp: Update test to reflect
20057          obstack changes.
20058
20059 2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
20060
20061         * gdb.base/pendshr.c (pendfunc): New function that calls
20062         pendfunc1.
20063         * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20064
20065 2004-02-04  Fred Fish  <fnf@redhat.com>
20066
20067         * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20068         function symbols and update copyright years.
20069         * gdb.arch/gdb1291.c: Ditto.
20070
20071 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20072
20073         * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20074
20075 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20076
20077         * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20078
20079 2004-02-03  Michael Chastain  <mec.gnu@mindspring.com>
20080
20081         * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20082
20083 2004-02-02  Fred Fish  <fnf@redhat.com>
20084
20085         * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20086         remote targets.  Update copyright years.
20087
20088 2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>
20089
20090         * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20091         support.
20092         * gdb.base/langs.exp: Fix test which attempts to create
20093         breakpoint on non-existent function to handle new pending
20094         support.
20095         * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20096         a breakpoint.
20097         * gdb.base/pending.exp: New test.
20098         * gdb.base/pending.c: New file.
20099         * gdb.base/pendshr.c: Ditto.
20100
20101 2004-02-02  David Carlton  <carlton@kealia.com>
20102
20103         * gdb.cp/overload.exp: Add overloadNamespace tests.
20104         * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20105         (overloadNamespace, XXX): New.
20106         (main): Call XXX::marker2.
20107
20108 2004-02-01  Fred Fish  <fnf@redhat.com>
20109
20110         * gdb.base/dump.exp: Use runto_main instead of "runto main".
20111         * gdb.base/finish.exp: Ditto.
20112         * gdb.base/gcore.exp: Ditto.
20113         * gdb.base/huge.exp: Ditto.
20114         * gdb.base/info-proc.exp: Ditto.
20115         * gdb.base/return2.exp: Ditto.
20116         * gdb.threads/gcore-thread.exp: Ditto.
20117
20118 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20119
20120         * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20121
20122 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
20123
20124         * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20125         that opening the file succeeds on OpenBSD.
20126
20127 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20128
20129         * gdb.threads/thread-specific.c: New file.
20130         * gdb.threads/threads-specific.exp: New test script.
20131         * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20132         to expect_out.
20133
20134 2004-02-01  Mark Kettenis  <kettenis@gnu.org>
20135
20136         * gdb.base/call-ar-st.exp: Call get_debug_format.  Remove xfail on
20137         sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20138         only on the "print_small_structs from print_long_arg_list" test.
20139
20140 2004-02-01  Daniel Jacobowitz  <drow@mvista.com>
20141
20142         * gdb.base/completion.exp: Kill a stray backslash.
20143
20144         From Jim Ingham <jingham@apple.com>:
20145         * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20146         agrees with the result from sending a tab.
20147
20148 2004-01-31  Daniel Jacobowitz  <drow@mvista.com>
20149
20150         * gdb.base/chng-syms.exp: Remove stray newline.
20151
20152 2004-01-31  Mark Kettenis  <kettenis@gnu.org>
20153
20154         * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20155         *-*-openbsd*.
20156         * gdb.asm/openbsd.inc: New file.
20157
20158 2004-01-30  Mark Kettenis  <kettenis@gnu.org>
20159
20160         * gdb.asm/asm-source.exp: Strip -Wl, from link-flags.  Don't
20161         append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20162         *-*solaris2*.  Remove commented out default settings for
20163         asm-flags.  Replace gdb_compile with target_link.
20164
20165 2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>
20166
20167         * gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
20168         for all tests.  Remove old hp-ux and cygnus xfail cases.
20169
20170 2004-01-29  Paul N. Hilfinger  <Hilfinger@gnat.com>
20171
20172         * gdb.base/chng-syms.exp: New file.
20173         * gdb.base/chng-syms.c: New file.
20174
20175 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
20176
20177         * gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
20178         Provide arms for current output in all my configurations.
20179
20180 2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>
20181
20182         * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20183         * lib/compiler.cc: Likewise.
20184         * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20185         get the right preprocessor.  Eval the output directly.  Remove
20186         special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
20187         hp_f77_compiler and hp_f90_compiler completely.
20188         (gdb_preprocess): Delete.
20189         (get_compiler): Delete.
20190
20191 2004-01-24  Mark Kettenis  <kettenis@gnu.org>
20192
20193         * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20194         <string.h>.
20195
20196 2004-01-24  Nick Roberts  <nick@nick.uklinux.net>
20197
20198         * gdb.mi/mi-stack.exp: Update copyright.
20199
20200 2004-01-23  David Carlton  <carlton@kealia.com>
20201
20202         * gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
20203         test for cp_lookup_transparent_type.
20204         * gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
20205         call them.
20206
20207 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
20208
20209         * gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
20210         after -var-update.
20211
20212 2004-01-23  David Carlton  <carlton@kealia.com>
20213
20214         * gdb.cp/namespace.cc (C::ensureRefs): New.
20215         * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20216
20217 2004-01-20  Nick Roberts  <nick@nick.uklinux.net>
20218
20219         * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20220         case "-stack-list-locals 2".
20221         * gdb.mi/mi-var-child.exp: Test for case
20222         "-var-list-children --all-values NAME".
20223
20224 2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>
20225
20226         * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20227
20228 2004-01-18  Mark Kettenis  <kettenis@gnu.org>
20229
20230         * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20231         used with gdb_test_multiple.
20232
20233         * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20234         read at address 0.  This fixes PR testsuite/1504.
20235
20236 2004-01-18  Daniel Jacobowitz  <drow@mvista.com>
20237
20238         * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20239         Remove downloading, guessing the host executable, the calls to
20240         gdb_file_cmd and gdb_target_cmd, and "load" support.
20241         (infer_host_exec): New function broken out from gdb_load.
20242         (gdb_load): New wrapper for gdbserver_gdb_load.
20243         * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20244         gdb_target_cmd.  Use -target-select.
20245         (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20246         Download binaries to the host.  Clear last_mi_remote_file when
20247         we load a new binary.
20248         (mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
20249         call gdbserver_gdb_load and mi_gdb_target_cmd.
20250
20251 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
20252
20253         * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20254         type patterns.
20255
20256 2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>
20257
20258         * gdb.cp/templates.exp: Fix typo in test name of
20259         "print Foo<volatile char*>::foo".
20260
20261 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
20262
20263         * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
20264
20265 2004-01-16  Ben Elliston  <bje@wasabisystems.com>
20266
20267         * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
20268         (clean mostlyclean): Remove empty rm.
20269
20270 2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
20271
20272         * gdb.base/setvar.exp: Add copyright years.
20273
20274 2004-01-14  David Carlton  <carlton@bactrian.org>
20275
20276         * gdb.cp/rtti.exp: Update copyright.  KFAIL test with repect to
20277         PR c++/1511 and update coment.
20278         * gdb.cp/templates.exp: Update patterns to match current output.
20279         If changes involve something other than whitespace, KFAIL
20280         w.r.t. PR c++/1512 or PR c++/931 as appropriate.
20281
20282 2004-01-14  David Carlton  <carlton@kealia.com>
20283
20284         * gdb.cp/namespace.exp: Add tests involving classes defined within
20285         namespaces.
20286         * gdb.cp/namespace.cc (C::CClass): New.
20287         * gdb.cp/namespace1.cc (C::OtherFileClass): New.
20288
20289 2004-01-14  Elena Zannoni  <ezannoni@redhat.com>
20290
20291         * gdb.base/sepdebug.exp: Bail out of the test if we don't know
20292         what debug info we have. Print a better message if something goes
20293         wrong while producing the separate debug info file.
20294
20295 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
20296
20297         * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
20298
20299 2004-01-14  Michael Chastain  <mec.gnu@mindspring.com>
20300
20301         * gdb.base/callfuncs.c: Add copyright notice.
20302
20303 2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
20304
20305         * gdb.cp/derivation.exp: Add XFAIL for bug with protected
20306         inheritance.  PR gdb/1498, PR gcc/13539.
20307
20308 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
20309
20310          * gdb.threads/gcore-thread.exp: Prefix name of binary with
20311          test specific name.
20312          * gdb.mi/gdb669.exp: Ditto.
20313          * gdb.mi/mi-pthreads.exp: Ditto.
20314          * gdb.mi/mi1-pthreads.exp: Ditto.
20315          * gdb.mi/mi2-pthreads.exp: Ditto.
20316
20317 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
20318
20319         * gdb.cp/member-ptr.cc: Add copyright notice.
20320
20321 2004-01-12  Michael Chastain  <mec.gnu@mindspring.com>
20322
20323         * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple.  Add
20324         some patterns for recent versions of gcc and hpacc.  Delete
20325         calls to setup_xfail for hppa*-*-*.  Delete redundant tests.
20326         Delete tests that access a NULL pointer-to-member-data.  This
20327         script is still disabled for gcc.
20328
20329 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
20330
20331         * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
20332         escaped correctly.
20333
20334 2004-01-12  Elena Zannoni  <ezannoni@redhat.com>
20335
20336         * gdb.base/sepdebug.exp: New file.
20337         * gdb.base/sepdebug.c: New file.
20338         * lib/gdb.exp (separate_debug_filename): New procedure.
20339         (gdb_gnu_strip_debug): New procedure.
20340
20341 2004-01-12  Andrew Cagney  <cagney@redhat.com>
20342
20343         * gdb.mi/ChangeLog: Delete file.  Renamed to ...
20344         * gdb.mi/ChangeLog-1999-2003: New file.
20345
20346 2004-01-12  Andrew Cagney  <cagney@redhat.com>
20347
20348         * gdb.base/fileio.exp: Update copyright year.  On GNU/Linux, for
20349         "Renaming a directory to a non-empty directory returns ENOTEMPTY
20350         or EEXIST", treat EBUSY as an XFAIL.
20351
20352 2004-01-11  Michael Chastain  <mec.gnu@mindspring.com>
20353
20354         * gdb.base/scope.exp: Remove obsolete setup_xfail for
20355         hp_cc_compiler.
20356
20357 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
20358
20359         * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
20360         decorations.
20361
20362 2004-01-10  Michael Chastain  <mec.gnu@mindspring.com>
20363
20364         * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
20365         and "(aCC)" decorations.  Remove obsolete doco about old
20366         test results.
20367
20368 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
20369
20370         * gdb.cp/exception.exp: Fix typo in doco.
20371
20372 2004-01-09  Mark Kettenis  <kettenis@gnu.org>
20373
20374         * gdb.base/gdb1476.exp: Fix typo.
20375
20376 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
20377
20378         * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
20379         file.
20380
20381 2004-01-09  Michael Chastain  <mec.gnu@mindspring.com>
20382
20383         * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
20384         * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
20385         Use gdb_compile.  Remove restriction on gcc.  Add some patterns
20386         for recent version of gdb.  Delete second half, which was a copy
20387         of the first half with different build flags.  This test is
20388         still disabled because it is still not ready for production.
20389
20390 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
20391
20392         * gdb.cp/exception.cc: Add copyright notice.
20393         * gdb.cp/exception.exp: Add a notice that this file is broken
20394         because of line number changes caused by addition of copyright
20395         notice.
20396
20397 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
20398
20399         * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
20400         * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
20401
20402 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
20403
20404         * gdb.cp/classes.exp: Accept gnu abi 2.
20405         * gdb.cp/derivation.exp: Likewise.
20406         * gdb.cp/overload.exp: Likewise.
20407         * gdb.cp/virtfunc.exp: Likewise.
20408
20409 2004-01-08  Michael Chastain  <mec.gnu@mindspring.com>
20410
20411         * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
20412         semicolon after end of function.
20413
20414 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20415
20416         * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
20417         * gdb.cp/bs15503.exp: Remove hp-only restriction.  Use modern
20418         boilerplate code for compiling and running the program under
20419         test.  Add some string method tests.
20420
20421 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20422
20423         * gdb.cp/bs15503.cc: Add copyright notice.
20424         * gdb.cp/bs15503.exp: Adjust line number.
20425
20426 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20427
20428         * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
20429         * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
20430
20431 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20432
20433         * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
20434         hp_cc_compiler.
20435
20436 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20437
20438         * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
20439         * gdb.cp/ctti.exp: Use the marker instead of "next".
20440         With gcc, run further before bailing.
20441
20442 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20443
20444         * gdb.cp/cttiadd.cc: Add copyright notice.
20445         * gdb.cp/cttiadd1.cc: Likewise.
20446         * gdb.cp/cttiadd2.cc: Likewise.
20447         * gdb.cp/cttiadd3.cc: Likewise.
20448
20449 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20450
20451         * gdb.cp/ctti.exp: Partial rewrite.  Call gdb_compile properly.
20452         Use gdb_test, gdb_test_multiple.  Use floating-point values that
20453         have exact representations in IEEE-ish formats.
20454
20455 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20456
20457         * gdb.base/constvars.exp: Do not force lang=c++ if using HP
20458         compilers.  Delete duplicate call to get_compiler_info.
20459         (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
20460         * gdb.base/volatile.exp: Likewise.
20461
20462 2004-01-07  Mark Kettenis  <kettenis@gnu.org>
20463
20464         * gdb.base/gdb1476.exp: Only run the tests if we can't read the
20465         memory at address 0.
20466
20467 2004-01-07  Michael Chastain  <mec.gnu@mindspring.com>
20468
20469         * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
20470         to test for hp-ux assembler.  Fix copyright years.
20471
20472 2004-01-07  Andrew Cagney  <cagney@redhat.com>
20473
20474         * gdb.base/fileio.c (strerrno): Add "EBUSY".
20475
20476 2004-01-07  Andrew Cagney  <cagney@redhat.com>
20477
20478         * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
20479         when creating the read-only file.  From analysis by Roland McGrath
20480         and Elena Zannoni.
20481
20482 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
20483
20484         * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
20485
20486 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
20487
20488         * gdb.base/cvexpr.c: Be type-safe with function pointers and
20489         data pointers.
20490
20491 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
20492
20493         * gdb.cp/m-static.exp: Compile one source file at a time.
20494         Delete unused call to get_compiler_info.
20495
20496 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
20497
20498         * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
20499         * gdb.base/call-rt-st.exp: Likewise.
20500         * gdb.base/nodebug.exp: Likewise.
20501         * gdb.base/volatile.exp: Likewise.
20502         * gdb.cp/ref-types.exp: Likewise.
20503         * gdb.cp/templates.exp: Likewise.
20504
20505 2004-01-05  Mark Kettenis  <kettenis@gnu.org>
20506
20507         * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
20508
20509 2004-01-05  Michael Chastain  <mec.gnu@mindspring.com>
20510
20511         * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
20512         hppa*-hp-hpux*.
20513
20514 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
20515
20516         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20517         x86_64-*-*.
20518
20519         * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20520         sparc64-*-* and sparc*-solaris2*.
20521
20522 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
20523
20524         * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
20525         return ${tests}" test.  The ${tests} already mentions the
20526         filename.
20527
20528 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
20529
20530         * gdb.cp/local.exp: Accept gcc abi 2.
20531
20532 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
20533
20534         * gdb.cp/templates.exp: Accept gcc abi 2.
20535
20536 2004-01-02  Michael Chastain  <mec.gnu@mindspring.com>
20537
20538         * lib/compiler.cc: Remove supports_template_debugging.
20539         * gdb.cp/templates.exp: Do not test supports_template_debugging.
20540
20541 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
20542
20543         * gdb.cp/namespace.exp: Accept gcc abi 2.
20544
20545 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
20546
20547         * gdb.cp/method.exp: Accept gcc abi 2.
20548
20549 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
20550
20551         * gdb.cp/classes.exp: Generate identical results as old version.
20552         * gdb.cp/derivation.exp: Likewise.
20553         * gdb.cp/overload.exp: Likewise.
20554         * gdb.cp/virtfunc.exp: Likewise.
20555
20556 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
20557
20558         * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
20559         mysterious bug with sourceware version of expect.
20560
20561 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
20562
20563         * gdb.cp/overload.exp: Rewrite.  Clean up patterns to match
20564         current versions of gcc, including gcc abi 2.  Remove gratuitous
20565         restart of test program.  Use gdb_test_multiple and gdb_test for
20566         all tests.  Add patterns to xfail missing "const" in "const char *"
20567         and kfail PR gdb/1155.
20568
20569 2004-01-01  Michael Chastain  <mec.gnu@mindspring.com>
20570
20571         * gdb.cp/derivation.exp: Rewrite.  Clean up patterns to match
20572         current versions of gcc, including gcc abi 2.  Remove gratuitous
20573         restart of test program.  Use gdb_test_multiple and gdb_test for
20574         all tests.  Add patterns to kfail PR gdb/1498.
20575
20576 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
20577
20578         * gdb.cp/virtfunc.exp: Rewrite.  Clean up patterns to match
20579         current versions of gcc, including gcc abi 2.  Use "breakpoint"
20580         and "continue" instead of restarting the target program.  Use
20581         gdb_test_multiple and gdb_test for all tests.
20582
20583 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
20584
20585         * gdb.asm/asm-source.exp: Update copyright year.  Link statically
20586         for *-*-solaris2*.
20587
20588 2003-12-31  Michael Chastain  <mec.gnu@mindspring.com>
20589
20590         * gdb.cp/classes.exp: Rewrite.  Clean up patterns to match
20591         current versions of gcc, including gcc abi 2.  Use "breakpoint"
20592         and "continue" instead of restarting the target program several
20593         times.  Use gdb_test_multiple and gdb_test for all tests.
20594
20595 2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
20596
20597         * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20598         source files.
20599
20600 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
20601
20602         * gdb.base/environ.exp: Handle compiling test case from multiple
20603         source files.
20604
20605 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
20606
20607         * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20608
20609 2003-12-17  Jim Blandy  <jimb@redhat.com>
20610
20611         * gdb.base/freebpcmd.c: Add copyright notice.
20612
20613         * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20614
20615 2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
20616
20617         * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20618
20619 2003-12-13  Jim Blandy  <jimb@redhat.com>
20620
20621         * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20622
20623 2003-12-12  Kevin Buettner  <kevinb@redhat.com>
20624
20625         * gdb.asm/frv.inc: New file.
20626         * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20627
20628 2003-12-09  Fred Fish  <fnf@redhat.com>
20629
20630         * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20631         functions to break1.c and leave prototypes behind.  Add more
20632         "set breakpoint NN here" comments.
20633         * gdb.base/break1.c: New file.
20634
20635         * gdb.base/break.exp: Handle compiling test case from multiple
20636         source files and change source file references as needed.
20637         * gdb.base/completion.exp: Ditto.
20638         * gdb.base/condbreak.exp: Ditto.
20639         * gdb.base/define.exp: Ditto.
20640         * gdb.base/ena-dis-br.exp: Ditto.
20641         * gdb.base/info-proc.exp: Ditto.
20642         * gdb.base/maint.exp: Ditto.
20643         * gdb.base/until.exp: Ditto.
20644
20645         * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20646         hardcoded line numbers.
20647         * gdb.base/define.exp: Ditto.
20648         * gdb.base/ena-dis-br.exp: Ditto.
20649         * gdb.base/maint.exp: Ditto.
20650         * gdb.base/until.exp: Ditto.
20651
20652         * gdb.base/completion.exp: Use "break1" for completion tests since
20653         "break" is no longer a unique prefix.
20654
20655 2003-12-06  Andrew Cagney  <cagney@redhat.com>
20656
20657         * gdb.base/structs.exp (test_struct_returns): When applicable, set
20658         "return_value_unimplemented".  When an unimplemented struct return
20659         architecture, report incorrect values as a KFAIL
20660
20661 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
20662
20663         * gdb.cp/rtti.exp: Accept new wording of warning from
20664         cp_lookup_rtti_type.
20665
20666 2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>
20667
20668         Partial fix for PR testsuite/1456.
20669         * gdb.base/scope.exp (test_at_main): Replace references to
20670         gcc_compiled with calls to test_compiler_info.
20671         (test_at_foo): Likewise.
20672         (test_at_bar): Likewise.
20673
20674 2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>
20675
20676         Partial fix for PR testsuite/1456.
20677         * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20678         to test_compiler_info.
20679
20680 2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>
20681
20682         * gdb.base/so-impl-ld.exp: Update copyright notice.
20683
20684 2003-12-02  Michael Chastain  <mec.gnu@mindspring.com>
20685
20686         Partial fix for PR testsuite/1456.
20687         * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20688         to test_compiler_info.
20689
20690 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
20691
20692         * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20693         from current versions of gdb.  Clean up regular expressions.
20694         Delete redundant timeout case.
20695
20696 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
20697
20698         * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20699         from current versions of gdb.  Clean up regular expressions.
20700         Delete redundant timeout case.
20701
20702 2003-12-01  Michael Chastain  <mec.gnu@mindspring.com>
20703
20704         Partial fix for PR testsuite/1456.
20705         * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20706         gcc_compiled with call to test_compiler_info.
20707
20708 2003-11-30  Michael Chastain  <mec.gnu@mindspring.com>
20709
20710         Partial fix for PR testsuite/1456.
20711         * gdb.base/list.exp (test_list_function): Delete unused declaration
20712         of gcc_compiled.
20713
20714 2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
20715
20716         Partial fix for PR testsuite/1456.
20717         * gdb.base/complex.exp: Replace reference to gcc_compiled with
20718         call to test_compiler_info.
20719
20720 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
20721
20722         * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
20723         asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*.  Use
20724         it to create the appropriate note.inc.
20725         * gdb.asm/asmsrc1.s: Include "note.inc".
20726         * gdb.asm/netbsd.inc: New file.
20727         * gdb.asm/empty.inc: New file.
20728
20729 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
20730
20731         Partial fix for PR testsuite/1456.
20732         * gdb.base/constvars.exp: Replace references to gcc_compiled with
20733         calls to test_compiler_info.
20734
20735 2003-11-27  Michael Chastain  <mec.gnu@mindspring.com>
20736
20737         Partial fix for PR testsuite/1456.
20738         * gdb.base/volatile.exp: Replace references to gcc_compiled with
20739         calls to test_compiler_info.
20740
20741 2003-11-27  Mark Kettenis  <kettenis@gnu.org>
20742
20743         * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20744         pattern for the KFAILs.
20745
20746 2003-11-25  Adam Fedor  <fedor@gnu.org>
20747
20748         * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20749         * gdb.objc/objcdecode.m: New file.
20750
20751 2003-11-25  Adam Fedor  <fedor@gnu.org>
20752
20753         * gdb.objc/nondebug.exp: Test for PR objc/1236.
20754         * gdb.objc/nondebug.m: New file.
20755
20756 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
20757
20758         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20759         NetBSD as it does on FreeBSD.  Modelled on a similar change by
20760         Mark Kettenis on 2003-05-30.
20761         (link-flags): Set to "--entry _start" regardless of target.
20762         Special linker flags are to be appended to $link-flags.
20763         * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20764
20765 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
20766
20767         * gdb.cp/method.exp: Accept output of new demangler.
20768
20769 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
20770
20771         * gdb/class2.exp: New file.
20772         * gdb/class2.cc: New file.
20773
20774 2003-11-25  Michael Chastain  <mec.gnu@mindspring.com>
20775
20776         * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20777         of new demangler.
20778
20779 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
20780
20781         * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20782         of gdb_test "run".
20783
20784 2003-11-23  Mark Kettenis  <kettenis@gnu.org>
20785
20786         * gdb.arch/i386-unwind.exp: Don't use runto_main.  Change
20787         "continue" into "run".
20788
20789 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
20790
20791         Partial fix for PR testsuite/1456.
20792         * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20793         call to test_compiler_info.
20794         * gdb.cp/ctti.exp: Likewise.
20795         * gdb.cp/derivation.exp: Likewise.
20796         * gdb.cp/member-ptr.exp: Likewise.
20797         * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20798         reference to gcc_compiled.
20799
20800 2003-11-23  Michael Chastain  <mec.gnu@mindspring.com>
20801
20802         Fix PR testsuite/1463.
20803         * gdb.base/structs.exp (start_structs_test): Call
20804         get_debug_format before using the debug format.
20805
20806 2003-11-22  Andrew Cagney  <cagney@redhat.com>
20807
20808         * lib/gdb.exp (gdb_test_multiple): Add simple example.
20809         * gdb.base/structs.exp: Use gdb_test_multiple.
20810
20811 2003-11-20  Andrew Cagney  <cagney@redhat.com>
20812
20813         * gdb.base/structs.exp: Handle and recover from internal errors.
20814         Replace "foo${n}" with "foo<n>" in test messages.
20815
20816         * gdb.base/structs.exp: Update copyright.  Rewrite.
20817         * gdb.base/structs.c: Update copyright.  Rewrite.
20818
20819         * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20820         resync count exceeded.
20821
20822         * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20823         from the internal error.
20824         * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20825         Original from Jim Blandy.
20826         (gdb_test_multiple): Use gdb_internal_error_resync.
20827
20828 2003-11-19  Andrew Cagney  <cagney@redhat.com>
20829
20830         * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20831         KFAIL.
20832
20833 2003-11-17  Mark Kettenis  <kettenis@gnu.org>
20834
20835         New testcase for PR backtrace/1435.
20836         * gdb.arch/i386-unwind.exp: New file.
20837         * gdb.arch/i386-unwind.c: New file.
20838
20839 2003-11-17  Andrew Cagney  <cagney@redhat.com>
20840
20841         * lib/gdb.exp (compiler_info): New global.
20842         (test_compiler_info): New function.
20843         (get_compiler_info): Set compiler_info.
20844         * lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
20845         "compiler_info" to gcc-<major>-<minor>.
20846
20847 2003-11-15  Michael Chastain  <mec.gnu@mindspring.com>
20848
20849         * gdb.trace/configure: Remove.
20850
20851 2003-11-13  Elena Zannoni  <ezannoni@redhat.com>
20852
20853         * gdb.base/break.c: Add comments to aid finding line numbers for
20854         breakpoints.
20855         * gdb.base/break.exp: Remove all references to explicit line
20856         numbers.
20857
20858 2003-11-11  Nick Clifton  <nickc@redhat.com>
20859
20860         * gdb.base/shreloc.exp: Do not run for targets which do not
20861         support shared objects.
20862
20863 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
20864
20865         * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20866         Don't run tests if nofileio flag is given.
20867
20868 2003-11-07  Elena Zannoni  <ezannoni@redhat.com>
20869
20870         * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
20871         as well as 'Watchpoint'.
20872
20873 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
20874
20875         Reported by Jim Ingham <jingham@apple.com>:
20876         * gdb.base/annota1.exp: Match at least one occurrence of the
20877         signal handler annotation.
20878
20879 2003-11-06  Elena Zannoni  <ezannoni@redhat.com>
20880
20881         * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20882         as well as 'Watchpoint'.
20883
20884 2003-11-05  Michael Chastain  <mec@shout.net>
20885
20886         * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20887
20888 2003-11-03  Kris Warkentin  <kewarken@qnx.com>
20889
20890         * gdb.arch/gdb1291.c: New test file.
20891         * gdb.arch/gdb1291.exp: New test script.
20892         * gdb.arch/gdb1431.c: New test file.
20893         * gdb.arch/gdb1431.exp: New test script.
20894
20895 2003-10-22  Michael Chastain  <mec@shout.net>
20896
20897         * gdb.mi/pthreads.c: Add copyright notice.
20898
20899 2003-10-22  Michael Chastain  <mec@shout.net>
20900
20901         * gdb.threads/pthreads.c: Add copyright notice.
20902
20903 2003-10-20  Michael Chastain  <mec@shout.net>
20904
20905         * gdb.base/gdb1056.exp: New test script.
20906
20907 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
20908
20909         * gdb.threads/killed.exp: Use gdb_run_cmd.
20910
20911 2003-10-13  Daniel Jacobowitz  <drow@mvista.com>
20912
20913         * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20914         create a core file.
20915         * gdb.threads/gcore-thread.exp: Likewise.
20916
20917 2003-10-13  Corinna Vinschen  <vinschen@redhat.com>
20918
20919         * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20920         type, based on char type.
20921         (struct bit_flags_short_t): New bitfield type, based on short type.
20922         (init_bit_flags_char): New fuction.
20923         (init_bit_flags_short): Ditto.
20924         (print_bit_flags_char): Ditto.
20925         (print_bit_flags_short): Ditto.
20926         (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20927
20928 2003-10-11  Michael Chastain  <mec@shout.net>
20929
20930         * gdb.base/call-rt-st.exp: Update copyright year.
20931
20932 2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
20933
20934         * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20935         * gdb.disasm/sh3.s: Ditto.
20936
20937 2003-10-07  Daniel Jacobowitz  <drow@mvista.com>
20938
20939         * gdb.threads/switch-threads.exp: New test.
20940         * gdb.threads/switch-threads.c: New source file.
20941
20942 2003-10-07  Corinna Vinschen  <vinschen@redhat.com>
20943
20944         * gdb.base/ending-run.exp: Add sh specific case.
20945
20946 2003-10-06  Andrew Cagney  <cagney@redhat.com>
20947
20948         * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20949         * gdb.disasm/mn10200.exp: Delete obsolete file.
20950
20951 2003-09-29  Daniel Jacobowitz  <drow@mvista.com>
20952
20953         * ChangeLog: Correct an entry command.exp -> commands.exp.
20954         * gdb.base/commands.exp (bp_deleted_in_command_test)
20955         (temporary_breakpoint_commands): Check noargs.
20956
20957 2003-09-25  David Carlton  <carlton@kealia.com>
20958
20959         * gdb.cp/namespace.exp: Tweak comments.  Add non-quoted versions
20960         of some print tests, where appropriate.  Add tests for C::D::cd,
20961         E::ce, F::cXfX, G::XgX.
20962         * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20963
20964 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
20965
20966         * lib/java.exp (java_init): Import target_alias before using it.
20967
20968 2003-09-25  David Carlton  <carlton@kealia.com>
20969
20970         * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20971
20972 2003-09-23  Elena Zannoni  <ezannoni@redhat.com>
20973
20974         * gdb.base/selftest.exp: Accomodate more instruction reordering
20975         weirdness.
20976
20977 2003-09-17  Michael Chastain  <mec@shout.net>
20978
20979         * gdb.cp/gdb1355.exp: New file.
20980         * gdb.cp/gdb1355.c: New file.
20981
20982 2003-09-15  Corinna Vinschen  <vinschen@redhat.com>
20983
20984         * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20985         * gdb.asm/sh.inc: New file.
20986
20987 2003-09-11  David Carlton  <carlton@kealia.com>
20988
20989         * gdb.cp/namespace.exp: Add tests for namespace types.
20990         * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
20991         (test_namespace): New.
20992
20993 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
20994
20995         * gdb.base/relocate.exp: Handle new gdb output at startup.
20996         * gdb.stabs/weird.exp: Ditto.
20997
20998 2003-09-08  Michael Chastain  <mec@shout.net>
20999
21000         * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21001
21002 2003-09-07  Michael Chastain  <mec@shout.net>
21003
21004         * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21005         'parse error'.
21006
21007 2003-09-07  Mark Kettenis  <m.kettenis@osp.nl>
21008
21009         * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21010
21011 2003-08-30  Michael Chastain  <mec@shout.net>
21012
21013         * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21014         * gdb.gdb/observer.exp: Ditto.
21015         * gdb.gdb/xfullpath.exp: Ditto.
21016
21017 2003-08-29  Mark Kettenis  <kettenis@gnu.org>
21018
21019         * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21020         *-*-*bsd*.
21021
21022 2003-08-28  Jeff Johnston  <jjohnstn@redhat.com>
21023
21024         * gdb.base/dump.exp: Skip for ia64.
21025
21026 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
21027
21028         * gdb.asm/asm-source.exp: Add ia64 support.
21029         * gdb.asm/ia64.inc: New file.
21030
21031 2003-08-22  Michael Chastain  <mec@shout.net>
21032
21033         * gdb.cp: New directory.
21034         * gdb.cp/*: Copy from gdb.c++/*.
21035         * gdb.c++/*: Remove.
21036         * Makefile.in: Change gdb.c++ to gdb.cp.
21037         * configure.in:  Ditto.
21038         * configure: Regnerate.
21039
21040 2003-08-18  Mark Kettenis  <kettenis@gnu.org>
21041
21042         * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21043         * gdb.arch/i386-prologue.c (gdb1338): Add function.
21044
21045 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
21046
21047         * mi-var-display.exp (-var-list-children weird): Accept function
21048         pointers with argument types.
21049         * mi1-var-display.exp (-var-list-children weird): Likewise.
21050         * mi2-var-display.exp (-var-list-children weird): Likewise.
21051
21052 2003-08-17  Daniel Jacobowitz  <drow@mvista.com>
21053
21054         * gdb.base/annota3.exp: Add missing newline.
21055
21056 2003-08-06  Michael Chastain  <mec@shout.net>
21057
21058         * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21059
21060 2003-08-12  Michael Snyder  <msnyder@redhat.com>
21061
21062         * gdb.base/float.exp: Add test for SH.
21063
21064 2003-08-10  Mark Kettenis  <kettenis@gnu.org>
21065
21066         * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21067
21068 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21069
21070        * gdb.base/completion.exp: Remove reduntant completion test
21071        on filename.
21072
21073 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21074
21075         * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21076         gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21077         gdb.trace/save-trace.exp: Make sure that full pathnames are
21078         escaped correctly.
21079
21080 2003-08-07  Elena Zannoni  <ezannoni@redhat.com>
21081
21082         * configure.in: Don't generate config.h from config.hin.
21083         * configure: Regenerate.
21084         * config.hin: Remove file.
21085         * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21086         * gdb.threads/pthreads.c: Ditto.
21087
21088 2003-08-07  Daniel Jacobowitz  <drow@mvista.com>
21089
21090         From Kei Sakamoto <sakamoto.kei@renesas.com>:
21091         * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21092         * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21093         Replace ld24 with seth/add3.
21094
21095 2003-08-02  Andrew Cagney  <cagney@redhat.com>
21096
21097         * gdb.base/annota3.exp: New file.
21098         * gdb.base/annota3.c: New file.
21099         * gdb.c++/annota3.exp: New file.
21100         * gdb.c++/annota3.cc: New file.
21101
21102 2003-07-29  Michael Chastain  <mec@shout.net>
21103
21104         * gdb.threads/tls.c (spin): Check errno only if sem_wait
21105         actually failed.
21106         (do_pass): Likewise.
21107         * gdb.threads/tls.exp: Always initialize no_of_threads.
21108
21109 2003-07-27  Daniel Jacobowitz  <drow@mvista.com>
21110
21111         * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21112         pattern.
21113         * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21114         * gdb.threads/tls.exp: Recognize one case of the host library not
21115         supporting TLS.
21116
21117 2003-07-27  Andrew Cagney  <cagney@redhat.com>
21118
21119         * gdb.base/fileio.exp: Use SH when running commands using
21120         remote_exec.
21121
21122 2003-07-24  Daniel Jacobowitz  <drow@mvista.com>
21123
21124         From Kei Sakamoto <sakamoto.kei@renesas.com>:
21125         * gdb.base/relocate.c (dummy): New padding array.
21126
21127 2003-07-22  Michael Snyder  <msnyder@redhat.com>
21128
21129         * gdb.disasm/8300s.s: Fix syntax of bsr insn.
21130
21131         * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21132         patterns to be more general, accepting old and new output.
21133         Some output chars (such as '+') also must be quoted.
21134         Some addresses are displayed numerically instead of
21135         symbolically.
21136
21137 2003-07-23  Michael Snyder  <msnyder@redhat.com>
21138
21139         * gdb.base/return2.exp: Don't test long-long return.
21140
21141         * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21142         * gdb.disasm/t01_mov.exp: Ditto.
21143         * gdb.disasm/t02_mova.s: Ditto.
21144         * gdb.disasm/t02_mova.exp: Ditto.
21145         * gdb.disasm/t03_add.s: Ditto.
21146         * gdb.disasm/t03_add.exp: Ditto.
21147         * gdb.disasm/t04_sub.s: Ditto.
21148         * gdb.disasm/t04_sub.exp: Ditto.
21149         * gdb.disasm/t05_cmp.s: Ditto.
21150         * gdb.disasm/t05_cmp.exp: Ditto.
21151         * gdb.disasm/t06_ari2.s: Ditto.
21152         * gdb.disasm/t06_ari2.exp: Ditto.
21153         * gdb.disasm/t07_ari3.s: Ditto.
21154         * gdb.disasm/t07_ari3.exp: Ditto.
21155         * gdb.disasm/t08_or.s: Ditto.
21156         * gdb.disasm/t08_or.exp: Ditto.
21157         * gdb.disasm/t09_xor.s: Ditto.
21158         * gdb.disasm/t09_xor.exp: Ditto.
21159         * gdb.disasm/t10_and.s: Ditto.
21160         * gdb.disasm/t10_and.exp: Ditto.
21161         * gdb.disasm/t11_logs.s: Ditto.
21162         * gdb.disasm/t11_logs.exp: Ditto.
21163         * gdb.disasm/t12_bit.s: Ditto.
21164         * gdb.disasm/t12_bit.exp: Ditto.
21165         * gdb.disasm/t13_otr.s: Ditto.
21166         * gdb.disasm/t13_otr.exp: Ditto.
21167
21168 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
21169
21170         * gdb.threads/tls.exp :Add kfail for 'info address' case.
21171
21172 2003-07-22  Elena Zannoni  <ezannoni@redhat.com>
21173
21174         * gdb.threads/tls.c : New file.
21175         * gdb.threads/tls.exp : New file.
21176         * gdb.threads/tls-main.c : New file.
21177         * gdb.threads/tls-shared.c : New file.
21178         * gdb.threads/tls-shared.exp : New file.
21179
21180 2003-07-22  Andreas Schwab  <schwab@suse.de>
21181
21182         * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21183
21184 2003-07-20  Andreas Schwab  <schwab@suse.de>
21185
21186         * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21187         due to insn reordering.
21188
21189 2003-07-15  Andrew Cagney  <cagney@redhat.com>
21190
21191         * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21192
21193 2003-07-15  Michael Chastain  <mec@shout.net>
21194
21195         * gdb.base/gdb1250.exp: New file.
21196         * gdb.base/gdb1250.c: New file.
21197
21198 2003-07-09  Michal Ludvig  <mludvig@suse.cz>
21199
21200         * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21201         expansion of size_t to 'unsigned long', not only to 'unsigned'.
21202
21203 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
21204
21205         * gdb.threads/tls.c: New file.
21206         * gdb.threads/tls.exp: New file.
21207         * gdb.threads/tls-main.c: New file.
21208         * gdb.threads/tls-shared.c: New file.
21209         * gdb.threads/tls-shared.exp: New file.
21210
21211 2003-07-09  Elena Zannoni  <ezannoni@redhat.com>
21212
21213         * gdb.base/annota1.exp: Make sure that we properly escape the
21214         full path of the source file. Xfail more permissive patterns,
21215         due to a compiler debug info problem.
21216
21217 2003-07-07  Andreas Schwab  <schwab@suse.de>
21218
21219         * gdb.asm/m68k.inc: New file.
21220         * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21221
21222         * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21223         arguments"): Also match negative number.
21224
21225         * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21226
21227 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
21228
21229         * gdb.base/store.c (charest): New typedef.
21230         (add_char): Rename to add_charest, update.
21231         (wack_char): Rename to wack_charest, update types.  Return l + r
21232         to keep r live across the call.
21233         (wack_short, wack_int, wack_long, wack_longest, wack_float)
21234         (wack_double, wack_doublest): Return l + r to keep r live across
21235         the call.
21236         * gdb.base/store.exp: Accomodate store.c changes.
21237
21238 2003-06-30  David Carlton  <carlton@kealia.com>
21239
21240         * gdb.c++/maint.exp (test_invalid_name): New.
21241         (test_first_component): Add tests for invalid names.
21242
21243 2003-06-29  Michael Chastain  <mec@shout.net>
21244
21245         * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21246         output of '<VTT for class>' for virtual base classes.
21247
21248 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
21249
21250         * gdb.base/completion.exp: Tab-complete "complet" instead of
21251         "compl".
21252         * gdb.base/complex.exp, gdb.base/complex.c: New files.
21253
21254 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
21255
21256         * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
21257         * gdb.base/volatile.exp: Likewise.
21258
21259 2003-06-29  Daniel Jacobowitz  <drow@mvista.com>
21260
21261         * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
21262         gdb/1265.
21263
21264 2003-06-28  Michael Chastain  <mec@shout.net>
21265             Daniel Jacobowitz  <drow@mvista.com>
21266
21267         * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
21268         initial line count of 'captured_main' from 26 to 32.
21269         (test_with_self): Allow xmalloc call to be interleaved with the
21270         preceding two lines.
21271
21272 2003-06-24  Joel Brobecker  <brobecker@gnat.com>
21273
21274         * gdb.base/bang.exp: New testcase.
21275
21276 2003-06-23  Joel Brobecker  <brobecker@gnat.com>
21277
21278         * gdb.base/langs.exp: Add some tests for the "minimal" language
21279         support.
21280
21281 2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
21282
21283         * gdb.objc/basicclass.exp: Return -1 if we cannot compile
21284         the testcase.
21285
21286 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
21287
21288         * gdb.base/relocate.exp: Test add-symbol-file with a variable
21289         offset.
21290
21291 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
21292
21293         * gdb.c++/pr-1210.cc: New file.
21294         * gdb.c++/pr-1210.exp: New file.
21295
21296 2003-06-21  Daniel Jacobowitz  <drow@mvista.com>
21297
21298         * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
21299         000-exec-continue.
21300
21301 2003-06-15  Mark Kettenis  <kettenis@gnu.org>
21302
21303         * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
21304         on *-*-*bsd* instead of *-*-freebsd*.
21305
21306 2003-06-14  Andrew Cagney  <cagney@redhat.com>
21307
21308         * gdb.base/store.exp: Test longest and doublest.  Test all
21309         parameters.  Weaken return statement match.
21310         * gdb.base/store.c: Add longest and doublest - aka long long and
21311         long double functions.  Put all parameters into local register
21312         variables.  Use negative values.
21313
21314 2003-06-14  Andrew Cagney  <cagney@redhat.com>
21315
21316         * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
21317         -Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
21318         exit status.
21319         * gdb.base/fileio.exp: Disable target when nointerrupts and
21320         noinferiorio, instead of limiting it to remote.  Use remote_exec
21321         instead of system.
21322
21323 2003-06-12  Jeff Johnston  <jjohnstn@redhat.com>
21324
21325         * gdb.base/float.exp: Add ia64 support.
21326
21327 2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
21328
21329         * gdb.base/fileio.exp: Run only on remote targets.
21330
21331 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
21332
21333         * gdb.base/fileio.c: New file, testing File-I/O.
21334         * gdb.base/fileio.exp: Ditto.
21335
21336 2003-06-09  Raoul Gough  <RaoulGough@yahoo.co.uk>
21337
21338         * gdb.base/shreloc.exp: New file, check symbol values obtained from
21339         shared objects after relocation at load time (gdb PR/1132).
21340         * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
21341         as above, part of the shared object relocation test.
21342
21343 2003-06-08  Mark Kettenis  <kettenis@gnu.org>
21344
21345         * gdb.base/readline.exp: Add tests for operate-and-get-next with a
21346         fully filled history list.
21347         * gdb.base/gdb_history: New file.
21348
21349         * gdb.base/signals.exp: XFAIL "continue to func1" on
21350         i*86-*-freebsd*.
21351
21352         * gdb.base/attach.exp: When trying to attach to a nonexistent
21353         process, make it possible to specify the PID based on the target,
21354         and do so for *-*-freebsd*.
21355
21356 2003-06-02  Richard Henderson  <rth@redhat.com>
21357
21358         * gdb.base/float.exp: Add expected regexp for alpha-*-*.
21359
21360 2003-06-02  Richard Henderson  <rth@redhat.com>
21361
21362         * gdb.base/selftest.exp: Next over lim_at_start initialization.
21363
21364 2003-06-02  Richard Henderson  <rth@redhat.com>
21365
21366         * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
21367
21368 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
21369
21370         * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
21371         of globalvar.
21372
21373 2003-06-01  Mark Kettenis  <kettenis@gnu.org>
21374
21375         * gdb.asm/asm-source.exp: Check for memory read errors in
21376         disassembler test on *BSD too.
21377
21378 2003-06-01  Richard Henderson  <rth@redhat.com>
21379
21380         * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
21381         for .frame.
21382         (gdbasm_call): Lose ldgp.
21383         (gdbasm_startup): Add frame information.
21384         * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
21385
21386 2003-05-31  Mark Kettenis  <kettenis@gnu.org>
21387
21388         * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
21389         i?86-*-*.
21390
21391 2003-05-30  Mark Kettenis  <kettenis@gnu.org>
21392
21393         * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21394         FreeBSD.
21395
21396 2003-05-29  Richard Henderson  <rth@redhat.com>
21397
21398         * gdb.asm/alpha.inc: New file.
21399         * gdb.asm/asm-source.exp: Use it.
21400
21401 2003-05-29  Jim Blandy  <jimb@redhat.com>
21402
21403         * gdb.base/corefile.exp: Find corefiles on Linux, which names them
21404         'core.PID'.
21405
21406 2003-05-22  Jim Blandy  <jimb@redhat.com>
21407
21408         * gdb.base/corefile.exp: Tolerate stuff after argument parens in
21409         backtrace.
21410
21411 2003-05-20  David Carlton  <carlton@math.stanford.edu>
21412
21413         * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
21414         this time.
21415
21416 2003-05-19  David Carlton  <carlton@bactrian.org>
21417
21418         * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
21419         * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
21420
21421 2003-05-19  David Carlton  <carlton@bactrian.org>
21422
21423         * gdb.c++/namespace.exp: Add namespace scope and anonymous
21424         namespace tests.
21425         Bump copyright date.
21426         * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
21427         (main): Call C::D::marker2.
21428         * gdb.c++/namespace1.cc: New file.
21429
21430 2003-05-14  Jeff Johnston  <jjohnstn@redhat.com>
21431
21432         Roland McGrath  <roland@redhat.com>
21433         * gdb.threads/linux-dp.exp: Account for fact that in nptl model
21434         there is no manager thread.
21435
21436 2003-05-08  Jeff Johnston  <jjohnstn@redhat.com>
21437
21438         * gdb.threads/schedlock.exp: Remove assumption that all threads
21439         will run in a particular small time slice.  Also ensure we break
21440         in one of the child threads rather than the main thread.
21441
21442 2003-05-07  Jim Blandy  <jimb@redhat.com>
21443
21444         Add support for assembly source testing on the s390x.
21445         * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
21446         architecture.
21447         * gdb.asm/s390x.inc: New file.
21448
21449         * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
21450         succession of 'if' statements.
21451
21452 2003-05-05  Andrew Cagney  <cagney@redhat.com>
21453
21454         * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
21455
21456 2003-05-05  Andrew Cagney  <cagney@redhat.com>
21457
21458         * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
21459         DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
21460
21461 2003-05-02  Elena Zannoni  <ezannoni@redhat.com>
21462
21463         * gdb.base/charset.exp: Update based on new behavior of set/show
21464         charset commands.
21465
21466 2003-05-01  Andrew Cagney  <cagney@redhat.com>
21467
21468         * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
21469         variable do not give memory errors.
21470
21471 2003-04-30  Adam Fedor  <fedor@gnu.org>
21472
21473         * Makefile.in (ALL_SUBDIRS): Add gdb.objc
21474         * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
21475         * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
21476         gdb.objc/basicclass.m: : New files
21477
21478         * lib/gdb.exp (gdb_compile_objc): New procedure.
21479
21480 2003-04-27  Daniel Jacobowitz  <drow@mvista.com>
21481
21482         * gdb.base/signals.exp: Make backtrace tests more specific.
21483
21484 2003-04-23  David Carlton  <carlton@bactrian.org>
21485
21486         * gdb.c++/maint.exp (test_first_component): Add tests for
21487         'operator' in more locations.
21488
21489 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
21490
21491         * gdb.base/args.exp: Invoke gdb_load for simulator targets.
21492
21493 2003-04-16  Elena Zannoni  <ezannoni@redhat.com>
21494
21495         * gdb.base/completion.exp: Make 'info func mark' complete on 'info
21496         func marke' instead. Update test name.
21497
21498 2003-04-15  David Carlton  <carlton@math.stanford.edu>
21499
21500         * gdb.c++/maint.exp: New file.
21501
21502 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
21503
21504         * gdb.threads/schedlock.c: Change type of thread function argument
21505         to long, to avoid warnings on 64-bit platforms.
21506
21507 2003-04-14  Elena Zannoni  <ezannoni@redhat.com>
21508
21509         * gdb.base/attach.exp: Add new message from ptrace in case of
21510         attaching to nonexistent process.
21511
21512 2003-04-11  Jim Blandy  <jimb@redhat.com>
21513
21514         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21515         gdb.c++/userdef.cc: Place comments on the lines to which the
21516         marker function might return.
21517         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21518         gdb.c++/userdef.exp: Look for those comments to check that we've
21519         returned to the right place, instead of checking line numbers.
21520
21521 2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
21522
21523         * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
21524         match on sourcefile name, instead of directory name.
21525
21526 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
21527
21528         * gdb.base/completion.exp: Use string_to_regexp to match the
21529         working directory name.
21530
21531 2003-04-09  Jim Blandy  <jimb@redhat.com>
21532
21533         * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21534         gdb.c++/userdef.exp: If GDB fails to restore the selected frame
21535         after an inferior function call, report the failure, but allow the
21536         test to continue.
21537
21538 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
21539
21540         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21541         with -DPROTOTYPES.
21542
21543 2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
21544
21545         * gdb.base/break.exp: Revert last patch.
21546
21547 2003-04-04  Stephane Carrez  <stcarrez@nerim.fr>
21548
21549         * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21550         with -DPROTOTYPES.
21551
21552 2003-04-02  Andrew Cagney  <cagney@redhat.com>
21553
21554         * gdb.base/callfuncs.exp: Make "print add" messages unique.
21555         * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
21556         matching directories by the name breakpoint.
21557         * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
21558         Make "continue to marker1" consistent.
21559         * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
21560         message consistent.
21561         * lib/gdb.exp: Put "the program is no longer running", and "the
21562         program exited" in parenthesis.
21563         * lib/mi-support.exp: Ditto.
21564
21565 2003-04-02  Bob Rossi  <bob_rossi@cox.net>
21566
21567         * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
21568
21569 2003-03-29  Andrew Cagney  <cagney@redhat.com>
21570
21571         * gdb.base/sizeof.c (main): Print the value of '\377'.
21572         * gdb.base/sizeof.exp: Check the sign of '\377'.
21573
21574 2003-03-27  Michael Chastain  <mec@shout.net>
21575
21576         * gdb.base/gdb1090.exp: New file.
21577         * gdb.base/gdb1090.cc: New file.
21578
21579 2003-03-27  J. Brobecker  <brobecker@gnat.com>
21580
21581         * gdb.gdb/observer.exp: New regression test.
21582
21583 2003-03-27  Michael Chastain  <mec@shout.net>
21584
21585         * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21586         * gdb.base/ptype.exp: Likewise.
21587
21588 2003-03-27  Corinna Vinschen  <vinschen@redhat.com>
21589
21590         * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21591
21592 2003-03-26  Michael Chastain  <mec@shout.net>
21593
21594         * gdb.base/ptype.exp: Actually use some typedef'd types.
21595
21596 2003-03-21  Stephane Carrez  <stcarrez@nerim.fr>
21597
21598         * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21599         * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21600
21601 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
21602
21603         * gdb.base/default.exp: Fix regular expression.
21604
21605 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
21606
21607         * gdb.base/args.exp: Fix regular expression.
21608
21609 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
21610
21611         * gdb.base/help.exp: Allow Win32 child process.
21612
21613 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
21614
21615         * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21616         when stepping out of main().
21617
21618 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
21619
21620         * gdb.base/default.exp: Check for win32 specific message when calling
21621         "run" without executable.
21622
21623 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
21624
21625         * gdb.base/args.exp: Expect .exe in output.
21626
21627 2003-03-20  Corinna Vinschen  <vinschen@redhat.com>
21628
21629         * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21630         Cygwin native.
21631
21632 2003-03-17  Andrew Cagney  <cagney@redhat.com>
21633
21634         From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
21635         vector registes.
21636         * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21637         * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21638
21639 2003-03-17  David Carlton  <carlton@math.stanford.edu>
21640
21641         * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21642         test, for PR breakpoints/38.
21643         Call test_watchpoint_and_breakpoint.
21644         * gdb.base/watchpoint.c (func3): New function.
21645         (main): Call func3.
21646
21647 2003-03-04  David Carlton  <carlton@math.stanford.edu>
21648
21649         * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21650         Garply<Garply<char> >:: garply".
21651         (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21652         with respect to PR c++/1111; note also PR c++/1113.
21653         (test_template_breakpoints): KFAIL "constructor breakpoint" with
21654         respect to PR c++/1062.
21655         KFAIL "destructor breakpoint" with respect to PR c++/1112.
21656
21657 2003-03-03  David Carlton  <carlton@math.stanford.edu>
21658
21659         * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21660         with respect to PR c++/57.
21661         KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21662         c++/826.
21663         Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21664         respect to PR c++/57.
21665
21666 2003-03-03  David Carlton  <carlton@math.stanford.edu>
21667
21668         * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21669         respect to PR c++/33 into FAILs.
21670
21671 2003-03-03  Michael Chastain  <mec@shout.net>
21672
21673         * configure.in: Update copyright years.
21674
21675 2003-03-03  Michael Chastain  <mec@shout.net>
21676
21677         * Makefile.in: Update copyright years.
21678
21679 2003-02-28  David Carlton  <carlton@math.stanford.edu>
21680
21681         * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21682         print class instead of struct and/or superfluous protection
21683         specifiers, as long as the resulting output is equivalent to the
21684         source code.
21685         Delete FIXME from end of messages on tests that don't need
21686         fixing.
21687
21688 2003-02-28  David Carlton  <carlton@math.stanford.edu>
21689
21690         * gdb.c++/templates.exp (do_tests): Allow const in the two
21691         Foo<volatile char *>::foo tests.
21692
21693 2003-02-27  Michael Snyder  <msnyder@redhat.com>
21694
21695         * gdb.base/restore.c (main): Return zero, so exit code
21696         will be consistant.
21697
21698 2003-02-26  David Carlton  <carlton@math.stanford.edu>
21699
21700         * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21701         char *>::foo" test with respect to PR c++/33.  Create a new test
21702         which is identical to that one except that it doesn't put the
21703         space between the "char" and the "*"; KFAIL it, too.
21704
21705 2003-02-26  David Carlton  <carlton@math.stanford.edu>
21706
21707         * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21708         template types into either PASSes or KFAILs (corresponding to PR
21709         c++/57).  Tweak indentation.  Update copyright.
21710
21711 2003-02-23  Stephane Carrez  <stcarrez@nerim.fr>
21712
21713         * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21714
21715 2003-02-13  Michael Chastain  <mec@shout.net>
21716
21717         * gdb.base/exprs.exp: Remove i960 remnants.
21718         * gdb.base/funcargs.exp: Likewise.
21719         * gdb.base/list.exp: Likewise.
21720         * gdb.base/ptype.exp: Likewise.
21721
21722 2003-02-14  David Carlton  <carlton@math.stanford.edu>
21723
21724         * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21725         pEe->D::vg()" from XFAIL to KFAIL.
21726
21727 2003-02-13  Jason Molenda  (jmolenda@apple.com)
21728
21729         * gdb.base/maint.exp: Update maint print statistics regexp to include
21730         new entries.
21731
21732 2003-02-13  Michael Chastain  <mec@shout.net>
21733
21734         * gdb.c++/inherit.exp: Remove call to get_debug_format.
21735
21736 2003-02-12  Michael Chastain  <mec@shout.net>
21737
21738         * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21739         * gdb.c++/inherit.exp: Likewise.
21740         * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21741         * gdb.c++/templates.exp: Likewise.
21742         * gdb.c++/virtfunc.exp: Likewise.
21743
21744 2003-02-06  Jason Molenda  (jason-cl@molenda.com)
21745
21746         * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21747         why the code is written that way.
21748
21749 2003-02-05  Michael Chastain  <mec@shout.net>
21750
21751         * gdb.base/dump.exp: Add missing copyright line.
21752
21753 2003-02-05  Jason Molenda  (jason-cl@molenda.com)
21754
21755         * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
21756         at the beginning so the breakpoint doesn't get set on the loop.
21757
21758 2003-02-05  Michael Chastain  <mec@shout.net>
21759
21760         * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21761         output for configurations with gcc 2.95.3.
21762
21763 2003-02-05  Keith Seitz  <keiths@redhat.com>
21764             Andrew Cagney  <ac131313@redhat.com>
21765
21766         * gdb.mi/mi-cli.exp: New file.
21767
21768 2003-02-04  Michael Chastain  <mec@shout.net>
21769
21770         * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21771         Call perror and then continue.
21772
21773 2003-02-03  Michael Chastain  <mec@shout.net>
21774
21775         * gdb.c++/pr-1023.cc: New file.
21776         * gdb.c++/pr-1023.exp: New file.
21777
21778 2003-02-05  Jim Blandy  <jimb@redhat.com>
21779
21780         * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21781         it's local to foobar.  Check for it there, and check that it's not
21782         present in main.
21783         * gdb.c++/local.cc (marker2): New function.
21784         (foobar): Call marker1.
21785         (main): Call marker2 instead of marker1.
21786
21787 2003-02-04  Andrew Cagney  <ac131313@redhat.com>
21788
21789         * gdb.disasm/mn10200.exp: Obsolete file.
21790         * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21791         * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21792         * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21793
21794 2003-02-04  David Carlton  <carlton@math.stanford.edu>
21795
21796         * gdb.c++/overload.exp: Test intToChar(1).
21797         * gdb.c++/overload.cc (intToChar): New.
21798         (main): Call intToChar.
21799
21800 2003-02-03  David Carlton  <carlton@math.stanford.edu>
21801
21802         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21803         'might_kfail' arg.
21804         KFAIL some of the continue_to_bp_overloaded calls, according to
21805         PR c++/1025.
21806
21807 2003-02-01  Michael Chastain  <mec@shout.net>
21808
21809         * gdb.base/advance.c (marker1): New marker function.
21810         * gdb.base/advance.exp: When the 'advance' command lands on the
21811         return breakpoint, it can legitimately stop on either the
21812         current line or the next line.  Accommodate both outcomes.
21813         * gdb.base/until.exp: Likewise.
21814
21815 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
21816
21817         2002-11-10 Jason Molenda (jason-cl@molenda.com):
21818         * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21819         now a list, not a tuple.
21820         * gdb.mi/mi-var-display.exp: Ditto.
21821         * gdb.mi/gdb792.exp: Ditto.
21822
21823 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
21824
21825         From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
21826         * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21827         stack backtraces.
21828         * gdb.mi/mi-syn-frame.c: Part of same.
21829
21830 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
21831
21832         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21833         gdb.mi/mi1-pthreads.exp: Return instead of calling
21834         gdb_suppress_entire_file.
21835
21836 2003-02-01  Mark Salter  <msalter@redhat.com>
21837
21838         * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21839
21840 2003-01-31  Mark Salter  <msalter@redhat.com>
21841
21842         * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21843         Support empty arg.
21844
21845 2003-01-30  Michael Chastain  <mec@shout.net>
21846
21847         * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21848         This was a workaround for a UTF-8 bug in readline 4.3.  The bug
21849         has been fixed in gdb/readline on 2003-01-09.
21850
21851 2003-01-29  Michael Snyder  <msnyder@redhat.com>
21852
21853         * gdb.base/maint.exp: Allow for leading underscore in symbol.
21854         * gdb.base/display.exp: Allow for leading underscore in symbol.
21855         * gdb.base/args.exp: Skip if target does not support args passing.
21856
21857 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
21858
21859         * lib/gdb.exp (gdb_test_multiple): New function, cloned from
21860         gdb_test.  Accept a list of expect arguments as the third
21861         parameter.
21862         (gdb_test): Use it.
21863
21864 2003-01-20  Elena Zannoni  <ezannoni@redhat.com>
21865
21866         * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21867         allow for different test tree configurations.  Update some
21868         tescases accordingly.
21869         * gdb.arch/altivec-regs.exp: Ditto.
21870         * gdb.asm/asm-source.exp: Ditto.
21871         * gdb.base/advance.exp: Ditto.
21872         * gdb.base/display.exp: Ditto.
21873         * gdb.base/long_long.exp: Ditto.
21874         * gdb.base/mips_pro.exp: Ditto.
21875         * gdb.base/overlays.exp: Ditto.
21876         * gdb.base/relocate.exp: Ditto.
21877         * gdb.base/setshow.exp: Ditto.
21878         * gdb.base/step-line.exp: Ditto.
21879         * gdb.base/step-test.exp: Ditto.
21880         * gdb.base/until.exp: Ditto.
21881         * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21882
21883 2003-01-17  David Carlton  <carlton@math.stanford.edu>
21884
21885         * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21886         corresponding to PR c++/945.
21887         Update copyright.
21888
21889 2003-01-17  David Carlton  <carlton@math.stanford.edu>
21890
21891         * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21892         corresponding to PR c++/68.
21893
21894 2003-01-17  David Carlton  <carlton@math.stanford.edu>
21895
21896         * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21897         (test_paddr_hairy_functions): Call print_addr_2_kfail for
21898         hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.
21899
21900 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
21901
21902         * gdb.base/break.exp: Fix change of default location, because of
21903         removal of until tests.
21904         * gdb.base/help.exp: Update test for new 'until' help message.
21905         Add test for help on 'advance'.
21906         * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
21907
21908 2003-01-15  Mark Kettenis  <kettenis@gnu.org>
21909
21910         * gdb.base/default.exp: Adapt "info float" test for recent changes
21911         to that command.  Add test for "info vector".
21912         * gdb.base/float.exp: New file.  Add test for "info float" that
21913         resembles the old test in gdb.base/default.exp.
21914
21915 2003-01-15  David Carlton  <carlton@math.stanford.edu>
21916
21917         * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21918
21919 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
21920
21921         * gdb.base/break.exp: Move the tests of until command from here...
21922         * gdb.base/until.exp: ... to here. New file. Add other tests.
21923         * gdb.base/advance.c: New file.
21924         * gdb.base/advance.exp: New file.
21925
21926 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
21927
21928         * gdb.base/args.c: New file.
21929         * gdb.base/args.exp: New file.
21930
21931 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
21932
21933         * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21934
21935 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
21936
21937         * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21938
21939 2003-01-14  Daniel Jacobowitz  <drow@mvista.com>
21940
21941         * gdb.base/constvars.exp: Remove two extra XFAILs.  Update copyright
21942         dates.
21943
21944 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
21945
21946         * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21947
21948 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
21949
21950         * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21951         (ptype &*"foo").
21952         * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21953
21954 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
21955
21956         * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21957         * gdb.mi/mi1-console.exp: Likewise.
21958
21959 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
21960
21961         * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21962         * gdb.mi/mi1-console.exp: Likewise.
21963
21964 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
21965
21966         * gdb.c++/overload.exp: Remove some fixed XFAILs.
21967
21968 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
21969
21970         * gdb.base/detach.exp: New test.
21971
21972 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
21973
21974         * Makefile.in (ALL_SUBDIRS): New variable.
21975         (subdirs, clean, distclean): Use it.
21976         * gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
21977         regenerating Makefile, since it is generated from the top level.
21978         * gdb.asm/Makefile.in: Likewise.
21979         * gdb.base/Makefile.in: Likewise.
21980         * gdb.c++/Makefile.in: Likewise.
21981         * gdb.disasm/Makefile.in: Likewise.
21982         * gdb.java/Makefile.in: Likewise.
21983         * gdb.mi/Makefile.in: Likewise.
21984         * gdb.threads/Makefile.in: Likewise.
21985         * gdb.trace/Makefile.in: Likewise.
21986
21987 2003-01-09  David Carlton  <carlton@math.stanford.edu>
21988
21989         * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21990         Add copyright year 2003.
21991
21992 2003-01-06  Michael Chastain  <mec@shout.net>
21993
21994         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21995         When selecting a thread, 'line' and 'file' are optional.
21996         * gdb.mi/mi1-pthreads.exp: Likewise.
21997
21998 2003-01-06  Andreas Schwab  <schwab@suse.de>
21999
22000         * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22001         failures.
22002
22003 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22004
22005         Fix PR gdb/844
22006         * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22007         (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22008
22009         * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
22010         instead of calling gdb_suppress_entire_file.
22011         * gdb.threads/print-threads.exp: Likewise.
22012         * gdb.threads/schedlock.exp: Likewise.
22013
22014         * gdb.threads/killed.exp: Return instead of calling
22015         gdb_suppress_entire_file.
22016         * gdb.threads/linux-dp.exp: Likewise.
22017         * gdb.threads/pthreads.exp: Likewise.
22018
22019 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22020
22021         * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22022         stabs.
22023         * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22024         * gdb.base/whatis.exp: Always allow (void) after function names.
22025
22026 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
22027
22028         * gdb.c++/casts.exp: Correct regexp.
22029
22030 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
22031
22032         * configure.in: Call AC_CONFIG_HEADER.  Don't call
22033         AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22034         gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
22035         AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
22036         aforementioned directories in the AC_OUPUT call.
22037         * config.hin: New file.
22038         * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22039         gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22040         gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22041         gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22042         pass -I$objdir instead of -I$objdir/$subdir in compilation.
22043         * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22044         gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22045         gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22046         gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22047         gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22048         gdb.threads/configure.in, gdb.threads/configure,
22049         gdb.threads/config.in, gdb.trace/configure.in,
22050         gdb.trace/configure: Removed.
22051
22052 2003-01-03  Michael Chastain  <mec@shout.net>
22053
22054         * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22055         testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22056
22057 2003-01-03  Daniel Jacobowitz  <drow@mvista.com>
22058
22059         * gdb.base/store.exp: Fix regular expressions.
22060
22061 2002-12-28  Mark Kettenis  <kettenis@gnu.org>
22062
22063         * configure.in: Rewrite.
22064         * configure: Regenerated.
22065
22066 2003-01-03  David Carlton  <carlton@math.stanford.edu>
22067
22068         * gdb.base/psymtab.exp: New file.
22069         * gdb.base/psymtab1.c: Ditto.
22070         * gdb.base/psymtab2.c: Ditto.
22071
22072 2002-12-23  Adam Fedor  <fedor@gnu.org>
22073
22074         * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22075
22076 2002-12-23  David Carlton  <carlton@math.stanford.edu>
22077
22078         * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22079         and current_directory initialization.
22080
22081 2002-12-22  Jim Blandy  <jimb@redhat.com>
22082
22083         * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22084         rather than as part of the output file name.
22085
22086         * gdb.base/attach.exp: There's no need to copy the test program to
22087         /tmp; that was only ever necessary on HP/UX, and this test is
22088         entirely disabled there anyway.
22089
22090 2002-12-21  Jim Blandy  <jimb@redhat.com>
22091
22092         * gdb.c++/psmang.exp: Doc fix.
22093
22094         * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22095         test.
22096
22097 2002-12-20  David Carlton  <carlton@math.stanford.edu>
22098
22099         * gdb.c++/annota2.exp: KFAIL annotate-quit.
22100
22101 2002-12-18  Michael Chastain  <mec@shout.net>
22102
22103         * gdb.c++/annota2.exp: Add copyright year 2002.
22104
22105 2002-12-17  David Carlton  <carlton@math.stanford.edu>
22106
22107         * gdb.c++/try_catch.cc: Add marker comments.
22108         * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22109         * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22110         * gdb.c++/m-static.cc: Ditto.
22111         * gdb.c++/m-static1.cc: Ditto.
22112         * gdb.c++/try_catch.cc: Ditto.
22113
22114 2002-12-16  Jeff Johnston  <jjohnstn@redhat.com>
22115
22116         * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22117         to see whether we are using the new -environment-directory
22118         command which resets via -r or the old version of the command
22119         which may prompt the user.  Part of fix for gdb/741.
22120
22121 2002-12-13  Andrew Cagney  <ac131313@redhat.com>
22122
22123         * gdb.fortran/types.exp: Update obsolete comment.
22124         * gdb.fortran/exprs.exp: Ditto.
22125         * lib/gdb.exp: Delete obsolete code.
22126         * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22127         * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22128         * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22129         * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22130         * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22131         * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22132         * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22133         * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22134         * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22135         * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22136         * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22137         * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22138         * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22139         * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22140         * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22141         * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22142         * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22143         * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22144         * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22145         * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22146         * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22147         * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22148         * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22149         * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22150         * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22151         * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22152         * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22153         * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22154         * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22155         * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22156         * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22157         * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22158         * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22159         * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22160         * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22161         * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22162         * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22163
22164 2002-12-11  David Carlton  <carlton@math.stanford.edu>
22165
22166         * gdb.c++/m-data.exp: Add test for members that shadow global
22167         variables: see PR gdb/804.
22168         * gdb.c++/m-data.cc: Ditto.
22169
22170 2002-12-10  Daniel Jacobowitz  <drow@mvista.com>
22171
22172         * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22173
22174 2002-12-06  David Carlton  <carlton@math.stanford.edu>
22175
22176         * gdb.base/store.c: Don't declare functions static.
22177
22178 2002-12-04  Andrew Cagney  <ac131313@redhat.com>
22179
22180         * gdb.base/store.exp, gdb.base/store.c: New files.
22181
22182 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22183
22184         * gdb.base/selftest.exp: Update for current gdb.
22185
22186 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22187
22188         * gdb.base/maint.exp: Only dump symbols from one source file
22189         or objfile.
22190
22191 2002-12-03  Daniel Jacobowitz  <drow@mvista.com>
22192
22193         * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22194         function call.
22195
22196 2002-11-25  Jim Blandy  <jimb@redhat.com>
22197
22198         * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22199         function appearing in error message.
22200
22201 2002-11-21  Daniel Jacobowitz  <drow@mvista.com>
22202
22203         * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22204
22205 2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>
22206
22207         * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22208         for mi1 and current mi is in correct format.  New mi startup message
22209         should be in mi console format.  This is part of fix for PR gdb/604.
22210
22211 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
22212
22213         * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22214         which explicitly prints the zero offset as "+0".
22215
22216 2002-10-22  Daniel Jacobowitz  <drow@mvista.com>
22217
22218         * gdb.threads/schedlock.c (args): Make unsigned.
22219
22220 2002-10-21  Daniel Jacobowitz  <drow@mvista.com>
22221
22222         * gdb.asm/asm-source.exp: Add "mips*-*" pattern.  Update line
22223         numbers.  Allow "foo2|selected stack frame".
22224         * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22225         * gdb.asm/asmsrc2.s: Likewise.
22226         * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
22227         comments.
22228         * gdb.asm/mips.inc: New file.
22229
22230 2002-10-18  Adam Fedor  <fedor@gnu.org>
22231
22232         * gdb.base/default.exp: Update expected output to include 'ObjC'.
22233         * gdb.base/help.exp: Likewise.
22234
22235 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
22236
22237         * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22238         * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22239
22240 2002-10-02  Jim Blandy  <jimb@redhat.com>
22241
22242         * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22243
22244 2002-10-01  Andrew Cagney  <ac131313@redhat.com>
22245
22246         * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22247         * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22248         * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22249         * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22250         * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22251         * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22252         * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22253
22254 2002-09-29  Andrew Cagney  <ac131313@redhat.com>
22255
22256         * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
22257         * mi0-disassemble.exp, mi0-eval.exp: Delete.
22258         * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
22259         * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
22260         * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
22261         * mi0-var-block.exp, mi0-var-child.exp: Delete.
22262         * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
22263
22264 2002-09-27  Kevin Buettner  <kevinb@redhat.com>
22265
22266         * gdb.base/annota1.exp (info break): Make directory components of
22267         path optional since not all compilers emit this debug information.
22268
22269         * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
22270         step ends up stepping out of the function instead of stopping on
22271         the epilogue.
22272
22273 2002-09-26  Keith Seitz  <keiths@redhat.com>
22274
22275         * lib/insight-support.exp (gdbtk_start): Figure out where
22276         the insight executable is based on where gdb is. Use this
22277         executable to start insight instead of gdb.
22278
22279 2002-09-25  Andrew Cagney  <cagney@redhat.com>
22280
22281         * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
22282
22283 2002-09-24  Andrew Cagney  <ac131313@redhat.com>
22284
22285         * gdb.gdb/complaints.exp (test_initial_complaints): Rename
22286         test_isolated_complaints.
22287         (test_empty_complaint): New function.
22288         (test_empty_complaints): New function.  Check no output when no
22289         complaints.
22290
22291 2002-09-19  Jim Blandy  <jimb@redhat.com>
22292
22293         * gdb.base/charset.exp, gdb.base/charset.c: New files.
22294
22295 2002-09-19  Andrew Cagney  <ac131313@redhat.com>
22296
22297         * gdb.gdb/complaints.exp: New file.
22298
22299 2002-09-18  Andrew Cagney  <ac131313@redhat.com>
22300
22301         * gdb.base/maint.exp: Check `help maint internal-warning'.
22302
22303 2002-09-18  David Carlton  <carlton@math.stanford.edu>
22304
22305         * gdb.c++/m-static.exp: Remove breakpoints depending on line
22306         numbers, and replace them by a single breakpoint after the
22307         constructors are all finished.
22308         Add test 4.
22309         * gdb.c++/m-static.cc: Add test 4.
22310         * gdb.c++/m-static.h: New file.
22311         * gdb.c++/m-static1.cc: New file.
22312
22313         * gdb.c++/printmethod.exp: New file.
22314         * gdb.c++/printmethod.cc: New file.
22315
22316         * gdb.c++/pr-574.exp: New file.
22317         * gdb.c++/pr-574.cc: New file.
22318
22319 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
22320
22321         * gdb.base/ending-run.exp: Add handling of "step to end of run" for
22322         embedded targets which never actually exit.
22323
22324 2002-09-18  Fernando Nasser  <fnasser@redhat.com>
22325
22326         * gdb.base/ending-run.exp: Properly mark "continue after exit" and
22327         "don't step after run" as unresolved or unsupported, instead of xfail.
22328
22329 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
22330
22331         * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
22332         allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
22333         Add newline to expected string in "step out of main (status wrapper)"
22334         case.
22335
22336 2002-09-18  Corinna Vinschen  <vinschen@redhat.com>
22337
22338         * lib/gdb.exp (rerun_to_main): Allow restarting application.
22339         * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
22340
22341 2002-09-17  Tom Tromey  <tromey@redhat.com>
22342
22343         * gdb.base/printcmds.exp (test_print_string_constants): Expect
22344         \000, not \0, in double-quoted string.
22345
22346 2002-09-14  Corinna Vinschen  <vinschen@redhat.com>
22347
22348         * gdb.base/commands.exp: Don't expect a "Program exited normally"
22349         string after running the commands execution on breakpoint tests.
22350
22351 2002-09-13  Corinna Vinschen  <vinschen@redhat.com>
22352
22353         * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
22354
22355 2002-09-12  Joel Brobecker  <brobecker@gnat.com>
22356
22357         * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
22358
22359 2002-09-10  Keith Seitz  <keiths@redhat.com>
22360
22361         * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
22362         runto proc.
22363         (mi_run_to_main): Use mi_runto.
22364         (mi_execute_to): Renamed from mi_run_to. Changed all callers.
22365
22366 2002-09-10  Keith Seitz  <keiths@redhat.com>
22367
22368         * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
22369         regexp for stopping at main. Could have multiple event notifications.
22370         Don't assume that main was declared with no parameters.
22371         (mi_next): Use mi_step_to.
22372         (mi_step): Use mi_next_to.
22373
22374 2002-09-09  Corinna Vinschen  <vinschen@redhat.com>
22375
22376         * gdb.base/default.exp: Fix expected string in `info float' test.
22377
22378 2002-09-09  Ben Elliston  <bje@redhat.com>
22379
22380         * config/mips.exp: Update comments.
22381         * config/mips-idt.exp: Likewise.
22382         * config/nind.exp: Likewise.
22383         * config/slite.exp: Likewise.
22384         * config/sparclet.exp: Likewise.
22385         * config/udi.exp: Likewise.
22386         * config/vx.exp: Likewise.
22387         * config/vxworks29k.exp: Likewise.
22388
22389 2002-09-05  Jim Blandy  <jimb@redhat.com>
22390
22391         * gdb.threads/killed.exp: Fix test failure message.
22392
22393 2002-09-04  Keith Seitz  <keiths@redhat.com>
22394
22395         * lib/mi-support.exp: Update copyright.
22396         (mi_gdb_test): Increase the priority of the expected pattern
22397         so that it matches gdb_test.
22398
22399 2002-09-03  Keith Seitz  <keiths@redhat.com>
22400
22401         * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
22402         Use integer comparison instead of string comparison for testing
22403         whether binary was built.
22404
22405 2002-09-03  Jim Blandy  <jimb@redhat.com>
22406
22407         * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
22408
22409 2002-08-29  Jim Blandy  <jimb@redhat.com>
22410
22411         * gdb.threads/pthreads.exp: Move the portable thread compilation
22412         code into a function in lib/gdb.exp, and call that from here.
22413         * lib/gdb.exp (gdb_compile_pthreads): New function.
22414
22415 2002-08-29  Keith Seitz  <keiths@redhat.com>
22416
22417         * lib/mi-support.exp (mi_gdb_test): Add global declaration for
22418         expect_out so that callers can get at it.
22419
22420 2002-08-23  Daniel Jacobowitz  <drow@mvista.com>
22421
22422         * gdb.threads/print-threads.c: New file.
22423         * gdb.threads/print-threads.exp: New file.
22424         * gdb.threads/schedlock.c: New file.
22425         * gdb.threads/schedlock.exp: New file.
22426
22427 2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
22428
22429         * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
22430         not altivec.c.
22431
22432 2002-08-17  Mark Kettenis  <kettenis@gnu.org>
22433
22434         * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
22435         targets.  The problem should be fixed now.
22436
22437 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
22438
22439         * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
22440         2002-07-24 change that removes final dots from error messages.
22441
22442 2002-08-13  Tom Tromey  <tromey@redhat.com>
22443
22444         * gdb.base/readline.exp: New file.
22445
22446 2002-08-01  Andrew Cagney  <ac131313@redhat.com>
22447
22448         * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
22449         supress message.
22450
22451 2002-08-01  Andrew Cagney  <cagney@redhat.com>
22452
22453         * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
22454         CHILL_FOR_TARGET and CHILL_LIB.
22455         * configure.in (configdirs): Remove gdb.chill.
22456         * configure: Regenerate.
22457         * lib/gdb.exp: Obsolete references to chill.
22458         * gdb.fortran/types.exp: Ditto.
22459         * gdb.fortran/exprs.exp: Ditto.
22460
22461 2002-07-30  Kevin Buettner  <kevinb@redhat.com>
22462
22463         * gdb.base/shlib-call.exp (additional_flags): Conditionally
22464         set Irix-specific compile and link flags.
22465
22466 2002-07-29  Kevin Buettner  <kevinb@redhat.com>
22467
22468         * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
22469         source files.  The ``-o'' option doesn't work with the ``-E'' option
22470         when using the Irix compiler.
22471
22472 2002-07-19  Daniel Jacobowitz  <drow@mvista.com>
22473
22474         * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
22475         Improve support for reusing an exec file.  Copy exec file
22476         to target, and run gdbserver on the target instead of on the host.
22477
22478 2002-07-18  Jim Blandy  <jimb@redhat.com>
22479
22480         * gdb.base/ending-run.exp: Don't expect to see the program end in
22481         some orderly fashion when we're running on a real stand-alone
22482         board.
22483
22484         * gdb.base/interrupt.exp: Correct logic for skipping tests on
22485         targets that don't support interrupts.
22486
22487 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
22488
22489         * gdb.base/attach.exp: Add patterns to match output from /proc-based
22490         systems.
22491         Move comments in expect statements to inside the actions, so that they
22492         don't get matched against.
22493
22494 2002-07-10  Mark Kettenis  <kettenis@gnu.org>
22495
22496         * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
22497         function when asleep" test.
22498
22499 2002-07-10  Andrew Cagney  <ac131313@redhat.com>
22500
22501         * gdb.base/page.exp: Rewrite to handle problems with very long
22502         `info set' output.  Update copyright.
22503
22504 2002-06-26  Andrew Cagney  <ac131313@redhat.com>
22505
22506         * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
22507         gdb.threads-hp.
22508         * gdb.hp/configure: Regenerate.
22509         * gdb.hp/gdb.threads-hp/configure.in: Delete file.
22510         * gdb.hp/gdb.threads-hp/configure: Delete file.
22511         * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
22512
22513 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
22514
22515         * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
22516         setlocale, bindtextdomain and textdomain.
22517
22518 2002-06-11  Jim Blandy  <jimb@redhat.com>
22519
22520         * lib/gdb.exp (get_debug_format): Tolerate message saying whether
22521         preprocessor macro information is present.
22522
22523         * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
22524         tests.
22525
22526 2002-06-06  Michael Snyder  <msnyder@redhat.com>
22527
22528         * gdb.base/overlays.exp: Record addresses of overlay
22529         functions in TCL variables rather than in GDB variables,
22530         to avoid having GDB convert them to pointers (with loss
22531         of information).
22532
22533         * gdb.base/d10v.ld: Merge in several years worth of
22534         default linker script changes.
22535         * gdb.base/long_long.exp: Add check for sizeof (long double).
22536
22537 2002-06-06  Michal Ludvig  <mludvig@suse.cz>
22538
22539         * gdb.asm/asm-source.exp: Add x86-64 target.
22540         * gdb.asm/x86_64.inc: New.
22541
22542 2002-05-30  Michael Chastain  <mec@shout.net>
22543
22544         From Benjamin Kosnik <bkoz@redhat.com>:
22545         * gdb.c++/m-static.cc: New file.
22546         * gdb.c++/m-static.exp: New file.
22547
22548 2002-05-28  Michael Snyder  <msnyder@redhat.com>
22549
22550         * gdb.base/call-ar-st.exp: Allow for reduced floating point
22551         precision.
22552
22553 2002-05-27  Michael Chastain  <mec@shout.net>
22554
22555         From Benjamin Kosnik <bkoz@redhat.com>:
22556         * gdb.c++/m-data.cc: New file.
22557         * gdb.c++/m-data.exp: New file.
22558
22559 2002-05-27  Michael Chastain  <mec@shout.net>
22560
22561         From Benjamin Kosnik <bkoz@redhat.com>:
22562         * gdb.c++/try_catch.cc: New file.
22563         * gdb.c++/try_catch.exp: New file.
22564
22565 2002-05-27  Michael Chastain  <mec@shout.net>
22566
22567         * gdb.c++/local.exp: Accept more nested types in output.
22568
22569 2002-05-26  Michael Chastain  <mec@shout.net>
22570
22571         * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22572
22573 2002-05-15  Nick Clifton  <nickc@cambridge.redhat.com>
22574
22575         * lib/gdb.exp (gdb_wrapper_init): Just because
22576         gdb_wrapper_file exists, this does not mean that the file
22577         should not be rebuilt.  That is what gdb_wrapper_initialized
22578         is for.
22579         (default_gdb_init): Reset gdb_wrapper_initialized.
22580
22581 2002-05-23  Michael Snyder  <msnyder@redhat.com>
22582
22583         * gdb.base/all-bin.exp: Revise previous patch by just reducing
22584         the precision of the floating point test results.
22585         * gdb.base/call-rt-st.exp: Ditto.
22586
22587         * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22588         * gdb.base/call-rt-st.exp: Ditto.
22589
22590 2002-05-19  Michael Chastain  <mec@shout.net>
22591
22592         * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22593
22594 2002-05-19  Elena Zannoni  <ezannoni@redhat.com>
22595
22596         * configure.in (configdirs): Add gdb.arch.
22597         * configure: Regenerate.
22598
22599 2002-05-17  Jim Blandy  <jimb@redhat.com>
22600
22601         * gdb.base/completion.exp: Recognize the more detailed error
22602         messages produced by the macro expander's lexical analyzer.
22603
22604 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
22605
22606         * gdb.arch/altivec-abi.c: New file.
22607         * gdb.arch/altivec-abi.exp: New file.
22608         * gdb.arch/altivec-regs.c: New file.
22609         * gdb.arch/altivec-regs.exp: New file.
22610
22611 2002-05-14  Daniel Jacobowitz  <drow@mvista.com>
22612
22613         * gdb.base/maint.exp (maint print type): Update for new type
22614         structure.
22615
22616 2002-05-14  Elena Zannoni  <ezannoni@redhat.com>
22617
22618         * gdb.arch: New directory.
22619         * gdb.arch/configure.in: New file.
22620         * gdb.arch/configure: New file.
22621         * gdb.arch/Makefile.in: New file.
22622
22623 2002-05-13  Corinna Vinschen  <vinschen@redhat.com>
22624
22625         * gdb.asm/asm-source.exp: Add v850 as supported target.
22626         * gdb.asm/v850.inc: New file.
22627
22628 2002-05-13  Daniel Jacobowitz  <drow@mvista.com>
22629
22630         * gdb.c++/annota2.exp (annotate-quit): Add comment.
22631
22632 2002-05-12  Daniel Jacobowitz  <drow@mvista.com>
22633
22634         * gdb.base/break.exp: Check 'break "marker2"'.
22635
22636 2002-05-10  Michael Snyder  <msnyder@redhat.com>
22637
22638         * gdb.base/long_long.exp: Fix typo.
22639
22640 2002-05-10  Jim Blandy  <jimb@redhat.com>
22641
22642         * gdb.base/printcmds.exp: Don't xfail the ptype command.  This is
22643         a bug.
22644
22645         * gdb.base/printcmds.exp (test_integer_literals_rejected):
22646         Recognize more detailed error message produced by the macro
22647         expander's lexical analyzer.
22648         * lib/gdb.exp (test_print_reject): Same.
22649
22650 2002-05-09  Mark Kettenis  <kettenis@gnu.org>
22651
22652         * gdb.c++/method.exp: Fix typo.
22653
22654 2002-05-08  Michael Snyder  <msnyder@redhat.com>
22655
22656         * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22657         * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
22658         * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
22659         * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22660         Add iftarget clause for strongarm.
22661
22662 2002-05-06  Michael Snyder  <msnyder@redhat.com>
22663
22664         * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22665         (gdb_continue_to_end): Accept output from status wrapper.
22666         * gdb.base/ending-run.exp: Add case for output from status wrapper.
22667         Clean up fail messages to match pass messages.
22668
22669         Enable the "needs_status_wrapper" testsuite feature.
22670         * lib/gdb.exp (gdb_wrapper_init): New procedure.
22671         (gdb_compile): Conditionally call gdb_wrapper_init.
22672         * gdb.base/a2-run.exp: Recognize output from status wrapper.
22673         * gdb.c++/method.exp: Recognize output from status wrapper.
22674
22675 2002-05-06  Ben Elliston  <bje@redhat.com>
22676 From Graydon Hoare  <graydon@redhat.com>
22677
22678         * config/sid.exp: Include support for "rawsid" protocol.
22679
22680 2002-05-03  Jim Blandy  <jimb@redhat.com>
22681
22682         * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22683         * gdb.c++/hang3.C: New file.
22684
22685 2002-05-04  Andrew Cagney  <ac131313@redhat.com>
22686
22687         * gdb.base/default.exp: Remove obsolete code.
22688         * gdb.c++/misc.exp: Ditto.  Update copyright.
22689         * gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
22690         * gdb.base/whatis.exp: Ditto.  Update copyright.
22691         * gdb.base/scope.exp: Ditto.  Update copyright.
22692         * gdb.base/ptype.exp: Ditto.  Update copyright.
22693         * gdb.base/printcmds.exp: Ditto.  Update copyright.
22694         * gdb.base/opaque.exp: Ditto.  Update copyright.
22695         * gdb.base/list.exp: Ditto.
22696         * gdb.base/funcargs.exp: Ditto.  Update copyright.
22697         * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22698         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22699         * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22700         * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22701         * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22702         * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22703
22704 2002-05-02  Michael Snyder  <msnyder@redhat.com>
22705
22706         * gdb.base/watchpoint.exp: Add xscale target.
22707         * gdb.base/long_long.exp: Add xscale target.
22708         * gdb.base/default.exp: Add xscale target.
22709
22710 2002-05-01  Jim Blandy  <jimb@redhat.com>
22711
22712         * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22713         gdb.c++/hang.exp: New test.
22714
22715 2002-05-01  Fred Fish  <fnf@redhat.com>
22716
22717         * gdb.base/completion.exp: Handle completions of "./Make" for
22718         more than one completion possibility, as is the case when we
22719         build and test in the source tree.
22720
22721 2002-04-29  Anthony Green  <green@redhat.com>
22722
22723         * gdb.java/jmisc1.exp: New file.
22724         * gdb.java/jmisc2.exp: New file.
22725
22726 2002-04-24  Daniel Jacobowitz  <drow@mvista.com>
22727
22728         * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22729
22730 2002-04-23  Elena Zannoni  <ezannoni@redhat.com>
22731
22732         * gdb.base/help.exp: Change 'help status' to allow for target
22733         dependent output differences.
22734
22735 2002-04-22  Michael Chastain  <mec@shout.net>
22736
22737         * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22738
22739 2002-04-22  Michael Chastain  <mec@shout.net>
22740
22741         * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22742
22743 2002-04-17  David S. Miller  <davem@redhat.com>
22744
22745         * gdb.asm/sparc64.inc: New file.
22746         * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22747
22748 2002-04-19  Elena Zannoni  <ezannoni@redhat.com>
22749
22750         * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22751         instruction file directly into the build tree.  Clean up at end of
22752         test.
22753
22754 2002-04-18  David S. Miller  <davem@redhat.com>
22755
22756         * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22757         handle 64-bit platforms correctly.
22758         * gdb.base/maint.exp: Likewise.
22759
22760 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
22761
22762         * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22763         ``-fpic'' when compiling files comprising a shared library, but
22764         it does need additional linker flags in order to find shared
22765         libraries at run time.
22766
22767 2002-04-18  Kevin Buettner  <kevinb@redhat.com>
22768
22769         * gdb.base/cvexpr.c (use): New function.
22770         (main): Invoke use() on all global variables to prevent
22771         some linkers from deleting these otherwise unused symbols.
22772
22773 2002-04-17  Michael Chastain  <mec@shout.net>
22774 From David S. Miller  <davem@redhat.com>
22775
22776         * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22777         handle 64-bit platforms correctly.
22778
22779 2002-04-12  Michael Snyder  <msnyder@redhat.com>
22780 From Jim Blandy  <jimb@redhat.com>
22781         * gdb.base/foo.c (foox): Remove section attribute; the linker
22782         script can handle this instead.
22783         * gdb.base/bar.c (barx): Same.
22784         * gdb.base/baz.c (bazx): Same.
22785         * gdb.base/grbx.c (grbxx): Same.
22786
22787         * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22788         manager doesn't automatically unmap overlays unnecessarily.
22789
22790 2002-04-10  Martin M. Hunt  <hunt@redhat.com>
22791
22792         * gdb.base/ending-run.exp: Fix pattern for Mips targets
22793         stepping out of main.
22794
22795 2002-04-09  Michael Chastain  <mec@shout.net>
22796
22797         * gdb.c++/local.cc (main): Move call to marker1() inside nested
22798         scope so that the nested scope tests will make sense.
22799         * gdb.c++/local.exp: Write patterns that actually work with gcc
22800         (the HP patterns "were never known to work with gcc").
22801         Keep the old aCC patterns too.
22802
22803 2002-04-09  Daniel Jacobowitz  <drow@mvista.com>
22804
22805         * gdb.base/attach.exp: Correct target board test.
22806
22807 2002-04-08  Michael Chastain  <mec@shout.net>
22808
22809         * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22810         in a const method.  Add some xfail and fail cases for configurations
22811         that do not emit the "const ...".
22812
22813 2002-04-07  Michael Chastain  <mec@shout.net>
22814
22815         * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22816         Accept "A * const" and "const A * const" as type of "this".
22817         Fix spelling of getFunky throughout.  Make messages uniform.
22818
22819 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
22820
22821         Work around for PR gdb/285:
22822         * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22823
22824 2002-04-07  Elena Zannoni  <ezannoni@redhat.com>
22825
22826         * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22827         instructions file at run time instead of configure time.
22828         Sometimes we run the test in a directory that is not the one we
22829         configured in.
22830         * gdb.asm/configure.in: Delete creation of symlink.
22831         * gdb.asm/configure: Regenerate.
22832
22833 2002-04-05  J. Brobecker  <brobecker@gnat.com>
22834
22835         * gdb.gdb/xfullpath.exp: New test, to exercise the new
22836         xfullpath () function.
22837
22838 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
22839
22840         * gdb.asm/Makefile.in: Correct dependencies.
22841
22842         * gdb.asm/powerpc.inc: New file.
22843         * gdb.asm/asm-source.exp: Add PowerPC.
22844         * gdb.asm/configure.in: Likewise.
22845         * gdb.asm/configure: Regenerated.
22846
22847 2002-04-04  Daniel Jacobowitz  <drow@mvista.com>
22848
22849         * gdb.base/relocate.exp: New file.
22850         * gdb.base/relocate.c: New file.
22851
22852 2002-04-04  Fred Fish  <fnf@redhat.com>
22853
22854         * gdb.base/step-test.exp: Update comment regarding stopping in
22855         memcpy/bcopy calls inserted as part of the compiler runtime.
22856
22857 2002-04-04  Michael Snyder  <msnyder@redhat.com>
22858
22859         * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22860
22861 2002-04-03  Daniel Jacobowitz  <drow@mvista.com>
22862
22863         * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22864         (gdb_expect): Remove $notransfer hack.
22865
22866 2002-04-02  Daniel Jacobowitz  <drow@mvista.com>
22867
22868         * gdb.c++/classes.exp ("calling method for small class"): Match
22869         updated register output.
22870
22871 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
22872
22873         Fix PR gdb/452
22874         * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22875         when finished.  Make gdb_file_cmd send "exec-file" when
22876         appropriate.
22877
22878 2002-03-30  Daniel Jacobowitz  <drow@mvista.com>
22879
22880         * gdb.base/attach.exp: Remove extra setup_xfail.
22881
22882 2002-03-26  Michael Snyder  <msnyder@redhat.com>
22883
22884         * gdb.base/default.exp: Add tests for dump, append, and restore.
22885         * gdb.base/help.exp: Add tests for dump, append, and restore.
22886         * gdb.base/dump.exp: New file, test dump, append and restore.
22887         * gdb.base/dump.c: New file.
22888
22889 2002-03-27  Michael Snyder  <msnyder@redhat.com>
22890
22891         * gdb.base/help.exp: Modify expect strings to reflect
22892         clean-ups in help messages.
22893
22894 2002-03-26  Fred Fish  <fnf@redhat.com>
22895
22896         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22897         have debugging info for those functions and the compiler uses them
22898         internally to copy structs around.
22899
22900 2002-03-26  Fred Fish  <fnf@redhat.com>
22901
22902         * gdb.base/list.exp: Revert the change made yesterday and add note
22903         about why we don't list the default lines for remote targets.
22904
22905 2002-03-25  Michael Snyder  <msnyder@redhat.com>
22906
22907         * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22908
22909 2002-03-25  Fred Fish  <fnf@redhat.com>
22910
22911         * gdb.base/list.exp: This test works on remote targets so remove
22912         the short circuit for remote targets.  Update copyright.
22913
22914 2002-03-25  Fred Fish  <fnf@redhat.com>
22915
22916         * gdb.base/attach.exp: Fix logic error that was suppressing this
22917         test for all non hppa*-*-hpux* targets, instead of the hp target.
22918         Move comments closer to the suppression point.  Also now need to
22919         check that we are running natively.
22920
22921 2002-03-22  Michael Snyder  <msnyder@redhat.com>
22922
22923         * gdb.base/default.exp: Add test for gcore.  Update copyright.
22924         * gdb.base/help.exp: Add test for gcore.  Update copyright.
22925
22926 2002-03-06  Fred Fish  <fnf@redhat.com>
22927
22928         * gdb.base/funcargs.c:  Remove extraneous ';' character.
22929         * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22930
22931 2002-03-04  Michael Chastain  <mec@shout.net>
22932
22933         * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22934         accommodate gcc v3 function signature.
22935         * gdb.mi/mi0-var-cmd-exp: Ditto.
22936
22937 2002-02-24  Andrew Cagney  <ac131313@redhat.com>
22938
22939         * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22940         ``GNU/Linux'' or ``Linux kernel''
22941         * testsuite/gdb.threads/pthreads.c: Ditto.
22942
22943 2002-02-24  Michael Chastain  <mec@shout.net>
22944
22945         * gdb.threads/pthreads.c (thread1): Add a return statement.
22946         (thread2): Likewise.
22947         (foo): Likewise.
22948
22949 2002-02-23  Michael Chastain  <mec@shout.net>
22950
22951         * gdb.threads/linux-dp.c (philosopher): Add a return statement
22952         to placate gcc.
22953
22954 2002-02-23  Michael Chastain  <mec@shout.net>
22955
22956         * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22957         test "ptype bint".  The test passes on all my stabs configurations.
22958
22959 2002-02-21  Jim Blandy  <jimb@redhat.com>
22960
22961         * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22962         filename at a time, and watch for the ones we want to see.
22963
22964         * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22965         types of pointers to prototyped functions.
22966
22967 2002-02-20  Andrew Cagney  <ac131313@redhat.com>
22968
22969         * gdb.base/sizeof.c (main): Call fill_structs.  Print value of
22970         signed, unsigned and straight char.
22971         (padding_char, padding_short, padding_int, padding_long,
22972         padding_long_long, padding_float, padding_double,
22973         padding_long_double): New global variables.
22974         (fill, fill_structs): New functions.
22975
22976         * gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
22977         for correctly sized writes.  Update copyright.
22978         (get_valueof): New procedure.
22979         (get_sizeof): Call get_valueof.
22980         (check_valueof): New procedure.
22981         (check_padding): New procedure.
22982
22983 2002-02-20  Michael Chastain  <mec@shout.net>
22984
22985         * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22986         to setup_xfail.  Document some of the remaining calls.
22987
22988 2002-02-18  Michael Chastain  <mec@shout.net>
22989
22990         * gdb.c++/userdef.exp: Update copyright year.
22991
22992 2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
22993
22994         * gdb.c++/userdef.exp: Test overloaded operators properly.
22995         Remove xfails.
22996
22997 2002-02-14  Michael Snyder  <msnyder@redhat.com>
22998
22999         * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23000
23001 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
23002
23003         * gdb.base/a2-run.exp: Check for a remote target properly.
23004         * gdb.base/annota1.exp: Likewise.
23005         * gdb.base/list.exp: Likewise.
23006         * gdb.base/reread.exp: Likewise.
23007         * gdb.base/scope.exp: Likewise.
23008         * gdb.base/shlib-call.exp: Likewise.
23009         * gdb.base/term.exp: Likewise.
23010         * gdb.c++/annota2.exp: Likewise.
23011
23012 2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
23013
23014         * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23015
23016 2002-02-10  Michael Chastain  <mec@shout.net>
23017
23018         * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23019         (call_after_alloca): Ditto.
23020
23021 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
23022
23023         * gdb.base/ending-run.exp: Guard "cont" test with
23024         gdb_skip_stdio_test.
23025
23026 2002-02-06  Jim Blandy  <jimb@redhat.com>
23027
23028         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23029         from here...
23030         * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23031         To here.  Disable this test on non-HP platforms.  Add big comment.
23032
23033 2002-02-04  Michael Snyder  <msnyder@redhat.com>
23034
23035         * gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
23036           other than d10v and m32r.
23037
23038 2002-02-02  Richard Earnshaw  <rearnsha@arm.com>
23039
23040         * gdb.base/default.exp: Rewrite test patterns to reduce time
23041         taken to match them.
23042
23043 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23044
23045         * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23046         Allow a start function above main.
23047         * gdb.threads/linux-dp.exp: Fix copyright date.
23048
23049 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23050
23051         * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23052         (check_philosopher_stack): Check for manager thread before checking
23053         for a just-starting thread.
23054
23055 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
23056
23057         From Neil Booth <neil@daikokuya.demon.co.uk>:
23058         * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23059         warnings.
23060
23061 2002-01-21  Fred Fish  <fnf@redhat.com>
23062
23063         * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23064         not caller.
23065
23066 2002-01-21  Jim Blandy  <jimb@redhat.com>
23067
23068         * gdb.base/reread.exp: Check that GDB properly re-reads the
23069         executable file when it changes while no inferior is running.
23070
23071 2002-01-21  Fred Fish  <fnf@redhat.com>
23072
23073         * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23074         optionally accept the "shlib events" variation.
23075
23076 2002-01-21  Jim Blandy  <jimb@redhat.com>
23077
23078         * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23079         call `fflush' after every `printf', so that the output is produced
23080         at predictable points, regardless of whatever buffering does (or
23081         doesn't) take place.
23082         * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23083         at different points.
23084
23085 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
23086
23087         * gdb.c++/inherit.exp: Update copyright years.
23088         * gdb.c++/method.exp: Likewise.
23089
23090 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
23091
23092         * gdb.c++/classes.exp: Update for improved v3 support and skipping
23093         artificial methods/arguments.
23094         * gdb.c++/derivation.exp: Likewise.
23095         * gdb.c++/inherit.exp: Likewise.
23096         * gdb.c++/method.exp: Likewise.
23097         * gdb.c++/virtfunc.exp: Likewise.
23098
23099 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
23100
23101         * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23102         * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23103         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23104         * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23105         * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23106         * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23107
23108 2002-01-17  Jim Blandy  <jimb@redhat.com>
23109
23110         * gdb.asm/asm-source.exp (info symbol): Take another shot at
23111         anchoring the pattern matching the entry point symbol's name.
23112
23113 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
23114
23115         * gdb.base/maint.exp: Update ``maint internal-error'' to match
23116         continue/quit query.  Update copyright.
23117
23118 2002-01-14  Michael Snyder  <msnyder@redhat.com>
23119
23120         * gdb.base/gcore.exp: Remove extra debugging output.
23121
23122 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
23123
23124         * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23125         for slightly dubious v2 mangled string.
23126
23127 2002-01-13  Daniel Jacobowitz  <drow@mvista.com>
23128
23129         * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23130
23131 2002-01-10  Jason Merrill  <jason@redhat.com>
23132
23133         * gdb.c++/namespace.exp: Accept trailing const for 'this'.
23134
23135         * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23136         constructors.
23137         * gdb.c++/derivation.exp: Likewise.
23138         * gdb.c++/templates.exp: Likewise.
23139         * gdb.c++/virtfunc.exp: Likewise.
23140
23141 2002-01-10  Michael Snyder  <msnyder@redhat.com>
23142
23143         * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
23144
23145 2002-01-08  Michael Snyder  <msnyder@redhat.com>
23146
23147         * gdb.base/gcore.exp: New test for generate-core-file command.
23148         * gdb.base/gcore.c: Testcase for above.
23149         * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23150
23151 2002-01-08  Jason Merrill  <jason@redhat.com>
23152
23153         * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23154
23155 2002-01-07  Fred Fish  <fnf@redhat.com>
23156
23157         * gdb.c++/overload.exp: Remove unconditional xfails for:
23158         print foo_instance1.overloadargs(1)
23159         print foo_instance1.overloadargs(1, 2)
23160         print foo_instance1.overloadargs(1, 2, 3)
23161         print foo_instance1.overloadargs(1, 2, 3, 4)
23162         print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23163         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23164         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23165         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23166         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23167         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23168         print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23169         print foo_instance1.overload1arg()
23170         print foo_instance1.overload1arg((char)arg2)
23171         print foo_instance1.overload1arg((signed char)arg3)
23172         print foo_instance1.overload1arg((unsigned char)arg4)
23173         print foo_instance1.overload1arg((int)arg7)
23174         print foo_instance1.overload1arg((unsigned int)arg8)
23175         print foo_instance1.overload1arg((float)arg11)
23176         print foo_instance1.overload1arg((double)arg12)
23177
23178 2002-01-07  Michael Snyder  <msnyder@redhat.com>
23179
23180         * gdb.base/huge.exp: New test.  Print a very large target data object.
23181         (skip_huge_test): New test variable.  Define if you want to skip this
23182         test.  The test reads an 8 megabyte data object from the target, so it
23183         might be very time consuming on remote targets with a slow connection.
23184         * gdb.base/huge.c: New file.  Test case for above.
23185
23186 2002-01-07  Fred Fish  <fnf@redhat.com>
23187
23188         * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23189         g_instance.bfoo, and g_instance.cfoo.
23190
23191 2002-01-07  Jeffrey A Law  <law@redhat.com>
23192
23193         * gdb.base/break.c (multi_line_if_conditional): New function.
23194         (multi_ilne_while_conditional): Likewise.
23195         * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23196         IF or WHILE condition puts the breakpoint at the start of
23197         the condition.
23198
23199         * gdb.base/selftest.exp (backtrace through signal handler): Remove
23200         hppa*-*-hpux* expected failure.
23201         * gdb.base/structs.exp (do_function_calls): Similarly.
23202
23203         * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23204         watchpoints.
23205
23206 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
23207
23208         Fix PR gdb/66.
23209         * gdb.base/structs.exp: Replace skip for a29k with skip for
23210         gdb,cannot_call_functions.
23211         * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23212         * gdb.base/callfuncs.exp: Ditto.
23213         * gdb.base/call-rt-st.exp: Ditto.
23214         * gdb.base/call-strs.exp: Ditto.
23215         * gdb.base/callfwmall.exp: Ditto.
23216         * gdb.base/scope.exp: Obsolete xfail a29k.
23217         * gdb.c++/misc.exp: Ditto.
23218         * gdb.c++/cplusfuncs.exp: Ditto.
23219         * gdb.base/ptype.exp: Ditto.
23220         * gdb.base/printcmds.exp: Ditto.
23221         * gdb.base/opaque.exp: Ditto.
23222         * gdb.base/list.exp: Ditto.
23223         * gdb.base/funcargs.exp: Ditto.
23224         * gdb.base/default.exp: Ditto.
23225
23226 2002-01-04  Michael Snyder  <msnyder@redhat.com>
23227
23228         * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
23229         * gdb.base/maint.exp: Add tests for maint info sections options.
23230
23231 Fri Dec 21 09:42:11 2001  Jeffrey A Law  (law@redhat.com)
23232
23233         * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23234
23235 2001-12-20  Corinna Vinschen  <vinschen@redhat.com>
23236
23237         * gdb.asm/arm.inc: New file.
23238         * gdb.asm/asm-source.exp: Add arm targets.
23239         * gdb.asm/configure.in: Ditto.
23240         * gdb.asm/configure: Recreated from configure.in.
23241
23242 Thu Dec 20 09:54:36 2001  Jeffrey A Law  (law@redhat.com)
23243
23244         * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23245         with HP's compiler.
23246         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23247         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23248         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23249         * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23250
23251         * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23252         either HP's compilers or GCC.
23253
23254         * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
23255         a SIGBUS or SIGSEGV.
23256
23257         * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
23258
23259         * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
23260         can be compiled with either HP's compiler or GCC.
23261
23262         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
23263         * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
23264         * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
23265
23266         * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
23267         to match current gdb output.  Update due to using auto-solib-limit
23268         for limiting instead of overloading auto-solib-add.
23269         * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
23270         test program.
23271
23272         * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
23273         * gdb.hp/gdb.base-hp/dollar.exp: Likewise
23274         * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
23275         * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
23276         * gdb.hp/gdb.base-hp/reg.exp: Likewise.
23277         * gdb.hp/gdb.compat/xdb3.exp: Likewise.
23278         * gdb.hp/gdb.defects/bs15503.exp: Likewise.
23279         * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
23280         * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
23281         * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
23282         * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
23283         * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
23284         * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
23285
23286         * gdb.base/annota1.exp: Expect failure for hpux11 when posting
23287         a SIGTRAP to the inferior.
23288
23289 2001-12-19  Corinna Vinschen  <vinschen@redhat.com>
23290
23291         * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
23292         Substitute call to target_link by call to gdb_compile.
23293
23294 Wed Dec 19 14:10:57 2001  Jeffrey A Law  (law@redhat.com)
23295
23296         * gdb.base/break.exp: Fix HP specific search string when testing
23297         backtracing in a called function.
23298
23299         * gdb.base/constvars.exp: Only set lang to C++ if we're
23300         compiling the test with HP's compilers.
23301         * gdb.base/volatile.exp: Similarly.
23302
23303 2001-12-19  Jim Blandy  <jimb@redhat.com>
23304
23305         * gdb.base/printcmds.exp: Expect the null character to be printed
23306         as '\0', and the '\013' to be printed as '\v'.
23307         * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
23308         * gdb.base/setvar.exp: Same.
23309
23310 2001-12-17  Jim Blandy  <jimb@redhat.com>
23311
23312         * gdb.base/completion.exp: Rather than completing very long
23313         filenames, which can make the readline library produce output we
23314         don't recognize, cd to the directory first, and then complete
23315         using nice, short relative paths.
23316
23317         * gdb.base/completion.exp: On some systems, there is, in fact, a
23318         variable named `b' in scope, since GDB treats all static
23319         variables as being in scope.  So use `no_var_named_this'
23320         instead of `b'.
23321
23322         * gdb.base/corefile.exp: Recognize the message saying that GDB
23323         can't find the core file's registers as a failure.
23324
23325 2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>
23326
23327         * gdb.base/commands.exp (user_defined_command_test): Make "show user"
23328         test expect string more specific.
23329
23330 2001-12-13  Corinna Vinschen  <vinschen@redhat.com>
23331
23332         * gdb.asm/asm-source.exp: Add support for xstormy16.
23333         * gdb.asm/configure.in: Ditto.
23334         * gdb.asm/configure: Rebuild.
23335         * gdb.asm/xstormy16.inc: New file.
23336
23337 2001-12-10  Fred Fish  <fnf@redhat.com>
23338
23339         * gdb.base/maint.exp: Update to match changes in type dumping code.
23340
23341 2001-12-10  Jim Blandy  <jimb@redhat.com>
23342
23343         * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
23344         matching the entry point symbol's name at the beginning of the
23345         line.
23346
23347 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
23348
23349         * gdb.c++/classes.exp, gdb.c++/derivation.exp,
23350         gdb.c++/inherit.exp, gdb.c++/method.exp,
23351         gdb.c++/namespace.exp, gdb.c++/templates.exp,
23352         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
23353         and class layout support.
23354
23355 2001-12-07  Daniel Jacobowitz  <drow@mvista.com>
23356
23357         * gdb.c++/classes.exp: Add test for static member function.
23358         * gdb.c++/misc.cc: Add class with static member function.
23359
23360 2001-12-07  Jim Blandy  <jimb@redhat.com>
23361
23362         If GDB says it can't find the struct the function returned, report
23363         those tests as `unsupported'.
23364         * gdb.base/call-rt-st.exp (print_struct_call): New function.
23365         Rewrite subsequent tests to use it.
23366
23367         If GDB says it can't find the struct the function returned, report
23368         those tests as `unsupported'.
23369         * gdb.base/structs.exp (call_struct_func): New function.
23370         (do_function_calls): Use call_struct_func to call the functions
23371         returning structs.
23372
23373         * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
23374         whether functions are prototyped or not, so we can't possibly pass
23375         arguments to t_float_values2 properly.
23376
23377         * gdb.base/break.exp: (test_next_with_recursion): Don't change the
23378         value of `timeout' for targets other than the mips*tx39-*.
23379
23380 2001-12-06  Michael Snyder  <msnyder@redhat.com>
23381
23382         * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
23383         and detect whether the start symbol has a leading underscore.
23384
23385 2001-12-04  Jim Blandy  <jimb@redhat.com>
23386
23387         * gdb.base/completion.exp: Clarify indentation.
23388
23389 2001-12-03  Jim Blandy  <jimb@redhat.com>
23390
23391         * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
23392         variables on the S/390, not `.word'.
23393
23394 2001-11-30  Jim Blandy  <jimb@redhat.com>
23395
23396         Add assembly-source tests for s390-ibm-linux.
23397         * gdb.asm/s390.inc: New file.
23398         * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
23399         the S/390 architecture.
23400         * gdb.asm/configure: Regenerated.
23401
23402 2001-11-30  Michael Snyder  <msnyder@redhat.com>
23403
23404         * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
23405         next, info source, info sources, info line, global and static
23406         variables, and static functions.
23407         * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
23408         * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
23409         * gdb.asm/asmsrc1.s: Add a static function and some variables.
23410         * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
23411         * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
23412         (gdbasm_leave): Restore frame pointer.
23413         (gdbasm_startup): Copy stack set-up from crt0.S.
23414
23415 2001-11-26  Fernando Nasser  <fnasser@redhat.com>
23416
23417         From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
23418         * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
23419         to a local (non-static) variable. Copy tstruct.a to a static buffer
23420         and return a pointer to that buffer.
23421         * gdb.base/callfwmall.c (t_structs_a): Ditto.
23422
23423 2001-11-24  Mark Kettenis  <kettenis@gnu.org>
23424
23425         * gdb.asm/configure.in: Fix recognition of ix86 target.
23426         * gdb.asm/configure: Regenerate.
23427
23428 2001-11-21  Michael Snyder  <msnyder@redhat.com>
23429
23430         * gdb.asm/sparc.inc: New file.
23431         * gdb.asm/asm-source.exp: Recognize sparc target.
23432         * gdb.asm/configure.in: Recognize sparc target.
23433         * gdb.asm/configure: Regenerate.
23434
23435 2001-11-21  Michael Snyder  <msnyder@redhat.com>
23436
23437         * gdb.asm/m32r.inc: New file.
23438         * gdb.asm/asm-source.exp: Recognize m32r target.
23439         * gdb.asm/configure.in: Recognize m32r target.
23440         * gdb.asm/configure: Regenerate.
23441
23442 2001-11-20  Michael Snyder  <msnyder@redhat.com>
23443
23444         * gdb.asm/i386.inc: New file.
23445         * gdb.asm/asm-source.exp: Recognize ix86 target.
23446         * gdb.asm/configure.in: Recognize ix86 target.
23447         * gdb.asm/configure: Regenerate.
23448
23449         * gdb.c++/namespace.exp: Fix quotes in output messages.
23450
23451 2001-11-14  Michael Snyder  <msnyder@redhat.com>
23452
23453         * gdb.base/code-expr.exp: New file.  Tests use of the "@code"
23454         qualifier in a type cast expression, to designate an address
23455         in the instruction space (Harvard architecture).
23456
23457 2001-11-13  Michael Snyder  <msnyder@redhat.com>
23458
23459         * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
23460         Tests for expressions using 'const' and 'volatile'.
23461
23462 2001-11-13  Corinna Vinschen  <vinschen@redhat.com>
23463
23464         * gdb.asm/asm-sources.exp: Allow defining linker flags.
23465
23466 2001-11-12  Daniel Jacobowitz  <drow@mvista.com>
23467
23468         * lib/mi-support.exp (mi_run_to_helper): Move comments
23469         outside of gdb_expect.
23470
23471 2001-11-11  Daniel Jacobowitz  <drow@mvista.com>
23472
23473         * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
23474         mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
23475         mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
23476         mi0_run_to): New functions.
23477         * gdb.mi/mi-simplerun.exp: Use them.
23478         * gdb.mi/mi0-simplerun.exp: Likewise.
23479         * gdb.mi/mi-var-cmd.exp: Likewise.
23480         * gdb.mi/mi0-var-cmd.exp: Likewise.
23481
23482 2001-11-10  Andrew Cagney  <ac131313@redhat.com>
23483
23484         * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
23485         * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
23486
23487 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
23488
23489         * gdb.base/restore.exp: Include $expected value in restored test
23490         message.
23491
23492 2001-11-09  Andrew Cagney  <ac131313@redhat.com>
23493
23494         * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
23495         implemented.
23496
23497 2001-11-08  Michael Snyder  <msnyder@redhat.com>
23498
23499         * gdb.base/callfuncs.exp: Add tests for nested call dummies.
23500         Add pass/fail message for stop at breakpoint in call dummy function.
23501
23502 2001-11-07  Michael Snyder  <msnyder@redhat.com>
23503
23504         * gdb.c++/templates.exp (test_template_breakpoints):
23505         If we get an overload menu, but it does not match what
23506         we expect, we still need to issue the "cancel" command.
23507         * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
23508         making the whitespace optional.  Argument for "new" may be
23509         "unsigned" as well as "unsigned int/long".
23510         * gdb.c++/templates.exp: Replace "const &" with "const ?&",
23511         making the whitespace optional.  Also replace "(void) with
23512         "((void|)), making the keyword "void" optional.
23513         * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
23514         making the whitespace optional.  Also replace "(void) with
23515         "((void|)), making the keyword "void" optional.
23516         * gdb.base/callfuncs.c (t_float_values): This function must
23517         _not_ be prototyped, and the following function (t_float_values2)
23518         must be prototyped (if the compiler supports it), so that GDB
23519         can be tested against both cases.  Usually one case involves
23520         promotion of float to double, while the other does not.
23521         * gdb.base/callfwmall.c: Ditto.
23522         * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
23523         includes a stack frame for "start".
23524
23525 2001-11-05  Jim Blandy  <jimb@redhat.com>
23526
23527         * gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
23528         pointers are 32 bits long, and that offsets of relocs are always
23529         stored in the data (REL-style), and not in the reloc entry itself
23530         (RELA-style).
23531         * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
23532         stabs.
23533
23534 2001-11-01  Michael Snyder  <msnyder@redhat.com>
23535
23536         * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
23537         and regular expression operators by using quoting.
23538
23539 2001-10-31  Michael Snyder  <msnyder@redhat.com>
23540
23541         * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
23542         depending on what the symbol table contains.
23543         * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
23544         the output of the ptype command.  Similarly, accept both "const &"
23545         and "const&".
23546
23547 2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
23548
23549         * gdb.base/miscexprs.c (main): Add usage of preprocessor
23550         symbol `STORAGE' to allow to choose the storage class of
23551         the local datastructures.
23552         * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
23553         compiler directive.
23554
23555 2001-10-30  Michael Snyder  <msnyder@redhat.com>
23556
23557         * gdb.base/jump.exp: Allow it to run for all targets.
23558
23559 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
23560
23561         * gdb.base/call-ar-st.c (print_double_array): Match for loop
23562         with new double_array size.
23563         (main): Change storage class of all local variables to static.
23564         Reduce size of double_array to 9.
23565         * gdb.base/call-ar-st.exp:  Increase timeout value.
23566         Change expected output for double array to match new size in
23567         call-ar-st.c.
23568
23569 2001-10-29  Corinna Vinschen  <vinschen@redhat.com>
23570
23571         * gdb.base/ending-run.exp: Create identical output when passing
23572         `step to end of run' case.  Add regular expression branch satisfying
23573         Stormy16 target.
23574
23575 2001-10-28  Mark Kettenis  <kettenis@gnu.org>
23576
23577         * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23578         that we catch the expected failure under Linux/x86.
23579
23580 2001-10-29  Orjan Friberg  <orjanf@axis.com>
23581
23582         * gdb.base/setvar.exp: Escape curly braces.
23583         * gdb.stabs/weird.exp: Ditto.
23584
23585 2001-10-27  Daniel Jacobowitz  <drow@mvista.com>
23586
23587         * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23588         * gdm.mi/mi0-hack-cli.exp: Likewise.
23589
23590 2001-10-25  Andrew Cagney  <ac131313@redhat.com>
23591
23592         * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23593         messages.
23594
23595 2001-10-21  Andrew Cagney  <ac131313@redhat.com>
23596
23597         * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23598         checking MI enabled.
23599
23600 2001-10-09  Corinna Vinschen  <vinschen@redhat.com>
23601
23602         * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23603
23604 2001-10-04  Frank Ch. Eigler  <fche@redhat.com>
23605
23606         * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23607         if gdb child process crashes, just signal an error.
23608
23609 2001-10-02  Jim Blandy  <jimb@redhat.com>
23610
23611         * lib/gdb.exp (test_xfail_format): Simplify.
23612
23613         * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23614         front of the variable name `format'.  Simplify `if'.
23615
23616 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
23617
23618         * gdb.threads/pthreads.exp: Wait for output and delay
23619         before sending ^C.
23620
23621 2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
23622
23623         * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
23624         some incorrect output instead of timing out.
23625         * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
23626
23627 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
23628
23629         * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23630         check to allow additional `int'.
23631
23632 2001-09-27  Daniel Jacobowitz  <drow@mvista.com>
23633
23634         * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23635         Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23636
23637 2001-09-27  Michael Snyder  <msnyder@redhat.com>
23638
23639         * lib/gdb.exp (test_debug_format): New proc.
23640         (setup_xfail_format): Use new proc test_debug_format.
23641         * gdb.base/constvars.exp (local_compiler_xfail_check): New
23642         proc; use new service proc test_debug_format.
23643         Replace all other "gcc_compiled" tests with this test.
23644         * gdb.base/volatile.exp (local_compiler_xfail_check): New
23645         proc; use new service proc test_debug_format.
23646         Replace all other "gcc_compiled" tests with this test.
23647
23648 2001-09-27  Michael Snyder  <msnyder@redhat.com>
23649
23650         * gdb.base/cvexpr.exp: New file.
23651         * gdb.base/cvexpr.c: New file
23652         Test for expressions using const and volatile keywords.
23653
23654 2001-09-26  Corinna Vinschen  <vinschen@redhat.com>
23655
23656         * gdb.base/constvars.exp: Check for different orders of keywords
23657         and additional "int" strings in output.
23658
23659 2001-09-22  Andrew Cagney  <ac131313@redhat.com>
23660
23661         * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23662         responses from "help maint".
23663
23664 2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
23665
23666         * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23667         to localhost:NNN instead of :NNN, in case Xvfb is listening
23668         only on TCP.
23669
23670 2001-09-19  Corinna Vinschen  <vinschen@redhat.com>
23671
23672         * gdb.base/recurse.exp: When checking leaving the watchpoint
23673         scope, recognize when gdb is in function's epilogue and pass.
23674
23675 2001-09-18  Keith Seitz  <keiths@redhat.com>
23676
23677         * lib/insight-support.exp (_gdbtk_export_target_info): Add
23678         support for running tests against sid targets.
23679         (gdbtk_done): Ditto.
23680
23681 2001-09-18  Corinna Vinschen  <vinschen@redhat.com>
23682
23683         * gdb.base/ending-run.c (main): Set stdout buffersize
23684         to the same reasonable value for any target.
23685         * gdb.base/ending-run.exp: Add a regular expression
23686         to make testsuite happy on Sanyo Stormy16 target.
23687
23688 2001-09-17  Corinna Vinschen  <vinschen@redhat.com>
23689
23690         * gdb.base/display.c (do_loops): Add float variable `f'.
23691         Increment f in loop.
23692         * gdb.base/display.exp: Increment timeout by 60 seconds.
23693         Change float display test to use variable `f'.
23694
23695 2001-09-17  Jim Blandy  <jimb@redhat.com>
23696
23697         * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23698         overflowing the limited breakpoint tables on some ROM monitors
23699         (like the ROM68K).
23700
23701 2001-09-15  Frank Ch. Eigler  <fche@redhat.com>
23702
23703         * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23704         the "-ac" (disable access control) flag.
23705
23706 2001-08-30  Jeff Holcomb  <jeffh@redhat.com>
23707
23708         * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23709         ints.
23710
23711 2001-08-30  Keith Seitz  <keiths@redhat.com>
23712
23713         * lib/gdb.exp: Move all insight-related functionality into
23714         separate file.
23715         * lib/insight-support.exp: New file.
23716
23717 2001-08-29  Frank Ch. Eigler  <fche@redhat.com>
23718
23719         * config/sid.exp (sid_start): Never set sid verbosity; disable
23720         expect_background {} that consumed its stdout; tolerate </dev/null.
23721         Attempt to set endianness override in "sid" protocol mode.  Cleanup.
23722
23723 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
23724
23725         * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23726         CLI jump command to start it.
23727         (mi_run_to_main): Fail immediatly when unexpected output.
23728
23729 2001-08-18  Andrew Cagney  <ac131313@redhat.com>
23730
23731         * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23732         beginning of function.  Fix PR gdb/191.
23733
23734 2001-08-16  Frank Ch. Eigler  <fche@redhat.com>
23735
23736         * config/sid.exp (sid_start): Don't warn if we cannot figure out
23737         what to force sid endianness to.
23738
23739 2001-08-15  Keith Seitz  <keiths@redhat.com>
23740
23741         * lib/gdb.exp (gdbtk_start): Don't set environment
23742         variables for TCL_LIBRARY and friends. Insight will
23743         now figure these out for itself.
23744
23745 2001-08-02  Michael Snyder  <msnyder@redhat.com>
23746
23747         * gdb.base/completion.exp: Remove the symbol "a64l" from
23748         the expect string; this is target-specific, and not related
23749         to what is being tested.
23750
23751 2001-08-02  Dave Brolley  <brolley@redhat.com>
23752
23753         * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23754
23755 2001-07-25  Michael Snyder  <msnyder@redhat.com>
23756
23757         * gdb.base/consecutive.exp: New file.  Test stepping over
23758         breakpoints on consecutive instructions.
23759         * gdb.base/consecutive.c: New file.
23760
23761         * gdb.base/call-rt-st.exp: Use double-backslash to quote
23762         curly braces in regular expressions.
23763
23764 2001-07-25  Michael Snyder  <msnyder@redhat.com>
23765
23766         * gdb.base/ending-run.exp: Accept "Program exited normally" as
23767         legitimate output from stepping out of main.
23768
23769 2001-07-22  Keith Seitz  <keiths@redhat.com>
23770
23771         * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23772         the empty string, do not run the tests.
23773
23774 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
23775
23776         * gdb.base/long_long.exp: Detect size of pointer.  Take into
23777         account 2-byte pointers when testing for p/a results.
23778
23779 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
23780
23781         * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
23782         and defined to 1K for m68hc11.
23783         (random_data): Reduce table to 1K for embedded platforms (68hc11).
23784         * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23785         (sizeof_random_data): New variable to tell the size of the data table;
23786         don't test past this size; always run to main.
23787
23788 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
23789
23790         * gdb.base/return2.exp: return of long long and double fails for
23791         68HC11; don't execute these tests on that platform.
23792         * gdb.base/return.exp: Return of a double fails for 68hc11.
23793
23794 2001-07-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
23795
23796         * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23797         tests that print a float.
23798         * call-rt-st.exp: Likewise.
23799
23800 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
23801
23802         * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23803         running this test on Linux.
23804
23805 2001-06-24  Michael Chastain  <chastain@redhat.com>
23806
23807         * gdb.base/arithmet.exp: Remove some tests to make all test names
23808         unique.
23809
23810 2001-07-03  Michael Snyder  <msnyder@redhat.com>
23811
23812         * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23813         the output of the ptype command.
23814
23815 2001-07-02  Michael Snyder  <msnyder@redhat.com>
23816
23817         * gdb.base/completion.exp: Don't assume that break.c is the only
23818         source file that may contain functions named "marker".
23819         * gdb.base/corefile.exp: Quote the curly braces in regexp.
23820
23821 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
23822
23823         * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23824         of files to delete.
23825
23826         From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23827         * gdb.disasm/h8300s.exp: New file.
23828         gdb.disasm/h8300s.s: Likewise.
23829
23830 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
23831
23832         * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23833         empty breakpoint tables.
23834
23835 2001-06-25  Andrew Cagney  <ac131313@redhat.com>
23836
23837         * lib/mi-support.exp: Update args=... part of stop-reason
23838         patterns. Accept either a list or a tuple.
23839
23840 2001-06-23  Andrew Cagney  <ac131313@redhat.com>
23841
23842         * lib/mi-support.exp: Remove local emacs variable defining
23843         change-log-default-name.
23844
23845 2001-06-22  Michael Chastain  <chastain@redhat.com>
23846
23847         * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23848         This is operationally compatible with the previous version.
23849
23850 2001-06-13  Jim Blandy  <jimb@redhat.com>
23851
23852         * lib/gdb.exp (gdb_test): Doc fix.
23853
23854 2001-06-10  Michael Chastain  <chastain@redhat.com>
23855
23856         * gdb.base/exprs.exp: Remove a duplicate test.
23857
23858 2001-06-06  Jim Blandy  <jimb@redhat.com>
23859
23860         * gdb.base/return2.exp (main): Use values to test float and double
23861         returns that are not NaN's, to avoid being confused by IEEE
23862         comparison rules.
23863
23864 2001-06-04  Michael Snyder  <msnyder@redhat.com>
23865
23866         * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
23867         non-zero if control_c fails.  Terminate the test on failure,
23868         rather than wait for 12 more tests to time out.
23869
23870 2001-06-06  Jim Blandy  <jimb@redhat.com>
23871
23872         * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
23873         Don't forget to match the GDB prompt.
23874
23875         * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23876
23877 2001-06-04  Jim Blandy  <jimb@redhat.com>
23878
23879         * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23880         command.
23881
23882 2001-05-31  Kevin Buettner  <kevinb@redhat.com>
23883
23884         * gdb.base/annota1.exp (info break): Match four or more spaces
23885         after "Address".
23886
23887 2001-05-31  Michael Chastain  <chastain@redhat.com>
23888
23889         * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23890         (dm_type_int_star): Likewise.
23891         (dm_type_long_star): Likewise.
23892         (dm_type_void_star): Likewise.
23893
23894 2001-05-29  Kevin Buettner  <kevinb@redhat.com>
23895
23896         * gdb.base/completion.exp (INPUTRC): Set this environment variable
23897         to a known value in order to get consistent results regardless
23898         of the setting of INPUTRC or the presence or contents of .inputrc.
23899
23900 2001-05-24  Michael Snyder  <msnyder@redhat.com>
23901
23902         * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23903         Don't require that the main thread and the manager thread are the
23904         first in the list.
23905
23906         * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23907         debugging.  If test fails, issue an "unsupported" not a "fail".
23908
23909 2001-05-24  Jim Blandy  <jimb@redhat.com>
23910
23911         Don't assume that short is shorter than int.
23912         * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23913         assume that shorts are smaller than ints.  On a 16-bit machine,
23914         this isn't true.
23915         ("print unsigned char == (~0)"): Add test that verifies that ~0,
23916         an int, is not equal to ~0 stored in an unsigned char.  This tests
23917         the same thing that the previous test meant to, but works on
23918         16-bit machines, too.
23919         ("print unsigned char != (~0)"): Same test, complemented.
23920
23921 2001-05-24  Michael Snyder  <msnyder@redhat.com>
23922
23923         * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
23924         test for (full_coverage == 0).  This makes the test run faster,
23925         and prevents dejagnu getting out of step.
23926
23927 2001-05-23  Kevin Buettner  <kevinb@redhat.com>
23928
23929         * gdb.base/finish.exp (finish_void): Revise pattern for
23930         stopping on the call statement to not permit stopping at
23931         the start of the instructions comprising the call sequence.
23932
23933 2001-05-19  Michael Chastain  <chastain@redhat.com>
23934
23935         * gdb.base/callfuncs.exp: Make all test names unique.
23936         * gdb.base/commands.exp: Make all test names unique.
23937         * gdb.base/condbreak.exp: Make all test names unique.
23938         * gdb.base/dbx.exp: Make all test names unique.
23939         * gdb.base/default.exp: Make all test names unique.
23940         * gdb.base/define.exp: Make all test names unique.  Conform some FAIL
23941         and TIMEOUT messages to their corresponding PASS message.
23942         * gdb.base/ending-run.exp: Make all test names unique.
23943         * gdb.base/long_long.exp: Remove duplicate test.
23944
23945 2001-05-21  Kevin Buettner  <kevinb@redhat.com>
23946
23947         * gdb.base/finish.exp (finish_void): Allow "finish" command to
23948         stop on the call statement as well as the statement after the
23949         call.
23950
23951 2001-05-21  Michael Snyder  <msnyder@redhat.com>
23952
23953         * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23954
23955 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
23956
23957         * gdb.base/completion.exp: Revamp test. Make it execute on all
23958         platforms.
23959
23960 2001-05-10  Elena Zannoni  <ezannoni@redhat.com>
23961
23962         * config/gdbserver.exp (gdb_load): Handle the case
23963         in which the arguments to gdbserver are given in the
23964         baseboard configuration file.
23965         Also handle the case in which the server needs to do a
23966         load.
23967
23968 2001-05-07  Keith Seitz <keiths@cygnus.com>
23969
23970         * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23971         set up the display for testing.
23972         (gdbtk_start): Convert all paths to paths that tcl will like.
23973         Export target information to environment.
23974         (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23975         necessary.
23976         (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23977         (to_tcl_path): New proc to convert a given pathname into
23978         a path acceptible as an argument to a tcl command.
23979         (_gdbtk_export_target_info): New proc to export target info
23980         into the environment for gdbtk testing.
23981         (gdbtk_done): New proc to signal end-of-test.
23982
23983 2001-05-06  Jim Blandy  <jimb@redhat.com>
23984
23985         * restore.c: Make the code of caller0 correspond to its comment.
23986
23987 2001-05-03  Michael Snyder  <msnyder@redhat.com>
23988
23989         * config/sid.exp (gdb_target_sid): Check for error messages.
23990         On error or timeout, don't make expect exit (which will terminate
23991         all subsequent tests); instead just make gdb exit.
23992         (gdb_load): Check for error messages.  On error or timeout,
23993         return a negative value.
23994
23995 2001-04-24  Jim Blandy  <jimb@redhat.com>
23996
23997         * gdb.c++/templates.exp: If we see the prompt for the overload
23998         list, but we haven't recognized any of the longer patterns,
23999         arrange for this test to fail, not hang.
24000
24001         * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24002         variations.
24003
24004 2001-04-22  Michael Chastain  <chastain@redhat.com>
24005
24006         * gdb.c++/local.exp: Use the 'runto' library function.
24007         * gdb.c++/namespace.exp: Likewise.
24008         * gdb.c++/overload.exp: Likewise.
24009
24010 2001-03-26  Kevin Buettner  <kevinb@redhat.com>
24011
24012         * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24013         * gdb.base/step-line.exp: New file.  Test step/next in presence of
24014         #line directives.
24015         * gdb.base/step-line.c: New file.  Test program for the above.
24016         * gdb.base/step-line.inp: New file.  We pretend that this file has
24017         been transformed by some other tool into step-line.c.
24018
24019 2001-03-21  Jim Blandy  <jimb@redhat.com>
24020
24021         * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24022         unmangled operator names.
24023
24024 2001-03-20  Jim Blandy  <jimb@redhat.com>
24025
24026         * gdb.threads/linux-dp.exp: Recognize an additional message
24027         generated by GDB when it doesn't understand how to debug threads
24028         on the target system.
24029
24030 2001-03-19  Andrew Cagney  <ac131313@redhat.com>
24031
24032         * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24033
24034 2001-03-12  Michael Chastain  <chastain@redhat.com>
24035
24036         * gdb.c++/derivation.exp: Use the 'runto' library function.
24037
24038 2001-03-12  Michael Chastain  <chastain@redhat.com>
24039
24040         * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24041
24042 2001-02-24  Michael Chastain  <chastain@redhat.com>
24043
24044         * gdb.c++/ref-types.exp: Change handwritten code to library
24045         function 'runto'.
24046
24047 2001-03-16  Orjan Friberg  <orjanf@axis.com>
24048
24049         * gdb.base/signals.exp: Set count to 0 explicitly.
24050
24051 2001-03-15  Mark Salter  <msalter@redhat.com>
24052
24053         * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24054         (gdb_target_monitor): Add check of gdb_target_cmd return value.
24055         (gdb_load): Add support for additional target_info: gdb_download_size
24056         and gdb_load_timeout.
24057
24058 Thu Mar  8 16:06:00 2001  David Taylor  <taylor@redhat.com>
24059
24060         * gdb.base/annota1.exp: Move test of isnative to earlier in the
24061         file -- to prevent failing when the compile fails but we have no
24062         intention of running the tests anyway.
24063
24064         * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24065         tests if set.
24066
24067         * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
24068         integers.
24069
24070         * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24071         * gdb.c++/namespace.exp: Ditto.
24072
24073 2001-03-07  Orjan Friberg  <orjanf@axis.com>
24074
24075         * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24076         * gdb.base/pointers.exp: Relax pattern match of decimals.
24077
24078 2001-03-06  Kevin Buettner  <kevinb@redhat.com>
24079
24080         * Makefile.in, config/abug.exp, config/cfdbug.exp,
24081         config/cpu32bug.exp, config/dve.exp, config/est.exp,
24082         config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24083         config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24084         config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24085         config/sh.exp, config/sid.exp, config/slite.exp,
24086         config/sparclet.exp, config/udi.exp, config/unknown.exp,
24087         config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24088         config/vxworks.exp, config/vxworks29k.exp,
24089         gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24090         gdb.base/all-bin.exp, gdb.base/annota1.exp,
24091         gdb.base/arithmet.exp, gdb.base/assign.exp,
24092         gdb.base/async.exp, gdb.base/attach.exp,
24093         gdb.base/bitfields.exp, gdb.base/bitops.exp,
24094         gdb.base/break.exp, gdb.base/call-ar-st.exp,
24095         gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24096         gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24097         gdb.base/commands.exp, gdb.base/completion.exp,
24098         gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24099         gdb.base/constvars.exp, gdb.base/corefile.exp,
24100         gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24101         gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24102         gdb.base/ending-run.exp, gdb.base/environ.exp,
24103         gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24104         gdb.base/finish.exp, gdb.base/foll-exec.exp,
24105         gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24106         gdb.base/funcargs.exp, gdb.base/help.exp,
24107         gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24108         gdb.base/logical.exp, gdb.base/long_long.exp,
24109         gdb.base/maint.exp, gdb.base/mips_pro.exp,
24110         gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24111         gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24112         gdb.base/pointers.exp, gdb.base/printcmds.exp,
24113         gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24114         gdb.base/regs.exp, gdb.base/relational.exp,
24115         gdb.base/remote.exp, gdb.base/reread.exp,
24116         gdb.base/restore.exp, gdb.base/return2.exp,
24117         gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24118         gdb.base/selftest.exp, gdb.base/setshow.exp,
24119         gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24120         gdb.base/sigall.exp, gdb.base/signals.exp,
24121         gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24122         gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24123         gdb.base/step-test.exp, gdb.base/structs.c,
24124         gdb.base/structs.exp, gdb.base/structs2.exp,
24125         gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24126         gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24127         gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24128         gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24129         gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24130         gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24131         gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24132         gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24133         gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24134         gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24135         gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24136         gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24137         gdb.fortran/types.exp, gdb.java/jmisc.exp,
24138         gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24139         gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24140         gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24141         gdb.trace/circ.exp, gdb.trace/collection.exp,
24142         gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24143         gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24144         gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24145         gdb.trace/report.exp, gdb.trace/save-trace.exp,
24146         gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24147         gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24148         lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24149         notices.
24150
24151 2001-02-27  Michael Snyder  <msnyder@cygnus.com>
24152
24153         * gdb.base/varargs.c (find_max_double): Fix printf format string:
24154         first arg is int not float.
24155
24156 2001-02-22  Michael Snyder  <msnyder@cygnus.com>
24157
24158         * gdb.base/reread.exp: Unsupported for non-native targets;
24159         doesn't work for remote debugging.
24160
24161 2001-02-19  Fernando Nasser  <fnasser@redhat.com>
24162
24163         From  Drew Moseley  <dmoseley@redhat.com>
24164         * gdb.base/ending-run.exp: Properly handle the BSP state when
24165         stepping past the end of main.
24166
24167 2001-02-19  John Moore  <jmoore@redhat.com>
24168
24169         * gdb.base/commands.exp (infrun_breakpoint_command_test):
24170         Converted HPUX fix for non-expected items following multiple
24171         step commands into general solution for all platforms.
24172
24173 2001-02-18  Michael Chastain  <chastain@redhat.com>
24174
24175         * gdb.c++/classes.exp (do_tests): Change runto statements
24176         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
24177         statements demangler agnostic.
24178         * gdb.c++/virtfunc.exp (do_tests): Likewise.
24179         (gdb_virtfunc_restart): Likewise.
24180
24181 2001-02-14  Michael Chastain  <chastain@redhat.com>
24182
24183         * gdb.c++/inherit.exp (do_tests): Change runto statements
24184         from "runto 'foo(void)'" to "runto 'foo'".  This makes the
24185         statements demangler agnostic.
24186
24187 Sun Feb  4 17:32:21 2001  Andrew Cagney  <cagney@redhat.com>
24188
24189         * gdb.threads/pthreads.exp: Unify pass/fail messages for
24190         ``continue to bkpt at common_routine in thread 2'' and ``stopped
24191         before calling common_routine 15 times'' tests.
24192
24193 2001-02-11  Michael Chastain  <chastain@redhat.com>
24194
24195         * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24196         Helps the test script figure out which demangler is in use.
24197         (dm_type_foo_ref): Ditto.
24198         (dm_type_int_star): Ditto.
24199         (dm_type_long_star): Ditto.
24200         (dm_type_unsigned_int): Ditto.
24201         (dm_type_void): Ditto.
24202         (dm_type_void_star): Ditto.
24203         * gdb.base/cplusfuncs.exp (probe_demangler): New function.
24204         Probe the gdb demangler and set variables to accommodate
24205         formatting differences.
24206         (info_func_regexp): New function.  Same as info_func, but
24207         matches against a regexp.
24208         (info_func): Match against a literal string.
24209         (print_addr_2): New function.  Match against a literal string,
24210         which can be different from the input to gdb.
24211         (print_addr): Simply call print_addr_2 with the same argument twice.
24212         (test_lookup_operator_functions): Use demangler formatting variables.
24213         Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
24214         the tests in the same order as the C++ class declaration.
24215         (test_paddr_operator_functions): Ditto.
24216         (test_paddr_overloaded_functions): Ditto.
24217         (test_paddr_hairy_functions): Use demangler formatting variables.
24218         Add reference to gdb/19 for related tests.
24219         (do_tests): Call probe_demangler.
24220
24221 2001-01-30  Kevin Buettner  <kevinb@redhat.com>
24222
24223         * gdb.c++/templates.cc (printf): Remove unused function definition.
24224
24225 2001-01-26  Felix Lee  <flee@redhat.com>
24226
24227         * sid.exp (sid_exit): Pass host, not target, to remote_close.
24228
24229 2001-01-25  matthew green  <mrg@redhat.com>
24230
24231         * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24232         up sid.
24233         (sid_exit): Call `remote_pop_conn' after GDB is gone.
24234
24235 2001-01-25  matthew green  <mrg@redhat.com>
24236
24237         * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
24238         Deprecate $sid_spawn_id.
24239         (sid_exit): Remove code necessary only for `spawn.'
24240
24241 2001-01-25  matthew green  <mrg@redhat.com>
24242
24243         * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24244
24245 2001-01-28  Michael Chastain  <chastain@redhat.com>
24246
24247         * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24248         to call when tests fail.  It takes gdb out of the overloaded
24249         function choice menu back to the main prompt, so that the test
24250         program stays synchronized.
24251         (set_bp_overloaded): New proc to collect all the common
24252         code for setting a breakpoint on an overloaded name.  Calls
24253         take_gdb_out_of_choice_menu when needed.
24254         (menu_overload1arg): New variable to collect the repeated
24255         instances of the expected menu for an overloaded name.  Change
24256         the regular expression to handle changes in g++ type encoding:
24257         "void" can be either "void" or "", and "unsigned int" can be
24258         either "unsigned int" or "unsigned".
24259         (continue_to_bp_overloaded): Change regular expressions to handle
24260         changes in g++ type encoding.
24261         (no proc): Call take_gdb_out_of_choice_menu when needed.
24262         Remove redundant calls to "info break".  Accept either "canceled"
24263         or "cancelled".  Change regular expressions in "info break"
24264         calls to handle changes in g++ type encoding.  Give all tests
24265         unique strings.
24266
24267 2001-01-17  Ben Elliston  <bje@redhat.com>
24268
24269         * config/sid.exp: New file.
24270
24271 Fri Jan 12 18:29:01 2001  Andrew Cagney  <cagney@b1.cygnus.com>
24272
24273         * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
24274
24275 2000-12-21  Michael Snyder  <msnyder@cygnus.com>
24276
24277         * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
24278         Add a RE to accept a non-ascii char if one is ever presented.
24279
24280 2000-12-20  Fernando Nasser  <fnasser@redhat.com>
24281
24282         * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
24283
24284 2000-12-18  Michael Snyder  <msnyder@cygnus.com>
24285
24286         * gdb.base/setvar.exp: Use double '\\' to quote curly braces
24287         in regexp.  One '\' does not suffice on Linux.
24288
24289 2000-12-09  Michael Chastain  <chastain@redhat.com>
24290
24291         * gdb.base/break.exp (test_clear_command): Use a marker function
24292         rather than 'main' for the test function.  Also move this
24293         test to an execution point where the marker function names are
24294         guaranteed to be bound to functions.  (Executing tests after a
24295         'finish' from main runs into name conflicts with local names
24296         in __libc_start_main).
24297
24298 2000-12-07  Michael Snyder  <msnyder@cygnus.com>
24299
24300         * gdb.base/finish.exp: New test for gdb's "finish" command.
24301         * gdb.base/return2.exp: New test for gdb's "return" command.
24302         * gdb.base/return2.c: New source file for above.
24303
24304 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
24305
24306         * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
24307         * gdb.base/miscexprs.exp: Ditto.
24308         * gdb.base/pointers.exp:  Ditto.
24309         * gdb.c++/derivation.exp: Ditto.
24310         * gdb.c++/local.exp:      Ditto.
24311         * gdb.c++/namespace.exp:  Ditto.
24312         * gdb.c++/overload.exp:   Ditto.
24313         * gdb.c++/ref-types.exp:  Ditto.
24314
24315 2000-12-05  Michael Snyder  <msnyder@cygnus.com>
24316
24317         * gdb.base/constvars.exp: Test result of "up" command.
24318         * gdb.base/miscexprs.exp: Ditto.
24319         * gdb.base/pointers.exp:  Ditto.
24320         * gdb.base/scope.exp:     Ditto.
24321         * gdb.c++/derivation.exp: Ditto.
24322         * gdb.c++/local.exp:      Ditto.
24323         * gdb.c++/namespace.exp:  Ditto.
24324         * gdb.c++/overload.exp:   Ditto.
24325         * gdb.c++/ref-types.exp:  Ditto.
24326
24327 2000-11-22  Michael Chastain  <chastain@redhat.com>
24328
24329         * mips_pro.exp: Accept either "middle -> top -> main" or
24330         "middle -> main" in the backtrace, because gcc can optimize
24331         tail calls to jumps.  Remove setup_xfail for the hppa case.
24332         Add a comment with the original warning messages from PR 3016,
24333         which was filed in 1993, to preserve them for posterity.
24334
24335 2000-11-17  Nick Duffek  <nsd@redhat.com>
24336
24337         * lib/gdb.exp (gdb_test): Override timeout with board info.
24338
24339 2000-11-17  Nick Duffek  <nsd@redhat.com>
24340
24341         * gdb.base/display.exp: Don't kill running stub.  Add "again" to
24342         the second kill and detach messages.
24343
24344 2000-11-17  Nick Duffek  <nsd@redhat.com>
24345
24346         * configure.in: Add AC_EXEEXT.
24347         * configure: Regenerate.
24348         * Makefile.in (just-check): Export EXEEXT.
24349         * lib/gdb.exp ($EXEEXT): Import from environment.
24350         * gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
24351         expect "maint dump-me" on Cygwin.
24352         * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
24353         $EXEEXT.
24354
24355 2000-11-17  Nick Duffek  <nsd@redhat.com>
24356
24357         * gdb.base/break.exp: Test backtrace and finish from called
24358         function on all platforms, not just HP-UX.
24359
24360 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
24361
24362         * config/monitor.exp (gdb_target_cmd): Abstracts some of the
24363         code from gdb_target_monitor, so it can be used independantly
24364         for gdbserver.  Also comment out an unnecessary PUTS.
24365
24366 2000-11-03  Michael Snyder  <msnyder@cygnus.com>
24367
24368         * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
24369         * gdb.base/corefile.exp: Expect the message "Program is being
24370         debugged already" when we send the "corefile" command, since
24371         the preceeding gdb_load may have connected gdb to a remote target.
24372         * gdb.base/display.exp: Disable hardware watchpoints if new
24373         board info variable "no_hardware_watchpoints" is true.
24374         Replace single-letter commands with more readable ones.
24375         * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
24376         if new board info variable "no_hardware_watchpoints" is true.
24377         * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
24378         to see if stdio (printf) testing is possible.
24379         * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
24380         board info variable "no_hardware_watchpoints" is true.  Use new
24381         proc "gdb_skip_stdio_tests" to see if printf tests are possible.
24382
24383 2000-11-13  Fernando Nasser  <fnasser@redhat.com>
24384
24385         From Orjan Friberg  <orjanf@axis.com>:
24386         * gdb.base/printcmds.exp: Escape curly braces followed by a number
24387         in array print pattern match.
24388
24389 2000-11-09  Fernando Nasser  <fnasser@redhat.com>
24390
24391         * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
24392         spelling "cancelled" to U.S. spelling "canceled" to match changes
24393         made to gdb.
24394         * gdb.c++/ovldbreak.exp: Ditto.
24395
24396 2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
24397
24398         * gdb.base/callfuncs.c (main):  Moved to end of file, call
24399         t_double_values to initialize the FPU before inferior calls are made.
24400         * gdb.base/callfuncs.exp:  Test for register preservation after calling
24401         inferior functions.  Add tests for continuining, finishing and
24402         returning from a stop in a call dummy.
24403
24404 2000-10-24  Michael Snyder  <msnyder@cygnus.com>
24405
24406         * gdb.base/commands.exp: Break up long lines, and re-indent.
24407
24408 2000-10-19  Michael Snyder  <msnyder@cygnus.com>
24409
24410         * config/gdbserver.exp:  Rewritten from the ground up, to make it
24411         compatible with the current dejagnu tree, and to make it work with
24412         the new "gdbserver" in libremote.
24413
24414 2000-10-16  Michael Snyder  <msnyder@cygnus.com>
24415
24416         * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
24417         * gdb.base/varargs.exp: Skip entire test if no printf support.
24418         * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
24419         * gdb.base/shlib-call.exp: Skip several tests if no printf support.
24420
24421 2000-10-13  Michael Snyder  <msnyder@cygnus.com>
24422
24423         * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
24424         no floating point support.
24425         (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
24426         * gdb.base/call-ar-st.exp: Use above procs to skip tests.
24427         * gdb.base/call-rt-st.exp: Ditto.
24428         * gdb.base/call-strs.exp: Ditto.
24429
24430 2000-08-02  Jimmy Guo  <guo@hpcleara.cup.hp.com>
24431
24432         * gdb.base/sizeof.c: include <stdio.h>.
24433
24434         * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
24435         'finish', otherwise uncaptured gdb_prompt would potentially
24436         throw remaining test points out of sync.
24437
24438 2000-07-26  Scott Bambrough <scottb@netwinder.org>
24439
24440         * gdb.base/recurse.exp: Run tests for all targets.
24441         * gdb.base/so-impl-ld.exp: Added wildcard to handle the
24442         gnu-oldld case on ARM.
24443         * gdb.base/watchpoint.exp (test_stepping): Clear xfail
24444         for ARM targets.
24445
24446 Mon Jul 24 07:46:02 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
24447
24448         * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
24449         * gdb.java/configure: Rebuild.
24450
24451 Sun Jul 23 21:42:34 2000  Anthony Green  <green@redhat.com>
24452
24453         * gdb.java/jv-exp.exp: New file.
24454
24455 Sun Jul 23 21:02:42 2000  Anthony Green  <green@redhat.com>
24456
24457         * configure: Rebuilt.
24458         * configure.in (configdirs): Add gdb.java.
24459         * gdb.java/jmisc.java: New file.
24460         * gdb.java/jmisc.exp: New file.
24461         * gdb.java/Makefile.in: New file.
24462         * gdb.java/configure: Rebuilt.
24463         * gdb.java/configure.in: New file.
24464         * lib/java.exp: New file.
24465
24466 Wed Jul 12 18:14:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24467
24468         * gdb.base/exprs.exp: Test casts to a pointer including over and
24469         underflow.
24470
24471 Thu Jul 13 11:52:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24472
24473         * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files.  Compare GDB
24474         and the compilers sizes.
24475
24476 2000-07-09  Nick Duffek  <nsd@redhat.com>
24477
24478         * gdb.c++/misc.cc (class ClassParam, class_param): Define.
24479         (use_methods): New function.
24480         (main): Call use_methods().
24481         * gdb.c++/classes.exp (test_method_param_class): New procedure.
24482         (do_tests): Call test_method_param_class.
24483
24484 2000-07-09  Nick Duffek  <nsd@redhat.com>
24485
24486         * gdb.c++/classes.exp (test_nonexistant_members): Fix name
24487         spelling.
24488         (test_enums): New procedure.  Move enum tests from end of script
24489         to here.  Set breakpoint on function name instead of line number.
24490         * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
24491         (enums2): New marker function.
24492         (enums1): New function.
24493         (main): Call enums1().  Move enum tests to enums1().
24494
24495 Tue Jul  4 03:43:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24496
24497         * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
24498         compile/link program.  Update line numbers.
24499         * gdb.asm/d10v.inc: Define ``startup''.
24500         * gdb.asm/asmsrc1.s: Add definition of _start.
24501
24502 Fri Jun 23 17:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24503
24504         * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
24505
24506 2000-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24507
24508         * gdb.base/maint.exp: Add 'maint print architecture' item to output
24509         of 'help maint print' command.
24510
24511 Fri Jun 16 18:22:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24512
24513         * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
24514         they use gdb_expect_list.
24515
24516 Wed Jun  7 13:02:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24517
24518         * gdb.base/commands.exp: Use ``set remote
24519         memory-read-packet-size'' instead of ``set endian big'' to test
24520         long commands.
24521
24522 2000-06-03  Daniel Berlin  <dan@cgsoftware.com>
24523
24524         * gdb.c++/templates.exp (do_tests): Make all of these work under
24525         g++, and stop skipping them.
24526
24527         * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
24528         work under g++.
24529
24530         * gdb.c++/misc.cc: Fix ambiguous initialization with correct
24531         initialization.
24532
24533 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
24534
24535         * gdb.base/annota1.exp (run until main breakpoint): Loosen up
24536         the regular expression: accept an (almost) arbitrary sequence of
24537         "frames-invalid" and "breakpoints-invalid" messages both before
24538         and after the "starting" message.
24539
24540 2000-06-02  Michael Snyder  <msnyder@cygnus.com>
24541
24542         * gdb.c++/local.exp: This test has never been known to work with g++.
24543
24544 2000-05-18  Michael Snyder  <msnyder@cygnus.com>
24545
24546         * gdb.base/annota1.exp (annotate-signal-handler-caller):
24547         Relax the regular expression a little, make it pass on Solaris 8.
24548
24549 2000-05-12  Kevin Buettner  <kevinb@redhat.com>
24550
24551         * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
24552         a call, do not require that gdb stop on the line after the call.
24553         Instead, it is permissible for gdb to stop on the line of the
24554         call itself.
24555
24556 2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
24557
24558         * gdb.base/break.exp (bp on small function, optimized file):
24559         Add a second pass pattern.  The behavior differs here between stabs
24560         and dwarf for one-line functions.  Stabs preserves two line symbols
24561         (one before the prologue and one after) with the same line number,
24562         but dwarf regards these as duplicates and discards one of them.
24563         Therefore the address after the prologue (where the breakpoint is)
24564         has no exactly matching line symbol, and GDB reports the breakpoint
24565         as if it were in the middle of a line rather than at the beginning.
24566
24567 2000-05-08  Michael Snyder  <msnyder@cygnus.com>
24568
24569         * gdb.base/interrupt.exp: Make "pass" message say "send"
24570         rather than "send_gdb" (for consistancy).
24571
24572 Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24573
24574         From 2000-04-28 Andreas Jaeger  <aj@suse.de>:
24575         * gdb.c++/templates.cc: Properly check for GCC version number.
24576         * lib/compiler.cc: Likewise
24577
24578 2000-04-28  Michael Snyder  <msnyder@cygnus.com>
24579
24580         * gdb.base/break.exp: When compiled with -O2 optimization,
24581         gdb may not stop at the first line of main, due to code motion.
24582
24583 2000-04-26  Michael Snyder  <msnyder@cygnus.com>
24584
24585         * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24586         This test depends on parsing the printf output from the target.
24587         Since the sparclet stub doesn't do stdio, this will never work.
24588         * gdb.base/call-rt-st.exp: ditto.
24589         * gdb.base/call-strs: ditto.
24590
24591 2000-04-24  Michael Snyder  <msnyder@cygnus.com>
24592
24593         * gdb.base/miscexprs.exp: make sizeof long array test portable.
24594
24595         * gdb.base/ending-run.exp: After connecting to a remote target,
24596         but before running, the target will appear to be in a random
24597         location.  Specify both a file and a line for breakpoints.
24598         Also, the function that calls main may be called 'init'
24599         rather than 'start'.
24600
24601 2000-04-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24602
24603         * gdb.base/help.exp: Update output for add-symbol-file command.
24604
24605 2000-04-10  Fernando Nasser  <fnasser@cygnus.com>
24606
24607         From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24608         * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24609
24610 2000-04-07  J.T. Conklin  <jtc@redback.com>
24611
24612         * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24613
24614         * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24615
24616 Thu Mar 30 13:26:19 2000  Philippe De Muyter  <phdm@macqel.be>
24617
24618         * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
24619         values that can be represented exactly.
24620         * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24621         above change, and to not check against the directory part of the source
24622         file name.
24623         (step into print_long_arg_list): Likewise.
24624         (print print_small_structs from print_long_arg_list): Likewise.
24625         (print print_long_arg_list): Likewise.
24626
24627 2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24628
24629         * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
24630
24631 Mon Mar 27 14:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24632
24633         * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24634
24635 2000-03-25  Daniel Berlin  <dan@cgsoftware.com>
24636
24637         * gdb.base/commands.exp (deprecated_command_test): Add test for
24638         deprecate with no arguments.
24639
24640 2000-03-24  Jonathan Larmour  <jlarmour@redhat.co.uk>
24641
24642         * gdb.base/break.exp: Add new test for setting breakpoints on
24643         optimized code so we can test breakpoints work even when function
24644         prologues may be optimized away
24645
24646 2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24647
24648         From David Whedon <dwhedon@gordian.com>
24649         * gdb.base/commands.exp : Added command deprecator tests.
24650
24651 2000-03-22  Daniel Berlin   <dan@cgsoftware.com>
24652
24653        * gdb.base/help.exp: Added test for new apropos command.
24654
24655 2000-03-21  Kevin Buettner <kevinb@redhat.com>
24656
24657         * gdb.base/pointers.c (usevar): New function.
24658         (main): Make sure that global variables v_int_pointer2, rptr,
24659         and y are all referenced someplace in the program by calling
24660         usevar() on them.  [Some linkers delete symbols which are
24661         never referenced.  The space remains, but there's no way to
24662         get a (symbolic) handle on the variable from the debugger.]
24663
24664 2000-03-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24665
24666         * gdb.base/printcmds.c: Add typedeffed arrays.
24667
24668         * gdb.base/printcmds.exp (test_print_typedef_arrays): New
24669         procedure to test arrays that are typedef'd.
24670
24671 2000-03-13  James Ingham  <jingham@leda.cygnus.com>
24672
24673         * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
24674         the library directories.
24675
24676 Mon Feb 21 13:05:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
24677
24678         * configure.in (configdirs): Add sub directory gdb.mi.
24679         * configure: Re-generate.
24680
24681         * gdb.mi: New directory.
24682
24683 2000-02-25  Scott Bambrough <scottb@netwinder.org>
24684
24685         * gdb.base/long_long.exp: Correct test suite failure when printing
24686         a long long value as a double on ARM platforms.
24687
24688 2000-02-16  Jim Blandy  <jimb@redhat.com>
24689
24690         * gdb.base/break.exp ("breakpoint line number"): Make sure the
24691         default source file is set properly before running this test.
24692
24693 2000-02-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24694
24695         * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
24696         gdbtk/library directory, not in gdbtcl2.
24697
24698 2000-02-04  Jim Blandy  <jimb@redhat.com>
24699
24700         * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24701         backslash from regexp pattern.
24702
24703         * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24704         procedure.  Use it to run all the "continue to bp overloaded"
24705         tests.  Note that this changes the names of the tests slightly.
24706         If the breakpoint hit message includes a hex PC value, because
24707         GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24708         from the real source code, still consider that a pass.
24709
24710         * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24711         XFAIL here if the breakpoint message contains a hex address.  Note
24712         similar change on 1999-11-02.
24713
24714         * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24715
24716         * gdb.base/ptype.exp: Establish a default source file before
24717         calling get_debug_format.
24718
24719 2000-02-03  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24720
24721         * gdb.base/watchpoint.exp: Remove duplication of test messages.
24722
24723 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24724
24725         * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24726         of successive stepi commands -- while in the prologue we should see
24727         the function entry bracket.
24728
24729 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24730
24731         * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24732         reach __change_mode() when stepping through the end of main().
24733
24734 2000-01-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24735
24736         * gdb.base/default.exp: Fix expected pattern.
24737         * gdb.base/help.exp: Same.
24738
24739 2000-01-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24740
24741         * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
24742         Don't use xfail's because that affects only the following test.
24743
24744         * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
24745         solaris or linux.
24746
24747         * gdb.base/selftest.exp: Update to reflect changes to main.c.
24748
24749 2000-01-07  Michael Snyder  <msnyder@cygnus.com>
24750
24751         * gdb.base/display.exp: Some yacc parsers like to say
24752         "A syntax error" rather than "A parse error".  Accept both.
24753
24754 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24755
24756         * gdb.base/default.exp: Remove OS dependent string from "target
24757         remote" test.
24758         * gdb.base/help.exp: Same for "help target remote" test.
24759
24760 2000-01-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24761
24762         From Jim Kingdon <kingdon@redhat.com>:
24763
24764         * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
24765         prompt (cleanup rather than necessity, but still might keep output
24766         from spilling to next test).
24767
24768 2000-01-02  Fred Fish  <fnf@cygnus.com>
24769
24770         * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24771         AIX, which defines them in <sys/types.h>.
24772
24773 1999-12-16  Stan Shebs  <shebs@andros.cygnus.com>
24774
24775         * gdb.base/default.exp: Match arm* etc instead of arm in "info
24776         float" test.
24777
24778 1999-12-13 Fernando Nasser  <fnasser@totem.to.cygnus.com>
24779
24780         * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
24781
24782         * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24783         outermost frame disallowed".
24784
24785 1999-12-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24786
24787         * gdb.base/setvar.exp: New tests for setting the value of a struct
24788         with a constant list.
24789
24790 1999-12-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24791
24792         * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24793         require the user to type a cast before setting the value of a struct.
24794
24795 1999-12-06  Jim Blandy  <jimb@cygnus.com>
24796
24797         * gdb.base/default.exp: Expect the new 'info float' command on
24798         all i386 platforms.
24799
24800         * gdb.threads/linux-dp.exp: Expand our ability to recognize
24801         LinuxThreads libraries that don't support debugging.
24802
24803 Sat Dec  4 15:21:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
24804
24805         * gdb.base/remote.c: Fill the buffer with truely random data.
24806         Change the buffer type to ``unsigned char'' to simplify size
24807         arithmetic.
24808
24809         * gdb.base/remote.exp: Reduce download numbers by one.  Typical
24810         stub only handles 400-1 byte packets.  Verify that the download
24811         worked.
24812
24813 1999-11-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24814
24815         * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24816         tests, using UNRESOLVED for the untested cases.  Also, does not wait
24817         for a timeout if the prompt was received before a recognizable pattern.
24818
24819 1999-11-29  Fernando Nasser  <fnasser@totem.to.cygnus.com>
24820
24821         * lib/gdb.exp (gdb_expect_list): Fix spelling.
24822
24823 1999-11-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24824
24825         * gdb.base/watchpoint.exp: Add tests cases for the hit count of
24826         watchpoints.
24827
24828 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
24829
24830         * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24831
24832         * gdb.c++/local.exp: Be more flexible in recognizing local class
24833         name mangling.  Don't allow horribly truncated method names.
24834         * gdb.c++/derivation.exp: Expect protected inheritance.
24835         * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24836         * gdb.c++/virtfunc.exp: Likewise.
24837         * gdb.c++/classes.exp: Likewise.  Don't require the enclosing scope
24838         when printing a nested enum.
24839
24840 1999-11-22  Jim Blandy  <jimb@cygnus.com>
24841
24842         * gdb.base/step-test.exp: Properly await GDB's response to setting
24843         a breakpoint on the call to large_struct_by_value.
24844
24845         * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24846         just because we have debug info for the `start' function.
24847
24848 1999-11-19  Jim Blandy  <jimb@zenia.red-bean.com>
24849
24850         * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24851         "Unknown signal" messages, which indicate (on LinuxThreads) that
24852         GDB doesn't know how to debug threads on this system.  This is
24853         better than hanging while philosopher 0 dumps chatter into gdb.log.
24854
24855 1999-11-18  Tom Tromey  <tromey@cygnus.com>
24856
24857         * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24858
24859 1999-11-18  Fred Fish  <fnf@cygnus.com>
24860
24861         * gdb.base/coremaker2.c: Add sample program for generating
24862         cores that is more self contained than coremaker.c.  Eventually
24863         I'll add more code to this and tie it into the testsuite.
24864
24865 1999-11-12  Stan Shebs  <shebs@andros.cygnus.com>
24866
24867         * gdb.base/dollar.exp: Remove, now in gdb.hp.
24868
24869 1999-11-10  Jimmy Guo  <guo@cup.hp.com>
24870
24871         * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
24872         from $srcdir/lib/.
24873         * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
24874         and gdb.c++/.
24875
24876         * gdb.c++/derivation.exp: remove redundant get compiler info code.
24877
24878         * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
24879         'continue with watch' test point.
24880
24881 1999-11-08  Jim Blandy  <jimb@zenia.red-bean.com>
24882
24883         Merged from p2linux-990323-branch:
24884
24885         * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24886
24887 Mon Nov  8 23:07:09 1999  Andrew Cagney  <cagney@amy.cygnus.com>
24888
24889         * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
24890         {limit,fixed}''.  Test ``set download-write-size''.
24891
24892 Sun Nov  7 17:37:01 1999  Andrew Cagney  <cagney@b1.cygnus.com>
24893
24894         * gdb.base/funcargs.exp: Rewrite stack traceback checks using
24895         gdb_expect_list.
24896
24897 Fri Nov  5 18:40:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
24898
24899         * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24900
24901 1999-11-03  Mark Salter  <msalter@cygnus.com>
24902
24903         * gdb.base/break.exp: Fix "stub continue" pattern.
24904
24905 1999-11-03  Jim Blandy  <jimb@zwingli.cygnus.com>
24906
24907         * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24908
24909 1999-11-02  Jim Blandy  <jimb@zwingli.cygnus.com>
24910
24911         * gdb.base/display.exp ("finish"): Add timeout clause.
24912
24913         * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24914         plain prompt clause, so this doesn't have to time out in order to
24915         fail.
24916
24917         * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
24918         breakpoint hit messages include an address.
24919
24920         * gdb.base/display.exp: Don't forget to escape parens in regular
24921         expressions.  Unix regexp notatation sucks.
24922
24923 1999-11-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
24924
24925         * gdb.base/annota1.exp: Test for annotate-signalled: change output
24926         order for 'signalled' message.
24927
24928 1999-11-01  Stan Shebs  <shebs@andros.cygnus.com>
24929
24930         From Jimmy Guo  <guo@cup.hp.com>:
24931         * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24932         * gdb.base/annota1.c: Add code for tests to work with.
24933
24934 1999-10-26  Frank Ch. Eigler  <fche@cygnus.com>
24935
24936         * gdb.base/remote.exp: New test for remote downloading settings.
24937         * gdb.base/remote.c: New file with large .data.
24938
24939 1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
24940
24941         * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24942         for LinuxThreads support, merged from the Code Fusion branch.
24943
24944 Mon Oct 11 13:57:21 1999  Andrew Cagney  <cagney@amy.cygnus.com>
24945
24946         * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
24947         containing exp_continue into a while within an expect.  Don't
24948         attempt a start more than three times.  Check return value from
24949         gdb_load.
24950
24951 Wed Oct  6 12:05:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
24952
24953         * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
24954         a pass case.
24955
24956 1999-10-01  Kevin Buettner <kevinb@cygnus.com>
24957
24958         * gdb.base/break.c (main): Added a statement that we can step
24959         off of.
24960         * gdb.base/break.exp: Added tests for setting a breakpoint
24961         at an offset and stepping onto a breakpoint.
24962
24963 1999-10-01  Fred Fish  <fnf@cygnus.com>
24964
24965         * gdb.base/help.exp (help add-symbol-file): Update to match current
24966         gdb output.
24967
24968 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
24969
24970         * gdb.base/break.exp: Code locations are in hex, don't forget!
24971         (For HP-UX.)
24972
24973 1999-09-17  Stan Shebs  <shebs@andros.cygnus.com>
24974
24975         * condbreak.exp: Use break.c as test program.
24976         * condbreak.c: Remove, redundant with break.c.
24977
24978 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
24979
24980         * config/monitor.exp (gdb_target_monitor): Disable X- and
24981         Z-packets if the target needs it.
24982
24983 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
24984
24985         * gdb.c++/overload.exp: Added tests for listing overloaded
24986         functions with function pointers in the arg, explicitly calling
24987         out the version you want.
24988
24989 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
24990
24991         * long_long.exp: Add variations of test cases that work for
24992         targets with 16-bit ints and 32-bit doubles.
24993
24994 1999-09-08  Stan Shebs  <shebs@andros.cygnus.com>
24995
24996         * break.c (main): Compare a possibly-uninitialized argc with an
24997         unlikely value that fits in 16 bits.
24998
24999 1999-09-07  Stan Shebs  <shebs@andros.cygnus.com>
25000
25001         * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25002         0xfeeb, don't want negative numbers if ints are 16 bits.
25003
25004         * lib/gdb.exp (skip_cplus_tests): New proc.
25005         * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25006         gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25007         gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25008         gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25009         gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25010         gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25011         gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25012         gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25013
25014         * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25015
25016 Fri Sep  3 15:37:12 1999  Kevin Buettner  <kevinb@cygnus.com>
25017
25018         * gdb.base/corefile.exp (up): Allow a parameter to appear
25019         in the frame that we're going up to.
25020
25021         From Jim Blandy <jimb@cygnus.com>:
25022
25023         * gdb.base/default.exp (info float): Expect some output now.
25024
25025         * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25026         returning floating-point values to fail on the x86.
25027         * gdb.base/callfwmall.exp (do_function_calls): Same.
25028
25029         * gdb.base/list.exp (test_listsize): Correct expectations for
25030         listing line 1 with listsize 2.  Also, listing a single line
25031         works now, as does listing three lines.  [Kevin's note: There
25032         were a number of other cases fixed too where the expectations
25033         differed...]
25034
25035 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
25036
25037         * gdb.base/selftest.exp: Add case for when version prints as
25038         constant string instead of char pointer.
25039
25040 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
25041
25042         * gdb.base/ending-run.exp: Add Solaris case for what happens when
25043         stepping out of main.
25044
25045         * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25046         G++ used.
25047
25048         * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25049         always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25050
25051         * gdb.c++/ovldbreak.exp: Update match string in test that
25052         includes a warning of multiple breakpoints.
25053
25054 1999-08-24  Stan Shebs  <shebs@andros.cygnus.com>
25055
25056         * gdb.base/display.exp: Improve precision of step-after-finish
25057         added yesterday.
25058
25059         * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25060         test.
25061
25062         * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25063         configs when using G++, not just hppa*.
25064
25065 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25066
25067         * gdb.base/async.c: New file.
25068         * gdb.base/async.exp: New file.
25069
25070 Tue Aug 24 03:24:53 1999  Jeffrey A Law  (law@cygnus.com)
25071
25072         * gdb.base/break.exp: Tweak PA specific tests to properly handle
25073         PA64.
25074
25075 Mon Aug 23 10:25:20 1999  Jeffrey A Law  (law@cygnus.com)
25076
25077         * gdb.base/display.exp: "finish" can leave us mid-line on many
25078         targets, deal with it.  Add a small constant to main, instead of
25079         1000 since main+1000 may not be a valid address in the target.
25080
25081         * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25082         on hpux11.
25083
25084         * gdb.base/attach.exp: Handle another hpux11 error message variant
25085         when attaching to a process that does not exist.
25086
25087 1999-08-19  J.T. Conklin  <jtc@redback.com>
25088
25089         * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
25090         characters in 'continue to 1241' test.
25091
25092 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
25093
25094         * gdb.base/call-ar-st.exp: Add a shorter match case for the
25095         stop in print_long_arg_list, define and use a whitespace
25096         variable in print_small_structs test, add an XFAIL for Solaris.
25097         * gdb.base/dbx.exp: XFAIL func commands until somebody is
25098         interested enough to fix.
25099
25100 1999-08-13  Keith Seitz  <keiths@cygnus.com>
25101
25102         * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25103         (dbx_gdb_load): Remove. Use gdb_load instead, since that
25104         proc knows about targets other than the natives.
25105         (test_assign): Use "gdb_run_cmd" to "run" the target.
25106         Check that we've actually hit the breakpoint at main.
25107         When we attempt to assign a value to a local variable, check
25108         that the variable is in the current scope, i.e., don't use
25109         a test with an empty result.
25110
25111 Tue Aug 10 15:25:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25112
25113         * gdb.base/maint.exp: Add test of ``maintenance internal-error''
25114         command.
25115
25116 1999-08-09  Stan Shebs  <shebs@andros.cygnus.com>
25117
25118         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25119         gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25120         gdb.compat, gdb.threads-hp.
25121         gdb.hp/configure, gdb.hp/configure.in: New files.
25122         gdb.hp/Makefile.in: Recurse into new subdirs.
25123         gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25124         gdb.hp/gdb.objdbg: New directory, tests for debugging info
25125         in object files.
25126         gdb.hp/tools: New directory, aux tools for HP-specific tests.
25127
25128 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
25129
25130         * gdb.base/display.exp: Help expect by putting a newline in the
25131         funky printf, remove a bogus p/a test.
25132
25133 1999-08-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25134
25135         * gdb.base/display.exp: Make sure that when we say 'run', we are
25136         connected to the target. This is necessary when running not
25137         natively.
25138
25139 1999-08-03  Stan Shebs  <shebs@andros.cygnus.com>
25140
25141         * gdb.base/step-test.exp: Removed some extraneous messages.
25142
25143         * gdb.base/long_long.exp: Don't run memory examination tests
25144         on little-endian targets (they will need a different set of
25145         results to match).
25146
25147 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
25148
25149         * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25150         until somebody decides to fix GDB.
25151
25152         * gdb.base/long_long.c: Stop compiler complaint by specifying long
25153         constant as "ULL".
25154         * gdb.base/long_long.exp: Loosen x/c test, add partial result
25155         matches for a couple x/2 commands.
25156
25157 1999-07-30  Stan Shebs  <shebs@andros.cygnus.com>
25158
25159         * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25160         by merging in ref-types2 tests.
25161         * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25162
25163         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25164         * gdb.c++/Makefile.in: Add standard actions.
25165         (EXECUTABLES): Rename from PROGS, update list.
25166         * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25167         from gdb.hp.
25168         * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25169         foo and bar locals.
25170         * gdb.c++/anon-union.exp: Fix tests to match.
25171         * gdb.c++/classes.exp: Run if HP compiler used, add extra
25172         expect matches to handle output variations.
25173         * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25174         * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
25175         output, add HP alternatives for new and delete prints.
25176         * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
25177         gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
25178         * gdb.c++/demangle.exp: Use $style when reporting failure.
25179         * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25180         * gdb.c++/inherit.exp: Run if HP compiler used, add some
25181         match alternatives.
25182         * gdb.c++/local.exp: Add match alternatives or xfails for HP
25183         compilers.
25184         * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25185         * gdb.c++/method.exp: Add match alternatives.
25186         * gdb.c++/misc.cc: Add bool types.
25187         * gdb.c++/misc.exp: Add tests for bool types.
25188         * gdb.c++/overload.exp: Add xfails.
25189         * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25190         * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25191         add some more template parameter tests (only for HP currently).
25192         * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25193         * gdb.c++/virtfunc.cc: Add return type and value for main.
25194         * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25195         match alternatives.
25196
25197 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25198
25199         * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25200
25201 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
25202
25203         * gdb.base/signals.exp: Don't expect getting a backtrace from
25204         within a signal handler to fail on Linux.
25205
25206 1999-07-29  Stan Shebs  <shebs@andros.cygnus.com>
25207
25208         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25209         * lib/gdb.exp: Remove some gratuitious semicolons.
25210         (delete_breakpoints): Increase timeout.
25211         (gdb_expect): Add -notransfer option.
25212         (gdb_test): Use -notransfer option.
25213         (get_compiler_info): Add f77 case.
25214         (get_compiler): New proc, split out from gdb_preprocess, add f77
25215         case.
25216         (gdb_preprocess): Call get_compiler.
25217
25218         * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25219         * gdb.base/attach.exp, gdb.base/display.exp,
25220         gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25221         gdb.base/long_long.exp, gdb.base/printcmds.exp,
25222         gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25223         third arg to gdb_test.
25224         * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25225         * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
25226         HP-UX xfails, add others.
25227         * gdb.base/completion.exp: Reflect name change of self-test.
25228         * gdb.base/condbreak.exp, gdb.base/corefile.exp,
25229         gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25230         gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25231         HP failure number.
25232         * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25233         useless HP-UX 10.30 references.
25234         * gdb.base/maint.exp: Loosen matches.
25235         * gdb.base/pointers.c (main): Declare more_code.
25236         * gdb.base/pointers.exp: Match on output of a `next'.
25237         * gdb.base/structs.c: Add prototypes.
25238         * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25239         * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25240
25241 1999-07-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25242
25243         * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
25244         command.
25245
25246 1999-07-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25247
25248         * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25249         Fix run to main failures. Watchpoint can be hardware watchpoint.
25250
25251         * gdb.base/annota1.exp: Clean up some more, in case printf has
25252         debug info.  Deal with lack of signal hanlder info in stack.
25253
25254         From Jim Kingdon  <kingdon@redhat.com>:
25255         * gdb.base/annota1.exp: If printf has debug info, deal with it.
25256
25257 1999-07-19  Stan Shebs  <shebs@andros.cygnus.com>
25258
25259         * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
25260         gdb.base/foll-vfork.exp: Don't run for crosses.
25261
25262 Tue Jul 13 23:37:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25263
25264         * gdb.base/configure.in: Check for gdbvars.exp instead of
25265         a1-selftest.exp.
25266         * gdb.base/configure: Re-generate.
25267
25268 1999-07-12  Stan Shebs  <shebs@andros.cygnus.com>
25269
25270         * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
25271         in trying to run first and name is too long.
25272
25273         * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
25274         pointers2.c and pointers2.exp, respectively.
25275         * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
25276         doschk happier.
25277
25278 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
25279
25280         * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
25281         callfuncs2.c and callfuncs2.exp.
25282
25283         * gdb.base/list.exp: Remove mistaken xfails.
25284         * gdb.base/list0.h: Add optional prototypes.
25285
25286 Wed Jul  7 00:27:35 1999  Andrew Cagney  <cagney@amy.cygnus.com>
25287
25288         * gdb.base/setvar.exp: Increase the time-out on tests indirectly
25289         calling malloc.
25290         * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
25291         * ptype.exp: Move test for get_debug_format to before its first
25292         use.
25293
25294 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25295
25296         * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
25297         * gdb.base/annota2.cc, annota2.exp: Move from here.
25298         * gdb.c++/annota2.cc, annota2.exp: To here.
25299         * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
25300
25301 Tue Jun 29 11:56:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25302
25303         * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
25304         a consistent format.
25305
25306 1999-06-25  Stan Shebs  <shebs@andros.cygnus.com>
25307
25308         From Jimmy Guo <guo@cup.hp.com> and others at HP:
25309         * lib/gdb.exp (get_compiler_info): Add detection for assorted
25310         HP compilers, also set the globals $true and $false.
25311
25312         * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
25313         call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
25314         coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
25315         jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
25316         long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
25317         printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
25318         scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
25319         sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
25320         solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
25321         whatis.c} Add C++ compatible function definitions and return
25322         types, add includes for library functions.
25323         * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
25324         * gdb.base/step-test.c (myglob): Rename from glob.
25325         * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
25326         foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
25327         files, move here from gdb.hp.
25328         * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
25329         commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
25330         ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
25331         Adjust line numbers in regexps.
25332
25333         * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
25334         miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
25335         instead of 0/1.
25336
25337         * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
25338         foll-vfork.exp: New files, move here from gdb.hp.
25339         * gdb.base/page.exp: New file, test of pagination command.
25340
25341         * gdb.base/watchpoint.c (recurser): New function, for watchpoint
25342         recursion test.
25343         * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
25344
25345         * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
25346         gdb.base/solib.exp: Fix compiler invocation process.
25347
25348         * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
25349         HP-UX 11, turn off overload resolution explicitly.
25350         * gdb.base/commands.exp: Set argument list explicitly, add
25351         watchpoint test.
25352         * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
25353         them work.
25354         * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
25355         expressions properly.
25356         * gdb.base/corefile.exp: Loosen the match slightly.
25357         * gdb.base/default.exp: Allow "Error accessing memory" message
25358         also.
25359         * gdb.base/display.exp: Skip over x/0 j if PA64.
25360         * gdb.base/funcargs.exp: Add xfails for HP-UX.
25361         * gdb.base/interrupt.exp: Ditto.
25362         * gdb.base/langs.exp: Add symbolic matches governed by compiler
25363         in use.
25364         * gdb.base/list.exp: Add xfails for HP-UX.
25365         * gdb.base/long_long.exp: Refine some of the numeric matches.
25366         * gdb.base/mips_pro.exp: Xfail on HP-UX.
25367         * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
25368         * gdb.base/nodebug.exp: Succeed on more varieties of output.
25369         * gdb.base/opaque.exp: Remove some HP-UX xfails.
25370         * gdb.base/ptype.exp: Succeed on more varieties of output.
25371         * gdb.base/scope.exp: Add xfails for HP-UX.
25372         * gdb.base/sect-cmd.exp: Add more cases.
25373         * gdb.base/setvar.exp: Add xfails for HP-UX.
25374         * gdb.base/shlib-call.exp: Loosen some matches slightly.
25375         * gdb.base/signals.exp: Match on void symbolically.
25376         * gdb.base/step-test.exp: Add case for PA64.
25377         * gdb.base/term.exp: Add exit and restart.
25378         * gdb.base/twice.exp: Clean up after self.
25379         * gdb.base/varargs.exp: Disable overload resolution explicitly.
25380         * gdb.base/whatis.exp: Allow more ways to pass tests.
25381
25382         * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
25383         no longer useful.
25384
25385 Fri Jun 25 19:27:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25386
25387         * lib/gdb.exp (proc gdb_expect_list): New procedure.  Matches a
25388         list of patterns.
25389         * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
25390         print_double_array(double_array)", "continuing to breakpoint
25391         1018", "print print_double_array(array_d)" and "continuing to
25392         1034" tests.
25393
25394 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
25395
25396         * Makefile.in: Add empty html and install-html targets.
25397
25398 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
25399
25400         * config/mt-*: Remove, these haven't been used since 1996.
25401
25402 1999-06-22  Stan Shebs  <shebs@andros.cygnus.com>
25403
25404         * gdb.base/call-strs.c, gdb.base/ending-run.c,
25405         gdb.base/step-test.c: Include stdlib.h and string.h as needed.
25406         * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
25407
25408 1999-06-18  Stan Shebs  <shebs@andros.cygnus.com>
25409
25410         * gdb.c++/overload.exp: XFAIL everything if using G++, add a
25411         simpler match case for the ptype of the big class.
25412
25413 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25414
25415         * gdb.exp: Fix test for gdb_prompt existence.
25416
25417 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25418
25419         * gdb.exp (gdb_test): Add fail after calls to perror.
25420
25421 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25422
25423         * gdb.exp (gdb_test): Accept variations of Undefined command messages.
25424
25425 1999-06-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25426
25427         * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
25428
25429 Fri Jun 11 12:56:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25430
25431         * gdb.base/call-strs.c (link_malloc): New function.  Ensure that
25432         malloc() is linked in.
25433
25434 1999-06-08  Fernando Nasser  <fnasser@totem.to.cygnus.com>
25435
25436         * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
25437         step at end.
25438
25439         * gdb.base/annota1.exp: Increase match_max to prevent timeout.
25440
25441 1999-06-08  Jim Blandy  <jimb@zwingli.cygnus.com>
25442
25443         * gdb.java/jv-print.exp: New file.  (Our first Java test!)
25444
25445 Fri Jun  4 10:47:46 1999  Jeffrey A Law  (law@cygnus.com)
25446
25447         * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
25448         * gdb.base/mips_pro.exp: Likewise.
25449
25450 1999-06-02  Keith Seitz  <keiths@cygnus.com>
25451
25452         * gdb.c++/templates.cc: Change all "new" operators to throw
25453         an exception.
25454         * gdb.c++/cplusfuncs.cc: Likewise.
25455
25456         * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
25457
25458 Wed Jun  2 17:37:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
25459
25460         * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
25461         * gdb.base/ending-run.exp: When stepping out of main, accept a
25462         step into an arbitrary assembler file.
25463
25464 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25465
25466         * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
25467         "breakpoint-invalid" to be printed.
25468         * gdb.base/annota2.exp: Revise line number for main
25469         breakpoint. Allow any number of "frames-invalid" and
25470         "breakpoint-invalid" to be printed.
25471         * gdb.base/annota2.cc: Initialize a.x to 0.
25472
25473 1999-05-17  Keith Seitz  <keiths@cygnus.com>
25474
25475         * gdb.base/call-ar-st.exp: Skip
25476         "print print_double_array (double_array)" when "skip_float_tests" set.
25477         Ditto for "print print_double_array(array_d)",
25478         "print print_small_structs", "print print_ten_doubles", and
25479         "step into print_long_arg_list".
25480         Don't assume we can step into "print_long_arg_list": we could step
25481         into memcpy.
25482         * gdb.base/call-rt-st.exp: Don't run float-related tests when
25483         "skip_float_tests" is set: "print print_one_double(*d1)"
25484         and "print print_two_floats(*f3)".
25485         * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
25486         "skip_float_tests" is set.
25487         * gdb.base/varargs.exp: Skip
25488         "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
25489         "skip_float_tests" set.
25490
25491 1999-05-06  Keith Seitz  <keiths@cygnus.com>
25492
25493         * gdb.base/annota2.cc: Include stdio.h.
25494
25495 Wed May  5 17:44:31 1999  Stan Shebs  <shebs@andros.cygnus.com>
25496
25497         * gdb.base/crossload.exp: Remove, this has been disabled ever
25498         since BFD stopped including all targets, and cross-GDB gets
25499         plenty of testing anyway.
25500         * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
25501         gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
25502         gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
25503         * gdb.base/README: Remove, was doc for this.
25504         * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
25505         needed.
25506
25507 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25508
25509         * gdb.base/call-ar-st.exp: Fix one regular expression in test
25510         output.
25511
25512         * gdb.base/annota1.exp: New file. Annotation level 2 tests.
25513         * gdb.base/annota2.exp: New file. More annotation tests.
25514         * gdb.base/annota1.c: New file. Source file for annota1.exp.
25515         * gdb.base/annota2.cc: New file. Source file for annota2.exp.
25516
25517 1999-04-23  Angela Marie Thomas <angela@cygnus.com>
25518
25519         * config/cfdbug.exp: New file.
25520
25521 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
25522
25523         * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
25524         Marcus Daniel's and Dale Hawkins's demangler crashes.
25525
25526         * gdb.c++/demangle.exp (test_gnu_style_demangling,
25527         test_lucid_style_demangling, test_arm_style_demangling,
25528         test_hp_style_demangling): Try Tom Tromey's core-dumping
25529         identifier under each demangling style.
25530
25531 1999-04-07  Jim Blandy  <jimb@zwingli.cygnus.com>
25532
25533         * gdb.c++/demangle.exp: Include the current demangling style
25534         in all test names.
25535         (current_demangling_style): New global variable.
25536         (set_demangling_style, test_demangling_core, test_demangling,
25537         test_demangling_exact): New functions.
25538         (test_gnu_style_demangling, test_lucid_style_demangling,
25539         test_arm_style_demangling, test_hp_style_demangling): Use those,
25540         instead of calling gdb_test and gdb_test_exact directly.
25541         (catch_demangling_errors): New function, which reports errors
25542         signalled by the demangling test functions in an orderly way.
25543         (do_tests): Use catch_demangling_errors.
25544
25545 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
25546
25547         * gdb.base/signals.exp (test_handle_all_print): Use () for
25548         grouping in expressions, not {}.
25549
25550         * gdb.base/smoke.exp: Test value of x, not y.  The latter isn't
25551         initialized yet.
25552
25553 1999-04-01  Stan Shebs  <shebs@andros.cygnus.com>
25554
25555         * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
25556         are listed.
25557
25558 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
25559
25560         * gdb.stabs/weird.exp: Test for CC being defined before
25561         looking at its value.
25562
25563 1999-03-25  Stan Shebs  <shebs@andros.cygnus.com>
25564
25565         * gdb.base/call-ar-st.exp: Remove stray '#'.
25566         * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
25567         "short int" and "long int".
25568         * gdb.c++/overload.cc: Cast the string added in the previous
25569         change, to mollify finicky HP compiler.
25570         * gdb.hp/reg-test.exp (testfile): Fix file name.
25571         * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
25572
25573         * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25574         * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25575         alternate form of enum ptype.
25576
25577 1999-03-23  Stan Shebs  <shebs@andros.cygnus.com>
25578
25579         * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25580         * gdb.hp/*.exp: Change all to run compiler probe only after
25581         passing skip_hp_tests, so as not to waste time on guaranteed
25582         failure.
25583
25584         * gdb.c++/overload.cc: Pass string instead of char addr, always
25585         init ccpfoo.
25586         * gdb.c++/templates.cc: Fix syntax error.
25587
25588 Tue Mar 23 14:56:36 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25589
25590         * gdb.base/commands.exp: Add test for correct position of '>'
25591         when issuing the 'commands' command after a 'while' or 'if'
25592         command.
25593
25594 1999-03-18  James Ingham  <jingham@cygnus.com>
25595
25596         * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25597
25598         * gdb.c++/method.exp: It was testing an uninitialized int on the
25599         stack and assuming it was positive.
25600
25601         * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25602
25603         * gdb.base/step-test.exp: Catch a case where finish is broken and
25604         keep it from killing the rest of the tests.
25605         Use gdb_continue_to_end.
25606
25607         * gdb.base/sigall.exp: use gdb_continue_to_end.
25608
25609         * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25610
25611         * gdb.base/display.exp: use runto_main, not run.
25612
25613         * gdb.base/default.exp: Check for the current error message in the
25614         r abbreviation test.
25615         Add strongarm to the targets that know info float.
25616
25617         * gdb.base/condbreak.exp: Use the gdb_run command rather than just
25618         run which doesn't work with monitors.
25619
25620         * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25621         1034 test.
25622
25623         * gdb.base/break.exp: use the gdb_continue_to_end proc.
25624
25625         * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25626         end of a program.  Traps the case (in Cygmon) when the program
25627         never really exits.  Same as Mark's continue_to_exit, but I had
25628         put it in a lot more places, so I used my name.  Sorry Mark...
25629
25630         * config/monitor.exp (gdb_target_monitor): added another
25631         target_info parameter: remotebinarydownload.  This will set the
25632         remotebinarydownload flag if this is causing some boards trouble.
25633
25634 1999-03-18  Mark Salter  <msalter@cygnus.com>
25635
25636         * lib/gdb.exp (continue_to_exit): New function.
25637
25638         * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25639         * gdb.base/ending-run.exp: Ditto.
25640         * gdb.base/step-test.exp: Ditto.
25641
25642 1999-03-16  Stan Shebs  <shebs@andros.cygnus.com>
25643
25644         * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25645         (suggested by Art Haas <ahaas@neosoft.com>).
25646
25647 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
25648
25649         * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
25650
25651 Fri Mar 12 18:06:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
25652
25653         * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
25654         descriptions of types (short unsigned int vs unsigned short, etc).
25655
25656 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
25657
25658         * gdb.base/call-strs.exp: Don't assume that `step' will step over
25659         a call to strlen; sometimes we do have sources.
25660
25661 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
25662
25663         * gdb.base/call-ar-st.c (main): Terminate char_array with a null
25664         character, so GDB won't print garbage after its end.
25665
25666         * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25667         breakpoint there instead.  Sometimes GCC emits memcpy to handle
25668         the large structures being passed by value, so we step into that
25669         instead of sum_array_print, which obscures what we're really testing.
25670         * gdb.base/step-test.exp: However, we do want a test that notices
25671         the bizarre steps into memcpy, so do that here.  Add check for
25672         stepping into function calls that pass large structures by value.
25673         ("Is that a noun clause, or are you just happy to see me?")
25674         Remove all references to specific line numbers.
25675         * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25676         New type and function.
25677         (main): Call large_struct_by_value, passing it a large struct by value.
25678         * lib/gdb.exp (gdb_get_line_number): New function.
25679
25680         * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25681         more portable.
25682
25683 1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>
25684
25685         * lib/gdb.exp: Doc fixes.
25686
25687 1999-03-05  Nick Clifton  <nickc@cygnus.com>
25688
25689         * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
25690
25691 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
25692
25693         * gdb.base/display.exp: Don't exercise the "detach" and "kill"
25694         commands.  They're not germane to this test, and they don't work
25695         that way on remote targets.
25696
25697 1999-03-01  James Ingham  <jingham@cygnus.com>
25698
25699         * Changelog entries merged over from gdb development branch.
25700
25701        Tue Jan  5 12:33:47 1999  Keith Seitz  <keiths@cygnus.com>
25702
25703                * lib/gdb.exp (gdbtk_analyze_results): Generic function
25704                for outputting results of test run.
25705
25706         1998-12-07  Martin M. Hunt  <hunt@cygnus.com>
25707
25708                * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
25709
25710 1999-02-25  Felix Lee  <flee@cygnus.com>
25711
25712         * lib/gdb.exp (debug_format): initialize
25713
25714 1999-02-25  Jason Molenda  (jsm@bugshack.cygnus.com)
25715
25716         * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25717         * gdb.base/call-rt-st.c: Ditto.
25718
25719 1999-02-13  Jim Blandy  <jimb@zwingli.cygnus.com>
25720
25721         * gdb.threads/pthreads.exp (horiz): New variable.
25722         (test_startup): Fix regexps that capture thread numbers.
25723
25724 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
25725
25726         * gdb.base/smoke.exp: Disambiguate two test case names (both
25727         called ``print'').
25728
25729 Fri Feb  5 12:42:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
25730
25731         * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
25732         compilation.
25733
25734 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
25735
25736         * gdb.base/miscexprs.exp: Change patterns to match GDB's
25737         actual output formatting.
25738         * gdb.base/smoke.exp: GDB removes leading 0's.
25739         * gdb.base/volatile.exp: Don't check type of remuneration;
25740         that variable is no longer defined in constvars.c.
25741         * gdb.base/step-test.c (main): Exit with explicit exit code.
25742         * gdb.base/step-test.exp: Remove two nexti checks--they are
25743         not portable.
25744
25745 1999-02-04  Jason Molenda  (jsm@bugshack.cygnus.com)
25746
25747         * gdb.base/help.exp ("help delete display"): Fix test to match
25748         gdb's output.
25749
25750         * gdb.base/long_long.c (known_types): Initialize values to zero.
25751         * gdb.base/long_long.exp: Step one more line
25752         so 'dec' is initialized in "get to known place".  GDB removes
25753         leading zeros.  Explicitly ask for hex formatting.  Use
25754         unique test case names.
25755
25756 Tue Feb  2 10:16:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25757
25758         * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
25759
25760         * gdb.c++/method.exp: Add missing close brace.
25761
25762 1999-01-30  Jim Blandy  <jimb@zwingli.cygnus.com>
25763
25764         * gdb.base/maint.exp: Use 'set height 0' to disable page
25765         prompting, not 'set height 400'.
25766
25767         Fix a bunch of timeouts.
25768         * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25769         four separate tests, so expect doesn't take forever to match a ton
25770         of text against a regexp with lots of .* forms.
25771         ("maint print psymbols", "maint print symbols"): Make some of
25772         these greps more selective, so that expect doesn't try to wade
25773         through huge piles of output and time out.
25774
25775         * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25776
25777         * gdb.base/maint.exp ("maint info breakpoints"): Split into two
25778         tests: one which doesn't expect shlib events to be reported, and
25779         another which does, but is XFAIL for all platforms other than
25780         HP/UX.
25781
25782         * gdb.base/break.exp: Teach the test suite that the `catch
25783         fork', `catch vfork', and `catch exec' commands produce error
25784         messages on platforms that don't provide these features.
25785
25786 Mon Jan 25 18:35:56 1999  Stan Shebs  <shebs@andros.cygnus.com>
25787
25788         * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
25789         so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25790         (shortening names from solib_threshold.exp etc), won't run on
25791         anything but HP-UX for the foreseeable future.
25792         * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
25793         reflect move.
25794
25795 Thu Jan 21 15:46:49 1999  Stan Shebs  <shebs@andros.cygnus.com>
25796
25797         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25798         gdb.trace/Makefile.in (clean): Remove all test executables.
25799
25800 Tue Jan 19 17:20:09 1999  David Taylor  <taylor@texas.cygnus.com>
25801
25802         * gdb.base/shlib-call.exp: add test cases to verify that gdb
25803         successfully re-sets breakpoints in shared libraries.
25804         * gdb.base/shmain.c (main): return 0, don't fall off the end.
25805
25806 Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
25807
25808         * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25809         and compiled w/o GCC.
25810
25811         * gdb.hp/watch-cmd.exp: ditto.
25812
25813         * gdb.hp/watch-hp.exp: ditto.
25814
25815         * gdb.hp/xdb1.exp: ditto.
25816
25817         * gdb.hp/xdb2.exp: ditto.
25818
25819         * gdb.hp/dbx.exp: ditto.
25820
25821 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
25822
25823         * constvars.c: Remove C++-isms.
25824         * constvars.exp: Use gdb_test everywhere, add xfails if compiled
25825         with GCC.
25826
25827 Mon Jan 11 10:08:03 1999  David Taylor  <taylor@texas.cygnus.com>
25828
25829         The following changes are part of the HP merge.
25830
25831         * gdb.base/break.exp: new tests to verify that catchpoints for
25832         fork, vfork, and exec don't trigger inappropriately.
25833
25834         * gdb.base/opaque.exp: compile one file at a time, then link.
25835
25836         * gdb.base/signals.exp: be more restrictive about which hppa
25837         systems receive a setup_xfail.  new tests.
25838
25839         * gdb.base/solib_threshold.build: new file.
25840         * gdb.base/solib_threshold.exp: new file.
25841         * gdb.base/solib_threshold.link_opts: new file.
25842         * gdb.base/solib_threshold.mk: new file.
25843         * gdb.base/gen_solib_threshold.c: new file.
25844
25845         * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25846         tests.  New tests for enums inside classes.
25847
25848         * gdb.c++/compiler.cc: indicate support of template debugging.
25849
25850         * gdb.c++/demangle.exp: run hp style demangling tests.
25851
25852         * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25853         tests.
25854
25855         * gdb.c++/misc.cc: changes to support new tests.
25856
25857         * gdb.c++/templates.cc: changes to support HP's compiler; changes
25858         to support new tests.
25859
25860         * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25861         gcc, then skip these tests.
25862
25863 Sun Jan 10 23:44:11 1999  David Taylor  <taylor@texas.cygnus.com>
25864
25865         The following files are part of the HP merge; some had longer
25866         names at HP, but have been renamed to be no more than 14
25867         characters in length.
25868
25869         * gdb.hp/ambiguous.cc: new file.
25870         * gdb.hp/ambiguous.exp: new file.
25871         * gdb.hp/attach.exp: new file.
25872         * gdb.hp/attach2.exp: new file.
25873         * gdb.hp/classes-hp.exp: new file.
25874         * gdb.hp/ctti.exp: new file.
25875         * gdb.hp/ctti-add.cc: new file.
25876         * gdb.hp/ctti-add1.cc: new file.
25877         * gdb.hp/ctti-add2.cc: new file.
25878         * gdb.hp/ctti-add3.cc: new file.
25879         * gdb.hp/dbx.exp: new file.
25880         * gdb.hp/exception.cc: new file.
25881         * gdb.hp/exception.exp: new file.
25882         * gdb.hp/foll-exec.c: new file.
25883         * gdb.hp/foll-exec.exp: new file.
25884         * gdb.hp/foll-fork.c: new file.
25885         * gdb.hp/foll-fork.exp: new file.
25886         * gdb.hp/foll-vfork.c: new file.
25887         * gdb.hp/foll-vfork.exp: new file.
25888         * gdb.hp/inherit-hp.exp: new file.
25889         * gdb.hp/more-steps.exp: new file.
25890         * gdb.hp/namespace.cc: new file.
25891         * gdb.hp/namespace.exp: new file.
25892         * gdb.hp/optimize.exp: new file.
25893         * gdb.hp/pxdb.c: new file.
25894         * gdb.hp/pxdb.exp: new file.
25895         * gdb.hp/quicksort.exp: new file.
25896         * gdb.hp/reg-test.exp: new file.
25897         * gdb.hp/reg-test.s: new file.
25898         * gdb.hp/sized-enum.c: new file.
25899         * gdb.hp/sized-enum.exp: new file.
25900         * gdb.hp/start-stop.exp: new file.
25901         * gdb.hp/templ-hp.cc: new file.
25902         * gdb.hp/templ-hp.exp: new file.
25903         * gdb.hp/thr-lib.c: new file.
25904         * gdb.hp/thr-lib.exp: new file.
25905         * gdb.hp/thr-lib.h: new file.
25906         * gdb.hp/thr-liblib.c: new file.
25907         * gdb.hp/virtfun-hp.c: new file.
25908         * gdb.hp/virtfun-hp.exp: new file.
25909         * gdb.hp/watch-cmd.exp: new file.
25910         * gdb.hp/watch-hp.exp: new file.
25911         * gdb.hp/xdb1.exp: new file.
25912         * gdb.hp/xdb2.exp: new file.
25913         * gdb.hp/xdb3.exp: new file.
25914
25915 Wed Jan  6 18:41:15 1999  David Taylor  <taylor@texas.cygnus.com>
25916
25917         The following files are part of the HP merge; some had longer
25918         names at HP, but have been renamed to be no more than 14
25919         characters in length.
25920
25921         * gdb.base/ss.h: new file.
25922         * gdb.base/call-ar-st.c: new file.
25923         * gdb.base/call-ar-st.exp: new file.
25924         * gdb.base/call-rt-st.c: new file.
25925         * gdb.base/call-rt-st-exp: new file.
25926         * gdb.base/call-strs.exp: new file.
25927         * gdb.base/ena-dis-br.exp: new file.
25928         * gdb.base/environ.exp: new file.
25929         * gdb.base/long_long.exp: new file.
25930         * gdb.base/sect-cmd.exp: new file.
25931         * gdb.base/shlib-cl2.exp: new file.
25932         * gdb.base/smoke.exp: new file.
25933         * gdb.base/so-impl-ld.c: new file.
25934         * gdb.base/so-impl-ld.exp: new file.
25935         * gdb.base/so-indr-cl.c: new file.
25936         * gdb.base/so-indr-cl.exp: new file.
25937         * gdb.base/varargs.exp: new file.
25938         * gdb.base/volatile.exp: new file.
25939         * gdb.base/whatis-exp.exp: new file.
25940         * gdb.base/display.exp: new file.
25941         * gdb.c++/derivation.exp: new file.
25942         * gdb.c++/local.exp: new file.
25943         * gdb.c++/member-ptr.exp: new file.
25944         * gdb.c++/overload.exp: new file.
25945         * gdb.c++/ovldbreak.exp: new file.
25946         * gdb.c++/ref-types.exp: new file.
25947         * gdb.c++/ref-types2.exp: new file.
25948         * gdb.c++/userdef.exp: new file.
25949
25950 Wed Jan  6 13:50:57 1999  Stan Shebs  <shebs@andros.cygnus.com>
25951
25952         * gdb.base/default.exp: Reflect wording change in remote.c.
25953
25954 Tue Jan  5 19:14:51 1999  Michael Snyder  <msnyder@cygnus.com>
25955
25956         * gdb.base/help.exp: Update to reflect current text.
25957
25958 Tue Jan  5 13:05:32 1999  David Taylor  <taylor@texas.cygnus.com>
25959
25960         * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25961         they're stack variables and contain garbage.
25962         * gdb.c++/anon-union.exp: new file.
25963
25964         The following changes were made by David Taylor
25965         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25966         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25967         in changes by HP.
25968
25969         * gdb.base/bitops.exp: new file.
25970         * gdb.base/default.exp: change expected messages for catch and
25971         info catch tests to reflect HP merge changes.
25972         * gdb.base/enable-disable-break.exp
25973         * gdb.base/ending-run.c: new file.
25974         * gdb.base/long_long.c: new file.
25975         * gdb.base/maint.exp: new file.
25976         * gdb.base/pointers2.exp: new file.
25977         * gdb.base/shlib-call2.exp: new file.
25978         * gdb.base/solib.exp: new file.
25979         * gdb.base/step-test.c: new file.
25980         * gdb.c++/anon-union.cc: new file.
25981         * gdb.c++/local.cc: new file.
25982         * gdb.c++/member-pointer.cc: new file.
25983         * gdb.c++/method.cc: new file.
25984         * gdb.c++/ref-types.cc: new file.
25985         * gdb.c++/ref-types2.cc: new file.
25986         * gdb.c++/userdef.cc: new file.
25987
25988         * gdb.base/scope.exp: compile one file at a time, then link.
25989         * gdb.base/langs.exp: ditto.
25990         * gdb.base/list.exp: ditto.
25991
25992 Mon Jan  4 10:06:43 1999  David Taylor  <taylor@texas.cygnus.com>
25993
25994         The following changes were made by David Taylor
25995         <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25996         Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25997         in changes by HP.
25998
25999         * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26000         skip tests.  When compiling pass c++ flag to gdb_compile.
26001         * gdb.c++/
26002
26003         * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26004         test for on hppa*-*-hpux*; use args to see if c++ was specified.
26005         (skip_hp_tests): new function.
26006         (gdb_preprocess): new function.
26007
26008         * configure.in (hpdir): decide whether to configure gdb.hp.
26009         * configure: regenerated.
26010
26011         * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26012         to delete on clean.
26013         (EXECUTABLES): update to reflect new additions.
26014         * gdb.base/commands.exp: update message expected.
26015         * gdb.base/default.exp: add copyright notice.
26016         * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26017         * gdb.base/help.exp: update messages to reflect current text.
26018         * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26019         targets for recurse tests.
26020         * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26021         skip this file.
26022
26023         * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26024         * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26025         compilation.
26026         * gdb.c++/misc.exp: ditto.
26027         * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26028         run the tests.  tell gdb_compile that it's a c++ compilation.
26029
26030         * gdb.threads/pthreads.exp: fix typo in message.
26031
26032         * gdb.base/all-bin.exp: new file.
26033         * gdb.base/arithmet.exp: new file.
26034         * gdb.base/assign.exp: new file.
26035         * gdb.base/completion.exp: new file.
26036         * gdb.base/cond-expr.exp: new file.
26037         * gdb.base/condbreak.exp: new file.
26038         * gdb.base/define.exp: new file.
26039         * gdb.base/dollar.exp: new file.
26040         * gdb.base/environment.exp: new file.
26041         * gdb.base/eval-skip.exp: new file.
26042         * gdb.base/jump.exp: new file.
26043         * gdb.base/logical.exp: new file.
26044         * gdb.base/pointers.exp: new file.
26045         * gdb.base/relational.exp: new file.
26046         * gdb.base/section_command.exp: new file.
26047         * gdb.base/whatis-expr.exp: new file.
26048
26049         * gdb.base/all-types.c: new file.
26050         * gdb.base/call-array-struct.c: new file.
26051         * gdb.base/call-return-struct.c: new file.
26052         * gdb.base/call-strings.c: new file.
26053         * gdb.base/callfuncs2.c: new file.
26054         * gdb.base/condbreak.c: new file.
26055         * gdb.base/constvars.c: new file.
26056         * gdb.base/display.c: new file.
26057         * gdb.base/int-type.c: new file.
26058         * gdb.base/jump.c: new file.
26059         * gdb.base/miscexprs.c: new file.
26060         * gdb.base/pointers.c: new file.
26061         * gdb.base/pointers2.c: new file.
26062         * gdb.base/shmain.c: new file.
26063         * gdb.base/shr1.c: new file.
26064         * gdb.base/shr2.c: new file.
26065         * gdb.base/solib.c: new file.
26066         * gdb.base/solib1.c: new file.
26067         * gdb.base/solib2.c: new file.
26068         * gdb.base/varargs.c: new file.
26069         * gdb.c++/derivation.cc: new file.
26070         * gdb.c++/overload.cc: new file.
26071         * gdb.c++/ovldbreak.cc: new file.
26072         * gdb.hp/attach.c: new file.
26073         * gdb.hp/attach2.c: new file.
26074         * gdb.hp/average.c: new file.
26075         * gdb.hp/compiler.c: new file.
26076         * gdb.hp/compiler.cc: new file.
26077         * gdb.hp/execd-program.c: new file.
26078         * gdb.hp/follow-exec.c: new file.
26079         * gdb.hp/follow-fork.c: new file.
26080         * gdb.hp/follow-vfork-and-exec.c: new file.
26081         * gdb.hp/misc-hp.cc: new file.
26082         * gdb.hp/more-steps.c: new file.
26083         * gdb.hp/optimize.c: new file.
26084         * gdb.hp/quicksort.c: new file.
26085         * gdb.hp/run-hp.c: new file.
26086         * gdb.hp/start-stop.c: new file.
26087         * gdb.hp/sum.c: new file.
26088         * gdb.hp/templates-hp.cc: new file.
26089         * gdb.hp/thread-local-in-lib.c: new file.
26090         * gdb.hp/thread-local-in-lib.h: new file.
26091         * gdb.hp/thread-local-in-lib.lib.c: new file.
26092         * gdb.hp/vforked-program.c: new file.
26093         * gdb.hp/virtfunc-hp.cc: new file.
26094         * gdb.hp/watchpoint-hp.c: new file.
26095         * gdb.hp/xdb.c: new file.
26096         * gdb.hp/xdb0.c: new file.
26097         * gdb.hp/xdb0.h: new file.
26098         * gdb.hp/xdb1.c: new file.
26099
26100 Mon Dec 21 14:08:38 1998  David Taylor  <taylor@texas.cygnus.com>
26101
26102         The following change was made by Edith Epstein
26103         <eepstein@cygnus.com> as part of a project to merge in changes
26104         originally made by HP; HP did not create ChangeLog entries.
26105
26106         * gdb.c++/demangle.exp: changed the expected output for some
26107         ARM-style mangling -- removed second reference to datatype.
26108         For example, maint demangle __dt__11T1__pt__2_cFv
26109                      T1<char>::~T1<char>(void)
26110         becomes,
26111                      maint demangle __dt__11T1__pt__2_cFv
26112                      T1<char>::~T1(void)
26113
26114         (test_hp_style_demangling): new hp specific demangling test cases.
26115
26116 Mon Dec 14 15:07:03 1998  Jeffrey A Law  (law@cygnus.com)
26117
26118         * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26119         * gdb.trace/backtrace.exp: Likewise.
26120         * gdb.trace/circ.exp: Likewise.
26121         * gdb.trace/collection.exp: Likewise.
26122         * gdb.trace/deltrace.exp: Likewise.
26123         * gdb.trace/infotrace.exp: Likewise.
26124         * gdb.trace/limits.exp: Likewise.
26125         * gdb.trace/packetlen.exp: Likewise.
26126         * gdb.trace/passc-dyn.exp: Likewise.
26127         * gdb.trace/passcount.exp: Likewise.
26128         * gdb.trace/report.exp: Likewise.
26129         * gdb.trace/save-trace.exp: Likewise.
26130         * gdb.trace/tfind.exp: Likewise.
26131         * gdb.trace/tracecmd.exp: Likewise.
26132         * gdb.trace/while-dyn.exp: Likewise.
26133         * gdb.trace/while-stepping.exp: Likewise.
26134
26135 1998-12-07  Jim Blandy  <jimb@zwingli.cygnus.com>
26136
26137         * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26138
26139 Wed Dec  2 20:03:53 1998  Stan Shebs  <shebs@andros.cygnus.com>
26140
26141         From Brendan Kehoe:
26142         * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26143         int return types.
26144
26145 Sat Oct 24 18:04:22 1998  Felix Lee  <flee@cygnus.com>
26146
26147         * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
26148         remote dos host testing right.
26149
26150 Mon Oct 19 01:31:59 1998  Felix Lee  <flee@cygnus.com>
26151
26152         * gdb.base/corefile.exp: remove some xfails.
26153
26154 Thu Oct 15 10:04:38 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26155
26156         * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
26157         have different timestamps.
26158
26159 Thu Oct  1 20:56:14 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26160
26161         * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
26162         gdb.base/default.exp: Replace "exec" with "executable".
26163
26164 Tue Sep 29 15:06:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26165
26166         * gdb.base/default.exp: Change else if to elseif from previous
26167         delta.
26168
26169 Mon Sep 28 13:21:43 1998  Nick Clifton  <nickc@cygnus.com>
26170
26171         * gdb.base/default.exp: Add brace missing from previous delta.
26172
26173 Mon Sep 21 14:39:27 1998  Nick Clifton  <nickc@cygnus.com>
26174
26175         * gdb.base/default.exp: Support test for info float for all
26176         varieties of arm toolchain.
26177
26178 Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cygnus.com>
26179
26180         * gdb.trace/*.exp: remove "remote_download" command.
26181
26182 Wed Sep 16 11:38:21 1998  Michael Snyder  <msnyder@cygnus.com>
26183
26184         * gdb.trace/*.exp: remove -gdwarf from compile.
26185
26186 Wed Sep 16 01:23:11 1998  Felix Lee  <flee@cygnus.com>
26187
26188         * gdb.trace/configure.in(AC_INIT): typo
26189         * gdb.trace/configure: regenerated
26190
26191 Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cygnus.com>
26192
26193         * config/m68k-emc.exp: New file.
26194         * lib/<emc-support.exp trace-support.exp}: New files.
26195         * configure.in: add new test directory gdb.trace.
26196         * gdb.trace/{configure configure.in Makefile.in}: New files.
26197         * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26198         * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26199         * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26200         * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26201         * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26202         * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26203         * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
26204
26205 Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cygnus.com>
26206
26207         * gdb.c++/classes.exp: Change all regular expressions to match
26208         arbitrary combinations of newline/carriage-return, so that they
26209         will work equally well on Unix and Windows.
26210         * gdb.c++/inherit.exp: ditto.
26211         * gdb.c++/virtfunc.exp: ditto.
26212
26213 1998-08-11 Dawn Perchik  <dawn@cygnus.com>
26214
26215         * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26216
26217 Fri Jul 24 15:51:34 1998  Jeffrey A Law  (law@cygnus.com)
26218
26219         * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26220         * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
26221         to use a0-a3/d0-d3 as needed.
26222
26223 Thu Jul 16 18:20:46 1998  Jeffrey A Law  (law@cygnus.com)
26224
26225         * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26226         * gdb.disasm/am33.exp: Corresponding changes.
26227
26228 1998-07-11  Felix Lee  <flee@cygnus.com>
26229
26230         * gdb.base/callfuncs.exp: add cmp10 test.
26231         * gdb.base/callfuncs.c (cmp10): new function.
26232
26233 Thurs Jul 9 11:08:31 1998  Dawn Perchik  <dawn@cygnus.com>
26234
26235         * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
26236         into two parts to get around a synchronization problem in expect.
26237
26238 Fri Jun 26 14:27:13 1998  Keith Seitz  <keiths@cygnus.com>
26239
26240         * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26241
26242         * configure.in: Add options for gdbtk testsuite.
26243
26244         * configure: Regenerate.
26245
26246         * gdb.gdbtk: New directory to hold gdbtk tests.
26247
26248 Fri Jun 26 14:52:47 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
26249
26250         * gdb.fortran/types.exp:  Escape brackets in expect patterns
26251         for test_float_literal_types_accepted tests.
26252         * gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
26253         before run test.
26254
26255 Fri Jun 26 11:12:17 1998  Jeffrey A Law  (law@cygnus.com)
26256
26257         * am33.exp: Just compile, do not link the testcase.
26258         * am33.s: Add ".am33" pseudoop to force am33 mode.
26259
26260 1998-06-25  Felix Lee  <flee@cygnus.com>
26261
26262         * gdb.base/setshow.exp: make sure $pc is sane.
26263
26264         * gdb.stabs/weird.exp: split expect patterns properly.
26265
26266 Wed Jun 24 13:03:15 1998  Jeffrey A Law  (law@cygnus.com)
26267
26268         * gdb.disasm/am33.s: New disassembler testfile for the am33.
26269         * gdb.disasm/am33.exp: Run it.
26270
26271 Tue Jun 23 11:45:01 1998  Michael Snyder  <msnyder@cygnus.com>
26272
26273         * gdb.base/funcargs.exp: simplify expect strings to ease pattern
26274         match processing (and eliminate spurious timeouts when running).
26275
26276 Fri Jun 12 17:28:22 1998  Michael Snyder  <msnyder@cygnus.com>
26277
26278         * gdb.base/signals.exp (test_handle_all_print): put back Mach
26279         exception test, but conditionalize it on target [mach | gnu].
26280
26281 Wed Jun 10 10:40:03 1998  Michael Snyder  <msnyder@cygnus.com>
26282
26283         * gdb.base/overlays.exp: fixup compile line for linker script.
26284
26285 Thu Jun  4 21:54:15 1998  Felix Lee  <flee@zog.cygnus.com>
26286
26287         * gdb.fortran/types.exp: don't guess at float size.
26288
26289 Thu May 21 02:28:37 1998  Felix Lee  <flee@zog.cygnus.com>
26290
26291         * gdb.base/exprs.exp: delete test that depends on int size.
26292
26293 Sun May 17 17:10:22 1998  Bob Manson  <manson@charmed.cygnus.com>
26294
26295         * config/sim.exp: Removed checks for target triplets.
26296         (gdb_target_sim): Use gdb,target_sim_options.
26297
26298 Sat May 16 23:43:35 1998  Mark Alexander  <marka@cygnus.com>
26299
26300         * gdb.base/reread.exp: New file.
26301         * gdb.base/reread1.c: New file.
26302         * gdb.base/reread2.c: New file.
26303
26304 Sat May 16 23:22:09 1998  Mark Alexander  <marka@cygnus.com>
26305
26306         * config/sim.exp: Use 'target sim -sparclite' when running
26307         SPARClite programs.
26308
26309 Sat May 16 18:48:08 1998  Doug Evans  <devans@canuck.cygnus.com>
26310
26311         * gdb.base/structs2.exp: New file.
26312         * gdb.base/structs2.c: New file.
26313
26314 Wed May 13 13:36:14 1998  Doug Evans  <devans@canuck.cygnus.com>
26315
26316         * gdb.asm/common.inc: New file.
26317         * gdb.asm/d10v.inc: New file.
26318         * asm-source.exp: Pass -I's to gas to find .inc files.
26319         Update line numbers in expected output.
26320         * asmsrc1.s: Rewrite.
26321         * asmsrc2.s: Rewrite.
26322         * configure.in: Create arch.inc symlink.
26323         * configure: Regenerate.
26324         * Makefile.in (distclean): Delete arch.inc.
26325
26326 Wed May  6 10:30:54 1998  John Metzler  <jmetzler@cygnus.com>
26327
26328         *  callfuncs.c (t_enum_value1) : Cleanup return value warnings
26329         (t_enum_value2): ditto
26330         (t_enum_value3): ditto
26331         (main): ditto
26332 Fri May  1 09:33:37 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
26333
26334         * gdb.base/break.exp:  Remove xfail for `deleting all breakpoints
26335         when none' unexpected prompt case, fixed by breakpoint.c:delete_command
26336         change.
26337         Use gdb_test instead of send_gdb/gdb_expect sequences.
26338
26339 Thu Apr 23 12:56:19 1998  Jason Molenda  (crash@bugshack.cygnus.com)
26340
26341         * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
26342         not void.
26343
26344 Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>
26345
26346         * gdb.base/branches.c: Code with lots of loops and
26347         subroutines. Used to test gdbs ability to single step through PC
26348         changes, especially to test mips-tdep.c:mips_next_pc
26349
26350 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
26351
26352         * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
26353         more rigorous EGCS C++ error checking.
26354
26355 Fri Apr 10 22:38:12 1998 Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
26356
26357         * gdb.base/help.exp:  Clean up `help set args' and `help show args'
26358         tests.
26359         * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
26360         function when asleep.
26361         * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
26362         for i*86 Linux and SVR4 signal handling problems.
26363         Remove linux xfail for `next to handler in signals_tests_1', fixed
26364         by recent infrun.c change.
26365         Limit backtrace to 10 frames to avoid timeout problems with infinite
26366         stack backtraces.
26367         Adjust expect pattern in `handle all print' test to match Apr 28 1997
26368         target.[ch] change.
26369
26370 Tue Mar 31 00:40:32 1998  Bob Manson  <manson@charmed.cygnus.com>
26371
26372         * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
26373         for a newline from gdb before continuing.
26374         (default_gdb_exit): Just look for y or n.
26375         (gdb_test): Detect abnormal exit from GDB running on DOS; if
26376         it does, fail the rests of the tests in the file.
26377
26378 Tue Mar 24 22:44:52 1998  Bob Manson  <manson@charmed.cygnus.com>
26379
26380         * config/cygmon.exp: New file.
26381
26382 Mon Mar 16 21:39:11 1998  Bob Manson  <manson@charmed.cygnus.com>
26383
26384         * gdb.base/list.exp: Fix problem with "list default lines around
26385         main" test on remote targets.
26386
26387         * gdb.base/scope.exp: Fix problem with filelocal_bss before
26388         run test on remote targets.
26389
26390 Thu Mar 12 16:23:00 1998  Doug Evans  <devans@canuck.cygnus.com>
26391
26392         * gdb.asm: New directory.
26393         * configure.in: Configure it.
26394         * configure: Regenerate.
26395         * gdb.asm/{Makefile.in,configure.in,configure}: New files.
26396         * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
26397
26398 Mon Feb 23 08:22:44 1998  Mark Alexander  <marka@cygnus.com>
26399
26400         * config/mn10300-eval.exp: New file to support MN10300 eval board.
26401
26402 Wed Feb 18 16:43:46 1998  Michael Snyder  (msnyder@cygnus.com)
26403
26404         * gdb.base/overlays (several files): Merge the two overlay
26405         managers into one.  Change variables (foox, barx, bazx, grbxx)
26406         back into ints but force them to load in their proper sections.
26407
26408 Thu Feb 12 13:49:30 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26409
26410         * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
26411         on-chip insn memory and IMAP1 to upper 128k.
26412         (D10VCopy): Handle memory regions crossing 16k boundaries.
26413         (D10VCopy): Transfer data in 32 bit chunks.
26414
26415 Tue Feb 10 17:23:22 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26416
26417         * gdb.base/overlays.c (main): Exit normally when result is
26418         correct.
26419
26420         * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
26421         map.  Include space for printf in .text segment.
26422
26423         * gdb.base/d10vovly.c (D10VTranslate): New function, handle
26424         updated d10v memory VMA/LMA map.
26425         (D10VCopy): Call D10VTranslate.
26426
26427 Fri Feb  6 14:13:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
26428
26429         * gdb.base/m32rovly.c: Force variable _novlys into .data section.
26430
26431         * gdb.base/bar.c (barx, bar): Change variable to small array so
26432         that it won't be put into the .sdata - small data -
26433         section. Update reference.
26434         * gdb.base/baz.c (bazx, baz): Ditto.
26435         * gdb.base/foo.c (foox, foo): Ditto.
26436         * gdb.base/grbx.c (grbxx, grbx): Ditto.
26437
26438         * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
26439         to be arrays.
26440
26441 Thu Jan 29 14:48:19 1998  Michael Snyder  (msnyder@cygnus.com)
26442
26443         * gdb.base/overlays.exp: fix up and get working again.
26444         Add tests for backtraces from an overlay function.
26445
26446 Fri Jan 23 07:52:45 1998  Fred Fish  <fnf@cygnus.com>
26447
26448         * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
26449         "calling function with watchpoint enabled".
26450
26451 Thu Jan 22 14:23:29 1998  Fred Fish  <fnf@cygnus.com>
26452
26453         * gdb.base/break.exp (test_next_with_recursion): Remove
26454         gdb_suppress_tests for d10v-*-*.
26455         * lib/gdb.exp (gdb_suppress_tests): Disable this function
26456         pending review of whether it is useful or not.
26457
26458 Tue Jan 20 13:02:09 1998  Mark Alexander  <marka@cygnus.com>
26459
26460         * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
26461
26462 Mon Jan 19 08:53:04 1998  Mark Alexander  <marka@cygnus.com>
26463
26464         * gdb.base/break.exp: Increase timeout for slow TX39 boards.
26465         * config/dve.exp: New file to support Densan boards.
26466
26467 Mon Dec 15 22:38:05 1997  Andrew Cagney  <cagney@b1.cygnus.com>
26468
26469         * gdb.base/interrupt.exp: Document problem of simulators, signals,
26470         reads and BSD.
26471
26472 Wed Nov 26 22:29:18 1997  Bob Manson  <manson@charmed.cygnus.com>
26473
26474         * config/monitor.exp: Be a bit less picky about the "Remote debugging"
26475         response.
26476
26477         * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
26478
26479 Tue Nov 25 12:46:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
26480
26481         * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
26482         test.
26483
26484         * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
26485         target_sizeof_long and target_bigendian_p.
26486         (structs_by_value, structs_by_reference): Check values according
26487         to targets word size and endianess.
26488
26489 Mon Nov 24 16:37:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
26490
26491         * gdb.base/langs.exp: For "continue to exit" ignore any trailing
26492         output.
26493
26494 Fri Oct 17 13:24:43 1997  Stan Shebs  <shebs@andros.cygnus.com>
26495
26496         * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
26497         Update test of set args help to match source change.
26498
26499 Fri Sep 26 17:36:20 1997  Jason Molenda  (crash@pern.cygnus.com)
26500
26501         * gdb.base/default.exp: Expect help system output to be in
26502         alphabetical order.
26503         * gdb.base/help.exp: Ditto.
26504
26505 Wed Sep 24 13:08:14 1997  Bob Manson  <manson@charmed.cygnus.com>
26506
26507         * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
26508         "i*86-pc-linux-gnu*".
26509         * gdb.base/interrupt.exp: Ditto.
26510         * gdb.base/corefile.exp: Ditto.
26511
26512         * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
26513         define vxworks when building the testcase.
26514
26515         * gdb.base/ptype.exp: Fix testnames to be unique.
26516         * gdb.base/radix.exp: Ditto.
26517         * gdb.base/term.exp: Ditto.
26518         * gdb.base/whatis.exp: Ditto.
26519         * gdb.c++/classes.exp: Ditto.
26520
26521 Tue Sep 16 22:21:48 1997  Bob Manson  <manson@charmed.cygnus.com>
26522
26523         * gdb.base/callfuncs.exp: Fix indentation.
26524
26525         * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
26526         suppress_flag has been set.
26527         (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
26528         target feature.
26529
26530 Mon Sep 15 15:43:17 1997  Bob Manson  <manson@charmed.cygnus.com>
26531
26532         * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
26533         the testcase.
26534
26535         * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
26536         set_debug_traps() and breakpoint().
26537         * gdb.c++/misc.cc (main): Ditto.
26538         * gdb.c++/templates.cc (main): Ditto.
26539         * gdb.c++/virtfunc.cc (main): Ditto.
26540
26541 Fri Sep 12 16:56:38 1997  Bob Manson  <manson@charmed.cygnus.com>
26542
26543         * lib/gdb.exp(gdb_step_for_stub): New function.
26544         (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
26545         exists, reload the executable and do a "continue" instead of
26546         doing a jump.
26547         (runto_main): Use gdb_step_for_stub.
26548
26549         * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
26550         tests to have unique names.
26551         * gdb.base/callfuncs.exp: Ditto.
26552         * gdb.base/commands.exp: Ditto.
26553         * gdb.base/default.exp: Ditto.
26554         * gdb.base/help.exp: Ditto.
26555         * gdb.base/list.exp: Ditto.
26556         * gdb.base/opaque.exp: Ditto.
26557         * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
26558         similar tests.
26559
26560         * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
26561         * gdb.c++/cplusfuncs.cc: Ditto.
26562         * gdb.c++/virtfunc.cc: Ditto.
26563
26564         * config/monitor.exp: Keep track of the last file we saw, rather
26565         than trying to get the info from gdb.
26566
26567         * gdb.fortran/types.exp: Move comment to previous line.
26568
26569 Tue Sep  2 19:55:34 1997  Bob Manson  <manson@charmed.cygnus.com>
26570
26571         * config/sparclet.exp: Detect gratuitous change to sparclet gdb
26572         target mode.
26573
26574 Mon Jul 28 12:14:47 1997  Stan Shebs  <shebs@andros.cygnus.com>
26575
26576         From Bob Manson:
26577         * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
26578         string from GDB when it connects.
26579
26580         * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26581
26582 Thu Jul  3 15:35:12 1997  Bob Manson  <manson@charmed.cygnus.com>
26583
26584         * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
26585         if we can't get a debug format from GDB (we may be testing an
26586         older GDB). Use a 10 second timeout when checking for the format.
26587
26588         * gdb.stabs/weird.exp: Fix quoting.
26589
26590         * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26591
26592 Mon Jun 30 18:31:43 1997  Bob Manson  <manson@charmed.cygnus.com>
26593
26594         * config/arm-ice.exp: New file.
26595
26596 Sun Jun 29 16:43:30 1997  Bob Manson  <manson@charmed.cygnus.com>
26597
26598         * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
26599         until it has been modified to work with the new testsuite.
26600
26601         * gdb.*/*.exp: Instead of causing 1 unresolved test when the
26602         testcase won't compile, cause all of the testcases in the file to
26603         fail instead.
26604
26605         * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26606         (gdb_clear_suppressed): New procedure.
26607         (gdb_stop_suppressing_tests): Only clear suppress_flag if
26608         it contains a positive value.
26609
26610 Sat Jun 28 13:31:11 1997  Bob Manson  <manson@charmed.cygnus.com>
26611
26612         * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26613
26614         * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26615
26616 Fri Jun 27 07:44:25 1997  Fred Fish  <fnf@cygnus.com>
26617
26618         * lib/gdb.exp (setup_xfail_format): New function.
26619         (get_debug_format): New function to get debug format.
26620         (debug_format): New global variable to hold last value set
26621         by get_debug_format.
26622         * gdb.base/list.exp: Call get_debug_format and expect some
26623         tests to fail for DWARF 1 and COFF formats.
26624         * gdb.c++/ptype.exp: Ditto.
26625         * gdb.c++/classes.exp: Ditto.
26626         * gdb.c++/cplusfuncs.exp: Ditto.
26627         * gdb.c++/inherit.exp: Ditto.
26628         * gdb.c++/templates.exp: Ditto.
26629         * gdb.c++/virtfunc.exp: Ditto.
26630
26631 Wed Jun 25 09:08:51 1997  Bob Manson  <manson@charmed.cygnus.com>
26632
26633         * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26634         host doesn't have a currently-open connection.
26635
26636         * config/sparclet.exp: Cleanups and fixes to make it generic for
26637         any gdb stub target. Handle cases where gdb doesn't respond when
26638         interrupted in a sane fashion.
26639
26640         * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
26641         same thing in a totally different way.
26642
26643         * config/monitor.exp: Pass in timeouts to gdb_expect instead of
26644         setting "timeout".
26645         (gdb_start): We set the global gdb_prompt variable in
26646         default_gdb_init now.
26647
26648 Sun Jun 22 09:11:02 1997  Fred Fish  <fnf@cygnus.com>
26649
26650         * gdb.base/printcmds.exp: Fix "check for floating addition"
26651         regexp to accept results within approx +/- .01 of exact value.
26652         * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26653
26654 Wed Jun 18 11:11:39 1997  Bob Manson  <manson@charmed.cygnus.com>
26655
26656         * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
26657         properly.
26658         (gdb_expect): Add optional timeout parameter, and add timeout
26659         value to various calls.
26660         (gdb_suppress_tests): Only give one warning message per group.
26661
26662 Tue Jun 17 13:10:10 1997  Bob Manson  <manson@charmed.cygnus.com>
26663
26664         * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
26665         global variables. Handle getting a value for $timeout more
26666         gracefully.
26667
26668 Sat Jun 14 09:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
26669
26670         * lib/gdb.exp: Close connection to remote host if gdb doesn't
26671         initialize.
26672         (default_gdb_init): New procedure; allow gdb_init to be overridden
26673         by a target configuration file.
26674         (gdb_expect): Pass the timeout to remote_expect.
26675
26676         * config/monitor.exp(gdb_load): Fix typo in regexp.
26677
26678 Thu Jun 12 20:57:12 1997  Bob Manson  <manson@charmed.cygnus.com>
26679
26680         * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26681
26682 Tue Jun  3 15:20:20 1997  Bob Manson  <manson@charmed.cygnus.com>
26683
26684         * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
26685         here. Call gdb_target_exec before rebooting the target, to make
26686         sure the connection to the target is closed.
26687         (gdb_load): Pass the name of the executable to gdb_target_monitor.
26688         Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26689         Also detect "Timeout reading from remote" error.
26690
26691         * config/gdbserver.exp: Pass the executable being loaded to
26692         gdb_target_monitor. Don't call gdb_file_cmd here; let
26693         gdb_target_monitor do it.
26694
26695         * gdb.disasm/hppa.exp: Don't use exec_output.
26696
26697 Fri May 23 13:28:29 1997  Bob Manson  <manson@charmed.cygnus.com>
26698
26699         * gdb.base/list.exp: If we're debugging a non-native target,
26700         try to set the pc register to point to the start of the
26701         program before doing the first list command.
26702
26703         * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
26704         test_calls after restarting.
26705
26706         * lib/gdb.exp(gdb_run_cmd): Send jump command again after
26707         reloading.
26708
26709         * gdb.base/watchpoint.exp: Fix typo.
26710
26711         * gdb.base/setshow.exp: Check for use_gdb_stub.
26712
26713         * gdb.base/break.exp: Fix continue until exit test for the gdb
26714         stub case.
26715         * gdb.base/langs.exp: Ditto.
26716
26717         * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
26718         gdb_load_offset. If we weren't given a file to load, figure out
26719         what the current file is and use it.
26720
26721         * config/i386-bozo.exp: New file.
26722
26723 Thu May 22 18:51:32 1997  Bob Manson  <manson@charmed.cygnus.com>
26724
26725         * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26726         feature.
26727
26728         * config/proelf.exp: New entry.
26729
26730 Wed May 21 21:23:16 1997  Bob Manson  <manson@charmed.cygnus.com>
26731
26732         * lib/gdb.exp: Remove spurious .* patterns at the beginning
26733         of regexps.
26734
26735         * gdb.base/watchpoint.exp: Don't run the test_stepping
26736         tests if gdb can't call functions on the target.
26737
26738         * gdb.base/setshow.exp: Don't run the set prompt tests if
26739         the board has gdb_prompt set.
26740
26741 Tue May 20 08:58:49 1997  Jeffrey A Law  (law@cygnus.com)
26742
26743         * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26744         * gdb.base/commands.exp: Likewise.
26745         * gdb.base/setshow.exp: Likewise.
26746
26747 Mon May 19 15:37:50 1997  Bob Manson  <manson@charmed.cygnus.com>
26748
26749         * config/monitor.exp(gdb_start): Look for gdb_prompt target
26750         feature.
26751
26752         * config/i960.exp: New file.
26753
26754 Thu May  1 18:01:50 1997  Bob Manson  <manson@charmed.cygnus.com>
26755
26756         * gdb.base/funcargs.exp: Check for gdb,short_int target
26757         feature instead of looking for explicit target triplets.
26758
26759 Mon Apr 28 17:27:40 1997  Michael Snyder  <msnyder@cygnus.com>
26760
26761         * gdb.base/printcmds.exp: add a couple more tests a la
26762         "p 123DEADBEEF", to check parse_number.
26763         * top.c: change "to enable to enable" to "to enable" in a couple
26764         of help strings.
26765
26766 Thu Apr 24 14:38:18 1997  Jeffrey A Law  (law@cygnus.com)
26767
26768         * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26769         on the mn10300.
26770
26771 Mon Apr 21 15:05:42 1997  Fred Fish  <fnf@cygnus.com>
26772
26773         * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26774         where the test executable is run with explicit args.
26775         * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26776
26777 Mon Apr 21 13:38:58 1997  Fred Fish  <fnf@cygnus.com>
26778
26779         * gdb.base/run.c: Use FAKEARGV to build test executable that
26780         does not require a command line arg, since most simulators
26781         don't currently support passing such an arg into the simulated
26782         program.
26783         * gdb.base/commands.exp: Change tests to insert the proper
26784         value as the arg to the first recursive factorial call.  Change
26785         compilation line to define FAKEARGV at compile time.
26786
26787 Wed Apr  9 11:12:36 1997  Jeffrey A Law  (law@cygnus.com)
26788
26789         * gdb.base/recurse.exp: Enable these tests for the mn10300.
26790         * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26791         function with watchpoint enabled" test.
26792
26793 Tue Apr  8 19:33:20 1997  Bob Manson  <manson@charmed.cygnus.com>
26794
26795         * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
26796         Don't call gdb_test when the command doesn't return to a gdb prompt.
26797
26798         * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
26799         "Tests restarted" messages.
26800
26801 Tue Apr  8 16:38:46 1997  Jeffrey A Law  (law@cygnus.com)
26802
26803         * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26804
26805 Thu Apr  3 15:21:26 1997  Michael Snyder  <msnyder@cygnus.com>
26806
26807         * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26808         for INFO SYMBOL; add help tests for OVERLAY commands.
26809         * gdb.base/default.exp: add tests for INFO SYMBOL command;
26810         add tests for OVERLAY commands
26811         * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26812         d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26813         * gdb.base/sigall.c: add usestubs code frag
26814         * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
26815
26816 Thu Apr  3 09:38:53 1997  Bob Manson  <manson@charmed.cygnus.com>
26817
26818         * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26819         failures.
26820         (gdb_stop_suppressing_tests): Note that tests have restarted.
26821
26822 Wed Apr  2 19:04:20 1997  Bob Manson  <manson@charmed.cygnus.com>
26823
26824         * config/h8300.exp: New file.
26825
26826 Sun Mar 30 13:38:25 1997  Bob Manson  <manson@charmed.cygnus.com>
26827
26828         * gdb.base/setshow.exp: Check for the existence of a
26829         feature, not its value.
26830
26831 Sat Mar 29 11:19:46 1997  Bob Manson  <manson@charmed.cygnus.com>
26832
26833         * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26834
26835         * gdb.base/scope.exp: It's now init0(), not init().
26836
26837         * gdb.base/scope0.c: For now, change init() to be init0().
26838
26839         * config/monitor.exp: Use gdb_serial in preference to serial
26840         or netport.
26841
26842         * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
26843         and it's not already set.
26844
26845 Fri Mar 28 19:54:18 1997  Bob Manson  <manson@charmed.cygnus.com>
26846
26847         * gdb.base/setshow.exp: Only test the run command if the target
26848         isn't using a stub and if it supports argument passing.
26849
26850 Sat Mar 22 19:50:25 1997  Bob Manson  <manson@charmed.cygnus.com>
26851
26852         * config/udi.exp(gdb_start): Make sure UDICONF is set
26853         properly before starting gdb.
26854
26855 Mon Mar 24 14:40:33 1997  Jeffrey A Law  (law@cygnus.com)
26856
26857         * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26858         * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26859         * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26860
26861 Tue Mar 11 11:42:58 1997  Bob Manson  <manson@charmed.cygnus.com>
26862
26863         * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
26864         specialized code to reboot the board, use remote_reboot instead.
26865
26866         * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26867
26868         * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26869
26870         * config/monitor.exp: Make sure we disconnect from the target.
26871         Also, try a reboot/reload cycle instead of failing if the
26872         load fails.
26873
26874 Fri Mar  7 13:48:30 1997  Bob Manson  <manson@charmed.cygnus.com>
26875
26876         * gdb.base/default.exp: Don't set match_max.
26877         * gdb.base/help.exp: Ditto.
26878         * gdb.base/list.exp: Ditto.
26879         * gdb.base/signals.exp: Ditto.
26880
26881         * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26882         set, use remote_ld to download the testcase instead of
26883         the GDB loader.
26884
26885 Wed Mar  5 00:00:43 1997  Bob Manson  <manson@charmed.cygnus.com>
26886
26887         * config/vr5000.exp: New file.
26888
26889         * config/monitor.exp(gdb_target_monitor): Add pattern for
26890         "Ending remote" to detect errors in connecting.
26891
26892         * gdb.base/setshow.exp: Add .* within auto language test.
26893
26894         * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26895         target feature.
26896
26897         * config/monitor.exp(gdb_load): Check for a failure when loading,
26898         and reboot the board if necessary.
26899
26900         * gdb.base/setvar.exp(test_set): Handle multiple prints within
26901         a set of tests. Remove print.* from the patterns being checked.
26902
26903 Mon Mar  3 11:57:43 1997  Bob Manson  <manson@charmed.cygnus.com>
26904
26905         * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26906         refer to gdb_spawn_id.
26907
26908         * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26909         longer used.
26910         * config/sparclet.exp: Ditto.
26911         * config/sparclet-old.exp: Ditto.
26912         * config/slite.exp: Ditto.
26913         * config/sim.exp: Ditto.
26914         * gdb.base/funcargs.exp: Ditto.
26915
26916         * lib/gdb.exp:Remove references to gdb_spawn_id.
26917         (gdb_expect): Move to remote.exp.
26918
26919 Fri Feb 28 20:47:39 1997  Bob Manson  <manson@charmed.cygnus.com>
26920
26921         * config/monitor.exp: Detect the "Couldn't establish connection"
26922         message from GDB.
26923
26924 Tue Feb 25 14:08:55 1997  Bob Manson  <manson@charmed.cygnus.com>
26925
26926         * gdb.base/bitfields.exp: Use runto instead of explicit
26927         gdb_run_cmd/gdb_expect sequences.
26928
26929         * gdb.base/break.exp(text_next_with_recursion): Add match for
26930         gdb_expect call.
26931
26932         * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26933         We also need to handle the "A program is being debugged already"
26934         prompt from gdb. Use gdb_test to set the baud rate.
26935
26936         * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26937         to 20000. Really. I mean it.
26938
26939 Mon Feb 24 13:23:26 1997  Bob Manson  <manson@charmed.cygnus.com>
26940
26941         * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
26942         fails. If suppress_flag is set, skip perror message about not
26943         being able to send to GDB.
26944         (send_gdb): If suppress_flag is set, don't try to send commands to
26945         GDB.
26946         (gdb_expect): If suppress_flag is set, always fail immediately.
26947         (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26948         (gdb_init): Call gdb_stop_suppressing_tests.
26949         (default_gdb_exit): Ditto.
26950         (default_gdb_start): Ditto.
26951
26952         * gdb.base/bitfields.exp: Call gdb_suppress_tests and
26953         gdb_stop_suppressing_tests as appropriate.
26954         * gdb.base/break.exp: Ditto.
26955         * gdb.base/callfuncs.exp: Ditto.
26956         * gdb.base/commands.exp: Ditto.
26957         * gdb.base/exprs.exp: Ditto.
26958         * gdb.base/funcargs.exp: Ditto.
26959         * gdb.base/list.exp: Ditto.
26960         * gdb.base/recurse.exp: Ditto.
26961         * gdb.base/scope.exp:  Ditto.
26962         * gdb.base/structs.exp: Ditto.
26963         * gdb.c++/inherit.exp: Ditto.
26964
26965 Sun Feb 23 19:56:02 1997  Bob Manson  <manson@charmed.cygnus.com>
26966
26967         * config/vr4300.exp: New file.
26968
26969         * gdb.*/*.exp: Call gdb_expect instead of expect.
26970
26971         * lib/gdb.exp(gdb_expect): New function.
26972
26973 Thu Feb 20 13:57:01 1997  Bob Manson  <manson@charmed.cygnus.com>
26974
26975         * lib/gdb.exp(gdb_init): New function.
26976
26977         * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
26978         for each individual variable set.
26979
26980         * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26981         name.
26982
26983         * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26984
26985         * gdb.base/scope.exp: Use gdb_test.
26986
26987         * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26988         aborting; the testsuite driver will do that for us (see
26989         gdb_finish). Also, use gdb_test in a few more places.
26990
26991 Thu Feb 20 13:32:24 1997  Stan Shebs  <shebs@andros.cygnus.com>
26992
26993         * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26994
26995 Thu Feb 20 10:34:21 1997  Jeffrey A Law  (law@cygnus.com)
26996
26997         * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26998         and "add_tests" are not at the same address.
26999
27000 Fri Feb 14 18:47:23 1997  Bob Manson  <manson@charmed.cygnus.com>
27001
27002         * gdb.base/ptype.exp: Use gdb_test.
27003
27004 Thu Feb 13 16:09:36 1997  Jeffrey A Law  (law@cygnus.com)
27005
27006         * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27007         * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27008         left in.  No longer expect them to fail.
27009
27010         * gdb.stabs/*.mt; Deleted, no longer used.
27011         * gdb.stabs/configure.in: Remove references to target makefile
27012         frags.
27013         * gdb.stabs/configure: Rebuilt.
27014
27015         * gdb.disasm/*.mt: Deleted, no longer used.
27016         * gdb.disasm/configure.in: Remove references to target makefile
27017         frags.  Use "sh3.s" as the unique filename for this directory.
27018         * gdb.disasm/configure: Rebuilt.
27019
27020         * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27021         * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27022         * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27023
27024 Tue Feb 11 16:57:58 1997  Bob Manson  <manson@charmed.cygnus.com>
27025
27026         * config/udi.exp: Use mondfe,name instead of remote_host.
27027
27028 Tue Feb 11 11:22:36 1997  Jeffrey A Law  (law@cygnus.com)
27029
27030         * gdb.base/watchpoint.exp: Don't expect a failure when calling
27031         a function with a watchpoint enabled on the mn10200.
27032
27033         * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27034         before trying to create it!
27035
27036 Mon Feb 10 16:40:47 1997  Bob Manson  <manson@charmed.cygnus.com>
27037
27038         * config/vx.exp: Use hostname instead of netport.
27039
27040         * config/vxworks.exp: New file.
27041
27042         * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27043
27044         * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27045         gdb before assuming everything worked. Send a ^C if a timeout
27046         occurs.
27047
27048         * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27049         $gdb_spawn_id directly.
27050         (gdb_run_cmd): Try _start as well as start. Use the target feature
27051         gdb,start_symbol as the symbol to start from when jumping.
27052
27053 Mon Feb 10 11:26:59 1997  Jeffrey A Law  (law@cygnus.com)
27054
27055         * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27056         redundant) test.
27057
27058         * gdb.base/recurse.exp: Relax final value test for 'b' so that
27059         it doesn't lose for 16bit integer systems.
27060
27061 Fri Feb  7 09:31:21 1997  Jeffrey A Law  (law@cygnus.com)
27062
27063         * gdb.fortran/types.exp: If the target doesn't support "double"
27064         data types, then expect "real" types to only be 4 bytes.
27065
27066         * gdb.c++/virtfunc.exp: Expect failure for virtual function
27067         call tests if the target doesn't support inferior function calls.
27068
27069         * gdb.base/printcmds.exp: Allow minor deviation in FP values
27070         in printf tests.
27071
27072 Thu Feb  6 12:46:14 1997  Jeffrey A Law  (law@cygnus.com)
27073
27074         * gdb.base/help.exp: Disable "help set", "help show", and
27075         "help support".  Simplify regexp for "help stack".
27076
27077         * gdb.base/default.exp: Set match_max to 5000 and the timeout
27078         to 60 seconds.  Temporarily set match_max to 15000 around the
27079         "info copying" test.
27080
27081         * gdb.base/nodebug.exp: Don't try to do an inferior function
27082         call if the target doesn't support them.
27083         * gdb.base/printcmds.exp: Likewise.
27084         * gdb.base/setvar.exp: Likewise.
27085         * gdb.base/structs.exp: Likewise.
27086         * gdb.c++/templates.exp: Likewise.
27087         * gdb.base/ptype.exp: Likewise.  Remove UDI specific stuff.
27088
27089         * gdb.base/recurse.exp: Enable for the mn10200.
27090
27091         * configure.in: Do configure gdb.stabs directory for *-*-elf
27092         targets.
27093         * configure: Rebuilt.
27094
27095         * gdb.base/break.exp: Check for gdb,noresults before testing
27096         exit status and/or results from the target.
27097         * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27098         * lib/gdb.exp: Remove old (now bogus) initialization of
27099         noinferior, noargs, noresults and nosignals.
27100
27101 Tue Feb  4 21:52:17 1997  Bob Manson  <manson@charmed.cygnus.com>
27102
27103         * config/sh.exp: New file.
27104
27105         * config/slite.exp: Try to connect multiple times to the board
27106         before rebooting. Only send a "monitor run" if need_monitor_run
27107         is set.
27108
27109         * gdb.base/break.exp: Don't do the "stub continue" test if
27110         the target has gdb_stub set.
27111
27112         * gdb.base/callfuncs.exp: Increase the timeout.
27113
27114         * gdb.base/interrupt.exp: Don't even try to compile the testcase
27115         if the target has gdb,noinferiorio set.
27116
27117         * gdb.base/list.exp: Increase match_max to 10000 characters.
27118
27119         * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27120
27121         * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27122         target.
27123
27124         * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27125
27126 Mon Feb  3 12:09:37 1997  Bob Manson  <manson@charmed.cygnus.com>
27127
27128         * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
27129         trying to delete the copy of gdb. Catch the file delete so we
27130         don't die if the delete fails; also, the file should be copied to
27131         the host, not to the build.
27132
27133 Sun Feb  2 00:55:14 1997  Bob Manson  <manson@charmed.cygnus.com>
27134
27135         * lib/gdb.exp(gdb_test): Surround the result pattern with
27136         parenthesis in case it contains multiple regexps separated
27137         with |.
27138
27139         * gdb.base/watchpoint.exp: Use gdb_test.
27140         * gdb.base/default.exp: Ditto.
27141
27142 Sat Feb  1 23:51:01 1997  Bob Manson  <manson@charmed.cygnus.com>
27143
27144         * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
27145
27146         * gdb.base/scope.exp: Use gdb_test.
27147         * gdb.c++/classes.exp: Ditto.
27148         * gdb.c++/inherit.exp: Ditto.
27149
27150 Fri Jan 31 13:09:12 1997  Bob Manson  <manson@charmed.cygnus.com>
27151
27152         * gdb.base/crossload.exp: Don't use execute_anywhere, use
27153         remote_exec instead.
27154         * gdb.base/corefile.exp: Don't be ridiculous.
27155         * gdb.base/*.c: Add missing stub invocations.
27156
27157 Thu Jan 30 16:49:25 1997  Bob Manson  <manson@charmed.cygnus.com>
27158
27159         * config/slite.exp: Miscellaneous fixes.
27160
27161         * lib/gdb.exp: Fix runto.
27162
27163         * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27164         the target.
27165
27166         * gdb.base/watchpoint.exp: Fix regexp.
27167
27168         * lib/gdb.exp(default_gdb_exit): Add a catch to the
27169         close and wait commands, as the descriptor may now be
27170         invalid. Always call "remote_close host".
27171
27172 Tue Jan 28 14:42:31 1997  Bob Manson  <manson@charmed.cygnus.com>
27173
27174            Major rewrite for testsuite revision.
27175
27176         * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27177         TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27178         instead of relying on spawn_id to always contain a valid
27179         spawn id.
27180         (get_compiler_info): New procedure to build the ${binfile}.ci
27181         file, instead of replicating this in N different places.
27182         (gdb_compile): New procedure.
27183
27184         gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
27185         appropriate arguments) instead of compile. Use gdb_test in a lot
27186         more places.  Use send_gdb instead of send. Always run gdb_start
27187         at the start of a testcase, as this is no longer done magically.
27188
27189         config/*-gdb.exp: Rename without the -gdb suffix.
27190
27191         config/mips.exp: Use remote_close instead of exit_remote_shell.
27192         config/monitor.exp: Use target_info instead of looking at
27193         baud, timeout, etc.
27194         config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27195
27196 Sat Dec 14 00:43:57 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27197
27198         * gdb.c++/templates.exp (test_ptype_of_templates),
27199         gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27200         Update expect patterns for destructors and assignment operators
27201         to match corresponding c-typeprint.c changes.
27202         * gdb.c++/templates.exp (test_template_breakpoints):  Revert change
27203         to destructor breakpoint test, GDB should be able to set the
27204         destructor breakpoint without specifying arguments.
27205
27206 Tue Dec  3 20:17:52 1996  Fred Fish  <fnf@cygnus.com>
27207
27208         * gdb.threads/pthreads.exp: Change result for failure to compile due
27209         to lack of pthreads runtime support from an error to simply an
27210         unsupported test, per dejagnu standards.
27211
27212 Sun Dec  1 00:18:59 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27213
27214         * lib/gdb.exp (gdb_test):  Simplify expect pattern for the case
27215         where GDB exits to reduce pattern match time.
27216         (skip_chill_tests):  Skip chill tests for mips*-sgi-irix6*.
27217
27218         * gdb.base/nodebug.exp:  Add mips*-sgi-irix6* xfails.
27219
27220 Tue Nov 26 18:29:23 1996  Michael Snyder  <msnyder@cygnus.com>
27221
27222         * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27223         * gdb.base/default.exp:   ditto.
27224         * gdb.base/nodebug.exp:   ditto.
27225         * gdb.base/printcmds.exp: ditto.
27226         * gdb.base/ptype.exp:     ditto.
27227         * gdb.base/setvar.exp:    ditto.
27228         * gdb.base/structs.exp:   ditto.
27229         * gdb.base/setshow.c:     Guard against uninitialized values of argc.
27230
27231 Tue Nov 26 17:23:28 1996  Ian Lance Taylor  <ian@cygnus.com>
27232
27233         * configure, */configure: Rebuild with autoconf 2.12.
27234
27235 Sat Nov 23 13:32:15 1996  Fred Fish  <fnf@cygnus.com>
27236
27237         * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27238         use new i*86-pc-linux*-gnu quads.
27239         * gdb.base/corefile.exp: Ditto.
27240         * gdb.base/signals.exp: Ditto.
27241         * gdb.base/sigall.exp: Ditto.
27242         * gdb.base/interrupt.exp: Ditto.
27243
27244         * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27245         "i*86-*-linux" for "signal SIGUSR1".  Now works, at least with
27246         RedHat 4.0.
27247
27248         * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
27249         linux.  This allows the test case to at least compile on latest
27250         linux, but still not run due to missing the threads runtime library.
27251
27252 Fri Nov 22 10:13:29 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27253
27254         * gdb.base/a1-selftest.exp (do_steps_and_nexts):  Reinitialize source
27255         directory to search gdb directory. Accept and step over conditional
27256         stack alignment code. Consume $prompt in failure cases.
27257         Reset timeout to $oldtimeout instead of some arbitrary value.
27258         * gdb.base/nodebug.exp:  Limit backtrace to 10 frames to avoid
27259         timeout problems with infinite stack backtraces.
27260         * gdb.base/ptype.exp (ptype struct link, union tu_link):
27261         Accept function parameters for linkfunc member.
27262
27263 Thu Nov 21 09:17:19 1996  Fred Fish  <fnf@cygnus.com>
27264
27265         * lib/gdb.exp (CFLAGS): Remove, unreferenced.
27266         (CXXFLAGS): Remove, unreferenced.
27267         (B_OPTIONS): Add for -B options and add code to initialize with
27268         previous -B options and also add -B option to pick up cross compiled
27269         runtime.
27270         (TARGET_INCLUDES): Add for -I options and add code to initialize when
27271         doing cross compiles.
27272         (target_alias): Declare global.
27273         (xgcc): Set variable to full path of gcc in build tree.  Use findfile
27274         to verify that gcc exists in build tree, and if so set CC to that
27275         gcc and to use B_OPTIONS and TARGET_INCLUDES.
27276
27277 Tue Nov 12 16:20:13 1996  Fred Fish  <fnf@cygnus.com>
27278
27279         * gdb.c++/inherit.exp (test_print_anon_union): Reenable
27280         ptype test for anonymous union.  Fixup testcase to match
27281         current gcc debug output.
27282
27283 Mon Nov 11 14:12:06 1996  Jeffrey A Law  (law@cygnus.com)
27284
27285         * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
27286         force argument to an unsigned long type.
27287
27288 Mon Nov 11 10:27:55 1996  Fred Fish  <fnf@cygnus.com>
27289
27290         * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
27291         tests and anonymous union print/ptype tests.
27292         * gdb.base/list.exp (test_forward-search): Increase timeout by
27293         5 minutes for the "search extremely long line" case.
27294         * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
27295         completely optional and that the pass/fail messages use the command as
27296         the message if that third arg is a null string.
27297         (gdb_test_exact):  Arrange that a null string pattern means match a
27298         null string output rather than any output, which might include random
27299         errors.
27300         * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
27301         backtrace test.
27302         * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
27303         always failing and failure is now exposed by gdb.exp changes.
27304
27305 Sat Nov  9 11:13:24 1996  Fred Fish  <fnf@cygnus.com>
27306
27307         * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
27308         weren't being noted.
27309
27310 Sat Nov  9 01:05:10 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27311
27312         * gdb.base/corefile.exp:  Consume $prompt in mmap fail cases.
27313         * gdb.stabs/weird.exp:  Remove v_comb xfails.
27314
27315 Tue Nov  5 10:44:23 1996  Michael Snyder  <msnyder@cygnus.com>
27316
27317         * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
27318                     list.exp scope.exp watchpoint.exp]
27319           Make all timeout error msgs explicitly say "(timeout)".
27320
27321 Mon Nov  4 12:03:06 1996  Michael Snyder  <msnyder@cygnus.com>
27322
27323         * config/monitor.exp: Increase download timeout to 1000 seconds.
27324
27325 Mon Nov  4 12:02:26 1996  Michael Snyder  <msnyder@cygnus.com>
27326
27327         * config/m32r.exp: Increase timeout to 120 seconds.
27328
27329 Sun Nov  3 14:37:05 1996  Fred Fish  <fnf@cygnus.com>
27330
27331         * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
27332         and accept older ordering as obsolescent gcc or gdb.
27333         * gdb.c++/templates.exp: Ditto.
27334         * gdb.c++/virtfunc.exp: Ditto.
27335
27336 Fri Nov  1 11:56:09 1996  Fred Fish  <fnf@cygnus.com>
27337
27338         * gdb.base/coremaker.c: Add code to mmap some data so we
27339         can check that it ends up in the core file.
27340         * gdb.base/corefile.exp: Add test to read mmapped data
27341         from core file.
27342
27343 Wed Oct 30 18:19:16 1996  Michael Snyder  <msnyder@cygnus.com>
27344
27345         * config/m32r.exp: New file.
27346
27347 Mon Oct 21 14:40:50 1996  Stu Grossman  (grossman@critters.cygnus.com)
27348
27349         * testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
27350         that cflags can contains -gstabs, and work correctly for other tests.
27351
27352 Mon Oct 21 14:00:37 1996  Michael Snyder  <msnyder@cygnus.com>
27353
27354         * gdb.base/setshow.exp: New file, tests show and set.
27355         * gdb.base/setshow.c:   New file, tests show and set.
27356         * gdb.base/help.exp: Add test for help set|show annotate.
27357         * gdb.base/default.exp: Add test for set|show annotate.
27358
27359 Wed Oct 16 19:03:54 1996  Stu Grossman  (grossman@critters.cygnus.com)
27360
27361         * testsuite/gdb.base/break.exp:  Make backtrace from factorial
27362         errors unique.
27363         * testsuite/gdb.base/nodebug.exp:  Whack out all -g options
27364         explicitly.
27365
27366 Tue Oct 15 16:45:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
27367
27368         * config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
27369         and width commands.  This is done elsewhere.
27370         * (gdb_start):  Don't call gdb_start_sim here.  That's already
27371         done in gdb_load.  This fixes lots of failures in default.exp.
27372
27373 Sun Oct 13 10:40:23 1996  Fred Fish  <fnf@cygnus.com>
27374
27375         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
27376         * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
27377         * lib/gdb.exp (gdb_test): Treat failures due to program exiting
27378         in the same we we treat other failures (since it may be an expected
27379         condition), rather than as an error.
27380         * gdb.base/signals.exp (test_handle_all_print): Revert back to
27381         old test format.
27382
27383 Fri Oct 11 17:05:22 1996  Fred Fish  <fnf@cygnus.com>
27384
27385         * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
27386         (distclean maintainer-clean realclean): No need to remove files
27387         twice.  Nuke the duplicates.
27388         * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
27389         * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
27390         Remove config.h along with other config files.
27391
27392 Mon Sep 30 20:16:22 1996  Fred Fish  <fnf@cygnus.com>
27393
27394         * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
27395         "p func1 ()" and note that rests of tests are skipped.
27396         * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
27397         setup_xfails for "print func2::coremaker_local".
27398         Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
27399         * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
27400         affected by the previous run test.
27401         * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
27402         "print array () ubyte (foo)" and "print/x array () byte (\$i)"
27403         * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
27404         "pass int powerset tuple" and "pass modeless int powerset tuple".
27405         * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
27406         "real write 4" and "real write 8".
27407         * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
27408         setup_xfails for "print vs1 after tuple assign 2",
27409         "print \$i after tuple assign 2", and
27410         "print vs2 after tuple assign 2".
27411         * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
27412         meaningful error message and return -1 so the caller can
27413         suppress further tests and avoid a cascade of errors.
27414
27415 Fri Sep 27 10:34:51 1996  Fred Fish  <fnf@cygnus.com>
27416
27417         * gdb.base/a1-selftest.exp: Tweak tests to account for new
27418         format for printing version.
27419         * gdb.base/default.exp: Ditto.
27420         * gdb.base/interrupt.exp: Fix problem with cascade of
27421         errors if child process dies while calling a function.
27422
27423 Fri Sep 13 21:43:48 1996  Fred Fish  <fnf@cygnus.com>
27424
27425         * Makefile.in (VPATH): Add
27426         * Makefile.in (Makefile, config.status): Fix rules so things get
27427         remade when necessary.
27428
27429 Fri Sep 13 18:16:10 1996  Fred Fish  <fnf@cygnus.com>
27430
27431         * Makefile.in (just-check): Add path to sibling expect dir
27432         to environment variable specified by RPATH_ENVVAR.
27433
27434 Fri Sep 13 12:05:34 1996  Fred Fish  <fnf@cygnus.com>
27435
27436         * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
27437         (just-check): Add shared library paths for libstdc++, tk,
27438         tcl, bfd, and opcodes to the environment variable specified
27439         in RPATH_ENVVAR.
27440         * configure.in: Add support to recognize --enable-shared flag
27441         and generate correct value for RPATH_ENVVAR.
27442         * configure: Regenerated with autoconf.
27443
27444 Mon Sep  2 06:36:02 1996  Fred Fish  <fnf@cygnus.com>
27445
27446         * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
27447         include all osf versions.
27448         * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
27449         all osf versions.  Add -D_MIT_POSIX_THREADS to compilation command
27450         when target is linux.  When failing to build pthreads test
27451         executable, give more meaningful message.
27452         * gdb.threads/pthreads.c: Hpux also uses old definition of second
27453         arg for pthread_create.
27454
27455 Mon Aug 19 09:58:59 1996  Fred Fish  <fnf@cygnus.com>
27456
27457         * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
27458         PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
27459         * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
27460         and -lpthreads (everybody else).
27461         (test_startup): Fail gracefully if threads are not supported.
27462         * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
27463         "p/c array_index("abcdef",2)" when not gcc compiled.
27464         * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
27465         "print func2::coremaker_local" when not gcc compiled.
27466         * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
27467         "ptype on opaque struct tagname (statically)",
27468         "ptype on opaque struct tagname (dynamically) 1", and
27469         "ptype on opaque struct tagname (dynamically) 2"
27470         for not compiled with gcc.
27471         * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
27472         backtrace when compiled with gcc.
27473         * lib/gdb.exp (runto_main): Return result of "runto main" rather
27474         than always return success.
27475
27476 Sat Aug 17 13:28:00 1996  Fred Fish  <fnf@cygnus.com>
27477
27478         * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
27479
27480 Tue Aug 13 10:26:10 1996  Jeffrey A Law  (law@cygnus.com)
27481
27482         * gdb.base/structs.exp: Undo last change.
27483
27484 Mon Aug 12 15:29:08 1996  Fred Fish  <fnf@cygnus.com>
27485
27486         * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
27487         encapsulate all the steps/nexts done during self test, starting
27488         at main, and makes them less sensitive to optimization issues.
27489         Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
27490         signal handler" test.
27491         * gdb.threads/pthreads.exp: Only run this for native configs.
27492         * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
27493         setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
27494         tests.
27495         gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
27496         for "runto test_calls(void)" test.
27497
27498 Sun Aug 11 13:11:24 1996  Fred Fish  <fnf@cygnus.com>
27499
27500         * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
27501         and don't expect address info in breakpoint confirmations.
27502
27503 Wed Aug  7 20:47:43 1996  Fred Fish  <fnf@cygnus.com>
27504
27505         * gdb.base/list.exp (test_forward_search): Increase timeout
27506         temporarily by 60 seconds for searching extremely long line,
27507         and then reset to old value when done.  Increase expect input
27508         buffer to 10000.
27509
27510 Wed Aug  7 15:34:22 1996  Fred Fish  <fnf@cygnus.com>
27511
27512         * gdb.base/list.exp (test_forward_search): Fix to handle very
27513         long source line without overflowing expect's input buffer.
27514
27515 Wed Aug  7 12:03:25 1996  Tom Tromey  <tromey@creche.cygnus.com>
27516
27517         * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
27518         "buffer_full".
27519
27520         * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
27521         "buffer_full".
27522
27523         * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
27524         "buffer_full".
27525
27526         * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
27527         "buffer_full".
27528
27529 Wed Aug  7 11:05:47 1996  Fred Fish  <fnf@cygnus.com>
27530
27531         * configure.in (configdirs): Add gdb.threads.
27532         * configure: Regenerated with autoconf.
27533         * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
27534         * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
27535         * gdb.threads/configure: New, generated with autoconf.
27536
27537 Tue Aug  6 10:23:04 1996  Tom Tromey  <tromey@rtl.cygnus.com>
27538
27539         * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
27540
27541 Mon Aug  5 18:11:53 1996  Fred Fish  <fnf@cygnus.com>
27542
27543         * gdb.base/signals.exp (test_handle_all_print): Test separately for
27544         each signal's status in the output of "handle all print".
27545         * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
27546         the \r\n sequence that immediately precedes the gdb prompt.
27547         * gdb.base/a1-selftest.exp: Save original timeout and restore
27548         after test.
27549
27550 Sun Aug  4 10:20:50 1996  Jeffrey A Law  (law@cygnus.com)
27551
27552         * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
27553         symbol.
27554
27555 Fri Aug  2 17:37:26 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
27556
27557         * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
27558
27559 Thu Jun 27 20:41:40 1996  Fred Fish  <fnf@cygnus.com>
27560
27561         * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
27562         timeout by 60 seconds.
27563
27564 Thu Jun 27 18:13:57 1996  Fred Fish  <fnf@cygnus.com>
27565
27566         * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
27567         * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
27568         error return.
27569
27570 Thu Jun 27 10:54:58 1996  Fred Fish  <fnf@cygnus.com>
27571
27572         * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27573         gdb initialization, also report how long dejagnu waited.  Restore
27574         old timeout before doing error return.  Temporarily increase timeout
27575         by 3 minutes to allow for slow startups over heavy NFS use.
27576
27577 Tue Jun 25 19:59:17 1996  Fred Fish  <fnf@cygnus.com>
27578
27579         * lib/gdb.exp: Report timeout value for verbosity level 2.
27580         * config/gdbserver.exp: Ditto.
27581         * config/hppro.exp: Ditto.
27582         * config/mips-gdb.exp: Ditto.
27583         * config/monitor.exp: Ditto.
27584         * config/netware.exp: Ditto.
27585         * config/sim-gdb.exp: Ditto.
27586         * config/slite-gdb.exp: Ditto.
27587         * config/udi-gdb.exp: Ditto.
27588         * config/unix-gdb.exp: Ditto.
27589         * config/vx-gdb.exp: Ditto.
27590         * gdb.base/a1-selftest.exp: Ditto.
27591         * gdb.base/a2-run.exp: Ditto.
27592         * gdb.base/break.exp: Ditto.
27593         * gdb.base/corefile.exp: Ditto.
27594         * gdb.base/list.exp: Ditto.
27595         * gdb.base/recurse.exp: Ditto.
27596         * gdb.base/scope.exp: Ditto.
27597         * gdb.base/signals.exp: Ditto.
27598
27599 Tue Jun 25 23:16:58 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
27600
27601         * gdb.threads/Makefile.in (docdir): Removed.
27602
27603 Tue Jun 25 17:02:39 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
27604
27605         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
27606         * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
27607         @srcdir@.
27608         * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
27609         autoconf 2.5 or higher.
27610         * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27611
27612 Thu Jun 13 11:16:10 1996  Tom Tromey  <tromey@thepub.cygnus.com>
27613
27614         * configure: Regenerated.
27615         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27616         avoid name clashes with SunOS headers.
27617
27618 Wed Jun  5 16:43:27 1996  Jeffrey A Law  (law@cygnus.com)
27619
27620         * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27621
27622 Thu May 30 11:35:11 1996  Jeffrey A Law  (law@cygnus.com)
27623
27624         * gdb.base/callfuncs.exp: Finish last change -- make sure the
27625         prototype information ends up in the compiler info file.
27626
27627 Thu May 23 12:48:41 1996  Fred Fish  <fnf@cygnus.com>
27628
27629         * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27630         attempting to regenerate it.  Eliminate use of a temporary file
27631         and just generate the info file directly.  Source it immediately,
27632         for consistency of use.
27633         * gdb.base/corefile.exp: Ditto
27634         * gdb.base/exprs.exp: Ditto.
27635         * gdb.base/funcargs.exp: Ditto.
27636         * gdb.base/langs.exp: Ditto.
27637         * gdb.base/list.exp: Ditto.
27638         * gdb.base/mips_pro.exp: Ditto.
27639         * gdb.base/nodebug.exp: Ditto.
27640         * gdb.base/opaque.exp: Ditto.
27641         * gdb.base/ptype.exp: Ditto.
27642         * gdb.base/scope.exp: Ditto.
27643         * gdb.base/setvar.exp: Ditto.
27644         * gdb.base/signals.exp: Ditto.
27645         * gdb.base/whatis.exp: Ditto.
27646         * gdb.c++/templates.exp: Ditto.
27647         * gdb.c++/virtfunc.exp: Ditto.
27648         * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
27649         whether or not to add -lstdc++ to the compile command line args.
27650
27651 Sat May 18 02:43:58 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27652
27653         * gdb.base/recurse.exp:  Remove setup_xfail for "sparc*-*-sunos4*",
27654         it got fixed by the recent lookup_minimal_symbol_by_pc change.
27655         Increase timeout, a lot of single stepping might be needed if the
27656         target has no hardware watchpoints.
27657
27658 Wed May 15 08:47:42 1996  Jeffrey A Law  (law@cygnus.com)
27659
27660         * gdb.base/break.exp: Ignore compiler warnings when compiling
27661         break.c.
27662         * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27663         * gdb.base/default.exp: Add h8300 xfails.  Handle messages
27664         from remote-sim.
27665         * gdb.base/exprs.exp: Add h8300 xfails.
27666         * gdb.base/funcargs.exp: Likewise.
27667         * gdb.base/nodebug.exp: Likewise.
27668         * gdb.base/printcmds.exp: Likewise.
27669         * gdb.base/ptype.exp: Likewise.
27670         * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300.  Add
27671         h8300 xfails.
27672         * gdb.base/return.exp: Handle float/double precision problems
27673         on the h8300.
27674         * gdb.base/funcargs.c: Explicitly make last constant argument to
27675         call_after_alloca_subr an unsigned long type.
27676         * gdb.base/return.c: Include stdio.h.
27677
27678 Tue May  7 22:01:12 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
27679
27680         * config/abug.exp: New file for the older Motorola Bug monitor
27681         that runs on the mvme13x series VME boards.
27682         * config/monitor.exp: Use the new config array for target settings
27683         if they exist.
27684
27685 Fri May  3 16:02:55 1996  Stan Shebs  <shebs@andros.cygnus.com>
27686
27687         * sim-gdb.exp: Make the SH simulator allocate less space when
27688         it is targeted.
27689
27690 Thu May  2 12:31:56 1996  Jeffrey A Law  (law@cygnus.com)
27691
27692         * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27693         test.
27694
27695 Wed Mar 20 08:48:03 1996  Fred Fish  <fnf@cygnus.com>
27696
27697         * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27698         "rs6000-*-*" for "list function in include file" when gcc compiled.
27699         * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27700         for "p ctable1[120]".
27701         * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27702         "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27703         Remove setup_xfail for "rs6000-*-*" for
27704         "print 'scope0.c'::filelocal before run".
27705         * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27706         gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27707         since some compilers don't allow both options to be given
27708         on the same command line.  Create object file and move it.
27709
27710 Tue Mar 19 23:49:31 1996  Fred Fish  <fnf@cygnus.com>
27711
27712         * gdb.base/corefile.exp: Always regenerate the core file, since
27713         we always regenerate the coremaker program.  Detect special case
27714         where registers cannot be read from core file.
27715
27716 Tue Mar 19 16:52:49 1996  Fred Fish  <fnf@cygnus.com>
27717
27718         From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27719         * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27720         * gdb.c++/templates.exp: Only match on basename of file since
27721         some formats like xcoff don't encode directory information.
27722         * gdb.stabs/weird.exp: Use the right sed script for powerpc
27723         and rs6000 AIX xcoff targets.
27724         * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27725         * configure: Regenerate.
27726         * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27727         here, rather than in distclean.
27728
27729 Sun Mar 17 13:35:31 1996  Fred Fish  <fnf@cygnus.com>
27730
27731         * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27732         defined, and use it to compile the test case with -O2.  The
27733         native compilation still uses no optimization.
27734         * gdb.base/mips_pro.c: Remove inline assembly code since
27735         it is compiled PIC by default, which results in assembler
27736         warnings that make the testsuite think the compilation
27737         was unsuccessful.
27738
27739 Sat Mar 16 15:02:24 1996  Fred Fish  <fnf@cygnus.com>
27740
27741         * gdb.c++/misc.exp: Add note to message for
27742         "print s.a for foo struct" that this is a known gcc 2.7.2
27743         and earlier bug.
27744
27745 Fri Mar 15 17:49:57 1996  Fred Fish  (fnf@cygnus.com)
27746
27747         * gdb.base/break.exp: Fix pattern for matching "Delete all
27748         breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
27749         setup_xfail for deleting all breakpoints test.  Fix various
27750         timeout messages to include "(timeout)".
27751         * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27752         for "p t_float_values2(3.14159,float_val2)".
27753         * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27754         for "continue to call2g" when gcc compiled.
27755         * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27756         "up to foo in langs.exp", "show language at foo in langs.exp",
27757         "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27758         and "show language at fsub in langs.exp".
27759         * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27760         "list line 1 in include file", "list message for lines past EOF",
27761         "list function in include file", "list list0.h:foo", and
27762         "list filename:function; nonexistant function".
27763         * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27764         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27765         and "ptype t_char_array" to be for native cc only.
27766
27767 Fri Mar 15 16:17:22 1996  Fred Fish  <fnf@cygnus.com>
27768
27769         * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
27770         setup_xfail for "print coremaker_bss", "print coremaker_ro",
27771         "print func2::coremaker_local", and "backtrace in corefile.exp".
27772
27773 Wed Mar 13 14:54:11 1996  Fred Fish  <fnf@cygnus.com>
27774
27775         * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27776         "bt in signals.exp".  This problem only appears when running
27777         the testsuite, and then only intermittently.
27778
27779 Tue Mar 12 15:00:16 1996  Stan Shebs  <shebs@andros.cygnus.com>
27780
27781         * gdb.base/return.exp (return_tests): Differentiate between
27782         two tests of continuing.
27783
27784 Tue Mar  5 14:33:33 1996  Stan Shebs  <shebs@andros.cygnus.com>
27785
27786         * */Makefile.in (maintainer-clean): Remove config.log.
27787         * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27788         * gdb.c++/Makefile.in (PROGS): Add inherit.
27789         (clean): Remove *.ci.
27790
27791 Tue Feb 20 16:36:10 1996  Fred Fish  <fnf@cygnus.com>
27792
27793         * gdb.c++/misc.cc: Add test code from Mike Stump.
27794         * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27795
27796 Sun Feb 18 11:39:12 1996  Fred Fish  <fnf@cygnus.com>
27797
27798         * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27799         to "alpha-*-osf2*" and add comment.
27800         * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
27801         setup_xfail for "step over execarg initialization" and
27802         "step over corearg initialization".
27803         * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27804         for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27805         * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
27806         gcc compiled for "print coremaker_bss", "print coremaker_ro",
27807         "print func2::coremaker_local", and "backtrace in corefile.exp".
27808         * gdb.base/signals.exp: Build and source signals.ci.
27809         Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27810         to be for gcc only.
27811         * lib/gdb.exp: Move verbose statements outside conditionals.
27812
27813 Sat Feb 17 02:22:14 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
27814
27815         * gdb.base/sigall.exp:  Remove setup_xfail for irix4.  Fixed by
27816         Feb 3 procfs.c change.
27817
27818 Fri Feb 16 13:25:31 1996  Fred Fish  <fnf@cygnus.com>
27819
27820         * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27821
27822 Thu Feb 15 08:12:55 1996  Fred Fish  <fnf@cygnus.com>
27823
27824         * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27825         from dejagnu's apparent default of 10 seconds, which gives random
27826         results when running the tests over NFS on moderately loaded systems.
27827         * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27828
27829 Mon Feb 12 16:50:28 1996  Fred Fish  <fnf@cygnus.com>
27830
27831         * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318.  Now fixed.
27832         * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
27833         result reports.
27834
27835 Fri Feb  9 15:56:51 1996  Fred Fish  <fnf@cygnus.com>
27836
27837         * configure.in (CY_AC_PATH_TCLH): Remove.
27838         * configure: Regenerate.
27839
27840 Fri Feb  9 08:21:31 1996  Fred Fish  <fnf@cygnus.com>
27841
27842         * gdb.c++/Makefile.in (clean): Add missing '{'.
27843
27844 Fri Feb  2 10:19:40 1996  Jeffrey A Law  (law@cygnus.com)
27845
27846         * lib/gdb.exp: Provide a default value for noinferior.
27847
27848         * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27849         Load libgloss.exp.
27850
27851 Thu Feb  1 20:20:14 1996  Jeffrey A Law  (law@cygnus.com)
27852
27853         * gdb.disasm/hppa.exp: Compile directly into an executable, use
27854         the executable, not the .o to run the tests from.
27855
27856 Wed Jan 31 14:21:09 1996  Jeffrey A Law  (law@cygnus.com)
27857
27858         * gdb.base/break.exp: Don't test for program exit or exit status
27859         if $noresults if nonzero.
27860         * gdb.base/langs.exp: Likewise.
27861         * gdb.base/watchpoint.exp: Likewise.
27862
27863         * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27864         * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27865         trying to compile the testcase.
27866
27867 Wed Jan 24 23:42:39 1996  Doug Evans  <dje@charmed.cygnus.com>
27868
27869         * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27870         * gdb.base/signals.exp (continue to handler): Likewise.
27871
27872 Tue Jan 23 16:28:22 1996  Per Bothner  <bothner@kalessin.cygnus.com>
27873
27874         * gdb.c++/classes.exp:  Now = returns false/true, not 1/0.
27875
27876         * gdb.fortran/exprs.exp:  .LT. and .GT. now return .TRUE. or .FALSE..
27877
27878 Tue Jan 23 15:41:57 1996  Jeffrey A Law  (law@cygnus.com)
27879
27880         * gdb.base/corefile.exp: Recognize "not found" as failure
27881         when trying to determine if a core file was generated.
27882         If no core file was generate the first time, try again without
27883         the ulimit -c to work around braindamaged shells.
27884
27885 Mon Jan 15 09:33:00 1996  Fred Fish  <fnf@cygnus.com>
27886
27887         * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27888         [] tests with "test" and enclose string in quotes.
27889         * gdb.stabs/configure: Rebuild
27890
27891 Thu Jan 11 09:43:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
27892
27893         Changes in sync with expect:
27894         * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27895         (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27896         (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27897         (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater.  Properly quote
27898         argument to AC_REQUIRE.
27899         * configure: Regenerated.
27900
27901 Thu Jan  4 08:17:22 1996  Fred Fish  <fnf@cygnus.com>
27902
27903         * gdb.base/corefile.exp: When generating a core, discard any
27904         error messages about ulimit not found and the "core dumped"
27905         message from the shell that runs the coredumper.
27906
27907 Wed Jan  3 01:30:41 1996  Jeffrey A Law  (law@cygnus.com)
27908
27909         * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27910
27911         * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27912         which sed script to run.  Expect failure for v_comb test
27913         on PA targets too.
27914
27915 Sat Dec 30 16:09:04 1995  Fred Fish  <fnf@rtl.cygnus.com>
27916
27917         * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
27918         "print func2::coremaker_local" and for "backtrace in corefile.exp"
27919
27920 Sat Dec 30 12:59:12 1995  Fred Fish  <fnf@cygnus.com>
27921
27922         * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27923         * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
27924         "sparc-sun-solaris*" xfails for "p v_comb".
27925         * lib/gdb.exp (default_gdb_start): Fix typo.
27926         * gdb.base/corefile.exp: Allow "Core was generated by ..."
27927         messages to not include the full program name that caused
27928         the core dump since some systems (such as solaris) apparently
27929         truncate this path to about 80 characters.
27930         When generating a core file first try increasing the core file
27931         size limit to unlimited since some systems may default it to
27932         zero, and it is harmless to try it.  Move the test for failing
27933         to generate a core file to where it will actually get executed.
27934         * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27935         new gdb result from g++ debug info improvements and make old
27936         pattern obsolescent.  Also account for size_t differences
27937         (may be int or long).
27938         * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27939         initialization before function call is placed in the delay slot
27940         and thus appears to be skipped over by commands such as "next".
27941
27942 Fri Dec 29 16:09:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
27943
27944         * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27945
27946 Wed Dec  6 10:45:42 1995  Jeffrey A. Law  <law@sethra.cygnus.com>
27947
27948         * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27949         input source file; fix code to compile test to deal with this
27950         convention.
27951         * gdb.c++/*.exp: Likewise.
27952
27953 Mon Nov 27 11:40:16 1995  Fred Fish  <fnf@cygnus.com>
27954
27955         * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27956         "bt in signals.exp".
27957
27958 Sat Nov 25 20:52:15 1995  Fred Fish  <fnf@phydeaux.cygnus.com>
27959
27960         * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27961         "step over execarg initialization" and
27962         "step over corearg initialization".
27963
27964 Sat Nov 25 18:20:14 1995  Fred Fish  <fnf@cygnus.com>
27965
27966         * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27967         with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.
27968
27969 Sat Nov 25 11:03:42 1995  Fred Fish  <fnf@cygnus.com>
27970
27971         From Rob Savoye  (rob@poseidon.cygnus.com)
27972         * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27973         gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
27974         configure.in}, gdb.disasm/{Makefile.in, configure.in},
27975         gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27976         configure.in}: Major reworking for autoconfig.
27977         * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27978         gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
27979         New files.
27980         * config/unix-gdb.exp:  Make GDB global.
27981         * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
27982         callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27983         funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27984         nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27985         regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27986         term.exp, twice.exp, watchpoint.exp, whatis.exp},
27987         gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
27988         templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27989         misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27990         pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27991         pr-8136.exp, result.exp, string.exp, tuples.exp},
27992         gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
27993         to returns as necessary, arrange for test to compile own testcase
27994         executable.
27995         * lib/gdb.exp: Changes for testsuite to compile own test cases.
27996
27997 Tue Nov 21 16:15:45 1995  Fred Fish  <fnf@cygnus.com>
27998
27999         * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28000         clear_xfail at end of test which might not call either pass or fail.
28001         * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28002         "backtrace through signal handler".
28003
28004 Sat Nov 18 04:09:31 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28005
28006         * gdb.base/sigall.exp:  Work around OSF/1-3.x kernel bug when
28007         continuing from a job control stop signal.
28008         * gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.
28009
28010 Wed Nov 15 00:28:03 1995  Jeffrey A Law  (law@cygnus.com)
28011
28012         * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28013         * gdb.base/corefile.exp: Likewise.
28014         * gdb.base/funcargs.exp: Likewise.
28015
28016 Tue Nov 14 15:18:10 1995  Stu Grossman  (grossman@cygnus.com)
28017
28018         * config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
28019         * config/monitor.exp:  Add support for setting baud rate.
28020
28021 Sat Nov  4 15:35:52 1995  Fred Fish  <fnf@cygnus.com>
28022
28023         * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28024         i*86-*-linux* xfails for "backtrace through signal handler".
28025         * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28026         "print func2::coremaker_local".
28027         * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28028         alpha-dec-osf2* xfail for
28029         "delete all breakpoints when none".
28030
28031 Wed Nov  1 15:57:16 1995  Fred Fish  <fnf@cygnus.com>
28032
28033         * gdb.base/break.exp: Change test that deletes all breakpoints
28034         when no user breakpoints are installed.  A post 4.15 change
28035         causes gdb to no longer prompt in this case.
28036
28037 Tue Oct 31 15:13:43 1995  Fred Fish  <fnf@cygnus.com>
28038
28039         * gdb.base/return.exp (return_tests):  Change xfail for test
28040         "correct value returned double test" to stop xfailing at
28041         Solaris 2.5.  Apparently the bug has been fixed.
28042
28043 Sun Oct 29 12:18:16 1995  Fred Fish  <fnf@cygnus.com>
28044
28045         * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28046         IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28047
28048 Tue Oct 24 11:12:12 1995  Jeffrey A Law  (law@cygnus.com)
28049
28050         * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28051         * gdb.disasm/hppa.s: Corresponding changes.
28052
28053 Wed Oct 18 11:27:47 1995  Jeffrey A Law  (law@cygnus.com)
28054
28055         * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28056         makefile fragment.
28057         * config/mt-hpux: Deleted.
28058
28059 Tue Oct 17 23:02:12 1995  Jeffrey A Law  (law@cygnus.com)
28060
28061         * Many files: When warning about suppressed tests due to a
28062         nonexistant test binary, avoid incrementing the warning count.
28063
28064 Tue Oct 10 11:00:41 1995  Fred Fish  <fnf@cygnus.com>
28065
28066         * Makefile.in (TARGET_FLAGS_TO_PASS):  Remove BISON.
28067
28068 Sun Oct  8 04:23:14 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28069
28070         * gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
28071         "sparc-*-solaris2*".
28072
28073 Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28074
28075         * gdb.base/coremaker.c:  Produce a full core dump for AIX targets.
28076         Add global and local variables and initialize them.
28077         * gdb.base/corefile.exp:  Test correct mapping of corefile sections
28078         by printing variables. Remove rs6000 and powerpc xfails, BFD now
28079         extracts the file name and terminating signal from the core file.
28080         * TODO:  Remove note about tests for correct mapping of corefile.
28081         * gdb.base/ptype.c (main):  Use boolean2 to inhibit AIX 4.1 xlc
28082         from optimizing it away.
28083         * gdb.stabs/weird.exp:  Remove rs6000 xfail, xcoffread.c now
28084         handles common blocks.
28085
28086 Thu Sep 21 01:28:10 1995  Jeff Law  (law@snake.cs.utah.edu)
28087
28088         * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28089         * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28090
28091 Wed Sep 20 13:15:05 1995  Ian Lance Taylor  <ian@cygnus.com>
28092
28093         * Makefile.in (maintainer-clean): New target, synonym for
28094         realclean.
28095         * gdb.base/Makefile.in (maintainer-clean): Likewise.
28096         * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28097         * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28098         * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28099         * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28100         * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28101
28102 Sun Sep 10 13:14:01 1995  Fred Fish  <fnf@cygnus.com>
28103
28104         * gdb.base/scope.exp (text_at_main):  Add "hppa*-*-hpux*"
28105         xfails when not gcc compiled for "print foo::funclocal".
28106         (test_at_foo):  Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28107         "print foo::funclocal at foo",
28108         "print 'scope1.c'::foo::funclocal at foo",
28109         "print foo::funclocal_bss at foo",
28110         "print 'scope1.c'::foo::funclocal_bss at foo",
28111         "print foo::funclocal_ro at foo",
28112         "print 'scope1.c'::foo::funclocal_ro at foo",
28113         "print bar::funclocal at foo" and
28114         "print 'scope1.c'::bar::funclocal at foo".
28115         (test_at_bar):  Add "hppa*-*-hpux*" xfails when not
28116         gcc compiled for "print foo::funclocal at bar".
28117         Expand all messages to ensure that they identify that
28118         the test is at bar().
28119         * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28120         gcc compiled for:
28121         "ptype on opaque struct pointer (statically)",
28122         "ptype on opaque struct tagname (statically)",
28123         "ptype on opaque struct pointer (dynamically) 1",
28124         "ptype on opaque struct tagname (dynamically) 1",
28125         "ptype on opaque struct pointer (dynamically) 2" and
28126         "ptype on opaque struct tagname (dynamically) 2
28127         * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28128         gcc compiled for:
28129         "p datalocal"
28130         "whatis datalocal",
28131         "ptype datalocal",
28132         "p bsslocal",
28133         "whatis bsslocal", and
28134         "ptype bsslocal".
28135         * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28136         "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28137         when not gcc compiled.
28138         * gdb.base/funcargs.exp (float_and_integral_args):  Add
28139         "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28140         compiled.
28141         (discard_and_shuffle):  Add "hppa*-*-hpux*" xfail for
28142         "backtrace from call6a" when not gcc compiled.
28143         (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28144         "backtrace from call7a" when not gcc compiled.
28145         * gdb.base/callfuncs.exp (do_function_calls):
28146         Add "hppa*-*-hpux*" xfail when not gcc compiled for
28147         "p t_char_array_values(char_array_val2,char_array_val1)",
28148         "p t_char_array_values(char_array_val1,char_array_val2)",
28149         "p t_char_array_values("carray 1","carray 2")",
28150         "p t_char_array_values("carray 1",char_array_val2)",
28151         "p t_char_array_values(char_array_val1,"carray 2")",
28152         "p sum_args(1,{2})",
28153         "p sum_args(2,{2,3})",
28154         "p sum_args(3,{2,3,4})",
28155         "p sum_args(4,{2,3,4,5})"
28156         * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28157         "backtrace in corefile.exp" when not gcc compiled.
28158
28159 Sat Sep  9 01:35:39 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28160
28161         * gdb.base/signals.exp:  Rewrite `handle all print' test as
28162         a procedure. Accept blanks or TABs as whitespace, increase
28163         timeout and expect input buffer size for the large output
28164         from the command. Remove "i*86-*-bsdi2.0" xfail.
28165
28166 Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28167
28168         * gdb.base/setvar.exp:  Add new testcases for truncation when
28169         assigning invalid values to bitfields.
28170
28171 Sat Sep  2 00:17:31 1995  Fred Fish  <fnf@cygnus.com>
28172
28173         * gdb.base/callfuncs.exp (do_function_calls):  Remove
28174         mips-sgi-irix* xfail for
28175         "call inferior func with struct - returns char *"
28176         and fix test so that an optional (unsigned char *) cast is
28177         accepted in the result.
28178
28179 Fri Sep  1 13:42:01 1995  Fred Fish  <fnf@cygnus.com>
28180
28181         * gdb.base/funcargs.exp (float_and_integral_args):  Remove
28182         sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28183         * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28184         * gdb.base/signals.exp: Remove duplicate "handle all print" test
28185         that accidentally got checked in.
28186
28187 Sun Aug 27 23:35:35 1995  Fred Fish  <fnf@cygnus.com>
28188
28189         * gdb.base/callfuncs.exp (do_function_calls):  Add alpha-dec-osf2*
28190         clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28191         compiled test.
28192         * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28193         Add mips-sgi-irix5* xfail for not gcc compiled.
28194         * gdb.base/Makefile.in (nodebug.o):  Also create nodebug.ci.
28195         * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28196         compiled for "p top", "whatis top", "p middle", and "whatis
28197         middle".
28198         * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28199         "whatis signed char" for not gcc compiled.
28200         * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28201         "set variable signed char=-1 (-1)" and
28202         "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28203         * gdb.base/funcargs.exp (float_and_integral_args):
28204         Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28205         Add mips-sgi-irix* xfail when not gcc compiled for
28206         "continue to call2b".
28207         Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28208         "continue to call2g".
28209         (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28210         compiled for "backtrace from call6a"
28211         (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28212         compiled for "backtrace from call7k".  Add mips-sgi-irix5* xfail
28213         when not gcc compiled for "backtrace from call7a".
28214         (localvars_after_alloca):  Fix gdb_test cmds for
28215         "print * after runto ...".
28216         Remove rs6000-*-* xfails for
28217         "print i after runto localvars_after_alloca" and
28218         "print l after runto localvars_after_alloca"
28219         for all compilers.
28220         * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
28221         when not compiled with gcc, for:
28222         "print signed char == (minus)",
28223         "print signed char != (minus)",
28224         "print signed char < (minus)",
28225         "print signed char > (minus)".
28226         * gdb.base/callfuncs.exp (do_function_calls):
28227         Add mips-sgi-irix* xfail, when compiled with native compiler, for
28228         "call inferior func with struct - returns char *".
28229         * gdb.base/return.exp (return_tests): Change xfail for
28230         "correct value returned double test" to include Solaris 2.4.
28231         * gdb.base/funcargs.exp (float_and_integral_args):
28232         Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28233
28234 Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28235
28236         * gdb.base/setvar.c, gdb.base/setvar.exp:  Add new tests for
28237         enumeration bitfields if compiling with GNU C.
28238         * lib/gdb.exp:  Consume `(y or n) ' in `Reinitialize source path
28239         to empty' prompt.
28240
28241 Tue Aug 22 00:30:37 1995  Jeff Law  (law@snake.cs.utah.edu)
28242
28243         * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28244         test for PRO targets.
28245
28246         * gdb.base/funcargs.exp: Avoid ever setting more than 8
28247         breakpoints in the inferior at any given time by making
28248         two groups of breakpoints for call2*, call6* and call7*
28249         tests.
28250
28251 Sun Aug 20 06:58:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28252
28253         * gdb.base/funcargs.exp:  Fix typos introduced by Aug 15 change.
28254         * gdb.base/callfuncs.c (main):  Use struct_val1 to inhibit xlc
28255         from optimizing it away.
28256         * gdb.base/callfuncs.exp:  Remove rs6000-*-* xfails for
28257         "call inferior func with struct".
28258
28259 Wed Aug 16 11:57:15 1995  Stan Shebs  <shebs@andros.cygnus.com>
28260
28261         * configure.in: Only configure gdb.chill for particular targets.
28262
28263 Tue Aug 15 09:42:44 1995  Fred Fish  <fnf@cygnus.com>
28264
28265         * gdb.base/Makefile.in:  Add action to .c.o transformation
28266         rule that generates a .ci file for each .o file and remove
28267         explicit .c.o rules except for callfuncs.o.
28268         * gdb.c++/Makefile.in:  Add .cc.o transformation rule that
28269         generates a .ci file for each .o file and remove explicit
28270         .cc.o rules.
28271         (clean): Remove *.tmp *.ci files.
28272         (EXECUTABLES): Remove templ-info.exp.
28273         * gdb.base/compiler.c: New file.
28274         * gdb.c++/compiler.cc: New file
28275         * gdb.base/scope.exp: Source gdb.base/scope.ci.
28276         Change rs6000-*-* xfail for
28277         "print 'scope0.c'::filelocal_ro" and
28278         "print 'scope1.c'::filelocal" and
28279         "print 'scope1.c'::filelocal_bss" and
28280         "print 'scope1.c'::filelocal_ro" and
28281         "print 'scope1.c'::foo::funclocal" and
28282         "print 'scope1.c'::foo::funclocal_ro" and
28283         "print 'scope1.c'::bar::funclocal" and
28284         "print 'scope0.c'::filelocal_ro" and
28285         "print 'scope1.c'::filelocal at foo" and
28286         "print 'scope1.c'::filelocal_bss at foo" and
28287         "print 'scope1.c'::filelocal_ro at foo" and
28288         "print 'scope1.c'::foo::funclocal at foo" and
28289         "print 'scope1.c'::foo::funclocal_bss at foo" and
28290         "print 'scope1.c'::foo::funclocal_ro at foo" and
28291         "print 'scope1.c'::bar::funclocal at foo" and
28292         "print 'scope0.c'::filelocal_ro" and
28293         "print 'scope1.c'::filelocal" and
28294         "print 'scope1.c'::filelocal_bss" and
28295         "print 'scope1.c'::filelocal_ro" and
28296         "print 'scope1.c'::foo::funclocal" and
28297         "print 'scope1.c'::foo::funclocal_bss" and
28298         "print 'scope1.c'::foo::funclocal_ro" and
28299         "print 'scope1.c'::bar::funclocal" and
28300         "print 'scope1.c'::bar::funclocal_bss"
28301         to only be xfail'd when not compiled with gcc.
28302         Add rs6000-*-* xfail for
28303         "print 'scope0.c'::filelocal_bss before run"
28304         when compiled with gcc.
28305         (test_at_main): Add rs6000-*-* xfail for
28306         "print filelocal_ro in test_at_main"
28307         when compiled with gcc.
28308         * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
28309         Add rs6000-*-aix* xfail for
28310         "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
28311         "ptype t_char_array",  not compiled with gcc.
28312         * gdb.base/list.exp (test_list_function):  Add rs6000-*-*
28313         xfail for "list foo (in include file)" when gcc compiled.
28314         * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
28315         (integral_args): Add rs6000-*-* xfail for
28316         "run to call0a" if not compiled with gcc.
28317         (unsigned_integral_args): Add rs6000-*-* xfail for
28318         "run to call1a" if not compiled with gcc.
28319         (float_and_integral_args):  Add rs6000-*-* xfail for
28320         "run to call2a" if not compiled with gcc and for
28321         "continue to call2b" for any compiler.
28322         Add rs6000-*-* xfail to
28323         "print f1 after run to call2a" for gcc compiled.
28324         (discard_and_shuffle): Add rs6000-*-* xfail for
28325         "run to call6a".
28326         (shuffle_round_robin): Add rs6000-*-* xfail for
28327         "backtrace from call7a" if not compiled with gcc.
28328         Add rs6000-*-* xfail for
28329         "backtrace from call7b" if compiled with gcc.
28330         (call_after_alloca): Add rs6000-*-* xfail for
28331         "print c in call_after_alloca" and
28332         "print s in call_after_alloca" and
28333         "backtrace from call_after_alloca_subr"
28334         if not compiled with gcc.
28335         (localvars_in_indirect_call): Add rs6000-*-* xfail for
28336         "print c in localvars_in_indirect_call" and
28337         "print c in localvars_in_indirect_call" and
28338         "backtrace in indirectly called function" and
28339         "stepping into indirectly called function"
28340         if not compiled with gcc.
28341         (localvars_after_alloca): Add rs6000-*-* xfail for
28342         "print c after runto localvars_after_alloca" and
28343         "print s after runto localvars_after_alloca" and
28344         "print i after runto localvars_after_alloca" and
28345         "print l after runto localvars_after_alloca"
28346         for all compilers.
28347         * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
28348         than whatis-info.exp.
28349         * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
28350         than opaque-info.exp.
28351         Setup rs6000-*-* xfail for
28352         "ptype on opaque struct pointer (statically)" and
28353         "ptype on opaque struct pointer (dynamically)" when
28354         not compiled with gcc.
28355         * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
28356         rather than callf-info.exp.
28357         (do_function_calls):  Add clear_xfail for rs6000-*-* for
28358         "p t_float_values2(3.14159,float_val2)".  Seems to work
28359         fine there, both with xlc and gcc.  Need to find out what
28360         it is doing right and fix other platforms.
28361         * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
28362         "call inferior func with struct - returns int",
28363         "call inferior func with struct - returns long",
28364         "call inferior func with struct - returns float",
28365         "call inferior func with struct - returns double",
28366         "call inferior func with struct - returns char *",
28367         but only if not gcc compiled (presumes xlc compiled).
28368         Change rs6000-*-* xfails for
28369         "call inferior func with struct - returns char" and
28370         " call inferior func with struct -  returns short" to only
28371         xfail if not using gcc.
28372         (clean mostlyclean):  Remove *.ci and *.tmp files.
28373         * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
28374         than templ-info.exp.
28375         * gdb.base/langs.exp:  Source gdb.base/langs.ci.
28376         Add rs6000-*-* xfail for "up to foo in langs.exp"
28377         "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
28378         when not gcc compiled.
28379
28380 Sat Aug 12 15:05:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
28381
28382         * gdb.base/callfuncs.exp: Add xfails for the powerpc.
28383         * gdb.base/corefile.exp: Likewise.
28384         * gdb.base/list.exp: Likewise.
28385         * gdb.base/scope.exp: Likewise.
28386         * gdb.base/siganls.exp: Likewise.
28387
28388         * gdb.base/nodebug.exp: Add xfails for the powerpc.  Handle aix4
28389         compiler output.
28390         * gdb.base/whatis.exp: Likewise.
28391
28392 Fri Aug 11 13:36:20 1995  Jeff Law  (law@snake.cs.utah.edu)
28393
28394         * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
28395         failure (opcode table has been fixed to match reality).
28396
28397 Mon Aug 14 09:01:59 1995  Fred Fish  <fnf@cygnus.com>
28398
28399         * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
28400         "call inferior func with struct - returns char",
28401         "call inferior func with struct - returns short"
28402
28403         * gdb.base/scope.exp: Remove rs6000-*-* xfails for
28404         "print 'scope0.c'::filelocal at main",
28405         "print 'scope0.c'::filelocal_bss in test_at_main",
28406         "print 'scope0.c'::filelocal at foo",
28407         "print 'scope0.c'::filelocal_bss in test_at_foo",
28408         "print 'scope0.c'::filelocal at bar",
28409         "print 'scope0.c'::filelocal_bss in test_at_bar"
28410
28411         * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
28412         in source file 1".  This bug seems to have been fixed with both
28413         gcc and native cc (was native assembler bug?).
28414
28415 Wed Aug  9 08:04:12 1995  Fred Fish  (fnf@cygnus.com)
28416
28417         * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
28418         "backtrace through signal handler" to "i*86-*-sysv4*".
28419         * gdb.base/signals.exp: Add xfail for "'next' behaved as
28420         continue" case.  Add "known SVR4 bug" to fail message.
28421         Add "i*86-*-bsdi2.0" xfail for "handle all print".
28422         Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
28423         * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
28424         "whatis unnamed typedef'd enum..." and "ptype t_char_array".
28425         * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
28426         "up to foo in langs.exp", "show language at foo in
28427         langs.exp", "up to cppsub_ in langs.exp", "show
28428         language at cppsub_ in langs.exp", "up to fsub in
28429         langs.exp", and "show language at fsub in langs.exp".
28430         * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
28431         "bactrace in corefile.exp".
28432         * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
28433         "call inferior function with struct - returns float" and
28434         "call inferior function with struct - returns double".
28435
28436 Mon Aug  7 02:43:28 1995  Jeff Law  (law@snake.cs.utah.edu)
28437
28438         * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
28439         * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
28440         * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
28441         * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
28442
28443 Mon Aug  7 08:09:37 1995  Fred Fish  <fnf@cygnus.com>
28444
28445         * Makefile.in (CHILL_FOR_TARGET): Use previously defined
28446         (or overriden) "CHILL" macro rather then bare "gcc".
28447         Also look for ../../gcc/xgcc since that is what we will
28448         actually need, not "Makefile".  Remove following assignment
28449         of CHILL to CHILL_FOR_TARGET because that results in
28450         recursive definition.
28451
28452 Sun Aug  6 16:52:29 1995  Fred Fish  <fnf@cygnus.com>
28453
28454         * gdb.base/corefile.exp:  Change xfail for backtrace in
28455         corefile.exp from linuxaout to all linux.
28456         * gdb.base/sigall.exp (test_one_sig):  Specifically deal with
28457         cases where we miss the breakpoint at the signal handler
28458         for some reason.  Setup xfail for linuxoldld/linuxaout and
28459         getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
28460         hitting SIGURG breakpoint.
28461         * gdb.base/signals.exp:  Setup xfail for "next" acting like
28462         continue to add linuxoldld.  Setup xfail for all linux for
28463         "next to handler in signals_tests_1", "backtrace in
28464         signals_tests_1", "continue to func1", "pass SIGUSR1",
28465         and continue to handler".
28466
28467 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
28468
28469         * Update all FSF addresses except those in COPYING* files.
28470
28471 Sun Jul 30 17:50:35 1995  Fred Fish  <fnf@cygnus.com>
28472
28473         * gdb.base/a2-run.exp: Change messages to be more explicit about
28474         the status of args, and quote binfile in results.
28475
28476 Sun Jul 30 10:24:20 1995  Fred Fish  <fnf@cygnus.com>
28477
28478         * gdb.base/callfuncs.exp: Add tests for passing structs to
28479         inferior functions and return various types.
28480         * gdb.base/callfuncs.c: Add functions to receive a struct
28481         and return a member of the struct, in various types.
28482
28483 Sat Jul 29 14:22:33 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28484
28485         * gdb.base/Makefile.in (clean):  Remove callf-info.exp.
28486
28487 Fri Jul 28 13:36:11 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
28488
28489         * config/vxworks29k.exp: New file, sources vxworks.exp.
28490
28491 Fri Jul 28 00:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
28492
28493         * config/gdbremote.exp: New file.  Testing framework using
28494         gdbserver.
28495
28496 Thu Jul 27 12:17:14 1995  Fred Fish  (fnf@cygnus.com)
28497
28498         * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
28499         "call function when asleep" and "send end of file".
28500         * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
28501         for "backtrace in corefile.exp".
28502         * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
28503         for "backtrace through signal handler".
28504         * gdb.base/corefile.exp: Make sure we actually generate a core file
28505         before trying the core tests.  Some systems allow the user to suppress
28506         generation of core files and default to that (linux for example).
28507         * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
28508         from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
28509
28510 Tue Jul 25 17:30:10 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
28511
28512         * gdb.threads: New directory with some crude multi-threaded
28513         gdb tests (step.exp and step2.exp).
28514         * config/mt-lynx (STEP_EXECUTABLE): Define.
28515         (THREADFLAGS): Define.
28516
28517 Tue Jul 25 01:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
28518
28519         * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
28520
28521         * gdb.base/signals.exp: Disable whole file for lynx until
28522         further notice.
28523
28524         * gdb.base/signals.exp: xfail test where "next" acts like
28525         "continue" for lynx.
28526
28527         * gdb.base/interrupt.exp: xfail test for calling function while
28528         inferior is asleep for lynx.
28529
28530         * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
28531         than one cr-lf  after each command.
28532
28533 Sun Jul 23 23:33:18 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28534
28535         * configure.in:  Reinstate setting of stabsdirs variable, fix
28536         typo in setting up configdirs for native builds.
28537
28538         * gdb.base/return.exp:  Fix typo in return double test.
28539         * gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
28540         compiler from optimizing them away.
28541
28542 Fri Jul 21 11:39:34 1995  Jeff Law  (law@snake.cs.utah.edu)
28543
28544         * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
28545         sequences to be echo'd by gdb when using gdb_test.
28546         * gdb.chill/chexp.exp: Likewise.
28547         * gdb.fortran/exprs.exp: Likewise
28548
28549 Thu Jul 20 13:28:36 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
28550
28551         * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
28552         after the inferior gdb has started.
28553
28554         * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
28555         after each command.
28556         * gdb.base/funcargs.exp: Likewise.
28557         * gdb.base/gdbvars.exp: Likewise.
28558         * gdb.base/interrupt.exp: Likewise.
28559         * gdb.base/list.exp: Likewise.
28560         * gdb.base/watchpoint.exp: Likewise.
28561         * gdb.c++/demangle.exp: Likewise.
28562         * gdb.c++/inherit.exp: Likewise.
28563         * gdb.chill/chexp.exp: Likewise.
28564         * gdb.fortran/exprs.exp: Likewise.
28565
28566         * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
28567         test if we can't handle IO to/from the inferior.
28568
28569         * gdb.c++/misc.exp: Always check for a program already being
28570         started after sending a "run" command to gdb.
28571
28572         * gdb.base/twice.exp: Start with a fresh gdb.
28573
28574         * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28575         only depend on gdb's expression code, not the chill runtime.
28576
28577         * gdb.base/return.c: Put return values into variables so we
28578         can have gdb print them rather than depending on the program
28579         to print them.
28580         * gdb.base/return.exp: Corresponding changes.
28581
28582         * lib/gdb.exp: Provide default value for noinferiorio.
28583         * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28584         the inferior.
28585
28586         * gdb.base/break.exp: Always check for a program already being
28587         started after sending a "run" command to gdb.
28588         (text_next_with_recursion): Don't check the output from the
28589         program's printf statement.  Instead just make sure the program
28590         exited.
28591
28592         * gdb.base/commands.exp: Protect tests which need arguments with
28593         $noargs conditionals.
28594
28595 Wed Jul 19 22:42:43 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28596
28597         * gdb.base/printcmds.exp:  Adjust expect patterns for addresses
28598         of structure member arrays to match gdb/valops.c:value_addr change.
28599
28600 Mon Jul 17 10:12:27 1995  Jeff Law  (law@snake.cs.utah.edu)
28601
28602         * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28603         cases.
28604
28605 Wed Jul 12 10:20:08 1995  Fred Fish  (fnf@cygnus.com)
28606
28607         * configure.in (configdirs):  Remove gdb.chill from default list
28608         of subdirs and then add it back in only if doing a native build.
28609         The current chill compiler does not yet work in any cross build.
28610         * Revert all signal changes from Jul 6.
28611         * gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
28612         for sh-hms targets, allowing these tests to link, with no other
28613         changes.  Testing is suppressed by setting "nosignals" in site.exp.
28614
28615 Thu Jul  6 20:58:30 1995  Fred Fish  (fnf@cygnus.com)
28616
28617         * configure.in (signaldirs): Define and add to configdirs for all
28618         targets except some specific ones that are known to not support signals.
28619         Also clean up formatting.
28620         * gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
28621         (signals, sigall):  Remove rules to build.
28622         * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28623         Moved to new gdb.signals directory.
28624         * gdb.signals: New test directory.
28625         * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28626         signals.c signals.exp}:  New or moved files.
28627
28628 Sun Jun 25 12:55:18 1995  Jeff Law  (law@snake.cs.utah.edu)
28629
28630         * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28631
28632 Wed Jun 21 16:35:55 1995  Fred Fish  <fnf@cygnus.com>
28633
28634         * gdb.base/return.exp:  Xfail `return double' test failure
28635         on at least Solaris 2.3 and handle future/past versions on
28636         a case by case basis as appropriate.  Also update message
28637         to include i*86 failures.
28638
28639 Wed May 24 07:10:10 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28640
28641         * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28642
28643         * lib/gdb.exp: Fix comment which erroneously identified
28644         gdb_file_cmd as gdb_load (the 19 May change was in fact to
28645         gdb_file_cmd not gdb_load).
28646         * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28647
28648         * gdb.base/setvar.exp: Make test names consistent between pass and
28649         fail cases.  Use gdb_test more.
28650
28651 Fri May 19 07:22:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28652
28653         * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28654
28655 Mon May 15 23:50:51 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28656
28657         * gdb.base/help.exp:  Fix expected help string for `show commands'.
28658
28659 Thu May 11 07:55:11 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
28660
28661         * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28662
28663         * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28664         of a text section.
28665
28666 Thu May 11 15:02:24 1995  Stu Grossman  (grossman@andros.cygnus.com)
28667
28668         * config/monitor.exp (gdb_target_monitor):  Fix loop interator so
28669         that loop eventually terminates.  Fix Connection refused logic so
28670         that testsuite will expire nicely.
28671
28672 Wed May 10 17:57:35 1995  Stu Grossman  (grossman@andros.cygnus.com)
28673
28674         * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28675         config/rom68k.exp:  New tcl glue for the appropriate monitors.
28676         These all just end up calling monitor.exp.
28677         * config/monitor.exp (gdb_target_monitor):  Handle `Connection
28678         refused' by retrying.  Cleanup some timeout issues.
28679         * (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
28680         * lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
28681         callers don't have to set/restore global timeout variable.
28682
28683         * The following set of changes centralizes management of the global
28684         timeout variable.  This way, it can be set in one target dependent
28685         place instead of dozens of places scattered throughout the test suite.
28686         If you need to lengthen a timeout, then you should either set timeout
28687         in one of the config/{target}.exp files, or multiply it by a factor.
28688         Setting it to an absolute value is always going to lose for some
28689         targets.
28690         * gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
28691         * gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
28692         * gdb.base/funcargs.exp:  Don't set timeout.
28693         * gdb.base/list.exp (test_forward_search):  Only use local timeout.
28694         * gdb.base/printcmds.exp (test_print_string_constants
28695         test_print_array_constants):  Don't set timeout.
28696         * gdb.base/ptype.exp:  Don't set timeout.
28697         * gdb.base/recurse.exp:  Don't set timeout.
28698         * gdb.base/return.exp:  Don't set timeout.
28699         * gdb.base/watchpoint.exp:  Don't set timeout.
28700         * gdb.c++/classes.exp (do_tests):  Don't set timeout.
28701         * gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
28702
28703 Wed May 10 16:03:23 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
28704
28705         * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28706
28707 Mon May  1 07:32:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28708
28709         * lib/gdb.exp: Disable chill tests for irix5.
28710
28711 Wed Apr 26 07:36:03 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28712
28713         * gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
28714         each test pass or fail.
28715
28716 Sun Apr 23 21:32:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28717
28718         * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28719         xlc not gcc.
28720
28721 Fri Apr 21 15:44:02 1995  Stu Grossman  (grossman@rtl.cygnus.com)
28722
28723         * cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.
28724
28725 Wed Apr 19 17:41:21 1995  Stu Grossman  (grossman@cygnus.com)
28726
28727         * config/est.exp:  Fix copyright and comments.  Remove dead code.
28728         Use targetname, serialport and baud variables instead of fixed
28729         constants.
28730         * config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
28731         * config/cpu32bug.exp:  New file to support cpu32bug monitors.
28732
28733 Wed Apr 19 13:47:16 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28734
28735         * gdb.base/watchpoint.exp: Don't run
28736         test_watchpoint_triggered_in_syscall for sunos.
28737
28738 Mon Apr 17 12:48:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28739
28740         * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28741         they don't seem to exist.  Do include stdio.h.
28742
28743 Fri Apr 14 09:40:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28744
28745         * gdb.base/a1-selftest.exp: Add alpha xfail.
28746
28747 Mon Apr 10 13:07:50 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28748
28749         * gdb.base/watchpoint.c (main): Prompt before calling read().
28750         * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28751         Revise accordingly.  Remove cruft about sending "123" several
28752         times, until it gets noticed.  Clean up the "print buf[0]" stuff
28753         so that it passes or fails, and waits for prompts in the usual way.
28754
28755 Sun Apr  9 09:02:36 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28756
28757         * gdb.base/recurse.exp: Fix comment.
28758
28759         * TODO: Remove item about printing variables in nodebug.exp.  Add
28760         item about enabling tests which are only run on some targets.
28761
28762         * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28763         fail, make test names unique, use new gdb_test convention
28764         regarding pattern, use gdb_test more, etc.).
28765
28766         * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28767         fail, make test names unique, etc.).
28768
28769 Sat Apr  8 02:47:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28770
28771         * gdb.base/nodebug.c:  Change return type of top and middle to
28772         short.
28773         * gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
28774         are fixed by the recent mdebugread.c changes. Allow `short ()'
28775         as type for top and middle.
28776
28777 Thu Apr  6 08:54:18 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28778
28779         * gdb.base/break.exp: Remove commented out if $usestubs {}.  As
28780         nearly as I can tell, the whole thing was an accident in Stu's
28781         change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28782         to replace a send/expect pair with gdb_test, but ended up only
28783         adding the gdb_test.  My change of 24 Mar 1995 and Kung's change
28784         of 30 Mar 1995 took care of it, but left this vestigial comment
28785         which I am now nuking.
28786
28787 Mon Apr  3 09:00:27 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28788
28789         * gdb.base/break.exp: Look for different line number for
28790         breakpoint at main depending on usestubs.
28791
28792 Sun Apr  2 08:15:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28793
28794         * gdb.base/list.exp:  Adjust some alternate expect patterns to
28795         match recent list0.c change. Add alternate expect pattern for
28796         output from `list default lines around main' for optimizing
28797         compilers.
28798
28799 Sat Apr  1 07:23:22 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28800
28801         * lib/gdb.exp: If nosignals is not set, set it to 0.
28802
28803 Fri Mar 31 16:13:48 1995  Kung Hsu  <kung@mexican.cygnus.com>
28804
28805         * config/slite-gdb.exp: Responds to load symbol table prompt.
28806         * gdb.base/break.exp: Adjust line number, fix rerun.
28807         * gdb.base/langs0.c: Add #ifdef usestubs.
28808
28809 Thu Mar 30 15:36:55 1995  Kung Hsu  <kung@mexican.cygnus.com>
28810
28811         * gdb.base/list.exp: Adjust line contents after adding new lines in
28812         list0.c. Also fix a syntax error.
28813
28814         * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28815         * gdb.base/break.exp: ditto.
28816         * gdb.base/list.exp: ditto.
28817         * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28818         * gdb.base/run.c: ditto.
28819         * gdb.base/list0.c: ditto.
28820         * gdb.base/funcargs.c: ditto.
28821
28822 Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
28823
28824         * testsuite/config/rom68k.exp (gdb_target_rom68k):  Use
28825         $targetname, $serialport and $baud instead of hardwired variables.
28826         * testsuite/gdb.base/{sigall.exp signals.exp}:  Skip these if the
28827         target doesn't support signals.
28828
28829 Wed Mar 29 12:29:34 1995  Kung Hsu  <kung@mexican.cygnus.com>
28830
28831         * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28832
28833 Tue Mar 28 08:46:45 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28834
28835         * gdb.base/recurse.exp: Make test names unique.  Change \\(+ to \\(.
28836         Don't rely on the value of an auto variable before it has been
28837         initialized.  Use gdb_test more.
28838
28839 Mon Mar 27 08:00:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28840
28841         * lib/gdb.exp (default_gdb_version): A version number must start
28842         with a digit, but other than that contains all characters up to
28843         the first whitespace character.
28844
28845 Sun Mar 26 13:19:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28846
28847         * gdb.base/commands.exp (breakpoint_command_test): New tests.
28848
28849 Sat Mar 25 15:38:06 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28850
28851         * gdb.c++/*.exp: Warn if executable does not exist.  The original
28852         reason for skipping the warning was that configure.in sometimes
28853         intentionally skipped building the executables but the tcl code
28854         had no way of knowing.  That (a) was always bogus with respect to
28855         error handling, (b) is no longer true (right now there is no way
28856         to skip C++ tests).
28857
28858         * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28859
28860 Sat Mar 25 01:16:10 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
28861
28862         * gdb.base/list.exp:  Add expect patterns for output from
28863         SunPRO compiled executables.
28864         * gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
28865         types.
28866
28867 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28868
28869         * gdb.base/break.exp (test_next_with_recursion): Accept any line
28870         number (we are already testing that the correct source line text
28871         gets printed).
28872
28873         * gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
28874         that is what is intended, but something needed to be done to get
28875         sunos4 native working again.
28876
28877         * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28878
28879         * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28880         apparently went with a (very) old xfail.
28881
28882 Fri Mar 24 13:41:09 1995  Kung Hsu  <kung@mexican.cygnus.com>
28883
28884         * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28885         runto_main is a proc in gdb.exp that will do 'step' for target use
28886         stubs.
28887         * gdb.base/exprs.exp: ditto.
28888         * gdb.base/interrupt.exp: ditto.
28889         * gdb.base/opaque.exp: ditto.
28890         * gdb.base/printcmds.exp: ditto.
28891         * gdb.base/ptype.exp: ditto.
28892         * gdb.base/scope.exp: ditto.
28893         * gdb.base/setvar.exp: ditto.
28894         * gdb.base/signals.exp: ditto.
28895         * gdb.base/twice.exp: ditto.
28896         * gdb.c++/classes.exp: ditto.
28897         * gdb.c++/inherit.exp: ditto.
28898         * gdb.c++/templates.exp: ditto.
28899         * gdb.base/break.exp: no run and hit main for stubs. Change line
28900         numbers for breakpoints and info breakpoint.
28901         * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28902         breakpoint().
28903         * gdb.base/callfuncs.c: ditto.
28904         * gdb.base/exprs: ditto.
28905         * gdb.base/interrupt.c: ditto.
28906         * gdb.base/opaque0.c: ditto.
28907         * gdb.base/printcmds.c: ditto.
28908         * gdb.base/ptype.c: ditto.
28909         * gdb.base/scope0.c: ditto.
28910         * gdb.base/setvar.c: ditto.
28911         * gdb.base/signals.c: ditto.
28912         * gdb.base/twice.c: ditto.
28913         * gdb.c++/misc.cc: ditto.
28914         * gdb.c++/templates.cc: ditto.
28915
28916 Fri Mar 24 06:11:05 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28917
28918         * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28919
28920         * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28921         somewhere between `read' and `main.c'.  I'm pretty sure the
28922         pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28923         and it isn't particularly useful.
28924
28925         * gdb.base/scope.exp: Make test names unique.  \[(\] -> \\(.
28926
28927 Thu Mar 23 14:58:35 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28928
28929         * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28930
28931 Wed Mar 22 18:36:05 1995  Kung Hsu  <kung@mexican.cygnus.com>
28932
28933         * config/mt-slite: add LIBS and -nostdlib.
28934         * config/slite-gdb.exp: add this new file to support sparclite target.
28935
28936 Tue Mar 21 21:41:04 1995  Doug Evans  <dje@canuck.cygnus.com>
28937
28938         * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28939
28940         * gdb.base/a2-run.exp: Change argument to istarget from
28941         "*-*-vxworks" to "*-*-vxworks*".
28942         * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28943
28944 Tue Mar 21 17:08:47 1995  Kung Hsu  <kung@mexican.cygnus.com>
28945
28946         * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28947         will not runto main but do a 'step' to step out of breakpoint().
28948         * config/mt-slite: add -Dusestubs.
28949
28950 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28951
28952         * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28953         instead of just @.
28954
28955         * gdb.base/signals.exp: Add test for "handle all print".
28956         * TODO: Remove "handle all print".  Also remove item about
28957         checking copyright date (I don't like the idea of a spurious FAIL
28958         based on when we run the tests).
28959
28960         * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
28961         for SunOS4 (reason for failure not investigated).  Remove
28962         redundant test for $binfile.
28963
28964         * gdb.base/nodebug.c (array_index): Call malloc.
28965
28966         * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28967
28968 Mon Mar 20 10:08:17 1995  Jeff Law  (law@snake.cs.utah.edu)
28969
28970         * gdb.base/recurse.exp: Update gdb_test invocation to use new
28971         conventions and slightly simplify the matching regexp.
28972
28973 Fri Mar 17 05:43:28 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28974
28975         * gdb.base/break.exp: Update gdb_test invocation to use new
28976         convention.
28977
28978         * lib/gdb.exp: If noargs is not set, set it to 0.
28979
28980         * gdb.base/nodebug.exp: Comment out redundant test.  Make name of
28981         tests unique.
28982
28983         * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28984
28985 Thu Mar 16 16:27:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
28986
28987         * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28988         one argument of type "<non-float parameter>".
28989
28990 Wed Mar 15 15:54:56 1995  Stu Grossman  (grossman@cygnus.com)
28991
28992         * config/rom68k.exp:  New file to support Motorola IDP board.
28993         * gdb.base/a2-run.exp:  Skip this file if noargs is set.
28994         * gdb.base/break.c:  Change things around so that this program
28995         doesn't depend upon args.  This is necessary to make remote
28996         targets work (in general, they can't take args).
28997         * gdb.base/break.exp:  Don't try to send args to program.  Don't
28998         expect output.  Also, replace lots of code with gdb_test.
28999
29000 Wed Mar 15 04:11:14 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29001
29002         * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29003         printing of '\'' (which is what the comment says we are testing,
29004         even though we were not), not '''.
29005         (test_integer_literals_rejected): Test that printing ''' is an error.
29006
29007         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29008         gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29009         gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29010         gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29011         Use gdb_test not test_print_accept.
29012         * lib/gdb.exp: Remove test_print_accept.
29013
29014         * gdb.base/signals.exp (signal_tests_1): Make pass message
29015         consistent with fail message.
29016
29017         * gdb.base/whatis.exp: Remove xfails for printing char vs.
29018         unsigned char; the bug (PR 1821) is fixed.
29019
29020         * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29021
29022         * gdb.base/scope.exp (test_at_localscopes): Call pass for
29023         successful tests--makes xfailing them work right.
29024
29025 Tue Mar 14 07:39:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29026
29027         * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29028         only \r\n, not .*.  The test can pass .* as the last thing in
29029         $pattern if that is what it wants.  In addition to providing this
29030         flexibility, this change should speed up pattern matching in cases
29031         where the pattern already ended with .* (there were a number of
29032         them).  This change also helps catch bad patterns--in the old
29033         scheme the typo "char \*" instead of "char \\*" would pass.  Now
29034         it is caught.
29035         * Many .exp files: Update callers.
29036
29037         * gdb.base/funcargs.exp: Replace \[(\]+ with \\(.  The latter is
29038         clearer and does not spuriously match multiple ('s.  Likewise for
29039         ) and *.
29040
29041         * gdb.base/nodebug.exp: Test ability to call a function and pass
29042         it a string (even with no debugging info).
29043
29044         * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29045         "p '\'", which is the same as "p ''" once tcl gets done with
29046         quoting, to "p '\\'", which I suspect is what is intended (one
29047         backslash gets sent to GDB).
29048
29049         * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29050
29051 Fri Mar 10 13:31:46 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29052
29053         * gdb.base/a1-selftest.exp: Remove xfail for solaris.  The bug (PR
29054         1817) was fixed literally years ago.
29055
29056 Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29057
29058         * gdb.base/funcargs.exp (call_after_alloca):  Remove `next'
29059         test, it causes stepping out of call_after_alloca_subr with
29060         optimizing compilers.
29061         (localvars_in_indirect_call):  Consume GDB prompt if `finish'
29062         fails.
29063
29064         * gdb.c++/templates.exp:  Source templ-info.exp only if
29065         the templates executable exists.
29066
29067         * gdb.c++/misc.cc (class Contains_static_instance,
29068         class Contains_nested_static_instance),
29069         gdb.c++/classes.exp (test_static_members):  Test printing of
29070         a class that contains a static instance of the class.
29071
29072 Thu Mar  9 11:43:55 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29073
29074         * gdb.base/langs2.c (cppsub_): Don't prototype.
29075         * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29076         only, I believe).
29077
29078 Wed Mar  8 10:29:33 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29079
29080         * lib/gdb.exp (skip_chill_tests): New procedure.
29081
29082         * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29083
29084 Mon Mar  6 10:44:06 1995  Jeff Law  (law@snake.cs.utah.edu)
29085
29086         * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29087         each expect pattern.  Cuts runtime from 12 to about 4 seconds.
29088
29089 Thu Mar  2 05:31:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29090
29091         * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29092
29093         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29094         disassemble 8, not 16, instructions for part 4.
29095
29096         * config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
29097         support the latter anymore.
29098
29099         * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29100         -DNO_PROTOTYPES.
29101         * gdb.base/callfuncs.c: Control use of prototypes based on
29102         NO_PROTOTYPES, not __STDC__.
29103         * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29104         t_float_values2 tests if prototypes in use.
29105
29106         * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29107         t_double_values):  When checking differences against DELTA, check
29108         that difference is within the range (-DELTA,DELTA), not just
29109         (-infinity,DELTA).
29110
29111 Tue Feb 28 16:28:54 1995  Kung Hsu  <kung@mexican.cygnus.com>
29112
29113         * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29114         'file' command firts, then 'target', then 'load', this is due to gdb
29115         target set up.
29116         * config/mips-gdb.exp: Fix a couple regular exp bugs.
29117
29118 Thu Feb 23 17:44:55 1995  Jeff Law  (law@snake.cs.utah.edu)
29119
29120         * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29121         FP load/store variants.
29122         * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29123
29124 Wed Feb 22 18:29:08 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
29125
29126         * gdb.base/term.exp: Do not give a warning if not native, it is
29127         not an abnormal condition.
29128
29129 Tue Feb 21 13:08:47 1995  Jim Kingdon  <kingdon@cygnus.com>
29130
29131         * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29132         t_char_array".
29133
29134 Sun Feb 19 13:10:06 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
29135
29136         * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29137         are getting the version number.
29138
29139         * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29140         if not native, it is not an abnormal condition.
29141
29142 Thu Feb 16 15:56:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29143
29144         * lib/gdb.exp: Just use "file exists", rather than undocumented
29145         dejagnu procedure "findfile".
29146
29147 Thu Feb 16 10:30:24 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
29148
29149         * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29150           (LDFLAGS): Set to -Xlinker -Ur.
29151
29152         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29153           Removed, these values are set by lib/gdb.exp.
29154
29155         * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29156
29157 Wed Feb 15 14:23:28 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
29158
29159         * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29160           of replicating gdb startup code.
29161
29162         * config/mt-vxworks (LDFLAGS): Set to -r.
29163           (CFLAGS_FOR_TARGET): Removed.
29164
29165         * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29166           (gdb) and gdb for vxworks uses (vxgdb).
29167
29168         * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29169           executable is not in the tree and host != target, use sed and
29170           program_transform_name to determine the gdb name used by the
29171           target.
29172
29173         * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29174           *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29175
29176 Sun Feb 12 08:11:58 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29177
29178         * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29179         floats, chars, and shorts where there are ANSI-style function
29180         definitions.
29181
29182         * gdb.base/langs.exp, gdb.base/langs*: New test.
29183         * gdb.base/Makefile.in: Build it.
29184         * TODO: Remove item about checking that C names don't get C++
29185         demangling applied; this test tests it.
29186
29187 Thu Feb  9 12:43:56 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29188
29189         * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29190         went with the const70 xfail.  The xfail went away a year ago.
29191
29192         * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29193
29194         * gdb.base/corefile.exp: Give backtrace test unique name.  xfail
29195         for hp300.
29196
29197         * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29198
29199         * gdb.base/a1-selftest.exp: Don't run on hp300.
29200
29201 Sat Feb  4 15:04:32 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29202
29203         * Makefile.in (site.exp): Set host_alias and target_alias as well
29204         as host_triplet and target_triplet.
29205
29206 Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29207
29208         * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29209
29210         * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29211         places as other ecoff systems).
29212
29213         * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29214         ultrix.
29215
29216 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29217
29218         * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29219         remove them.
29220         * gdb.base/nodebug.exp: Accept "function" in addition to "text
29221         variable and "variable" in addition to "data variable".
29222         * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29223
29224         * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29225         2.
29226         * gdb.base/list1.c (long_line): Add additional statement at start
29227         of function.
29228         * gdb.base/list.exp (test_forward_search): Update line number to
29229         reflect new statement.
29230
29231 Sun Jan 29 13:34:25 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29232
29233         * gdb.base/signals.exp:  Reinitialize searched source directories
29234         after gdb_start call.
29235
29236 Sat Jan 28 01:34:44 1995  Jeff Law  (law@snake.cs.utah.edu)
29237
29238         * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29239         * gdb.stabs/Makefile.in: Likewise.
29240
29241         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29242         change.  Instead split the tests into smaller pieces.
29243         * gdb.disasm/hppa.s: Corresponding changes.
29244
29245 Fri Jan 27 09:24:51 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29246
29247         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29248         Quote ^C when passing it to stty.  For some shells ^ is a pipe.
29249
29250         * gdb.base/funcargs.exp: Modify many tests so that every test
29251         either passes or fails.  Make some test names unique.
29252
29253 Thu Jan 26 19:20:34 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29254
29255         * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29256         Call stty to set interrupt character.
29257
29258         * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
29259         for HP assembler versus GNU assembler based on actual behavior of
29260         $(CC), rather than assuming that $(AS) is always the GNU assembler.
29261
29262         * TODO: Suggest a few more stepping tests.
29263
29264 Wed Jan 25 14:52:41 1995  Stan Shebs  <shebs@andros.cygnus.com>
29265
29266         * gdb.base/default.exp: xfail no-stack backtraces for h8300,
29267         restart GDB for h8300 after a continue.
29268         (return): Add pattern to match a29k-udi behavior.
29269         * gdb.base/nodebug.exp: Remove obsolete comment.
29270         * gdb.base/regs.exp: New file, testing of register displays.
29271         * gdb.base/return.exp: Fix typo in reference to $objdir.
29272         * gdb.base/whatis.exp: Always start with a fresh GDB.
29273
29274 Wed Jan 25 11:12:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29275
29276         * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
29277         higher, these tests generate a lot of output.
29278
29279 Tue Jan 24 07:58:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29280
29281         * lib/gdb.exp (gdb_test): Remove catch from around the send.  The
29282         code following the catch silently ignored some errors; without the
29283         catch they should be thrown like any other tcl error.  Also, the
29284         catch used "" instead of {} which meant all the callers who wanted
29285         to include one of the characters "[]$ had to quote it an extra time.
29286         * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
29287         ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
29288         demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
29289         Remove extra quoting.
29290
29291 Mon Jan 23 21:57:54 1995  Jeff Law  (law@snake.cs.utah.edu)
29292
29293         * gdb.base/commands.exp: Make test names unique; every test either
29294         passes or fails.  Update some comments.
29295
29296         * gdb.disasm/hppa.exp (do_system_control_tests): Update.
29297
29298 Sat Jan 21 15:34:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29299
29300         The following fixes a FAIL caused by the fact that the alpha stabs
29301         configuration didn't use the ".if alpha" code in weird.def.
29302         * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
29303         bit pointer, so the 32 bit version works even on the alpha.
29304         * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
29305         Remove the stuff which allowed us to have separate versions for
29306         alpha and everything else.
29307
29308         * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
29309         regexp which "info func operator\[\](" is supposed to match.  Fix
29310         string to send to GDB.  Note that GDB still doesn't work right.  Add a
29311         new test for "info func .perator\[\](" which GDB does handle correctly.
29312
29313         * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
29314
29315 Fri Jan 20 12:14:23 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29316
29317         * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
29318         gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
29319         gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
29320         gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
29321         it makes the tests harder to understand and confuses test-o-matic.
29322         The preferred style is that each test provides a PASS or a FAIL,
29323         and has a unique message (e.g. "continue #54" not just "continue")
29324         which is the same for the pass and the fail.
29325         * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29326         gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
29327         to lib/gdb.exp.
29328         * gdb.base/printcmds.exp: Use test_print_accept.  Remove
29329         prt_accept which was basically the same thing.  Likewise for
29330         test_print_reject and prt_reject.
29331         * lib/gdb.exp (test_print_reject): Add some more error message
29332         patterns to match from the former printcmds.exp (prt_reject).
29333         * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
29334         One defect of the passcount stuff is that some of it failed to
29335         report XPASS where appropriate.
29336         * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
29337         stuff before and after arg in expected pattern.
29338         (test_paddr_operator_functions): Re-do test without print_addr_of;
29339         this is the only test which seems to want extra stuff there.
29340
29341 Tue Jan 17 10:47:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29342
29343         * gdb.base/nodebug.exp: Update new tests to reflect improved
29344         wording of gdb output.
29345
29346         * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
29347         and "ptype" work on variables in files compiled without -g.
29348         Replaces commented out "maint print msymbol" tests.
29349
29350 Mon Jan 16 12:13:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29351
29352         * gdb.base/setvar.c (dummy): Call malloc.
29353
29354         * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
29355         losing with the irix4 sed.
29356
29357         * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
29358         ALRM" on irix4.
29359
29360 Sun Jan 15 21:58:26 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29361
29362         * TODO: Remove items about corefile.exp testing new exec-file and
29363         backtrace; both are now done.  Add items about printing enums.
29364
29365 Sat Jan 14 11:25:28 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29366
29367         * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
29368         "get signal $thissig" test fails.
29369
29370         * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
29371
29372 Thu Jan 12 01:14:53 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29373
29374         * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
29375         compiler warning with dec alpha compiler.
29376
29377         * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
29378         extra \n from gdb_test call (this explains why the prompt test
29379         that I removed yesterday was there).
29380         (user_defined_command_test): Remove extra \n and prompt test.
29381
29382         * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
29383         doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
29384         doesn't exist.
29385         * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
29386         Also remove alpha workaround, which turns out to be because
29387         SIGABRT == SIGLOST.
29388
29389         * gdb.base/sigall.exp: Add workaround for alpha weirdness.
29390
29391         * gdb.base/help.exp: Don't test "help show".
29392
29393 Wed Jan 11 14:37:04 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29394
29395         * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
29396         "set print address" is on.
29397         * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
29398         pass prompt to gdb_test; gdb_test already looks for the prompt.
29399
29400         * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
29401
29402         * gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
29403         was a vestige of the manual TESTSTRATEGY, and the purpose of it
29404         was to make sure that gdb can read a core file.  But (a) the "read
29405         the corefile" part didn't make it to a1-selftest.exp, we just
29406         delete the corefile after creating it, and (b) we test reading
29407         corefiles in corefile.exp anyway.  Also, this test left around a
29408         xgdb process on Solaris.
29409
29410         * gdb.base/corefile.exp: Also test backtrace.
29411
29412 Wed Jan 11 00:14:40 1995  Jeff Law  (law@snake.cs.utah.edu)
29413
29414         * gdb.base/commands.exp: Test a simple user defined command with
29415         arguments and if/while statements; verify the full user command is
29416         printed by "show user".
29417
29418         * gdb.base/commands.exp: Test if/while commands as part of a
29419         breakpoint command list; verify they appear in breakpoint
29420         information.
29421
29422 Wed Jan 11 00:47:58 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29423
29424         * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
29425         than by dividing by zero.
29426
29427 Tue Jan 10 21:38:05 1995  Jeff Law  (law@snake.cs.utah.edu)
29428
29429         * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
29430         performing an inferior call with watchpoints enabled.
29431         * gdb.base/watchpoint.c (main): Delete second unnecessary read
29432         call.
29433
29434 Tue Jan 10 18:42:07 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29435
29436         * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
29437         of "file" command.
29438
29439         * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
29440         Add additional pattern for when "int operator int(void);" appears
29441         in a different order.
29442
29443 Mon Jan  9 16:22:46 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
29444
29445         * gdb.base/signals.exp: Call gdb_exit and gdb_start.
29446
29447         * gdb.base/help.exp: Replace most of docstrings for "info signals"
29448         and "signal" with ".*".
29449
29450 Wed Jan  4 11:35:19 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
29451
29452         * TODO: Add note about "handle all nostop".
29453
29454         * gdb.base/{sigall.c, sigall.exp}: New test.
29455         * gdb.base/Makefile.in: Add it.
29456
29457 Thu Jan  5 17:34:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
29458
29459         * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
29460         when invoking GDB, suppresses any windowing interface.
29461
29462 Mon Jan  2 17:40:21 1995  Stan Shebs  <shebs@andros.cygnus.com>
29463
29464         * config/sim-gdb: New file, simulator testing support.
29465
29466 Wed Dec 28 12:21:50 1994  Jeff Law  (law@snake.cs.utah.edu)
29467
29468         * gdb.base/interrupt.exp: Test calling func1 twice.
29469
29470 Wed Dec 21 12:51:37 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
29471
29472         * gdb.base/list.exp (test_forward_search): Set timeout higher
29473         when we'll be getting lots of output from gdb.
29474
29475         * gdb.base/a1-selftest.exp: Move code that was inside expect -re
29476         "init_malloc" to after the expect statement.  Run it if that
29477         regexp is taken, but also for two others which happen if source
29478         cannot be found.
29479
29480 Tue Dec 20 12:35:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
29481
29482         * gdb.base/printcmds.exp: New test, for printing register before
29483         program is running.
29484
29485 Mon Dec 19 00:32:55 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29486
29487         * gdb.base/list.exp:  Correct some alternate expect patterns
29488         to reflect changes in list1.c.
29489
29490 Sat Dec 17 14:20:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
29491
29492         * TODO: Add item regarding large frames.
29493
29494         * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
29495
29496         * TODO: Remove item about enabling return.exp; it
29497         is enabled.  Suggest a few more "return" tests.
29498
29499 Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29500
29501         * gdb.c++/misc.cc, gdb.c++/inherit.exp:  Add testcases for
29502         anonymous unions.
29503
29504 Tue Dec 13 11:26:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
29505
29506         * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
29507         and pr-5646.o, so "make" is the same as "make all", not "make
29508         pr-4975.o".
29509
29510 Wed Dec  7 19:02:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
29511
29512         * gdb.base/list.exp: Adjust expectations to reflect changes in
29513         list1.c.
29514         (test_forward_search): New test proc.
29515         * gdb.base/list1.c (long_line): New function, has long source line.
29516
29517 Thu Dec  1 23:14:49 1994  Stan Shebs  <shebs@andros.cygnus.com>
29518
29519         * gdb.base/a1-selftest.exp: Change initial stepping to know about
29520         additional line of code that was added.
29521
29522 Wed Nov 30 19:43:14 1994  Jeff Law  (law@snake.cs.utah.edu)
29523
29524         * gdb.disasm/hppa.s: Break the large branching tests into smaller
29525         tests so as not to overflow expect's input buffers.
29526         * gdb.disasm/hppa.exp: Corresponding changes.
29527
29528 Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29529
29530         Beginnings of template debugging tests.
29531         * gdb.c++/templ-info.cc:  New file to test for template
29532         debugging capability of the compiler.
29533         * gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
29534         templ-info.cc.
29535         * gdb.c++/templates.cc:  Add explicit template instantiations
29536         to enable compiling with -fno-implicit-templates. Add destructor
29537         and 'value' method to T5 class for template tests.
29538         * gdb.c++/templates.exp:  Add testcases for printing of template
29539         types, setting breakpoints on template methods and calling a
29540         template method.
29541
29542 Sat Nov  5 00:20:17 1994  Jeff Law  (law@snake.cs.utah.edu)
29543
29544         * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
29545         branch target since some assemblers (gas-2.5)  may emit a
29546         relocation for the branch instead of resolving it in the
29547         assembler.
29548
29549 Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29550
29551         * gdb.base/a1-selftest.exp:  Remove RS/6000 xfail for backtrace
29552         through signal handler.
29553
29554 Fri Oct 21 11:10:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29555
29556         * configure.in (*-*-netware): Use config/mt-netware.
29557
29558         * config/mt-netware: New file.
29559         * config/mt-i386-netware: Removed, separate configs for different
29560           netware architectures are no longer needed now that we have
29561           --with-headers.
29562
29563 Sat Oct 15 03:43:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29564
29565         * gdb.base/exprs.exp:  Remove xfail for alpha, it is fixed
29566         by the recent changes to use ANSI C arithmetic conversions.
29567
29568 Sun Oct  9 07:44:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
29569
29570         * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29571         bug involving using inferior_pid to figure out whether to select a
29572         frame.
29573
29574 Wed Sep 28 23:12:02 1994  Jeff Law  (law@snake.cs.utah.edu)
29575
29576         * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29577         match the current disassembler output.
29578
29579 Fri Sep 16 11:42:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
29580
29581         * gdb.fortran/exprs.exp: Expect VOID instead of void.
29582         * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29583         types, expect "int" as type of integer values (for now).
29584
29585 Wed Sep  7 23:33:51 1994  Jeff Law  (law@snake.cs.utah.edu)
29586
29587         * gdb.base/commands.exp: New tests for if/while commands.
29588
29589 Tue Sep  6 13:16:11 1994  Per Bothner  (bothner@kalessin.cygnus.com)
29590
29591         * lib/gdb.exp (runto):  Replace sub-pattern for hex value
29592         by .*, since hex values have different syntax in Chill mode.
29593
29594 Tue Sep  6 02:15:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29595
29596         * gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
29597         linefeed from expect pattern for repeated types with indices > 9.
29598
29599 Mon Aug 29 14:20:44 1994  Stan Shebs  (shebs@andros.cygnus.com)
29600
29601         First part of Fortran test suite.
29602         * gdb.fortran: New directory.
29603         * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29604
29605 Sat Aug 27 23:32:43 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29606
29607         * gdb.base/default.exp:  Update expect pattern for load command
29608         without arguments.
29609
29610 Wed Aug 24 13:15:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
29611
29612         * configure.in: Change i386 to i[345]86.
29613         * gdb.base/configure.in: Likewise.
29614         * gdb.c++/configure.in: Likewise.
29615         * gdb.chill/configure.in: Likewise.
29616
29617 Tue Aug 23 19:14:06 1994  Stan Shebs  (shebs@andros.cygnus.com)
29618
29619         * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29620         patterns, since that is not a valid context for comments.
29621
29622 Fri Aug 19 15:07:30 1994  Kung Hsu  (kung@mexican.cygnus.com)
29623
29624         * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29625         repeated types and repeated types with indices > 9.
29626
29627 Tue Aug 16 15:57:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
29628
29629         * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29630         2417; old bug has been fixed.
29631
29632 Fri Aug 12 19:35:41 1994  Jeff Law  (law@snake.cs.utah.edu)
29633
29634         * gdb.base/interrupt.exp: When trying to wake up the inferior,
29635         send the newline ourselves instead of assuming gdb_test will do
29636         so when passed an empty input string.
29637
29638         * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29639         stabs testcode.
29640
29641 Fri Aug  5 17:01:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29642
29643         * lib/gdb.exp (gdb_test): Don't send anything if the first
29644           argument is an empty string.  This makes cases where we want to
29645           match output that is already in expect's buffers (for example,
29646           matching a breakpoint after gdb_run_cmd has been called) work
29647           reliably.
29648
29649 Tue Aug  2 10:24:08 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29650
29651         * config/netware.exp: New file.
29652
29653 Thu Jul 28 12:54:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29654
29655         * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29656           the -B and -L prefixes so we can find the debugging stub.
29657
29658         * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29659           there and we are using the gcc from the tree.
29660
29661         * gdb.base/types.c: Removed.
29662
29663         * gdb.base/configure.in: Look for makefile fragments in ../config.
29664           Recognize i386-*-netware.
29665         * gdb.c++/configure.in: Likewise.
29666
29667 Mon Jul 25 23:48:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29668
29669         * gdb.base/corefile.exp:  Change `else if' to `elseif', which is
29670         the correct TCL syntax.
29671
29672 Mon Jul 25 15:35:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29673
29674         * gdb.base/opaque.exp: use runto instead of messing around with
29675           breakpoints.  Simplify by using gdb_test.
29676
29677         * gdb.base/bitfields.exp: restart between tests on netware targets
29678           because breakpoints aren't relocated after target death.  Run
29679           processes to completion.
29680
29681         * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29682
29683 Sun Jul 24 09:55:51 1994  Fred Fish  (fnf@cygnus.com)
29684
29685         * Makefile.in:  Remove extra tabs that confuse some versions
29686         of "make".  Use the newly built gdb to test with by default,
29687         rather than the first one in the tester's search path.
29688
29689 Sat Jul 23 15:05:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
29690
29691         * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29692
29693         * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29694         condition help.
29695
29696 Tue Jul 19 10:26:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29697
29698         * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29699
29700         * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29701           running.
29702         * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29703         * gdb.base/funcargs.exp: Likewise.
29704
29705         * gdb.base/bitfields.exp: Simplify by using gdb_test.
29706         * gdb.base/funcargs.exp: Likewise.
29707
29708         * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29709           message is "".
29710
29711 Mon Jul 18 12:18:07 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29712
29713         * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29714           return,signals,twice}.exp: Handle non-existant binaries
29715           consistantly.
29716
29717         * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29718         * gdb.base/Makefile.in: Don't try to generate a core dump, we
29719           might testing a cross development system.
29720
29721 Thu Jul 14 18:13:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29722
29723         * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29724           runtest script is relative to ${srcdir}, not ${rootdir}.
29725
29726 Thu Jul 14 14:56:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
29727
29728         * gdb.base/signals.exp: Allow for optionality of breakpoint
29729         address.
29730
29731 Thu Jul 14 11:21:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
29732
29733         * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29734
29735 Tue Jul 12 12:22:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
29736
29737         * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29738           for size_t definition.
29739         * gdb.c++/templates.cc: Likewise
29740
29741         * config/mt-i386-netware: New file.
29742
29743         * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29744           defined.
29745
29746         * gdb.base/Makefile.in: Added support for systems that name core
29747           files by appending "core" to the program name.
29748         * gdb.base/a1-selftest.exp: Likewise.
29749
29750 Mon Jul 11 23:59:18 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29751
29752         * gdb.base/return.exp:  Add comment and message for `return double'
29753         test failure on Sparc Solaris.
29754
29755 Mon Jul  4 12:10:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
29756
29757         * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29758
29759 Wed Jun 29 00:26:17 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29760
29761         * gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
29762         from optimizing them away.
29763         * gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
29764         patterns to include default constructors and assignment operators,
29765         to match gcc versions beyond 2.5.8. Accept any cplus demangling
29766         character in the output of the virtual base pointer.
29767
29768 Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29769
29770         * gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
29771         expression match in print_addr_of to avoid unintented matches.
29772         * gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
29773         versions up to 2.5.8.
29774
29775 Mon Jun 20 23:54:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
29776
29777         * gdb.base/list.exp:  Tweak alternate pattern for listing of an
29778         included file to run under newer versions of expect.
29779         * gdb.c++/demangle.exp:  Add spaces to the expect patterns between
29780         consecutive >'s in templates to accomodate recent cplus-dem.c change.
29781         Remove xfail for the virtual table of BDDHookV.
29782
29783 Sat Jun 18 12:51:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
29784
29785         * lib/gdb.exp (string_to_regexp): Set a default result.
29786         (default_gdb_start): Fix misleading message.
29787
29788 Wed Jun 15 12:10:10 1994  Stan Shebs  (shebs@andros.cygnus.com)
29789
29790         * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29791         Remove all CC, etc definitions.
29792         * config/mt-hpux: New file.
29793         * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29794         (CFLAGS, LDFLAGS): Define.
29795         * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29796
29797         * Makefile.in (site.exp): Don't insert host_os, etc.
29798         (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29799         (distclean): Check existence of subdir.
29800         * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29801         * gdb.base/Makefile.in: General cleanup and simplification.
29802         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29803         to build executables.   Use default rule to build .o files.
29804         (EXPECT, RUNTEST, CC): Fix relative pathname.
29805         (site.exp): Don't insert host_os, etc.
29806         * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29807         and/or SIGUSR1 defined.
29808         * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29809         * gdb.c++/Makefile.in: General cleanup and simplification.
29810         Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29811         (CFLAGS): Remove.
29812         (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29813
29814 Fri Jun 10 10:55:09 1994  Jeff Law  (law@snake.cs.utah.edu)
29815
29816         * gdb.base/recurse.exp: Misc changes to get tests running again
29817         after Kung's changes to the watchpoint code.
29818         * gdb.base/watchpoint.exp: Likewise.
29819
29820 Thu Jun  9 15:16:55 1994  Per Bothner  (bothner@kalessin.cygnus.com)
29821
29822         * lib/gdb.exp (string_to_regexp):  Convert {\} also.
29823
29824 Wed Jun  8 12:12:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
29825
29826         * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29827         * lib/gdb.exp (default_gdb_start): Define.
29828         * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29829         gdb.base/funcargs.exp, gdb.base/opaque.exp,
29830         gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29831         gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29832         gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29833         Don't call gdb_target_udi in between tests.
29834
29835 Tue Jun  7 08:30:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
29836
29837         * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29838         (which was basically just a local version of the same thing).  In
29839         addition to avoiding duplication, gdb_test_exact is faster.
29840         * lib/gdb.exp (gdb_test_exact): Fix typo.
29841
29842         * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29843         don't give an error.
29844
29845         * gdb.base/term.exp: Call delete_breakpoints before starting.
29846
29847         * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29848         (t10): Add comment.
29849
29850 Mon Jun  6 18:26:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
29851
29852         Reorganization of the GDB Test Suite.
29853
29854         * gdb.base: New directory, contains all the basic tests.
29855         * gdb.c++: New directory, tests specific to C++.
29856         * gdb.chill: New directory, tests specific to Chill.
29857         * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29858         gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29859         gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29860         gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29861         into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29862         t30-31 to chill).
29863         * */gdbme.*: Rename to match appropriate expect scripts.
29864         * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29865         gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29866         gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29867         gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29868         gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29869         gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29870         gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29871         gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29872         gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29873         gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29874         * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29875         gdb.c++/virtfunc.cc: New names of C++ files.
29876         * gdb.chill/chillvars.ch: New name of Chill file.
29877         * gdb.base/configure.in, gdb.c++/configure.in,
29878         gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29879         * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29880         gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29881         * configure.in (configdirs): Update to reflect directory changes.
29882         (target_abbrev): No longer define for any configuration.
29883         * Makefile.in: Cosmetic improvements to header comments.
29884
29885 Fri Jun  3 18:56:06 1994  Per Bothner  (bothner@kalessin.cygnus.com)
29886
29887         Various changes to gdb.t31:
29888
29889         * Makefile.in (gdbme.o):  Compile with -fspecial_UC.
29890         * gdbme.ch:  Make all key-words and predefineds be upper-case.
29891         * chillvars.exp:  Expect key-words and predefinds in upper-case.
29892
29893         * chillvars.exp:  Use gdb_test_exact many places.
29894         Change expected output for arrays (which now includes index labels).
29895
29896         * pr-5020.exp, gdme.ch (module PR_5020):
29897         New test, for PR-5020.
29898
29899 Thu Jun  2 16:02:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
29900
29901         * lib/gdb.exp (string_to_regexp, gdb_test_exact):  New procedures.
29902         * Makefile.in (CHILL_LIB):  Remove bogus redundant definitions.
29903
29904 Sun May 29 22:31:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
29905
29906         * Makefile.in:  Fix bit-rot in definitions of CHILL,
29907         CHILL_FOR_TARGET and Chill_LIB.
29908         * gdb.t31/gdbme.ch:  Fix syntax of nested array tuples.
29909         * gdb.t31/Makefile.in:  Add definitions for CHILLFLAGS,
29910         CHILL, and CHILL_LIB.
29911
29912 Sat May 21 10:05:08 1994  Bill Cox  (bill@rtl.cygnus.com)
29913
29914         * Revert the previous changes.  Please see Rob's directory
29915           /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29916
29917 Thu May 19 12:51:00 1994  Bill Cox  (bill@rtl.cygnus.com)
29918
29919         * Makefile.in, configure.in, config/mips-gdb.exp,
29920           config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29921           config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29922           config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
29923           gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29924           gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29925           gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29926           gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29927           gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29928           gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29929           gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29930           gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29931           gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29932           gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29933           gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29934           gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
29935           changes from 94Q1.
29936
29937 Wed May 18 17:04:03 1994  Bill Cox  (bill@rtl.cygnus.com),
29938
29939         * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29940           config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29941           Rob's new testing fragments.
29942
29943 Tue May 17 15:04:14 1994  Bill Cox  (bill@rtl.cygnus.com)
29944
29945         * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
29946           lib/gdb.exp: Replace error proc calls with perror.
29947
29948 Mon May 16 19:00:50 1994  Stan Shebs  (shebs@andros.cygnus.com)
29949
29950         * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29951         version also, match on casted version strings, and match on
29952         gdb startup case where the line numbers might be messed up.
29953
29954 Fri May 13 18:00:27 1994  Bill Cox  (bill@rtl.cygnus.com)
29955
29956         * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
29957           (CFLAGS): Delete it from here.
29958
29959 Tue May  3 16:08:09 1994  Kung Hsu  (kung@mexican.cygnus.com)
29960
29961         * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29962
29963 Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
29964
29965         * Makefile.in (RUNTEST): Default to just "runtest".
29966
29967 Tue Apr 26 22:21:40 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
29968
29969         * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29970         * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29971         the code has been restructured.
29972
29973 Thu Apr 21 12:48:07 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
29974
29975         * gdb.t00/default.exp (set write): Allow any number of \r and/or
29976         \n, not just one of each.
29977
29978         * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29979         /bin/cc gives a warning if you do.
29980
29981 Thu Apr 21 11:54:04 1994  Kung Hsu  (kung@mexican.cygnus.com)
29982
29983         * gdb.t24/demangle.exp: change expect pattern of
29984         __t10ListS_link1ZUiRCUiPT0
29985
29986 Wed Apr 13 15:05:00 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
29987
29988         * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29989         on local variables in recursive functions.
29990
29991         * gdb.t07/Makefile.in: Build the new test.
29992
29993 Tue Apr 12 20:45:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
29994
29995         * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29996         directly.  Instead compare the return values from actual calls.
29997
29998 Mon Apr 11 10:31:00 1994  Bill Cox  (bill@rtl.cygnus.com)
29999
30000         * Makefile.in (check): Set TCL_LIBRARY for runtest.
30001
30002 Mon Apr 11 09:15:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30003
30004         * From Peter Schauer with minor modifications.
30005         * gdb.t15/return.exp (return_tests): Handle targets where "return"
30006         stops in mid-line in the caller.  Add xfail for returning a float
30007         value on X86 targets.
30008
30009 Tue Apr  5 15:16:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30010
30011         * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30012         to avoid expect lossage.
30013         (fmem_LRbug_tests): Likewise.
30014         * gdb.disasm/hppa.s: Corresponding changes.
30015
30016         * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30017         conditions to work with latest dejagnu/expect.
30018
30019         * gdb.t15/funcargs.exp (finish from indirect call): No longer
30020         expected to fail on the PA.
30021         (backtrace in call with trampolines): Explicitly require main
30022         to be frame #1 (no trampolines should show up in backtrace).
30023
30024         * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30025         "continue -expect".
30026         * gdb.t06/break.exp: Likewise.
30027         * gdb.t07/watchpoint.exp: Likewise.
30028         * gdb.t13/bitfields.exp: Likewise.
30029         * gdb.t15/{funcargs,return}.exp: Likewise.
30030         * gdb.stabs/weird.exp: Likewise.
30031         * config/{mips,udi}-gdb.exp: Likewise.
30032
30033         * hppa.sed: Enclose comments within a sed command to avoid
30034         losing with the old OSF1 sed.
30035
30036 Wed Mar 30 00:31:49 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30037
30038         * gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
30039         sequent dynix.
30040         * gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
30041         * gdb.t15/funcargs.exp:  Conditionally step again to really
30042         finish from marker_call_with_trampolines. Handle the case where
30043         the first step from within call_with_trampolines already steps
30044         us back to main.
30045         * gdb.t15/gdbme.c:  Add comment to closing brace of
30046         call_with_trampolines for funcargs.exp.
30047
30048 Tue Mar 29 23:55:27 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30049
30050         * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30051         Fix typo(s).
30052
30053 Sun Mar 27 16:53:14 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30054
30055         * gdb.t07/gdbme.c: More code for watchpoint testing.
30056
30057         * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30058         "Hardware watchpoint" throughout file.
30059         (test_watchpoint_triggered_in_syscall): New test.
30060         (test_complex_watchpoint): New test.
30061
30062 Fri Mar 25 17:05:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30063
30064         * gdbme.c (call_with_trampolines): New function to try and step
30065         into.  Tests trampoline problems on the PA.
30066
30067         * funcargs.exp (localvars_in_indirect_call): No longer expect
30068         stepping into indirect call to fail on PAs.
30069         (test_stepping_over_trampolines): New test.
30070
30071 Wed Mar 23 07:43:33 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30072
30073         * TODO: Add suggestions for static member function tests, and
30074         completion tests.
30075
30076 Wed Mar 16 08:28:28 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30077
30078         * TODO: Add suggestions for "p/a" tests.
30079
30080         * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30081         (default_gdb_exit): Replace all the hair with sending "quit" to
30082         the process with a simple close.
30083
30084 Tue Mar 15 08:45:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30085
30086         * TODO: Add suggestions for shared library tests.
30087
30088 Sun Mar 13 10:45:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30089
30090         * TODO: Add suggestions for x/s tests.
30091
30092 Fri Mar 11 08:22:00 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30093
30094         * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30095         "enable once", and "enable breakpoints once" with ".*".
30096
30097 Thu Mar 10 08:34:27 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30098
30099         * TODO: Add suggestions about structure passing tests.
30100
30101 Mon Mar  7 13:45:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30102
30103         * gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
30104         the primary1 test, use work around if __GNUC__ < 2.
30105         * gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
30106         * gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
30107         Test for bad output rather than waiting for timeout.  Issue
30108         second continue only if first continue failed.
30109
30110 Wed Mar  2 10:08:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30111
30112         * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30113         operator[] test with gdb_test because the old code didn't seem to
30114         be getting the quoting right with the new dejagnu.
30115
30116 Thu Feb 24 19:49:25 1994  Rob Savoye  (rob@poseidon.cygnus.com)
30117
30118         * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30119         one from the path.
30120         * Makefile.in: Use a fresh expect if there is one, use runtest
30121         from the src tree if there is one.
30122
30123 Thu Feb 24 18:49:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30124
30125         * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30126         next over recursive call.  Revise the tests from that point on
30127         (which had been skipped) to match GDB's actual (correct) output.
30128
30129         * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30130         with next over a breakpoint whose condition is false.
30131
30132         * gdb.t00/help.exp: Comment out "help set print" tests just like
30133         (and for same reason as) "help set" test.
30134
30135 Mon Feb 14 09:58:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30136
30137         * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30138         * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30139
30140 Sun Feb  6 15:36:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30141
30142         * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30143         necessary gdb_target_udi.
30144
30145         * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30146
30147         * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30148         1838 and 2417; they are fixed.
30149
30150         * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30151         gdb.t03/ptype.exp (ptype structure, ptype union):
30152         Remove xfails; the test is looser than when the xfails were added.
30153
30154         * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30155         * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30156
30157         * gdb.t01/run.exp: Only run shell test if isnative.
30158
30159         * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30160         since "run" automatically loads if necessary.  Call gdb_target_udi
30161         after the "file" since "file" kills any execution target.
30162
30163         * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30164         GDB.  GDB doesn't work that way (not anymore at least) on UDI.
30165         * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30166         argument for UDI.
30167
30168 Fri Feb  4 12:19:32 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
30169
30170         * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30171
30172         * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30173
30174 Sat Feb  5 09:11:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30175
30176         * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30177         properly quoting regexps.  This makes the second argument to
30178         demangle a fixed string, which matches the callers, instead of a
30179         shell-style pattern which is what the previous implementation
30180         used.  Update some of the callers.
30181
30182 Sat Feb  5 10:19:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30183
30184         * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30185         (comib_nullified_tests): Fix typo.
30186         * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30187         strings.  No longer expected to fail.
30188
30189         * gdb.disasm/hppa.s (addib_tests): Fix typo.
30190         * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30191         strings.  No longer expected to fail.
30192
30193         * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30194         string.  No longer expected to fail.
30195
30196 Fri Feb  4 23:45:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30197
30198         * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30199         No longer expected to fail.
30200
30201         * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30202         string.  No longer expected to fail.
30203
30204 Fri Feb  4 10:35:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30205
30206         * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30207         only in the names (I probably got most of them).  I was even
30208         generous with some which differed in underscores in names, and
30209         probably missed a few, and I *still* was able to remove almost a
30210         third of the file with almost no impact on testsuite coverage.
30211
30212 Thu Feb  3 12:04:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30213
30214         * gdb.t00/default.exp: Match udi_attach error message as well as
30215         the one from child_attach.
30216
30217         * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30218
30219         * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30220
30221         * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30222         * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30223
30224         * Move test with enums and partial symbols back to
30225         gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30226         Reverts the change of 26 May 93.  Per today's change to
30227         stabs.texinfo, the behavior that weird.exp was expecting was
30228         unreasonable; what is important is that the compiler+gdb get
30229         things right, which happens with a recent gcc.  Also fix the test
30230         to deal with native compilers which put out the stab gdb can't
30231         deal with.
30232
30233 Mon Jan 31 15:40:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30234
30235         * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30236         in the names.  The main thing these accomplish is to slow things down.
30237         Many more such duplicates surely remain.
30238
30239         * gdb.t00/help.exp: Comment out "help support" test just like
30240         (and for same reason as) "help set" test.
30241
30242 Mon Jan 31 06:43:45 1994  Fred Fish  (fnf@cygnus.com)
30243
30244         * gdb.t06/break.exp:  Remove setup_xfails for
30245         sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30246         * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
30247         about known bug in gcc to include up through 2.5.8.
30248         * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
30249         well as "_vb$".
30250         * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30251         Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30252         with latest gcc and gdb.
30253         * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
30254         well as "_vb$".
30255
30256 Sat Jan 29 23:31:26 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30257
30258         * configure.in (hppa*-*-*): Also configure and build stabs-only
30259         tests.
30260
30261 Thu Jan 27 08:21:16 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30262
30263         * gdb.t10/hppa.mt: A makefile fragment for the PA.
30264         * gdb.t10/configure.in (hppa*-*-*): Use it.
30265
30266 Tue Jan 25 12:58:26 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30267
30268         * gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
30269
30270 Wed Jan 19 12:40:25 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30271
30272         * gdb.t06/signals.exp:  Handle blocked SIGTRAP on sun3 for bash
30273         versions prior to 1.13.5.
30274
30275 Tue Jan 18 20:10:50 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30276
30277         * gdb.t00/default.exp (show prompt): In FAIL case, only match if
30278         the prompt is at the start of a line.
30279
30280 Mon Jan 17 20:07:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
30281
30282         * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
30283         Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
30284         in the copr tests now.
30285         * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
30286         copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
30287         expected to fail.
30288
30289 Fri Jan 14 14:24:21 1994  Rob Savoye  (rob@darkstar.cygnus.com)
30290
30291         * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
30292         gdb.t31/chillvars.exp, lib/gdb.exp:
30293         Tweak to run under either version of expect.
30294         * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
30295         * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
30296         * gdb.t11/list.exp: Remove extraneous whitespace.
30297
30298 Sat Jan 15 09:57:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30299
30300         * gdb.t16/printcmds.exp (test_print_strings): Accept
30301         "(unsigned char *) " before the string.
30302
30303         * TODO: Add notes about printing of fancy types and GDB expressions.
30304
30305 Thu Jan 13 17:16:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
30306
30307         * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
30308         * gdb.t06/configure.in: Don't try to compile signals test program
30309         if doing mips-idt-ecoff.
30310
30311 Thu Jan 13 08:25:55 1994  Rob Savoye  (rob@darkstar.cygnus.com)
30312
30313         * Most .exp files: Tweak to run under either version of expect.
30314
30315 Tue Jan 11 15:21:13 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30316
30317         * gdb.t12/scope.exp: Add xfails for rs6000.  Remove 1806 from existing
30318         xfails; I'm not sure why they are failing, but not because of PR 1806.
30319
30320 Mon Jan 10 22:14:20 1994  Rob Savoye  (rob@darkstar.cygnus.com)
30321
30322         * config/unix-gdb.exp: Remove gdb_unload cause it's already
30323         defined in lib/gdb.exp.
30324
30325 Fri Jan  7 12:42:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30326
30327         * gdb.t07/watchpoint.exp:  Clear xfail for calling function with
30328         watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
30329         * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
30330         have to be typeless.
30331
30332 Tue Jan  4 09:32:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
30333
30334         * TODO: Add suggestion for copyright year test.
30335
30336 Mon Jan  3 11:35:26 1994  Stan Shebs  (shebs@andros.cygnus.com)
30337
30338         * configure.in (*-*-lynxos*): Add stabs tests.
30339
30340 Wed Dec  1 21:54:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
30341
30342         * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
30343         so insert a tab before any assembler directive in column zero.
30344
30345         * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
30346         stores.
30347         * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
30348         stores.
30349         (fpu_short_memory_tests): Likewise.
30350
30351 Mon Nov 22 13:23:22 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30352
30353         * gdb.stabs/ecoff.mt:  Delete alpha specific if block, fix typo.
30354         * gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
30355         .stabs directives in comments.
30356
30357 Fri Nov 19 14:09:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30358
30359         * TODO: New file, describing tests we could write.
30360         * gdb.t09/corefile.exp: Move description of tests to write to TODO.
30361
30362 Tue Nov 16 21:07:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30363
30364         * gdb.t06/signals.exp: Add kludge to force re-sync.
30365
30366         * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
30367         to xgdb instead of gdb, get out of gdb.
30368
30369 Tue Nov 16 10:21:57 1993  Rob Savoye  (rob@cygnus.com)
30370
30371         * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
30372         for info.
30373
30374 Sat Nov 13 23:17:48 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
30375
30376         * gdb.stabs/hppa.mt: A makefile fragment for the PA.
30377         * gdb.stabs/configure.in (hppa*-*-*): Use it.
30378         * gdb.stabs/hppa.sed: New sed script for the PA.
30379
30380 Sat Nov 13 22:50:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30381
30382         * gdb.stabs: Re-write weird.def and configuration to use sed
30383         instead of cpp.  sed is portable and POSIX; cpp is neither.
30384
30385 Fri Nov 12 15:26:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30386
30387         * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
30388
30389 Mon Nov  8 16:55:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30390
30391         * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
30392
30393 Thu Nov  4 23:07:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30394
30395         * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
30396         "_vb$".
30397         * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
30398         * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
30399
30400 Wed Nov  3 13:53:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30401
30402         * lib/gdb.exp: Comment out code which depends on non-existent
30403         `transform' procedure.
30404
30405 Wed Nov  3 11:23:11 1993  Rob Savoye  (rob@darkstar.cygnus.com)
30406
30407         * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
30408         * lib/gdb.exp: Transform tool name.
30409         * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
30410         1.1's new error handling system.
30411
30412 Mon Nov  1 10:36:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30413
30414         * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
30415
30416 Fri Oct 29 17:58:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30417
30418         * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
30419         They made pattern matching so slow that timeouts happened on
30420         heavily loaded systems.  Now any output from "show print" which
30421         gets us back to the GDB prompt is a PASS.
30422
30423 Mon Oct 25 14:36:50 1993  Stu Grossman  (grossman at cygnus.com)
30424
30425         * gdb.disasm/hppa.mt:  Use $(srcdir) in hppa.o make rule.
30426
30427 Mon Oct 25 13:35:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30428
30429         * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
30430
30431         * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
30432         It is not from PR 3220.
30433
30434 Sun Oct 24 18:49:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30435
30436         * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
30437         just started failing because they depended on the order the
30438         subcommands are presented, or exact docstring text.  This kind of
30439         test is a pain and has minimal benefit.
30440
30441 Thu Oct 21 08:26:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30442
30443         * gdb.t09/corefile.exp: At end of test, use "core" command with
30444         no arguments.
30445
30446 Wed Oct 20 08:56:02 1993  Stu Grossman  (grossman at cygnus.com)
30447
30448         * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
30449         17}/Makefile.in:  Make it possible to run the testsuite with Sun
30450         make and CC = cross gcc by adding explicit build rules for .o
30451         files.
30452
30453 Tue Oct 19 14:57:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30454
30455         * gdb.t15/funcargs.exp: Don't put comments on same line as
30456         setup_xfail (@#$*%& tcl braindamage!).
30457
30458 Mon Oct 18 21:50:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30459
30460         * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
30461
30462 Fri Oct 15 15:39:54 1993  Kung Hsu  (kung@cirdan.cygnus.com)
30463
30464         * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
30465         * gdb.t20/inherit.exp: remove three dumplicate entries.
30466
30467 Fri Oct 15 13:45:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30468
30469         * gdb.t06/break.exp: For "next over recursive call", fail on any
30470         incorrect output, not just on "factorial (value=2)".
30471
30472 Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30473
30474         * gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
30475         working now. Add an xfail if accesing a bss variable causes
30476         a memory error if the target is not yet run.
30477
30478 Thu Oct 14 19:16:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30479
30480         * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
30481         constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
30482         name of __st* demangling (2 strings).  Did Kung really get the
30483         more than 95 others right without testing them?
30484
30485 Thu Oct 14 16:27:08 1993  Kung Hsu  (kung@cirdan.cygnus.com)
30486
30487         * gdb.t24/demangle.exp: clean up XFAILS, more than 100
30488
30489 Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)
30490
30491         * configure.in (configdirs): Add gdb.disasm
30492         * gdb.disasm: New directory for GDB disassembler tests.
30493         * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
30494
30495 Thu Oct 14 11:40:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30496
30497         * gdb.t00/help.exp: Don't test "help set".
30498
30499         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
30500         from within expect statements.  None of these happen anymore and
30501         they cause regressions to be silently unnoticed.
30502
30503         * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
30504         messages) about known failures with gcc cygnus-2.4.5-930417.
30505
30506         * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
30507         comp-info.exp so it gets built if it doesn't exist.
30508
30509         * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
30510         it is no longer used.
30511         * gdb.t13/comp-info.c: Removed.
30512
30513 Wed Oct 13 22:54:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
30514
30515         * gdb.t06/signals.exp: Add xfail for sun3.
30516
30517 Thu Oct  7 12:01:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30518
30519         * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
30520         relevant because ^C doesn't get sent but failure can be reproduced
30521         interactively).
30522
30523 Tue Oct  5 10:43:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30524
30525         * gdb.stabs/alpha.mt:  New configuration file for alpha.
30526         * gdb.stabs/configure.in:  Use it.
30527         * gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
30528         sharing with alpha.mt, redefine long to word via preprocessor.
30529         * gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
30530         for alpha.
30531         * gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
30532         native cc.
30533         * gdb.t00/teststrategy.exp:  Change expect string so that we
30534         consume the `(xgdb)' from the command echo and from the gdb prompt.
30535         * gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
30536         gdb currently compares all values as long, so this failure probably
30537         applies to any configuration where LONGEST is bigger than a target int.
30538         * gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
30539         with gcc.
30540         * gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
30541         to handle opaque pointers, gcc is.
30542         * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
30543         as first argument. Include <sys/types.h> and change all operator
30544         new definitions to use size_t.
30545         * gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
30546         now that we use size_t.
30547
30548 Wed Sep 29 00:55:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30549
30550         * gdb.t03/ptype.exp, gdb.t15/printcmds.exp:  When constructing
30551         a long or float array cast all array members to the same type.
30552         * gdb.t04/setvar.exp:  Handle the decimal output of an unsigned long
30553         with 64 bit longs.
30554         * gdb.t07/watchpoint.exp:  Add finish and until variations encountered
30555         on alpha.
30556         * gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Add xfails for alpha.
30557
30558 Tue Sep 28 17:26:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30559
30560         * gdb.t24 (demangle.exp): Constructors of templates have names like
30561         vector<int>::vector(int) not vector<int>::vector<int>(int).  See
30562         section 14.6 of the ARM.
30563
30564         * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
30565         "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
30566         accomplish little and slow down the testsuite.
30567
30568         * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
30569         Accept spaces various places.
30570
30571 Tue Sep 21 17:28:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30572
30573         * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30574         with watchpoint enabled.
30575
30576         * Makefile.in: Remove definition of CC and remove the second
30577         definition of CXX (the "CXX = gcc" one remains).  These definitions
30578         were causing backquotes to be expanded within backquotes, which
30579         doesn't work.
30580
30581 Sat Sep 18 09:43:21 1993  Jim Kingdon  (kingdon@poseidon.cygnus.com)
30582
30583         * gdb.t17/callfuncs.exp: Add "return 0" to end.
30584
30585 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30586
30587         * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
30588         * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
30589         by mips cc and contains no stabs entries.
30590
30591 Thu Sep 16 17:22:12 1993  Rob Savoye  (rob@darkstar.cygnus.com)
30592
30593         * config/vx-gdb.exp: Use fake device to load files rather than
30594         NFS.
30595         * lib/gdb.exp: New proc to do "file" command.
30596         * config/unix-gdb.exp: Use new "file" proc.
30597
30598 Thu Sep 16 13:45:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
30599
30600         * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30601         Rework board rebooting slightly.
30602         (gdb_exit): Don't exit from the remote shell; there isn't one.
30603         * gdb.stabs/weird.exp: If a program is being debugged already,
30604         kill it.
30605         * gdb.t04/setvar.exp: Stop and restart gdb.
30606         * gdb.t05/expr.exp: Likewise.
30607         * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30608         restart gdb and reload the program.
30609         * gdb.t08/opaque.exp: Likewise.
30610         * gdb.t12/scope.exp: Likewise.
30611         * gdb.t13/bitfields.exp: Likewise.
30612         * gdb.t15/funcargs.exp: Likewise.
30613         * gdb.t20/classes.exp: Likewise.
30614         * gdb.t03/ptype.exp: Increase timeout.
30615         * gdb.t16/printcmds.exp (test_print_string_constants,
30616         test_print_array_constants): Likewise.
30617         * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30618         * gdb.t20/classes.exp (do_tests): Likewise.
30619         * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30620
30621 Wed Sep 15 14:24:36 1993  Ian Lance Taylor  (ian@cygnus.com)
30622
30623         * gdb.stabs: Renamed *wierd* to *weird*.
30624
30625 Wed Sep 15 10:36:50 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
30626
30627         * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30628         for timeout.  Add "known gcc 2.4.5 bug" to failure message.
30629
30630 Tue Sep 14 17:16:44 1993  Jim Kingdon  (kingdon@cirdan.cygnus.com)
30631
30632         * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30633         (do_tests): Remove xfail for whatis on one_var and two_var.
30634
30635 Wed Sep  8 23:14:23 1993  Rob Savoye  (rob@darkstar.cygnus.com)
30636
30637         * Makefile.in: Made cross building work better by adding
30638         {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30639
30640 Tue Sep  7 14:11:52 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30641
30642         * gdb.t15/{return.c,return.exp,Makefile.in}:
30643         New test, currently commented out.
30644
30645 Tue Aug 31 16:51:29 1993  Rob Savoye  (rob@darkstar.cygnus.com)
30646
30647         * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30648         still running and removes the leftover named socket so GDb can do
30649         clean restarts.
30650
30651 Mon Aug 30 17:55:16 1993  Rob Savoye  (rob@darkstar.cygnus.com)
30652
30653         * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30654         console, not GDB.
30655         * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30656         cross testing works better with "make check"
30657         * config/unix-gdb: Use default procedures for exit and version.
30658         * config/vx-gdb.exp: Cleaned up and massaged back to working order
30659         with the newest VxWorks.
30660
30661 Thu Aug 26 17:50:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30662
30663         * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30664         old form.
30665
30666         * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30667         name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30668
30669         * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30670
30671         * config/unix-gdb.exp: Remove this version of gdb_exit
30672         * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30673         Rob says he'll look at it when he gets back to testing boards.
30674
30675 Thu Aug 26 07:20:00 1993  Fred Fish  (fnf@deneb.cygnus.com)
30676
30677         * gdb.t22/virtfunc.exp:  Accept missing struct/class names as
30678         an expected fail for certain ptype commands.
30679
30680         * gdb.t20/classes.exp:  Update expected results of "ptype class
30681         Base1" to account for the constructor that now appears in the type.
30682
30683 Wed Aug 25 16:48:05 1993  Fred Fish  (fnf@deneb.cygnus.com)
30684
30685         * configure.in (configdirs):  Restore gdb.t04, which mysteriously
30686         disappeared from list.
30687         * config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
30688         "alldone" proc with call to cleanup and exit.
30689         * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30690         gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30691         gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30692         gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30693         gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
30694         "alldone" proc with simple returns that suppress remaining
30695         tests.  The alldone proc went away many months ago.
30696
30697 Tue Aug 24 11:04:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30698
30699         * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30700
30701         * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30702
30703 Thu Aug 19 22:08:41 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30704
30705         * gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
30706         as vax gdb will display them.
30707
30708 Thu Aug 19 18:18:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30709
30710         * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30711         optimizers.
30712
30713         * scope.exp: Change "bad value for localval" messages so each one
30714         is unique.
30715
30716         * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30717         lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30718
30719         * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30720
30721 Tue Aug 17 00:05:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30722
30723         * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30724         doesn't exist (due to optimization).
30725
30726 Mon Aug 16 21:05:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30727
30728         * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30729         contains \r because the filename is long.
30730
30731         * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30732         'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30733
30734 Mon Aug 16 03:05:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30735
30736         * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30737         gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
30738         Ultrix.
30739         * gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
30740         int tests.
30741         * gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
30742
30743 Thu Aug 12 15:24:28 1993  Fred Fish  (fnf@deneb.cygnus.com)
30744
30745         * Makefile.in (distclean):  Remove *.log *.plog *.sum *.psum site.*.
30746
30747         * gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
30748         to match does not match the passing case but still matches the
30749         failing case.
30750
30751 Thu Aug 12 16:58:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30752
30753         * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30754
30755 Wed Aug 11 19:47:27 1993  John Gilmore  (gnu@rtl.cygnus.com)
30756
30757         * lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
30758         to here.  Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30759         * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30760         Remove various versions of gdb_exit.
30761         * config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
30762         gdb_exit.
30763         * config/unix-gdb.exp:  gdb_exit remains here, and should override
30764         the generic version, since it's doing a lot of wierd stuff that
30765         the other versions aren't.  FIXME, fold it in, or abandon this
30766         version.
30767
30768 Wed Aug 11 12:09:32 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30769
30770         * gdb.t24/demangle.exp: Add tests for PR 3220.
30771
30772 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30773
30774         * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30775
30776 Tue Aug 10 15:45:25 1993  Fred Fish  (fnf@deneb.cygnus.com)
30777
30778         * gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
30779         "i386-*-*".  Works for i486 as well.
30780
30781         * gdb.t06/signals.exp:  Rework code that recognizes known SVR4
30782         bug, and expand domain of xfail to all SVR4 systems, since the
30783         actual problem is likely to be in generic SVR4 /proc support.
30784
30785 Tue Aug 10 15:49:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30786
30787         * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30788
30789 Tue Aug 10 09:56:56 1993  Fred Fish  (fnf@deneb.cygnus.com)
30790
30791         * gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
30792         xfails for other systems.  Match a missing 'Continuing.' as an
30793         explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30794
30795         * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30796         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30797         Only issue warning for missing executables if -all option is used.
30798
30799         * gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
30800         file if -all option is used.  It's like an unpredictable XFAIL.
30801
30802 Mon Aug  9 10:13:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30803
30804         * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30805         for dynamically linked binaries.
30806
30807         * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30808
30809 Sun Aug  8 14:21:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30810
30811         * gdb.t20/inherit.exp: Change message for "print tagless struct"
30812         to state that this is a known bug in old versions of g++.
30813
30814 Fri Aug  6 21:40:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30815
30816         * gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
30817         while waiting for `Continuing'.
30818
30819 Fri Aug  6 13:38:08 1993  Fred Fish  (fnf@deneb.cygnus.com)
30820
30821         * gdb.t10/nodebug.exp:  Expect to find local/global minimal symbols
30822         in text, data, and bss.
30823         * gdb.t10/nodebug.c:  Add local and global test variables for
30824         initialized and uninitialized data.
30825
30826 Thu Aug  5 12:18:40 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30827
30828         * config/unix-gdb.exp (gdb_exit): Add "wait".
30829
30830 Thu Aug  5 18:14:06 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30831
30832         * gdb.t06/signals.exp:  xfail the continue from the handler for all
30833         targets.
30834
30835         * gdb.t07/watchpoint.exp:  clear_xfail for i386 when calling a
30836         function with watchpoints enabled, the i386 call dummy starts with
30837         a call.
30838
30839         * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in:  Handle the way
30840         386 bsd names its corefiles.
30841
30842 Wed Aug  4 08:53:41 1993  Fred Fish  (fnf@cygnus.com)
30843
30844         * gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
30845         compilers don't grok it.
30846         * gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
30847         with small octal ints rather than character constants, which
30848         are signed and might not fit if first promoted to int.
30849
30850 Tue Aug  3 18:28:25 1993  Fred Fish  (fnf@cygnus.com)
30851
30852         * gdb.t09/Makefile.in (clean):  Remove corefile.
30853
30854 Mon Aug  2 12:47:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30855
30856         * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30857
30858 Mon Aug  2 12:30:14 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30859                           and Jim Kingdon (kingdon@cygnus.com)
30860
30861         * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30862         NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
30863         the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30864
30865 Fri Jul 30 19:46:55 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30866
30867         * gdb.t17/interrupt.exp: Add xfail for hppa.
30868
30869 Fri Jul 30 12:54:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30870
30871         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30872         gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
30873         * gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
30874         to determine signed-ness of bitfields and use the result to setup
30875         the xfail.
30876         * gdb.t15/gdbme.c:  Add comments to the two indirect call0a lines.
30877         * gdb.t15/funcargs.exp:  Use them to step until the second indirect
30878         call line is reached if necessary.
30879
30880 Thu Jul 29 20:33:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30881
30882         * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30883
30884 Mon Jul 26 00:15:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30885
30886         * gdb.t06/break.exp: Also test `clear' command.
30887
30888 Wed Jul 21 18:03:38 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
30889
30890         * gdb.t00/teststrategy.exp: Remove extra quote.
30891
30892         * gdb.t07/watchpoint.exp: Change xfail for calling function with
30893         watchpoint enabled to be for all non-68k machines.
30894
30895         * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30896
30897 Mon Jul 19 23:59:26 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30898
30899         * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30900         targets use aout.mt instead of ecoff.mt as gas understands
30901         standard aout format.
30902
30903 Mon Jul 19 18:14:06 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
30904
30905         * lib/gdb.exp (runto): Don't insist that function we are running to
30906         was compiled with -g.
30907
30908         * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30909
30910         * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30911         to get back into the read system call.
30912         Accept leading newline in case where we woke it up.
30913
30914 Sun Jul 18 08:40:45 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30915
30916         * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}:  New files
30917         to make the stabs test work on ecoff systems using gcc and -with-stabs.
30918         * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
30919         enable ecoff configuration.
30920
30921 Thu Jul 15 11:54:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30922
30923         * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30924
30925 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30926
30927         * gdb.t16/printcmds.exp: Add another printf test.
30928
30929 Wed Jul 14 15:37:13 1993  Ian Lance Taylor  (ian@cygnus.com)
30930
30931         * configure.in: If configured -with-stabs on any target, add
30932         stabsdirs to configdirs.
30933
30934 Wed Jul 14 09:36:42 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30935
30936         * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30937         fun" so pattern does not match the command itself.
30938
30939 Mon Jul 12 11:22:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30940
30941         * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30942
30943 Sun Jul 11 12:03:24 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30944
30945         * gdb.t17/interrupt.exp: Test for more things.
30946
30947 Fri Jul  9 14:11:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30948
30949         * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30950         compiler arranges the code and line numbers.
30951
30952         * gdb.t17/interrupt.exp: Don't send \n after ^C.
30953
30954 Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
30955
30956         * gdb.t00/help.exp:  Increase expect input buffer size.
30957
30958 Thu Jul  8 14:26:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30959
30960         * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30961
30962         * gdb.t07/watchpoint.exp: Add xfail for hppa.
30963
30964         * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30965
30966         * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30967         [0-9]*, not just [0-9].
30968
30969 Wed Jul  7 17:52:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30970
30971         * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30972
30973         * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30974
30975 Tue Jul  6 13:54:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30976
30977         * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30978
30979 Mon Jul  5 22:03:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30980
30981         * gdb.t06/signals.c: Add xfails for sun3.
30982
30983         * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30984
30985         * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
30986         test_stepping tests.
30987
30988 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
30989
30990         * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30991
30992         * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30993
30994         * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30995         rather than actually putting it through cpp twice.
30996
30997         * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30998
30999 Fri Jul  2 10:48:03 1993  Ian Lance Taylor  (ian@cygnus.com)
31000
31001         * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31002         no longer needed.
31003
31004 Fri Jul  2 09:08:10 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31005
31006         * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31007
31008         * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31009         C++ features prints as "struct", make it a pass, not an xfail.
31010
31011 Thu Jul  1 22:03:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31012
31013         * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31014         Don't require VA to print as "class" rather than "struct".
31015
31016 Thu Jul  1 18:27:40 1993  Jim Kingdon  (kingdon@cygnus.com)
31017
31018         * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31019
31020 Wed Jun 30 18:01:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31021
31022         * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31023
31024 Tue Jun 29 13:15:42 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31025
31026         * gdb.t12/scope.exp:  Remove xfail for parameter printing in wrong
31027         order.
31028
31029 Tue Jun 29 09:22:29 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31030
31031         * gdb.t16/printcmds.exp: Add printf tests.
31032
31033         * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31034
31035         * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31036
31037 Mon Jun 28 11:25:59 1993  Fred Fish  (fnf@cygnus.com)
31038
31039         * gdb.t20/classes.exp:  Add clear_xfail's before printing summary
31040         pass counts, to counteract any existing or future setup_xfails.
31041
31042 Mon Jun 28 09:15:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31043
31044         * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31045         {BEGIN,END}_COMMON for common block instead of STAB.
31046         * gdb.stabs/wierd.exp: Add xfail for rs6000.
31047
31048         * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31049         intp_var should be N_GSYM not N_LSYM.
31050         wierd-aout.S: Use a label for the value of the N_SO.
31051         wierd.def: Remove all backslashes.
31052         wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31053
31054 Mon Jun 28 07:21:51 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31055
31056         * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31057         get the expected next to inheritance3.
31058
31059 Sun Jun 27 12:29:53 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31060
31061         * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31062         now that gcc-2.4 gets it right.
31063
31064 Fri Jun 25 12:00:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31065
31066         * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31067
31068         * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31069         generating comp-info.exp which works for cross-compilation.
31070
31071 Thu Jun 24 16:55:05 1993  Fred Fish  (fnf@cygnus.com)
31072
31073         * gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
31074         "*-*-sysv4.*".
31075
31076 Tue Jun 22 21:17:26 1993  Fred Fish  (fnf@cygnus.com)
31077
31078         * gdb.t01/run.exp:  Start with a fresh gdb.
31079         * gdb.t11/list.exp:  For SVR4 xfails, match on all versions of
31080         SVR4.x.
31081
31082 Mon Jun 21 15:23:22 1993  Fred Fish  (fnf@cygnus.com)
31083
31084         * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31085         gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31086         gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31087         Makefile.in (distclean, realclean):  Remove gdbme.c from list of
31088         things to remove.
31089
31090 Sat Jun 19 07:49:10 1993  Fred Fish  (fnf@cygnus.com)
31091
31092         * gdb.t24/demangle.exp (test_gnu_style_demangling):  Add some new
31093         test cases from bug reports.
31094
31095 Fri Jun 18 10:38:49 1993  Fred Fish  (fnf@cygnus.com)
31096
31097         * gdb.t06/break.exp:  Add xfails for sparc-sun-solaris2.*.
31098         * gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
31099           avoid spurious xfails.
31100         * gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
31101         * gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
31102         * gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
31103
31104 Wed Jun 16 10:11:57 1993  Fred Fish  (fnf@cygnus.com)
31105
31106         * gdb.t00/teststrategy.exp:  Rework to provide more useful
31107         description of each test, fix problem with systems that define
31108         ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31109         * gdb.t06/break.exp (test_next_with_recursion):  Fix expected
31110         results for "next over recursive call" so timeouts aren't taken
31111         by error.
31112
31113 Mon Jun 14 09:09:04 1993  Jim Kingdon  (kingdon@cygnus.com)
31114
31115         * gdb.t12/scope.exp: Test printing of variables before run.
31116
31117         * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31118         printed in wrong order due to sorting.
31119
31120 Sat Jun 12 15:03:58 1993  Fred Fish  (fnf@cygnus.com)
31121
31122         * gdb.t00/teststrategy.exp:  Fix expected results for printing
31123         user entered string constant.  Is array of char, prints with no
31124         address.
31125
31126         * gdb.t00/{default.exp, help.exp}:  Account for changes to radix
31127         commands.
31128         * gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
31129         * gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
31130         * gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
31131         of struct of char arrays.
31132         * gdb.t00/radix.exp:  New tests for radix commands.
31133
31134 Fri Jun 11 13:12:27 1993  Jim Kingdon  (kingdon@cygnus.com)
31135
31136         * gdb.t16/printcmd.exp: Print a variable before running program
31137         (with xfail for AIX).
31138
31139 Thu Jun 10 11:04:04 1993  Jim Kingdon  (kingdon@cygnus.com)
31140
31141         * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31142
31143         * gdb.t16/printcmd.exp: Don't print variables before running program.
31144
31145         * gdb.t06/break.exp: Don't require envp argument to main.
31146
31147         * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31148
31149         * gdb.t02/whatis.exp, gdb.t11/list.exp:
31150         Add xfails for rs6000.
31151
31152         * gdb.t02/whatis.exp: Change other tests not to re-test something
31153         we already tested.
31154
31155         * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31156         each type used has a variable of that type.
31157
31158 Tue Jun  8 16:45:20 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
31159
31160         * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31161
31162 Fri Jun  4 11:07:19 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
31163
31164         * configure.in: change srctrigger to be a file, not a directory
31165
31166 Fri Jun  4 08:23:57 1993  Ian Lance Taylor  (ian@cygnus.com)
31167
31168         * configure.in (mips-idt-ecoff*): Added trailing '*'.
31169
31170         * gdb.t11/list.exp: Fixed a couple of typos.
31171
31172 Tue Jun  1 21:28:06 1993  Fred Fish  (fnf@cygnus.com)
31173
31174         * gdb.t00 (teststrategy.exp):  Remove notice about PR 1823.  Bug
31175         is fixed and PR is closed.
31176         * gdb.t16 (gdbme.c):  Add simple test string variable.
31177         * gdb.t16 (printcmds.exp):  Add tests with simple test string
31178         variable, primarily for boundaries on "set print elements".
31179
31180 Mon May 31 11:36:08 1993  Jim Kingdon  (kingdon@cygnus.com)
31181
31182         * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31183         Make leading 0's optional and don't expect a tab in the middle
31184         of the number.
31185
31186         * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31187
31188         * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31189         * gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
31190         don't end command passed to gdb_test with newline.
31191
31192         * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31193         signed keyword away, don't expect signed bitfields to be signed.
31194
31195         * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31196         printing with only as many 1's as are in the field as well as printing
31197         with 32 1's (see comment).
31198
31199 Sat May 29 17:57:01 1993  Fred Fish  (fnf@cygnus.com)
31200
31201         * gdb.t00/default.exp:  Start with a fresh gdb.
31202         * configure.in (configdirs):  Remove gdb.t31 until the chill
31203         compiler works again.  It no longer is able to find chillrt0
31204         since it isn't in libchill.a anymore.
31205         * gdb.stabs/wierd.exp:  Rewrite to properly handling a missing
31206         wierd.o, make more modular.
31207         * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const):  Remove
31208         spurious newlines that caused problems.
31209
31210 Wed May 26 09:57:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31211
31212         * Move test with enums and partial symbols from gdb.t03/ptype.exp
31213         to gdb.stabs/wierd.exp since GCC has worked around the bug.
31214         gdb.stabs/wierd.{exp,def}: Many new tests.
31215
31216         * gdb.t00/default.exp: update info line for new message.
31217
31218         * gdb.t02/{whatis.exp,gdbme.c}:
31219         Test that "char *" doesn't print as "caddr_t".
31220
31221 Tue May 25 13:28:27 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31222
31223         * gdb.t00/help.exp: Use .* in place of some help messages which
31224         just changed.
31225         gdb.t00/default.exp: Update "info frame" test for new message.
31226         * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31227         Remove some xfails
31228
31229 Mon May 24 00:24:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31230
31231         * gdb.t03/{gdbme.c,ptype.exp}:
31232         Add tests for typedef'd struct and union without tags.
31233         Also check "whatis" on a variable of a typedef'd enum without a tag.
31234
31235         * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31236         PRMS 1823; the bug still exists but isn't reproduced by this test
31237         anymore), and remove rs6000 XFAIL (the bug is fixed).
31238
31239         * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31240         duplicated from whatis.exp.  For those that are left, accept
31241         "long", "long int", or "int" for long variables (whatis.exp already
31242         has an XFAIL for "int", so no need to fail it here).
31243
31244         * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31245         Deal with GCC's names for types now that GDB uses the compiler's names.
31246
31247         * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
31248         setup_xfail's for sunos4.  If we #defined the signed keyword away,
31249         don't expect GDB to know that char it is signed.
31250
31251         * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31252
31253 Sun May 23 08:44:55 1993  Fred Fish  (fnf@cygnus.com)
31254
31255         * configure.in (configdirs):  Add gdb.t24 for C++ tests that
31256         should work on any system, regardless of debugging format.
31257         * gdb.t21/demangle.exp:  Move to gdb.t24.
31258         * gdb.t24/demangle.exp:  Move from gdb.t21.
31259         * gdb.t24/{Makefile.in, configure.in}:  New files.
31260
31261 Thu May 20 19:39:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31262
31263         * configure.in: Do gdb.stabs and C++ tests only for stabs.
31264         * gdb.stabs: New directory.
31265
31266 Tue May 18 21:12:09 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
31267
31268         * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
31269         not just "Quit anyway?".
31270
31271 Tue May 18 17:13:20 1993  Fred Fish  (fnf@cygnus.com)
31272
31273         * gdb.t21/demangle.exp:  Add a couple of new patterns.  Ensure
31274         that all setup_xfails are immediately followed by clear_xfails.
31275
31276 Tue May 11 09:10:47 1993  Fred Fish  (fnf@cygnus.com)
31277
31278         * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
31279         gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
31280         gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
31281         gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
31282         gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
31283         gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31284         gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31285         gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
31286         gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
31287         gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
31288         gdb.t31/chillvars.exp, lib/gdb.exp:
31289         Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
31290         bug-gdb@prep.ai.mit.edu.
31291
31292 Fri May  7 09:15:35 1993  Fred Fish  (fnf@cygnus.com)
31293
31294         * gdb.t17/callfuncs.exp (do_function_calls):  Call t_double_values
31295         with 0.0, not integer 0.
31296
31297 Fri Apr 30 13:17:24 1993  Jim Kingdon  (kingdon@cygnus.com)
31298
31299         * gdb.t06/break.exp: Update for "Kill the program" message change.
31300
31301 Fri Apr 30 09:42:57 1993  Fred Fish  (fnf@cygnus.com)
31302
31303         * Makefile.in (GDBFLAGS):  Set to -nx.
31304         * Makefile.in (site.exp):  Use GDBFLAGS.
31305
31306 Wed Apr 28 13:19:07 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
31307
31308         * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
31309           Makefiles.
31310           (check): depend on just-check.
31311           (just-check): added so that tests can be run without a noop
31312           build pass.
31313
31314 Fri Apr 23 18:13:28 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
31315
31316         Switch to using configure's configdirs.
31317         * Makefile.in (Makefile): add configure.in dependency.
31318           (SUBDIRS): removed redundant assignment.
31319         * configure.in: switch subdirs assignment to configdirs.
31320         * gdb.t*/configure.in: new files.
31321
31322 Thu Apr 22 08:27:53 1993  Ian Lance Taylor  (ian@cygnus.com)
31323
31324         * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
31325         works.
31326
31327 Tue Apr 20 13:38:40 1993  Fred Fish  (fnf@cygnus.com)
31328
31329         * gdb.{t20,t21,t22,t23}/Makefile.in:  Use $(srcdir) to avoid $<
31330         in explicit rules.  Apparently this is not supported by some makes.
31331
31332 Mon Apr 19 01:54:53 1993  John Gilmore  (gnu@cygnus.com)
31333
31334         * gdb.t31/Makefile.in:  Use $(srcdir) when avoiding $<, sigh.
31335
31336 Fri Apr 16 09:33:46 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31337
31338         * config/unix-gdb.exp:  Add back missing return 0 which mysteriously
31339         disappeared.
31340
31341 Thu Apr 15 02:28:24 1993  John Gilmore  (gnu@cacophony.cygnus.com)
31342
31343         * gdb.t31/Makefile.in:  Avoid $< in explicit rule.
31344
31345 Wed Apr 14 16:38:47 1993  Fred Fish  (fnf@cygnus.com)
31346
31347         * gdb.t07/watchpoint.exp:  Remove setup_xfail for i486
31348         watchpoint problem that is now fixed.
31349         * gdb.t30/chexp.exp:  Remove setup_xfail for printing
31350         uninitialized convenience variables.
31351         * gdb.t31/chillvars.exp:  Fix expected patterns for printing
31352         structures.
31353
31354 Wed Apr 14 12:55:58 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31355
31356         * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
31357         which causes expect to get out of sync with gdb on long output
31358         from help set.
31359         * gdb.t09/corefile.exp: Make expected pattern for core file
31360         failing signal and frame output format less sun specific.
31361
31362 Tue Apr 13 23:18:07 1993  Per Bothner  (bothner@cygnus.com)
31363
31364         * gdb.t31/chillvars.exp:  Add and remove initial dummy
31365         breakpoint, so that symbol table is forced in.
31366         (Needed at least on Sunos4, though it seems not SVR4.)
31367         * gdb.t31/chillvars.exp:  Update for changed output format.
31368
31369 Sun Apr 11 17:21:45 1993  Rob Savoye  (rob at darkstar.cygnus.com)
31370
31371         * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
31372
31373 Wed Apr  7 21:28:21 1993  Rob Savoye  (rob@cygnus.com)
31374
31375         * Makefile.in: Added --srcdir when invoking runtest, removed the
31376         need for a local config file. (optional now)
31377
31378 Wed Apr  7 14:13:41 1993  Fred Fish  (fnf@cygnus.com)
31379
31380         * gdb.t21/demangle.exp:  Only count real fails (not xfails) for
31381         failure count used to force early termination.  Add some more
31382         expected failures for gnu style demangling.
31383
31384 Thu Apr  1 09:50:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31385
31386         * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
31387         pmi variable from gdb.t20/gdbme to get optimized away.
31388         * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
31389         Check for written corefile upon timeout _and_ eof.
31390
31391 Tue Mar 30 09:58:16 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31392
31393         * config/unix-gdb.exp:  Add missing return 0.
31394
31395 Tue Mar 30 08:34:25 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
31396
31397         * gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
31398         test termination.
31399
31400 Mon Mar 29 17:37:25 1993  Fred Fish  (fnf@cygnus.com)
31401
31402         * configure.in (subdirs):  Put back gdb.t17 which mysteriously
31403         disappeared.
31404
31405 Thu Mar 25 21:05:16 1993  Fred Fish  (fnf@cygnus.com)
31406
31407         * gdb.t10/crossload.exp:  Disable the i860-elf test until such
31408         time as i860 support works.
31409
31410         * gdb.t15/funcargs.exp:  Fix expected outputs to include
31411         "backtrace 100\r" rather than just "backtrace\r", to match last
31412         change.
31413
31414 Thu Mar 25 12:14:28 1993  Ian Lance Taylor  (ian@cygnus.com)
31415
31416         * config/udi-gdb.exp (gdb_exit): Remove close command.
31417         (gdb_target_udi): New procedure to set the UDI target.
31418         (gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
31419         * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
31420         Added waits for prompts after several question responses.  Added
31421         some more responses used by a29k-amd-udi-gdb.
31422         * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
31423         pass different arguments, restart UDI connection after program
31424         completion.
31425         * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
31426         gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31427         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
31428         gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
31429         * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
31430         gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
31431         gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31432         gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
31433         gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
31434         after program completion.
31435         * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
31436         compiled with a SELECT_VECS setting.
31437         * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
31438         infinite recursion.
31439
31440         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
31441         Added checks for COFF results, and made them expected failures for
31442         all targets.  It would be better to make them expected failures
31443         for COFF targets only.
31444
31445 Wed Mar 24 14:43:38 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
31446
31447         * Makefile.in: add null dvi target, don't bother to recurse
31448         through test directories for info and install-info; rename
31449         $(datadir) to be dejagnu instead of deja-gnu
31450
31451 Wed Mar 24 09:48:03 1993  Fred Fish  (fnf@cygnus.com)
31452
31453         * gdb.t31/gdbme.ch:  Re-enable code that previously caused
31454         compiler to coredump.
31455         * gdb.t31/chillvars.exp:  Re-enable tests that depend on that
31456         code.
31457
31458 Tue Mar 23 08:53:42 1993  Fred Fish  (fnf@cygnus.com)
31459
31460         * gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
31461         coredump.
31462         * gdb.t31/chillvars.exp:  Comment out tests that depend on that
31463         code.
31464
31465 Sun Mar 21 17:56:47 1993  Rob Savoye  (rob at darkstar.cygnus.com)
31466
31467         * gdb.t03/ptype.exp: tests for return code from gdb_test.
31468         * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
31469         which in a shell. Deletes xgdb when done.
31470         * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
31471         Tests the return from the "set height" or "set width" commands.
31472         Added a few return codes where needed.
31473
31474 Wed Mar 17 11:31:01 1993  Fred Fish  (fnf@cygnus.com)
31475
31476         * Makefile.in (SUBDIRS):  Add gdb.t17.
31477         * configure.in (subdirs):  Add gdb.t17.
31478         * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}:  New test
31479         files to test gdb's calling of functions in the inferior with
31480         the correct arguments and gdb's ability to retrieve any
31481         result returned.
31482
31483 Tue Mar 16 15:37:11 1993  Fred Fish  (fnf@cygnus.com)
31484
31485         * config/unix-gdb.exp (gdb_exit):  Remove close commands that
31486         may be called after gdb goes away.  Previous versions of expect
31487         needed these to avoid file descriptor leaks, but they cause
31488         errors with the current revision of expect.
31489         * gdb.t00/gdbvars.exp:  Use -re on expected output after
31490         setting sevenbit-strings.
31491         * gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
31492         to set sevenbit-strings consistent across tests.
31493         gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
31494         set sevenbit-strings consistent across tests.
31495
31496 Fri Mar 12 08:47:20 1993  Fred Fish  (fnf@cygnus.com)
31497
31498         * gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
31499         expected output to match current "expect" expectations.
31500
31501 Wed Mar 10 18:01:49 1993  Fred Fish  (fnf@cygnus.com)
31502
31503         * gdb.t00/default.exp:  Change expected output for default "source"
31504         command, to match new gdb behavior which requires a filename to
31505         source.
31506
31507 Tue Mar  9 11:00:56 1993  Fred Fish  (fnf@cygnus.com)
31508
31509         * gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
31510         expected fail for i486-*-* that misses the marker2 function.
31511         * gdb.t10/crossload.exp (bfddefault):  Allow successful
31512         recognition of a format to pass even if no symbols are found.
31513         Explicitly catch failures where the format is not recognized
31514         or is ambiguous, and add the reason to the fail message.
31515         * gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
31516         the cause is and invalid target and add reason to failure message.
31517         * gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
31518         elf32-i386, elf32-sparc, and elf32-i860.
31519         * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
31520         Set up expected failure for 'filename'::variable scope resolution,
31521         which is now apparently broken on all targets.
31522         * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
31523         gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
31524         gdb.t23/templates.exp:   Change failure for missing binfile into
31525         just a warning.
31526         gdb.t21/demangle.exp:  Change all cfront references to 'arm'
31527         references.
31528
31529 Mon Mar  8 19:20:28 1993  Fred Fish  (fnf@cygnus.com)
31530
31531         * gdb.t00/default.exp:  Add expected output for default "source"
31532         command, to match new gdb behavior.
31533         * gdb.t09/corefile.exp:  Use GDBFLAGS when spawning GDB.
31534
31535 Sun Mar  7 15:14:09 1993  Rob Savoye  (rob@cygnus.com)
31536
31537         * config/*-gdb.exp: returns an error, rather than exiting on
31538         internal errors.
31539
31540 Tue Mar  2 18:09:32 1993  Fred Fish  (fnf@cygnus.com)
31541
31542         * gdb.t03/gdbme.c:  Add pointer to struct variable.
31543         * gdb.t03/ptype.exp:  Test equivalence of '.' and '->' for
31544         referencing struct members.
31545
31546 Thu Feb 25 10:39:06 1993  Ian Lance Taylor  (ian@cygnus.com)
31547
31548         * configure.in (mips-idt-ecoff): New target.
31549         * config/mips-gdb.exp: New file for remote board using MIPS remote
31550         debugging protocol.
31551
31552         * Redid configuration scheme.  Removed gdb.t*/configure.in.
31553         Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
31554         instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
31555         distclean targets.  Built executables via .o files.  Adjusted
31556         tests to account for source files in $(srcdir) rather than
31557         $(objdir).
31558         * lib/gdb.exp (runto): Don't expect () after the function name,
31559         because it may have arguments.
31560
31561 Wed Feb 24 08:05:38 1993  Ian Lance Taylor  (ian@cygnus.com)
31562
31563         * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
31564         gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
31565         expected failures for mips-idt-* and mips-sgi-*.
31566         * gdb.t00/default.exp (attach): Kill process if requested.
31567         * gdb.t00/help.exp (help target core, help target): Accept a gdb
31568         that does not read core files.
31569         * gdb.t01/run.exp: Removed checks for exit status code.
31570         * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31571         it is linked in.
31572         * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31573         * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31574         appropriate, rather than doing it by hand.
31575         * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31576         execution.
31577         * gdb.t10/crossload.exp: Kill existing program if needed.
31578         * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31579         appropriate, rather than doing it by hand.  Always increase
31580         timeout for this test, not just for VxWorks.
31581
31582 Wed Feb 24 08:03:38 1993  Fred Fish  (fnf@cygnus.com)
31583
31584         * gdb.t31/chillvars.exp (test_structs):  New proc to test printing
31585         of Chill STRUCT types and STRUCT values.
31586         * gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
31587         than "char".
31588         * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
31589         struct2):  New struct definitions and initializations to test
31590         simple Chill STRUCT types.
31591
31592 Tue Feb 23 11:55:06 1993  Fred Fish  (fnf@cygnus.com)
31593
31594         * gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
31595         the null byte at the end of strings.
31596         * gdb.t00/default.exp:  Make show version insensitive to copyright
31597         date.
31598         * gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
31599         to avoid dependencies on target char signedness.
31600         * gdb.t16/printcmds.exp:  Update expected results for explicitly
31601         unsigned char.
31602         * gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
31603         now work.
31604         * gdb.t21/demangle.exp:  Add many more patterns for template
31605         demangling, most of them being expected failures.
31606         * gdb.t21/demangle.exp (proc demangle):  Quote the demangled
31607         string we are matching for, to match on the whole string.
31608         * gdb.t21/demangle.exp:  Add many new test strings to demangle,
31609         and fix a whole bunch that had incorrect expected output but were
31610         passing anyway because of the bug in "proc demangle".
31611         * gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
31612         type.
31613         * gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
31614
31615 Mon Feb 22 07:54:03 1993  Mike Werner  (mtw@poseidon.cygnus.com)
31616
31617         * gdb/testsuite: made modifications to testcases, etc., to allow
31618         them to work properly  given the reorganization of deja-gnu and the
31619         relocation of the testcases from deja-gnu to a "tool" subdirectory.
31620
31621 Sun Feb 21 10:55:55 1993  Mike Werner  (mtw@poseidon.cygnus.com)
31622
31623         * gdb/testsuite: Initial creation of gdb/testsuite.
31624         Migrated dejagnu testcases and support files for testing nm to
31625         gdb/testsuite from deja-gnu.  These files were moved "as is"
31626         with no modifications.  This migration is part of a major overhaul
31627         of dejagnu.  The modifications to these testcases, etc., which
31628         will allow them to work with the new version of dejagnu will be
31629         made in a future update.
31630
31631  For additional changes see gdb.mi/ChangeLog-1999-2003.
31632 \f
31633 ;; Local Variables:
31634 ;; mode: change-log
31635 ;; left-margin: 8
31636 ;; fill-column: 74
31637 ;; version-control: never
31638 ;; End:
31639
31640     Copyright 1993-2013 Free Software Foundation, Inc.
31641   Copying and distribution of this file, with or without modification,
31642   are permitted provided the copyright notice and this notice are preserved.